RE: Struts Taglib Question

2004-09-17 Thread ravi.vedala
lto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 7:27 PM To: '[EMAIL PROTECTED]' Subject: Struts Taglib Question Hello, Is there some sort of Struts tag that I can use to set the property of a bean? I have a small fragment that I want to look like this: <%-- Set the event.da

RE: Struts Taglib Question

2004-09-17 Thread Asleson, Ryan
Fixed. It needs to use the ${ } notation in c:set like shown below: Thanks to everybody for their help. -Original Message- From: Asleson, Ryan Sent: Friday, September 17, 2004 10:05 AM To: 'Struts Users Mailing List' Subject: RE: Struts Taglib Question I tried the

RE: Struts Taglib Question

2004-09-17 Thread Asleson, Ryan
I tried the following: and got this exception: [ServletException in:/jsp/registration/register.jsp] Invalid property in : "event.date"' javax.servlet.jsp.JspTagException: Invalid property in : "event.date" at org.apache.taglibs.standard.tag.common.core.SetSupport.doEndTag(SetSupport.j ava

RE: Struts Taglib Question

2004-09-17 Thread Slattery, Tim - BLS
> By dot notation I just mean the dot notation for properties, > like event.date really means getEvent().getDate(). Of course JSTL honors that convention. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL P

RE: Struts Taglib Question

2004-09-17 Thread Asleson, Ryan
iling List' Subject: RE: Struts Taglib Question > I was hoping for something like this. Does JSTL understand > the dot notation like Struts tags do? Not quite sure what you mean. Certainly JSTL's EL (expression language) is the same as that used by the Struts-el tags. -

RE: Struts Taglib Question

2004-09-17 Thread Slattery, Tim - BLS
> I was hoping for something like this. Does JSTL understand > the dot notation like Struts tags do? Not quite sure what you mean. Certainly JSTL's EL (expression language) is the same as that used by the Struts-el tags. -- Tim Slattery [EMAIL PROTECTED]

RE: Struts Taglib Question

2004-09-17 Thread Asleson, Ryan
I was hoping for something like this. Does JSTL understand the dot notation like Struts tags do? == == Try JSTL: Note: this code has not been tested -- Tim Slattery [EMAIL PROTECTED] -

RE: Struts Taglib Question

2004-09-17 Thread Slattery, Tim - BLS
> Is there some sort of Struts tag that I can use to set the > property of a bean? > > I have a small fragment that I want to look like this: > > > <%-- Set the event.date property on formBean to a default > value --%> property="event.date"> Try JSTL: Note: this code has no

Re: Struts Taglib Question

2004-09-17 Thread Nicolas De Loof
JSTL : Nico. > > Hello, > > Is there some sort of Struts tag that I can use to set the property of a > bean? > > I have a small fragment that I want to look like this: > > > <%-- Set the event.date property on formBean to a default value --%> > > > > > > It says that "if the event

RE: Struts Taglib Question

2004-09-17 Thread Paul McCulloch
Is there a reason you can't do this in the action which precedes your jsp? Anyway, from JSTL does this for you. Paul > -Original Message- > From: Asleson, Ryan [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 2:57 PM > To: '[EMAIL PROTECTED]

Struts Taglib Question

2004-09-17 Thread Asleson, Ryan
Hello, Is there some sort of Struts tag that I can use to set the property of a bean? I have a small fragment that I want to look like this: <%-- Set the event.date property on formBean to a default value --%> It says that "if the event.date property on formBean is an empty String