RE: [S1] Disabled Input Box

2011-01-21 Thread Romman, Greg
On Fri, Jan 21, 2011 at 3:53 PM, Anjib Mulepati wrote: > So what can be the options for me? Can you make it hidden instead of disabling it? Regards, Greg -- This message and any attachments are intended only for the use of the

Re: If logic to dynamic decide whether to display a column

2011-01-21 Thread Emi Lu
Thank you Vitor. I believe it will satisfy my requirement. -- Lu Ying On 01/21/2011 03:59 PM, Vitor De Mario wrote: As far as I know, , the Struts tag, works in this scenario. I believe I've used it before. On Fri, Jan 21, 2011 at 6:35 PM, Emi Lu mailto:em...@encs.concordia.ca>> wrote: G

Re: If logic to dynamic decide whether to display a column

2011-01-21 Thread Vitor De Mario
As far as I know, , the Struts tag, works in this scenario. I believe I've used it before. On Fri, Jan 21, 2011 at 6:35 PM, Emi Lu wrote: > Good afternoon, > > Need help about using "if logic" to determine whether to display a > column under display:table > > For example: > >

Re: [S1] Disabled Input Box

2011-01-21 Thread Dave Newton
On Fri, Jan 21, 2011 at 3:53 PM, Anjib Mulepati wrote: > So what can be the options for me? Default form values? (I think that's more or less what ActionForm.reset() is for, isn't it?) Dave

Re: [S1] Disabled Input Box

2011-01-21 Thread Paul Benedict
What do you mean? What options do you want? On Fri, Jan 21, 2011 at 2:53 PM, Anjib Mulepati wrote: > So what can be the options for me? > > > On 1/21/2011 3:46 PM, Paul Benedict wrote: > >> Per the HTML spec, disabled form controls are not submitted by the >> browser. >> This is not a limitation

Re: [S1] Disabled Input Box

2011-01-21 Thread Anjib Mulepati
So what can be the options for me? On 1/21/2011 3:46 PM, Paul Benedict wrote: Per the HTML spec, disabled form controls are not submitted by the browser. This is not a limitation of Struts. On Fri, Jan 21, 2011 at 2:42 PM, Anjib Mulepati wrote: Hi I have a query regarding the behaviour of S

Re: [S1] Disabled Input Box

2011-01-21 Thread Paul Benedict
Per the HTML spec, disabled form controls are not submitted by the browser. This is not a limitation of Struts. On Fri, Jan 21, 2011 at 2:42 PM, Anjib Mulepati wrote: > Hi > > I have a query regarding the behaviour of Strut's ActionForm. > > If we have disabled input box on the JSP page can Acti

[S1] Disabled Input Box

2011-01-21 Thread Anjib Mulepati
Hi I have a query regarding the behaviour of Strut's ActionForm. If we have disabled input box on the JSP page can ActionForm get the value of that box? Right now when I am debugging it is showing me null, I can get value for all other element on the form. Thanks Anjib -

If logic to dynamic decide whether to display a column

2011-01-21 Thread Emi Lu
Good afternoon, Need help about using "if logic" to determine whether to display a column under display:table For example: Need sth like: == if %{#attr.row_rec.show_col1} Otherwise, do not display "col1". What is the grammer of "if %{#attr.row_rec.sh

Struts to iterate stored session object

2011-01-21 Thread smitharai
Hi, I am trying to iterate the object stored in session using struts nested tag. I am getting an exception javax.servlet.jsp.JspException: Cannot find bean: "" in any scope. What am I missing in the following code. I do not want to have the Action class and action form bean. I have a need to acce

Can Struts2 map params of the form "a[]=2&a[]=3&a[]=4" to String[]

2011-01-21 Thread Ken McWilliams
Using jQuery, it is not a big deal to set $.ajaxSettings.traditional = true; such that jquery encodes in the form: "a=2&a=3&a=4" but it is enough of a nuisance for me to check if I can set something in struts2.2.1 to avoid this.

AW: Dynamic dropDown List

2011-01-21 Thread mre...@4sxs.de
Hello, I tried with a map, a set... and for the quest.questionId with [], $, #... But nothing is working. I think it is not possible to do this!? My requirement: A form with 4 pages and it is possible to navigate through the 4 pages without loose field data. Example, a user fill the page 1 and 2