struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiroyuki Suzuki <jerkyj...@atenista.net>
Subject html:text inside logic:iterate
Date Wed, 01 Aug 2007 10:19:31 GMT

hello guys..Im Hiroyuki and im new here..
Hope you could help me with some of my inquiries.

I have this JSP
<logic:iterate name="metaEntryConfirmForm" indexId="index"  id="item1"
property="items1">                          
<tr>             
  <td><html:multibox property="bitratebox"><bean:write
name="item1"/></html:multibox><bean:write name="item1"/></td>
   <td><html:text name="item1" property="bitrateTxt" indexed="true"
size="25"/></td>
   <td><html:multibox property="haishinselect"
value="<%="goohigashi"+index%>"/></td>
   <td><html:multibox property="haishinselect"
value="<%="goonishi"+index%>"/></td>
   <td><html:multibox property="haishinselect"
value="<%="gooBB"+index%>"/></td>      
</tr>
</logic:iterate>

my action form contains:
	private String[] bitratebox = {};
	private String[] items1 = {"500k","1M","2M","5M","6M"};
	public String[] getBitratebox() {
		return this.bitratebox;
	}
	public void setBitratebox(String[] bitratebox) {
		this.bitratebox = bitratebox;
	}	
	public String[] getItems1(){
		return this.items1;
	}

When i try to run it,  it produces the ff error
javax.servlet.ServletException: Bean items1 のプロパティ bitrateTxt
に対するゲッターメソッドがありません
which means no getter method for Bean item1 property bitrate.

What is wrong with my code?
please help me

-- 
View this message in context: http://www.nabble.com/html%3Atext-inside-logic%3Aiterate-tf4199265.html#a11943047
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message