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("txtCountr
> > 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]
> 
> 


-- 
Communism is man's exploitation of man. Capitalism is just the opposite.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to