Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

html:text inside logic:iterate

Hiroyuki Suzuki

2007-08-01

Replies:


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

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.