This seem's good but not exactly what I wanted.  Too complicated and it make
a refresh of the page (I used some ajax and then, it does not reload
"exactly" the same.)  I continued searching and find that I could do this
and since it work fine, why not :
popupSettings.setTarget ("href" + " + '&searchfield=' + document." +
searchForm.getId () + "." + textField.getId () + ".value");

I don't know if it will be broke sometime (probably) but at least, it work
for now.

Thanks.

Marc

On 1/25/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

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
> > > [email protected]
> > > 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
> > [email protected]
> > 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
> [email protected]
> 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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to