Re: Simple non ajax callback

2011-08-21 Thread nino martinez wael
Not exactly there are a lot of cases where a behavior can be added but not a
link..
On Aug 20, 2011 11:07 AM, Martin Grigorov mgrigo...@apache.org wrote:


Re: Simple non ajax callback

2011-08-20 Thread nino martinez wael
Just add a behavior that had an on event callback, i know what you suggested
are sort of the same. But the other would be simpler to grasp?
On Aug 18, 2011 5:06 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 how could it possibly be _even_ simpler?

 -igor

 On Thu, Aug 18, 2011 at 12:33 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 ok that was also what I looked into but was unsure if there was
 another even simpler way.

 Thanks
 -Nino

 2011/8/17 Igor Vaynberg igor.vaynb...@gmail.com:
 see how Link does it... all you need to do is implement one of the
 listener interfaces and call urlfor(component, interface) to generate
 a callback url..

 -igor


 On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi i could not find a simple way todo non ajax callbacks. Its very
simple to
 extend the abstractajaxdefaultbehavior. But could not find something
similar
 for non ajax. Did i miss something? I figure its because if youre using
 javascript you might aswell do ajax?


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



Re: Simple non ajax callback

2011-08-20 Thread Martin Grigorov
It sounds like you want to re-invent the Link ...

On Sat, Aug 20, 2011 at 10:16 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Just add a behavior that had an on event callback, i know what you suggested
 are sort of the same. But the other would be simpler to grasp?
 On Aug 18, 2011 5:06 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 how could it possibly be _even_ simpler?

 -igor

 On Thu, Aug 18, 2011 at 12:33 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 ok that was also what I looked into but was unsure if there was
 another even simpler way.

 Thanks
 -Nino

 2011/8/17 Igor Vaynberg igor.vaynb...@gmail.com:
 see how Link does it... all you need to do is implement one of the
 listener interfaces and call urlfor(component, interface) to generate
 a callback url..

 -igor


 On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi i could not find a simple way todo non ajax callbacks. Its very
 simple to
 extend the abstractajaxdefaultbehavior. But could not find something
 similar
 for non ajax. Did i miss something? I figure its because if youre using
 javascript you might aswell do ajax?


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Simple non ajax callback

2011-08-18 Thread nino martinez wael
ok that was also what I looked into but was unsure if there was
another even simpler way.

Thanks
-Nino

2011/8/17 Igor Vaynberg igor.vaynb...@gmail.com:
 see how Link does it... all you need to do is implement one of the
 listener interfaces and call urlfor(component, interface) to generate
 a callback url..

 -igor


 On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi i could not find a simple way todo non ajax callbacks. Its very simple to
 extend the abstractajaxdefaultbehavior. But could not find something similar
 for non ajax. Did i miss something? I figure its because if youre using
 javascript you might aswell do ajax?


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Simple non ajax callback

2011-08-18 Thread Martin Grigorov
mount a Page or Resource at given url and fire requests to that url ...

On Thu, Aug 18, 2011 at 10:33 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 ok that was also what I looked into but was unsure if there was
 another even simpler way.

 Thanks
 -Nino

 2011/8/17 Igor Vaynberg igor.vaynb...@gmail.com:
 see how Link does it... all you need to do is implement one of the
 listener interfaces and call urlfor(component, interface) to generate
 a callback url..

 -igor


 On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi i could not find a simple way todo non ajax callbacks. Its very simple to
 extend the abstractajaxdefaultbehavior. But could not find something similar
 for non ajax. Did i miss something? I figure its because if youre using
 javascript you might aswell do ajax?


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Simple non ajax callback

2011-08-18 Thread Igor Vaynberg
how could it possibly be _even_ simpler?

-igor

On Thu, Aug 18, 2011 at 12:33 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 ok that was also what I looked into but was unsure if there was
 another even simpler way.

 Thanks
 -Nino

 2011/8/17 Igor Vaynberg igor.vaynb...@gmail.com:
 see how Link does it... all you need to do is implement one of the
 listener interfaces and call urlfor(component, interface) to generate
 a callback url..

 -igor


 On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
 Hi i could not find a simple way todo non ajax callbacks. Its very simple to
 extend the abstractajaxdefaultbehavior. But could not find something similar
 for non ajax. Did i miss something? I figure its because if youre using
 javascript you might aswell do ajax?


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Simple non ajax callback

2011-08-17 Thread nino martinez wael
Hi i could not find a simple way todo non ajax callbacks. Its very simple to
extend the abstractajaxdefaultbehavior. But could not find something similar
for non ajax. Did i miss something? I figure its because if youre using
javascript you might aswell do ajax?


Re: Simple non ajax callback

2011-08-17 Thread Igor Vaynberg
see how Link does it... all you need to do is implement one of the
listener interfaces and call urlfor(component, interface) to generate
a callback url..

-igor


On Wed, Aug 17, 2011 at 10:22 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Hi i could not find a simple way todo non ajax callbacks. Its very simple to
 extend the abstractajaxdefaultbehavior. But could not find something similar
 for non ajax. Did i miss something? I figure its because if youre using
 javascript you might aswell do ajax?


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org