http://jakarta.apache.org/struts/userGuide/struts-bean.html#write



--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
        - Mark Twain (1835-1910)



> -----Original Message-----
> From: Cohan, Sean [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, February 21, 2003 7:54 AM
> To: 'Struts Users Mailing List'
> Subject: RE: bean:message
> 
> 
> Thanks guys.  I wasn't aware of the formatKey property.  And 
> I'm not aware
> of what docs to look at to find out more.  I looked in Taglib 
> Documentation
> and scanned the JavaDocs.  If there's an obvious place where 
> I should have
> found this, please enlighten me.  I'd like to know more. 
> 
> Thanks again.
> 
> -----Original Message-----
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 1:52 PM
> To: Struts Users Mailing List
> Subject: RE: bean:message
> 
> 
> Because I am competing for the Rube Goldberg award....:)
> 
> Thanks for reminding me to read the docs.
> 
> Sri
> 
> > -----Original Message-----
> > From: James Mitchell [mailto:[EMAIL PROTECTED]] 
> > Sent: Thursday, February 20, 2003 1:50 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: bean:message
> > 
> > 
> > Why don't you just use formatKey?
> > 
> > <bean:write name="hwa" 
> >         property="placedOnHWATs" 
> >        formatKey="date.digit.format"/>
> > 
> > 
> > 
> > --
> > James Mitchell
> > Software Engineer/Struts Evangelist
> > http://www.open-tools.org/
> > 
> > "The man who does not read good books has no advantage over 
> > the man who cannot read them."
> >     - Mark Twain (1835-1910)
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, February 20, 2003 1:38 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: bean:message
> > > 
> > > 
> > > You can't nest as you have shown.  Here's an alternative:
> > > 
> > > <bean:define id="foo">
> > >   <bean:message key="date.digit.format"/>
> > > </bean:define>
> > > 
> > > <bean:write 
> > >       name="hwa"
> > >   property="placedOnHWATs"
> > >     format="<%=foo%>"/>
> > > 
> > > Sri
> > > 
> > > > -----Original Message-----
> > > > From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, February 20, 2003 1:39 PM
> > > > To: Struts (E-mail)
> > > > Subject: bean:message
> > > > 
> > > > 
> > > > Is it possible to nest a <bean:message> tag within a
> > > > <bean:write> tag?  I want to get the format property out of 
> > > > the application.resources file, but I get an  
> > > > jsp.error.unterminated.tag error.
> > > >  
> > > > Here's how I'm trying to do it:
> > > >  
> > > > <bean:write name="hwa" property="placedOnHWATs" <bean:message
> > > > key="date.digit.format"/> />
> > > >  
> > > > and in the resource file I have:
> > > >  
> > > > date.digit.format=format="MM/dd/yyyy"
> > > >  
> > > >  
> > > > Thanks.
> > > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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]

Reply via email to