dont remember, havent used 1.3.x in quiet a while.
-igor
On Fri, Dec 11, 2009 at 10:57 AM, Zak Johnson wrote:
> Is urlFor(Page page) available in the 1.3.7 release? I tried using the
> urlFor method provided in the component, but I didn't see one that took a
> page as a parameter. I'm in an ente
Is urlFor(Page page) available in the 1.3.7 release? I tried using the
urlFor method provided in the component, but I didn't see one that took a
page as a parameter. I'm in an enterprise environment that has me restricted
to that older package. :(
Zak
On Fri, Dec 11, 2009 at 11:29 AM, Igor Vaynbe
urlfor exists on component, so you can simply say
urlfor(page) inside any component method
-gior
On Fri, Dec 11, 2009 at 9:18 AM, Zak Johnson wrote:
> Thanks Igor, that lead me in the right direction. Here is what I did:
>
> page.getRequestCycle().urlFor(page);
> That gave me the specific page
Thanks Igor, that lead me in the right direction. Here is what I did:
page.getRequestCycle().urlFor(page);
That gave me the specific page url I was looking for.
Seems kinda roundabout, so if there is a better way, let me know.
Thanks!
Zak
On Fri, Dec 11, 2009 at 10:49 AM, Igor Vaynberg wrote:
urlfor(page)
-igor
On Fri, Dec 11, 2009 at 7:36 AM, Zak Johnson wrote:
> Yes, your example is what I was doing in the past to execute the JS on the
> form submit. My problem is getting the actual page url to feed into my JS
> call. I know there is a way to get it because I've done it before, I j
Yes, your example is what I was doing in the past to execute the JS on the
form submit. My problem is getting the actual page url to feed into my JS
call. I know there is a way to get it because I've done it before, I just
can't remember how and I lost the original code.
Zak
On Fri, Dec 11, 2009
Hi!
It is a bit similar to my problem once:
http://osdir.com/ml/users-wicket.apache.org/2009-07/msg00471.html
The idea is that you do an ajax form submit, then you return an ajax
response that opens the result popup window.
**
Martin
2009/12/11 Zak Johnson :
> So the reason I need this is becau
So the reason I need this is because I have a requirement to submit a form
which keeps the main page constant but opens the result page in a new
window. Also, it can't be a modal window. I need to be able to popup several
windows without taking control away from the main page, and without re-using
Why do you need it? Maybe there is a better way around it?
**
Martin
2009/12/11 Zak Johnson :
> I am trying to figure out a way to grab the url of a stateful page instance.
> So for example, I want to click a link which creates a new page and before
> redirecting to that page I want to grab the ?
I am trying to figure out a way to grab the url of a stateful page instance.
So for example, I want to click a link which creates a new page and before
redirecting to that page I want to grab the ?wicket:interface=:1 part of
the URL. I stumbled across a simple way to do this before, but I've lo
10 matches
Mail list logo