Hi Sandro Thanks for you help. I was thinking about the same solution as you have mentioned. The only problem is, is that I the call from the event will happen at a different time than my call to a trigger method on the client. If there is no way of retrieving a value, then I will be forced to search for a different solution in creating the image
Paul ________________________________________ From: Sandro Felicioni [[email protected]] Sent: 20 April 2009 16:57 To: Paul Harrison Cc: [email protected] Subject: Re: [ULC-developer] Retrieving vaues from a client side component. Hi Paul, I'm not 100% sure but as much as I know, this is not possible to do, because of the asynchronism between the server and client. However to address this problem you normally would do something like that: Precondition: 1. create an action listener on the server side. Procedure: 1. server calls method on client side 2. client side method creates an image and sends it back to the server. This happens through the trigger of the server side action of the previous created action listener. 3. the action listener on server side gets notified and receives the image. Now you can do whatever you want to.. Hope this helps! Sandro -------- Original-Nachricht -------- > Datum: Mon, 20 Apr 2009 14:51:03 +0200 > Von: Paul Harrison <[email protected]> > An: "[email protected]" <[email protected]> > Betreff: [ULC-developer] Retrieving vaues from a client side component. > Hi > > I have created various client side component extensions. I now need to > retrieve an Image from the client side components. this will be used as a > print screen or to display in a seperate screen as a preview. I have the code > that can generate an Image from an AWT component but obviously this has the > be done on the client side. For this reason I would like to call a client > side method which will return an Image. I have seen documentation on calling > client side methods, but none for calling methids that return a value. How > do I do this? > > Paul -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a_______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
