In fact, the code I added earlier is only appending a parameters for your
pop up page named "searchField".
So, in the constructor of the pop-up, only use PageParameters and grab the
parameters there.
On 2/20/07, serban.balamaci <[EMAIL PROTECTED]> wrote:
Thanks for the answer, but how can the searchfield value be retrieved in
the
popup?
And will it actually hold the value in the control or the url string of
the
component?
Marc-Andre Houle wrote:
>
> here is the way I have done it :
> popupSettings.setTarget ("href" + " + '&searchfield=' + document." +
> searchForm.getId () + "." + textField.getId () + ".value");
>
> On 2/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>
>> there is a lot of javascript out there that shows you how to read the
>> currently selected item out of a select box
>>
>> -igor
>>
>>
>> On 2/19/07, serban.balamaci <[EMAIL PROTECTED]> wrote:
>> >
>> >
>> > Hi.
>> >
>> > I need to open a popup page that displays information that is related
>> to
>> > parameters in the parent page. For example, a popuppage with a list
of
>> > streets, and in the parent i would have a combo with counties ids,
name
>> > and
>> > only the street in that county would be shown in the popup. The
problem
>> > is
>> > that i would not want to make an unnecesary trip back to the server,
>> but
>> > by
>> > not doing so the model behind the combo of counties is not updated,
and
>> > an
>> > invocation on the onClick method of the link and calling
>> > combo.getModelObject does not return what was selected, since no data
>> is
>> > passed to the server.
>> >
>> > I guess that the problem could be solved by using javascript, but i
>> > tried
>> > and found no solutions to how i could pass the parameters without
>> > forcing
>> > the user to first submit the form and then open the popup.
>> >
>> > Can it even be done?
>> >
>> > Thanks.
>> > --
>> > View this message in context:
>> >
>>
http://www.nabble.com/Pass-popup-parameters-from-parent-page-tf3252580.html#a9041563
>> > Sent from the Wicket - User mailing list archive at Nabble.com.
>> >
>> >
>> >
>> >
>>
-------------------------------------------------------------------------
>> > 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
>
>
--
View this message in context:
http://www.nabble.com/Pass-popup-parameters-from-parent-page-tf3252580.html#a9056928
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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