Re: Checkboxes problem

2007-07-04 Thread sharad bhushan
or Any of this should solve your problem. first one will iterate for itself second we are doing that. But still all checkbox shouldhave same name. You bean of will surely get list of values(not true). - Original Message From: Andreja <[EMAIL PROTECTED]>

Re: [S2] Why is it so difficult ?

2007-07-03 Thread sharad bhushan
Hi, When we are trying to do this(<@s.textfield name="poll.pollOptions[#{rowIndex}].option" />) are assign a new name to every textbox.So why will the array return.It return them as different params and tries to autowire.So Use a ommon name for them and see what happens when you submit the fo

Re: Checkboxes problem

2007-07-03 Thread sharad bhushan
Hi, Just a suggestion Why dont you have the common name for all check box holding the different values.How ever you may loose the struts2-checkbox feature(checkbox state) by doing this.YOu can populate the values of the checkbox in to a bean and use the across. Regards Sharad Send free SMS

struts2-sitemesh

2006-09-11 Thread sharad bhushan
hi all, i am having problems when using sitemesh 2.2.1 and struts2.the problem is it does not alow me to use struts tag libraries.and gives an error java.lang.NullPointerException org.apache.struts2.components.URL.end(URL.java:213) org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(