<%= blah_blah %> is a jsp scripting element not a tag. Perhaps I should have
used the correct terminology:

"you can't use a jsp action to provide the value of an attribute in another
action."

But then people who haven't read the JSP spec wouldn't have understood me.

Paul

> -----Original Message-----
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: 25 June 2004 15:07
> To: Struts Users Mailing List; 'Struts Users Mailing List'
> Subject: RE: How can i put a dynamic value to an <html:hidden> ?
> 
> 
> This is not accurate.  You can use <%= blah_blah %> in other tags.
> 
> At 03:37 AM 6/25/2004, Paul McCulloch wrote:
> >As other posters have said, you can't use a jsp tag to 
> provide the value of
> >an attribute in another tag. Ever.
> >
> >However, what you are doing is (probably) redundant. The 
> purpose of the
> >html:hidden tag is to *automatically* create an <input 
> type="hidden"/>
> >element in your form with the value already set according to 
> the value in
> >your form bean.
> >
> >If you just want to create a hidden input with a value from 
> something other
> >than your form bean just use the html tag directly. As this 
> is not a jsp tag
> >you can use a jsp tag as an attribute:
> >
> ><input type="hidden" name="firstname" value="<bean:write 
> name="member"
> >property="firstname"/>"/>
> >
> >Paul
> >
> > > -----Original Message-----
> > > From: John Antonakos [mailto:[EMAIL PROTECTED]
> > > Sent: 25 June 2004 11:17
> > > To: [EMAIL PROTECTED]
> > > Subject: How can i put a dynamic value to an <html:hidden> ?
> > >
> > >
> > > I want to do something like the following:
> > > <html:hidden property="firstname" value="<bean name="member"
> > > property="firstname"/>"/>
> > >
> > > is this possible ?
> > > The above statement produces an error.
> > > Can i use another statement to do this thing ?
> > > Give a dynamic value, coming from another bean,
> > > to an <html:hidden> field ?
> > >
> > > Regards, John
> > >
> >
> >
> >*************************************************************
> *********
> >Axios Email Confidentiality Footer
> >Privileged/Confidential Information may be contained in this 
> message. If 
> >you are not the addressee indicated in this message (or 
> responsible for 
> >delivery of the message to such person), you may not copy or 
> deliver this 
> >message to anyone. In such case, you should destroy this 
> message, and 
> >notify us immediately. If you or your employer does not consent to 
> >Internet email messages of this kind, please advise us immediately. 
> >Opinions, conclusions and other information expressed in 
> this message are 
> >not given or endorsed by my Company or employer unless 
> otherwise indicated 
> >by an authorised representative independent of this message.
> >WARNING:
> >While Axios Systems Ltd takes steps to prevent computer 
> viruses from being 
> >transmitted via electronic mail attachments we cannot guarantee that 
> >attachments do not contain computer virus code.  You are therefore 
> >strongly advised to undertake anti virus checks prior to 
> accessing the 
> >attachment to this electronic mail.  Axios Systems Ltd grants no 
> >warranties regarding performance use or quality of any 
> attachment and 
> >undertakes no liability for loss or damage howsoever caused.
> >*************************************************************
> *********
> >
> >
> >---------------------------------------------------------------------
> >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]
> 


**********************************************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.
**********************************************************************


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

Reply via email to