superoverdr...@gmx.de wrote:
http://localhost:8080/reorder.getnodes
I get:
"Component Reorder does not contain an embedded component with id 'getnodes'.
Available components: (none)."
It's because what you actually asked here is : call the "getnodes"
component on page reorder. Dot in T5 url are for component navigation,
for instance "http://context/page.comp1.comp2 means is the component
with t:id "comp2" in component with t:id "comp1" in page "page". Events
are denoted with colons, as in "http://context/page.comp1.comp2:event".
So, what you want is to fire a T5 events on the Java side. For that, you
will have to create an evenLink (the link with colon), call it with JS,
and handle the event in Java with "onMY_EVENT".
There is an example in the autocomple mixin.
If you had a zone, you could return a block or a component with just:
- on client side, call: $T('zoneId').zoneManager.updateFromURL('theUrl')
with theUrl somethink that looks like: "mypage:eventName"
- on the java side, handle the event with an onEventName handler
returning your block or updated component.
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
http://fanf42.blogspot.com
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org