Re: how to make bigdecimal field mandatory

2015-02-18 Thread Christoph Nenning
Hi , is there any validator to make a bigdecimal field mandatory? in detail i have a textfiled which is mapped to a bigdecimal. I want to make this textfield as a mandatory field. how to do this? Have a lookt at RequiredFieldValidator. regards, Christoph This Email was scanned by

how to make bigdecimal field mandatory

2015-02-18 Thread Yaragalla Muralidhar
Hi , is there any validator to make a bigdecimal field mandatory? in detail i have a textfiled which is mapped to a bigdecimal. I want to make this textfield as a mandatory field. how to do this? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: double select tag

2015-02-18 Thread Christoph Nenning
document.getElementById(itemCategory).value = itemCategory; Are you sure that itemCategory is present in the html table and can be accessed by JavaScript? I am trying to get a double select tag to work for the 1st time and am having some problems. The JSP involved comprises a

Re: double select tag

2015-02-18 Thread Patrick Kelly
Christoph - I think so. It was not throwing any javascript errors in Firefox javascript console. It was defined in the doubleselect statement below and i could see it in the generated html in view page source. s:doubleselect label=Select room and item name=claimContent.itemRoom id=itemRoom

Re: how to make bigdecimal field mandatory

2015-02-18 Thread Yaragalla Muralidhar
It worked. thanks Christoph. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, Feb 18, 2015 at 1:52 PM, Christoph Nenning christoph.nenn...@lex-com.net wrote: Hi , is there any validator to make a bigdecimal field

Re: double select tag

2015-02-18 Thread Christoph Nenning
Christoph - I think so. It was not throwing any javascript errors in Firefox javascript console. It was defined in the doubleselect statement below and i could see it in the generated html in view page source. s:doubleselect label=Select room and item name=claimContent.itemRoom

Re: double select tag

2015-02-18 Thread Patrick Kelly
Christoph, the html code used when the Edit link gets clicked looks like the following. So the iterator has run and has pulled back a bunch of records. Then for any of the items on the list you can click edit which will extract the relevant data fields for the selected record and populate the

Re: How do i prevent Struts 2 json plugin from escaping already formated json?

2015-02-18 Thread Dave Newton
Don't use the JSON plugin? The point of it is to create JSON, but you already have JSON. On Feb 18, 2015 7:18 AM, bavon mike bavom...@gmail.com wrote: I already have a json string like: {name: Simple name, description: simple description} When using Struts 2 json plugin, it returns escaped

How do i prevent Struts 2 json plugin from escaping already formated json?

2015-02-18 Thread bavon mike
I already have a json string like: {name: Simple name, description: simple description} When using Struts 2 json plugin, it returns escaped string like: {\name\: \Simple name\, \description\: \simple description\} How do i configure struts 2 plugin to avoid this escaping? Regards Mike

RE: double select tag

2015-02-18 Thread Martin Gainty
Date: Thu, 19 Feb 2015 09:20:07 +1100 From: patrick.ke...@riverdynamics.com To: user@struts.apache.org Subject: Re: double select tag Christoph, the html code used when the Edit link gets clicked looks like the following. So the iterator has run and has pulled back a bunch of