html:text inside logic:iterate
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 tdhtml:multibox property=bitrateboxbean:write name=item1//html:multiboxbean:write name=item1//td tdhtml:text name=item1 property=bitrateTxt indexed=true size=25//td tdhtml:multibox property=haishinselect value=%=goohigashi+index%//td tdhtml:multibox property=haishinselect value=%=goonishi+index%//td tdhtml: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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html:text inside logic:iterate
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 tdhtml:multibox property=bitrateboxbean:write name=item1//html:multiboxbean:write name=item1//td tdhtml:text name=item1 property=bitrateTxt indexed=true size=25//td tdhtml:multibox property=haishinselect value=%=goohigashi+index%//td tdhtml:multibox property=haishinselect value=%=goonishi+index%//td tdhtml: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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html:text inside logic:iterate
hi but I also declares bitrateText in my actionform.. Thank you for your reply.. nuwan chandrasoma-2 wrote: 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 tdhtml:multibox property=bitrateboxbean:write name=item1//html:multiboxbean:write name=item1//td tdhtml:text name=item1 property=bitrateTxt indexed=true size=25//td tdhtml:multibox property=haishinselect value=%=goohigashi+index%//td tdhtml:multibox property=haishinselect value=%=goonishi+index%//td tdhtml: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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/html%3Atext-inside-logic%3Aiterate-tf4199265.html#a11946326 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html:text inside logic:iterate
here is the declaration of bitrateTxt in my actionform private String bitrateTxt; public String getBitrateTxt() { return this.bitrateTxt; } public void setBitrateTxt(String bitrateTxt) { this.bitrateTxt = bitrateTxt; } 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; } Hiroyuki Suzuki wrote: hi but I also declares bitrateText in my actionform.. Thank you for your reply.. nuwan chandrasoma-2 wrote: 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 tdhtml:multibox property=bitrateboxbean:write name=item1//html:multiboxbean:write name=item1//td tdhtml:text name=item1 property=bitrateTxt indexed=true size=25//td tdhtml:multibox property=haishinselect value=%=goohigashi+index%//td tdhtml:multibox property=haishinselect value=%=goonishi+index%//td tdhtml: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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/html%3Atext-inside-logic%3Aiterate-tf4199265.html#a11956936 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html:text inside logic:iterate
hello..it works properly now. Ive changed html:text syntax to tdhtml:text property=%=bitrateTxt[+index+]% size=25//td and declared bitrateTxt in my actionform as private String[] bitrateTxt = {}; public String[] getBitrateTxt() { return this.bitrateTxt; } public void setBitrateTxt(String[] bitrateTxt) { this.bitrateTxt = bitrateTxt; } Hiroyuki Suzuki wrote: here is the declaration of bitrateTxt in my actionform private String bitrateTxt; public String getBitrateTxt() { return this.bitrateTxt; } public void setBitrateTxt(String bitrateTxt) { this.bitrateTxt = bitrateTxt; } 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; } Hiroyuki Suzuki wrote: hi but I also declares bitrateText in my actionform.. Thank you for your reply.. nuwan chandrasoma-2 wrote: 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 tdhtml:multibox property=bitrateboxbean:write name=item1//html:multiboxbean:write name=item1//td tdhtml:text name=item1 property=bitrateTxt indexed=true size=25//td tdhtml:multibox property=haishinselect value=%=goohigashi+index%//td tdhtml:multibox property=haishinselect value=%=goonishi+index%//td tdhtml: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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/html%3Atext-inside-logic%3Aiterate-tf4199265.html#a11957193 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html:text inside logic:iterate ....
Hi guys, I have a scenario here, I have an application bean called 'AppBean' in my webapp, which contains two properties 'List1' and 'List2' whose type is ArrayList. Now in a jsp page, I have a form, which will display items in 'List1', and bundle a set of html:text controls to 'List2' to accept user's input. My current solution is: logic:iterate id=itemInList1' name=AppBean property=List1 indexId=index html:text name=AppBean property='%= List2[ + index + ] %'/ /logic:iterate But it seems not working properly, List2[index] is NULL Any suggestions?
RE: html:text in logic:iterate
Hi, What I understood was like this: You have a logic:iterate tag Inside that you have the text field tag. Corresponding to the Logic:iterate you must be having a for loop inside the form population method in your action. There you will be populating the value from the said bean (in the bean you will be having list I suppose, from which you extract the corresponding entry to display in the logic:iterate) to the corresponding form field in the form bean. I also had the same problem sometime back. I did the way I suggested and it worked. That's why I suggested this way. Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:45 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate How do I populate it in the Action if I need to iterate through the ActionForms in my JSP? I am thinking that it is just an issue of getting around the parser. In other instance I have, just adding quotes here and there to 'fool' the parser solves my problems. e.g. I can have a bean:write tag inside a hidden tag.. Sebastian On Thu, 2004-11-04 at 15:09, Girish Kumar K. P. wrote: Anyway , the value if u give the value attribute, the values populated into the form bean from the action will not be displayed. Text field will diplay bean:write name=mymobilephaseloadings property=percentage/ So, poipulate the form bean at the action . That's it Dopn't give the value attribute. It will work -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:34 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate The user is actually editing some data that is already saved. So I need the data to be displayed in the textbox (form). sebastian On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text in logic:iterate
Hi Thanks all for the suggestion. This way works and I am going with it. input type=text value=bean:write name=mymobilephaseloadings property=percentage/ size=10 name=percentage/ Sebastian On Thu, 2004-11-04 at 16:37, Girish Kumar K. P. wrote: Hi, What I understood was like this: You have a logic:iterate tag Inside that you have the text field tag. Corresponding to the Logic:iterate you must be having a for loop inside the form population method in your action. There you will be populating the value from the said bean (in the bean you will be having list I suppose, from which you extract the corresponding entry to display in the logic:iterate) to the corresponding form field in the form bean. I also had the same problem sometime back. I did the way I suggested and it worked. That's why I suggested this way. Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:45 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate How do I populate it in the Action if I need to iterate through the ActionForms in my JSP? I am thinking that it is just an issue of getting around the parser. In other instance I have, just adding quotes here and there to 'fool' the parser solves my problems. e.g. I can have a bean:write tag inside a hidden tag.. Sebastian On Thu, 2004-11-04 at 15:09, Girish Kumar K. P. wrote: Anyway , the value if u give the value attribute, the values populated into the form bean from the action will not be displayed. Text field will diplay bean:write name=mymobilephaseloadings property=percentage/ So, poipulate the form bean at the action . That's it Dopn't give the value attribute. It will work -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:34 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate The user is actually editing some data that is already saved. So I need the data to be displayed in the textbox (form). sebastian On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
html:text in logic:iterate
Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text in logic:iterate
U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text in logic:iterate
The user is actually editing some data that is already saved. So I need the data to be displayed in the textbox (form). sebastian On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text in logic:iterate
Anyway , the value if u give the value attribute, the values populated into the form bean from the action will not be displayed. Text field will diplay bean:write name=mymobilephaseloadings property=percentage/ So, poipulate the form bean at the action . That's it Dopn't give the value attribute. It will work -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:34 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate The user is actually editing some data that is already saved. So I need the data to be displayed in the textbox (form). sebastian On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text in logic:iterate
How do I populate it in the Action if I need to iterate through the ActionForms in my JSP? I am thinking that it is just an issue of getting around the parser. In other instance I have, just adding quotes here and there to 'fool' the parser solves my problems. e.g. I can have a bean:write tag inside a hidden tag.. Sebastian On Thu, 2004-11-04 at 15:09, Girish Kumar K. P. wrote: Anyway , the value if u give the value attribute, the values populated into the form bean from the action will not be displayed. Text field will diplay bean:write name=mymobilephaseloadings property=percentage/ So, poipulate the form bean at the action . That's it Dopn't give the value attribute. It will work -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:34 PM To: Struts Users Mailing List Subject: RE: html:text in logic:iterate The user is actually editing some data that is already saved. So I need the data to be displayed in the textbox (form). sebastian On Thu, 2004-11-04 at 14:52, Girish Kumar K. P. wrote: U shouldn't give the value attribute there. The value would be read from the form Regards, Girish -Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 12:18 PM To: Struts Users Mailing List Subject: html:text in logic:iterate Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: html:text in logic:iterate
Couldn't you just use one of the expression languages? For example: html:text property=percentage size=10 value=${mymobilephaseloadings.percentage}/ . . . in a JSP 2.0 (Expression Language-aware) container, or, using the EL tags: html-el:text property=percentage size=10 value=${mymobilephaseloadings.percentage}/ or %= mymobilephaseloadings.getPercentage() % using the older runtime expression language. Not sure if my syntax is 100% correct. Also, I think you might be able to embed the c:out tag in place of the bean:write tag. Make sure you really want to use the value attribute, as this can have undesired consequences when paired with an ActionForm. Erik Sebastian Ho wrote: Hi I have a iterate tag which contains a text box. I wish to display value in the textbox. But this line in the JSP couldnt get through the parsing. html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// Anyone knoww how to get around this? Thanks Sebastian Ho - logic:iterate id=mymobilephaseloadings name=mobilephaseloadings scope=session tr bgcolor=#CC html:form action=EditLCMSMSGradientStepByIdentifier.do td bean:write name=mymobilephaseloadings property=gradientStepTime/ /td td html:text property=percentage size=10 value=bean:write name=mymobilephaseloadings property=percentage// /td td html:cancel property=action value=Save bean:message key=button.save/ /html:cancel /td html:hidden property=page value=displaygradientstepbyidentifier/ /html:form /tr /logic:iterate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]