On 3/15/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> One part that I just can't seem to figure out from reading Pro Wicket
and
> browsing through the apidocs is how to
> make something like Tapestry "services".
Contrary to what some people say on The Server Side etc, Wicket and
Tapestry are very different frameworks. This means that not everything
can be mapped from one framework to the other.
Yes, I have noticed that :)
Tapestry's services
seem to be pretty particular for that framework.
And without those services there is not much left in Tapestry.
The best way to go here is to forget about the facilities you had in
Tapestry, but just focus on what you want to accomplish. It will be
easier for us to help you out with specific use cases, or you might be
able to figure it out yourself.
What I need is a way to do have a call from javascript to trigger some
action.
Both through normal HTTP requests and XMLHTTP, but I will focus on the
normal part first.
There is no associated component in the page. It is just a javascript
controller object, that
wants to send commands to my application. The request cycle is enough for me
to continue
at that point.
Something else related to this is if I can have a Link where I can add
parameters to in javascript.
Looking at Wicket I get the feeling that the state is purely something that
is kept in pages and components
with its associated models. There does not seem to be room for the client
browser to keep any state.
I actually have a whole model-view-controller system in javascript for
certain complicated situations.
I tried to look at how a Tree component works, and see if I could learn
something by looking at how it's called.
But that part was just magic to me :)
Robert
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user