class popperupper extends abstractbehavior implements iheadercontributor {
 // some logic to only output the script once
}

button { onsubmit() { TextField tf=....; String value=tf.getModelObject();
add(new popperupper()); }}

-igor



On 1/25/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:

It make sense, but I need the textField value before calling the
javascript since there will be a page paramters to add.

I'm not sure I understand how I'm going to make that so it can be done
correctly...

Marc

On 1/25/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> create the url to the popup using requestcycle.urlfor and then output
> javascript that will open the popup using window.open
>
> -igor
>
>
> On 1/25/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote:
>
> > I though I had found the correct solution when I have seen a pop-up
> > button in the linkomatic example ( 
http://www.wicket-library.com/wicket-examples/linkomatic
> > ).
> >
> > But, it was nearly only a button with a BookmarkablePageLink.  Right
> > now, I want a SubmitLink to open up a pop-up after some processing a text
> > field.  Can it be done?  I checked and SubmitLink is a child of
> > wicket.markup.html.form.Button which does not have a method to set
> > popup setting.
> >
> > Is there a quick way of doing this?
> >
> > Thanks
> >
> > Marc
> >
> >
> > -------------------------------------------------------------------------
> > 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
> >
> >
> >
>
>
> -------------------------------------------------------------------------
> 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
>
>
>

-------------------------------------------------------------------------
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



-------------------------------------------------------------------------
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

Reply via email to