Are you users going to change page A once page B is up? If not, you
can just encode the contents of the "magic" text field in the link and then
feed it back to B when B is rendered.
If your users want to change A though and have page B recognize that
fact, then you need to get some javascript going and have window A "push"
the data into window B.
Also are you talking about two tabs on firefox/mozilla? Or are you
looking to open page B as a popup window e.g. via the javascript
window.open?
--- Pat
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 15, 2005 1:11 AM
> To: [email protected]
> Subject: RE: Retrieve values from a control on another page
>
> No problem ...
>
> What I have is a page (A) that displays the characteristics of a handheld
> device. It also shows a link that should pop a new window (B) up and
> display
> a list of all the regions that this device can be authorized in. Page A
> holds a text field with a string value (country code) in it. In page B I
> need to retrieve the country code from A's text field.
>
>
> Steve
>
> -----Original Message-----
> From: Robert Zeigler [mailto:[EMAIL PROTECTED]
> Sent: 14 July 2005 16:55
> To: Tapestry users
> Subject: Re: Retrieve values from a control on another page
>
>
> Yeah, you could probably do something like that.
> Steve, Can you give more details about what you're trying
> to accomplish?
>
> Robert
>
> DarĂo Vasconcelos wrote:
> > Mmmhhh... I'm thinking you might somehow (with an AJAX thing, maybe)
> > make the popup window set the property in the visit, then your method
> > would get this value from there...
> >
> > On 7/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
> >
> >>Sorry ... that wasn't very clear ... What I meant was, is there a way to
> do
> >>this from the Java code (ie. not using Javascript)? I need the variable
> for
> >>use as a method parameter.
> >>
> >>Steve
> >>
> >>-----Original Message-----
> >>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >>Sent: 14 July 2005 14:22
> >>To: [email protected]
> >>Subject: RE: Retrieve values from a control on another page
> >>
> >>
> >>Before I go on, thanks very much for the help you've given so far,
> Robert
> -
> >>Tapestry's learning curve is just plain scary! With that said ... Is
> there
> a
> >>way to do this from code? Or would a better solution be to use a Visit
> >>object?
> >>
> >>
> >>Steve
> >>
> >>-----Original Message-----
> >>From: Robert Zeigler [mailto:[EMAIL PROTECTED]
> >>Sent: 14 July 2005 14:04
> >>To: Tapestry users
> >>Subject: Re: Retrieve values from a control on another page
> >>
> >>
> >>So... to clarify...
> >>You have page A, and it's got a popup to page B, right?
> >>And you need page A to have access to some value set on page B?
> >>It might be best to do this via a bit of javascript.
> >>Your popup should be able to call
> >>opener.forms[0].hiddenFieldName.value='value'.
> >>So then you put a named hidden field...
> >><input type="hidden" jwcid="@Hidden" encode="false"
> >>value="ognl:someProperty"/>
> >>
> >>Then you can just access someProperty from pageA.
> >>
> >>Robert
> >>
> >>[EMAIL PROTECTED] wrote:
> >>
> >>>Hi there,
> >>>
> >>>I'm trying to retrieve a value from within a popup window. I've tried
> >>>
> >>>ValidField m_Country =
> >>>
> >>
> >>(ValidField)getRequestCycle().getPage("edit_device").getComponent("txtCo
> un
> tr
> >>
> >>>yCodeID");
> >>>return (String)m_Country.getValue();
> >>>
> >>>With no great success ... Please help!
> >>>
> >>>
> >>>With kind regards,
> >>>
> >>>Steve Ball
> >>>
> >>>
> >>>**********************************************************************
> >>>This email and any attachment(s) may contain confidential
> >>>and/or proprietary information and is for the intended
> >>>recipient only. If an addressing or transmission error has
> >>>misdirected this email, please notify the sender by replying
> >>>accordingly. If you are not the intended recipient you
> >>>should not copy, distribute or in any way make use of the
> >>>information contained in this email and any attachment(s).
> >>>**********************************************************************
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> **********************************************************************
> This email and any attachment(s) may contain confidential
> and/or proprietary information and is for the intended
> recipient only. If an addressing or transmission error has
> misdirected this email, please notify the sender by replying
> accordingly. If you are not the intended recipient you
> should not copy, distribute or in any way make use of the
> information contained in this email and any attachment(s).
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]