I have this (GUI) bean I’m using in the rich client, which obviously doesn’t work in the WebClient.
In trying to come up with a solution for this, I though of determining the ApllicationType and if <> Webclient, show the bean, else, hide the bean and show an HTML area with som HTML to create the same GUI.
So far, so good. I’m able to test the applicationType, hide/show the bean/HTML area depending on the applicationType and build the GUI appearacne of the Bean in the HTML using HTML.
Now I come to the following: Interaction between my Servoy solution and the HMTL I put into the HTML area… When a user does something in the HTL area (type some text, change a selection, choose a value etc), I need these changes to get noticed in my solution, i.e.: I need a method to get fired…
Can this be done somwhow? I looked at the sourcecode of the pages Servoy creates automatically, but couldn’t figure out how to do so…
Marcel, I’m trying to replace the bean in the Webclient by HTML in a HTML area. The HTML contains Comboboxes, inputfields etc. As far as I know, I cannot add a hyperlink in such a way that when the selection of the comboxos changes, the link of the hyperlink is called.
Secondly, the javascript:methodname(arguments) notation for hyperlinks in a HTML area does not seem to work in the WebClient (the hyperlink points to the root of the WebSite, I think).
And adding a contruction to the bean to make it an applet: how would this help my situation? I don’t think I follow you there…