Francois is right, the client side can not directly invoke methods of
Tapestry pages or components; this is by design. The component side
can send events to specific components, and then what happens is
totally defined by the server (and therefore, more predictable and
less hackable).
Component ev
superoverdr...@gmx.de wrote:
Where is this "autocomple mixin" example? I have looked everywhere, but can't
find it.
Also read about this on the Tapestry website...
So you mean something like:
@OnEvent(component = "getnodes")
Would be value in place of component, or name your method "onGetn
ttp://localhost:8080/reorder:getnodes
says:
"Request event 'getnodes' (on component Reorder) was not handled; you must
provide a matching event handler method in the component or in one of its
containers."
Thanks!
Original-Nachricht ----
> Datum: Thu, 18 Dec
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 u
l-Nachricht
> Datum: Thu, 18 Dec 2008 10:33:12 +0100
> Von: superoverdr...@gmx.de
> An: users@tapestry.apache.org
> Betreff: JSONStreamResponse. How to return an array?
> I am trying to return a JSON Array from a Page:
>
> Array
> (
> [0] =>
I am trying to return a JSON Array from a Page:
Array
(
[0] => Array
(
[text] => adapter
[id] => /adapter
[cls] => folder
)
[1] => Array
(
[text] => air
[id] => /air
[cls] => folder
)