struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nuwan Chandrasoma <mymail...@gmail.com>
Subject Re: html:text inside logic:iterate
Date Wed, 01 Aug 2007 11:29:21 GMT
Hi,

You dont have a getter method for bitrateTxt property in the bean your 
trying to access (item1).

Thanks,

Nuwan

Hiroyuki Suzuki wrote:
> 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
>
>   


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


Mime
View raw message