As Zilav said, uniGUI will only supports functionality that is already implemented in Ext JS. Sometimes we may extend and improve some of the Ext JS components but it is limited.
Does Ext JS 3 or 4 support this feature?
As far as I know Ext JS 3 doesnt.
Any complex structure like objects and arrays must be converted to proper string notation before they are sent to server.
JS converts arrays to string using a,b,c,... notation.
Objects must be converted manually.
procedure TMainForm.UniButton2Click(Sender: TObject);
begin
uniForm2.Refresh;
uniEdit1.Text:=uniForm2.UniEdit1.Text;
uniEdit2.Text:=uniForm2.UniEdit2.Text;
end;
If UniForm2->FreeOnClose is True and UniForm2 is closed above code will not work correctly.
Why do you call this?
uniForm2.Refresh;
Refresh has no equivalent functionality in web mode.
procedure TMainForm.UniButton2Click(Sender: TObject);
begin
uniForm2.Refresh;
uniEdit1.Text:=uniForm2.UniEdit1.Text;
uniEdit2.Text:=uniForm2.UniEdit2.Text;
end;
Above code will not work if UniForm2 has been closed unless UniForm2.FreeOnClose is False.
There is no need for a special technique. Just assign them as you'd do in a regular Delphi app.
UniForm1.Edit1.Text:=UniForm2.Edit2.Text;
PS: Both forms must be valid instances at time of assignment.
There several ways to create a project in uniGUI.
Your project is created in one of following ways:
1) Standalone exe
In this case project can't be directly converted to a DLL. You must create a blank ISAPI Module or Standalone ISAPI Combo project and manually move all your forms and modules to new project.
2) Standalone + ISAPI Module Combo project
Open the project file and comment the first line:
{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module
Rebuild your project and a DLL file will be created in output directory.
OS X is not much popular in server business. uniGUI servers needs a 24/7 server which can be found in form of VPS or private servers. Not sure if there are any OS X hosting company around. I see little value in supporting OS X as server, as there will be a tiny demand for it. I'm waiting the day Delphi will support Linux OS which is widely available.