You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kakoli Saha <Ka...@hyperion.com> on 2004/08/10 01:20:53 UTC

Writing out primitive int bean properties

All,
   I am still running into problems writing out bean properties of
primitive type say int .I can only render String type ones in my jsp
pages.

Would really appreciate some help with this.

Thanks,
Kakoli 

-----Original Message-----
From: Kakoli_Saha@Hyperion3.com [mailto:Kakoli_Saha@Hyperion3.com] 
Sent: Monday, August 09, 2004 10:12 AM
To: Struts Users Mailing List
Subject: question on logic:iterate

All,

  The problem is I want to list out all the employee using the
logic:iterate tag.It does not show the property which is not of type
String in the bean and say of type int. Am I missing something here?

 

Sample code below:

 

<logic:iterate id="employee" name="employees">
<bean:write name="employee" property="name" />
<bean:write name="employee" property="email" />

<bean:write name="employee" property="empId" />
</logic:iterate>

 

Thanks All,

Kakoli



************************************************************************

If you have received this e-mail in error, please delete it and notify
the sender as soon as possible. The contents of this e-mail may be
confidential and the unauthorized use, copying, or dissemination of it
and any attachments to it, is prohibited. 

Internet communications are not secure and Hyperion does not, therefore,
accept legal responsibility for the contents of this message nor for any
damage caused by viruses.  The views expressed here do not necessarily
represent those of Hyperion.

For more information about Hyperion, please visit our Web site at
www.hyperion.com



************************************************************************

If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. 

Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses.  The views expressed here do not necessarily represent those of Hyperion.

For more information about Hyperion, please visit our Web site at www.hyperion.com

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