struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: Month dropdown field error
Date Wed, 26 Mar 2003 15:28:10 GMT
Perhaps you would like to share the error message wit... oop hang on ... I
see your problem already:
You can't nest tags like that.
<snip>
 <html:option value="<jsp:getProperty name="mon"
</snip>
Ive forgotten the way around that one as I dont use JSP myself. No doubt
someone will post the proper approach shortly as its a common mistake to
make. (It was my first JSP mistake too!)

-----Original Message-----
From: Paul Blundell [mailto:paulblundell@yahoo.com]
Sent: Wednesday, 26 March 2003 23:21
To: struts-user@jakarta.apache.org
Subject: Month dropdown field error


I am trying to create a month dropdown dropdown using the datetime 'dt' tag.

The following code results in an error:

<html:select property="startMonth">
  <html:option value="Month"/>
  <dt:months id="mon" locale="true">
    <html:option value="<jsp:getProperty name="mon"
property="monthOfYear"/>">
  </dt:months>
</html:select>

Any ideas?

Thanks
Paul



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message