[wiQuery] Creating a script without a component

2010-10-18 Thread Peter Munro
Hi, I'd like to set up a JQuery script in my page header to change the attributes of all links with a specified class, so in my Java code I tried this: JsQuery linkQuery = new JsQuery(); linkQuery.$(.check-login).chain(attr, 'href', '#'); add(new

Re: [wiQuery] Creating a script without a component

2010-10-18 Thread Peter Munro
Thomerson jer...@wickettraining.com wrote: On Mon, Oct 18, 2010 at 10:02 AM, Peter Munro spelud...@gmail.com wrote: Hi, I'd like to set up a JQuery script in my page header to change the attributes of all links with a specified class, so in my Java code I tried

Re: [wiquery] How to open a modal dialog from a Link?

2010-10-14 Thread Peter Munro
(); } })); might work. Ernesto On Tue, Oct 12, 2010 at 8:25 PM, Peter Munro spelud...@gmail.com wrote: Hi, I'm using wiQuery and have a demo application with a Button that opens a modal dialog successfully, but I'd like to use Links instead of Buttons, so I'm replacing

[wiquery] How to open a modal dialog from a Link?

2010-10-12 Thread Peter Munro
Hi, I'm using wiQuery and have a demo application with a Button that opens a modal dialog successfully, but I'd like to use Links instead of Buttons, so I'm replacing this: button wicket:id=open-dialogOpen dialog/button with an anchor/Link: a href=# wicket:id=open-dialogOpen dialog/a and in my

Authorization using PageParameters

2010-10-06 Thread Peter Munro
Hi all, I'm confused... I'd like to setup authorization for a page, where the authorization decision is based on the parameters passed to the page. For example, http://blahblah/MyPage/?date=2010-10-06 would authorize correctly (show the page), but previous dates would not. Subclassing

Re: Authorization using PageParameters

2010-10-06 Thread Peter Munro
the trick. Thanks again, Peter On Wed, Oct 6, 2010 at 2:32 PM, Martin Grigorov mgrigo...@apache.orgwrote: Try with WebRequestCycle.get().getWebRequest().getParameters() or something like that. On Wed, Oct 6, 2010 at 2:53 PM, Peter Munro spelud...@gmail.com wrote: Hi all, I'm confused