Migrating to RAP 2.1-RC3: Extending behaviour of DateTime widget [message #1064256] |
Tue, 18 June 2013 09:02  |
Eclipse User |
|
|
|
While migrating to RAP 2.1-RC3 I want to add some pieces of behaviour to the client-component of a DateTime widget. Instead of writing a custom widget I would like to use ClientScripting (as recommended). Unfortunately there are only a few methods on client side to read the actual (server-)state of a widget. Text widgets are the only widgets which are currently supported by get-methods. Are there any plans to fully supoprt the DateTime widget in the coming releases (RAP 2.1, 2.2, 2.x, 3.x)?
Thx for any support / hints in advance
Thorsten Lichtenwalter
---
Thorsten lichtenwalter
Software Development
msgGillardon AG, Bretten, Germany
|
|
|
|
|
|
|
Re: Migrating to RAP 2.1-RC3: Extending behaviour of DateTime widget [message #1067485 is a reply to message #1066142] |
Mon, 08 July 2013 23:41  |
Eclipse User |
|
|
|
Tim Buschtoens wrote on Mon, 01 July 2013 05:10Hi.
Can you sysout/console.log what the value of "WidgetUtil.getId( this )"
on the Server and "properties.parent" on the client is? Also, is the
widget you attach to a Composite?
Greetings,
Tim
Hi Tim,
in the meantime I changed my strategy for migrating the DateTime widget. I just migrated the UI and made the necessary modifications on the LCAs... and it's fully functional now. Next step might be switching the protocol from LCAs to the new JSON based one...
Up to now it feels a lot better and easier to write custom widgets using the new protocol instead of those LCAs... I think this is a solid foundation starting with RAP 2.0.
Regards
Thorsten
|
|
|
Powered by
FUDForum. Page generated in 0.03693 seconds