You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by lucast <lu...@hotmail.com> on 2012/01/31 14:40:49 UTC

Adding onclick ajax behaviour to a panel

Dear Forum, 
I have a grid of panels (a calendar, really) and each panel may have a list
of people or no list at all.

Because the panels are so small, I'd like to be able to click on the panel
and have a modal window pop up.

Which Ajax updating behaviour should I add to the panel? I can't add
AjaxFormComponentUpdatingBehavior to it since it's not a form component.
If Ajax updating behaviour  is not the right element that I need to add,
then which one is it?

Silly as this question is, I am a bit lost.

Thanks in advance for any advice.

Lucas



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-onclick-ajax-behaviour-to-a-panel-tp4344504p4344504.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Adding onclick ajax behaviour to a panel

Posted by Martin Grigorov <mg...@apache.org>.
AjaxEventBehavior("onclick")

On Tue, Jan 31, 2012 at 3:40 PM, lucast <lu...@hotmail.com> wrote:
> Dear Forum,
> I have a grid of panels (a calendar, really) and each panel may have a list
> of people or no list at all.
>
> Because the panels are so small, I'd like to be able to click on the panel
> and have a modal window pop up.
>
> Which Ajax updating behaviour should I add to the panel? I can't add
> AjaxFormComponentUpdatingBehavior to it since it's not a form component.
> If Ajax updating behaviour  is not the right element that I need to add,
> then which one is it?
>
> Silly as this question is, I am a bit lost.
>
> Thanks in advance for any advice.
>
> Lucas
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-onclick-ajax-behaviour-to-a-panel-tp4344504p4344504.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



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

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