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 > o

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" wrote: > I already have a json string like: > > {"name": "Simple name", "description": "simple description"} > > When using Struts 2 json plugin, it returns escaped strin

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? Regar

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/ * 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 m

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. > > requiredLabel="true" list="#itemList.keySet()" > doubleName="claimCon

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. Patrick Kelly PatrickKelly PrincipalConsultant *River**Dynamics* E: patrick.ke

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 scann

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 compri

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/