|
Re: Data from my widget don't appear in other widget [message #656990 is a reply to message #656728] |
Tue, 01 March 2011 09:16 |
Ivan Furnadjiev Messages: 2426 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Bogdan,
are you sure that the text property is set in the Text widget on the
server-side? Are your listeners notified for dataChanged event? One of
the common mistakes with custom event processing is, that the event
firing is not wrapped in ProcessActionRunner like:
ProcessActionRunner.add( new Runnable() {
public void run() {
// create event and notify listeners here
}
} );
Best,
Ivan
On 2/28/2011 12:27 PM, brokosa@poczta.onet.pl wrote:
> Hello,
> I have mine own widget which is rendered with IFrame and puts the data
> in request:
>
> test : function(xmlData){
> if( !org_eclipse_rap_rwt_EventUtil_suspend ) {
> var wm = org.eclipse.swt.WidgetManager.getInstance();
> var gmapId = wm.findIdByWidget( this );
> var req = org.eclipse.swt.Request.getInstance();
> req.addParameter( gmapId + ".xmlData", xmlData );
> req.send();
> }
> }
>
> My widget triger an dataChanged event which is handeled in View, the
> handlet set a text proppert in text widget on the same view. When the
> method test ist called the dataChanged event is trigered, it is
> handeled and the text property is set but not appears in client.
> What I have to do to transport a new value to client?
> best regards
> Bogdan
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 5.03688 seconds