Re: Map backed form

2019-03-07 Thread Prasanth
the collection property in your action or >>> object) >>> >>> Regards. >>> >>> [1] >>> https://struts.apache.org/core-developers/type-conversion.html#collection-and-map-support >>> >>>> -Original Message- >

Re: Map backed form

2019-03-07 Thread Yasser Zamani
ion property in your action or >> object) >> >> Regards. >> >> [1] >> https://struts.apache.org/core-developers/type-conversion.html#collection-and-map-support >> >>> -Original Message- >>> From: Prasanth >>> Sent: Friday, F

Re: Map backed form

2019-03-06 Thread Prasanth
nversion.html#collection-and-map-support > >> -Original Message- >> From: Prasanth >> Sent: Friday, February 15, 2019 9:08 PM >> To: user@struts.apache.org >> Subject: Re: Map backed form >> >> Does struts follow a specific logic as to what the

Re: Map backed form

2019-02-18 Thread Prasanth
ry 15, 2019 9:08 PM >> To: user@struts.apache.org >> Subject: Re: Map backed form >> >> Does struts follow a specific logic as to what the data type of the object >> would be >> based on user input? Meaning when is it converted to a Double vs Integer vs >> S

Re: Map backed form

2019-02-17 Thread Lukasz Lenart
sob., 16 lut 2019 o 10:28 Yasser Zamani napisał(a): > > I think a file named yourActionClass-conversion.properties beside your action > with following contents should help [1]: > > Key_xxx=java.lang.Long > Element_xxx=java.lang.Double > > (where xxx is the field name of the collection property in

RE: Map backed form

2019-02-16 Thread Yasser Zamani
/core-developers/type-conversion.html#collection-and-map-support >-Original Message- >From: Prasanth >Sent: Friday, February 15, 2019 9:08 PM >To: user@struts.apache.org >Subject: Re: Map backed form > >Does struts follow a specific logic as to what the data type of

Re: Map backed form

2019-02-15 Thread Prasanth
Does struts follow a specific logic as to what the data type of the object would be based on user input? Meaning when is it converted to a Double vs Integer vs String? Thanks, Prasanth On 2/15/19 7:45 AM, Lukasz Lenart wrote: > pt., 15 lut 2019 o 00:17 Prasanth napisał(a): >> I have a map (Map

Re: Map backed form

2019-02-15 Thread Lukasz Lenart
pt., 15 lut 2019 o 00:17 Prasanth napisał(a): > I have a map (Map) but based on the data entered by the user > the value in the Map is Double or String. Example if the user enters a value > of 10 then it is coming in as double but if the > user enters 10.5 then a string is present in the value.

Re: Map-backed form property and multi-select

2004-11-04 Thread Salvador Morant
Not if it will be useful to you but when I generate dynamic forms I do the following thing: The form definition: ... And then The select: If option is selected String[] contains the Value else contains null. The String[] size is the select options size. I hope to

Re: Map Backed Form and JavaScript

2004-10-25 Thread Jeff Beal
document.forms[0]['dto(name)'].value Hariharan V wrote: Hi, I am making use of Map backed Action form Lets say I have named the textbox field as follows How can I access the text field value from JavaScript for instance I can't do something like this. document.forms[0].dto(name).value; (but th