|Re: How can I get multiple LCAs to work? [message #130318 is a reply to message #130160]
||Mon, 27 April 2009 06:10
| Ralf Heydenreich
Registered: July 2009
Rüdiger Herrmann schrieb:|
> Hi Ralf,
> the custom widget tutorial should get you a started:
> http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.rap.help/help/html/advanced/custom-widget.html
> The ExpandBar/Item is also a good template in such a case. It is simpler
> than the Table/Item. Note that only a Widget can have a corresponding LCA.
thanks for your answer. I've read the tutorial, but I didn't get it
work. Perhaps I missed something. I will try it once more. I will try
out the Expandbar, too.
> R. Heydenreich wrote:
>> Hi all,
>> I've started my work with RAP/RWT a short time ago. At first an
>> outline of my problem. I have a widget which displays a map control
>> with some layers. Works quite nice. But, if I programmatically add or
>> remove one layer, some layers are doubled. It seems that my WidgetLCA
>> writes all layers (not only the changed!) regardless if they were
>> changed. This doubles some layers.
>> Now I want a higher granularity and a separate LCA for each component,
>> i.e. one for the widget itself and one for each layer. But my problem
>> is that I don't know how I can wire all the things together. I have a
>> WidgetLCA, a LayerLCA and the appropriate JS classes. I would it make
>> analogous to the Table and TableItem classes from RWT.
>> How can I get this to work?
Powered by FUDForum
. Page generated in 0.01791 seconds