ppressWarnings("serial")
>> public class AuditProperty implements Serializable {
>>
>> private static final Log logger =
>> LogFactory.getLog(AuditProperty.class);
>> private String oldValue;
>> private String newValue;
>> private bo
public String getOldValue() {
> return oldValue;
>
> }
> public void setOldValue(String oldValue) {
> this.oldValue = oldValue;
> }
> public String getNewValue() {
> return newValue;
&g
this.newValue = newValue;
}
public String toString()
{
String value= oldValue + " : " + newValue + " : " + updateFlag;
logger.debug(value);
return value;
}
--
View this message in context:
http://www.na
:
--
View this message in context:
http://www.nabble.com/Struts-2-Type-Conversion-HashSet-Object-within-the-List-of-Object-tp22436263p22436263.html
Sent
newton.dave wrote:
>
> I believe it was probably what's conventionally known as a "mistake".
> It appears to have been resolved with XW-677.
>
Yep, looks like that will take care of it. Thanks.
--
View this message in context:
http://www.nabble.com/Struts-2-Type-c
markbeek wrote:
Can anyone (a) confirm this analysis of the source code, and (b) if so,
explain why the decision was made to consider zero an invalid entry for a
double property on a form field?
I believe it was probably what's conventionally known as a "mistake".
It appears to have been resol
?
Thanks
--
View this message in context:
http://www.nabble.com/Struts-2-Type-conversion-refuses-0.0-for-a-double--tp21738188p22345989.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
0.0"
out as an error ...
public class Test {
public static void main(String[] args) {
double d = Double.parseDouble("0.0");
System.out.println(d);
}
}
--
View this message in context:
http://www.nabble.com/Struts-2-Type-conversion-refuses-0.0-for-a-double--tp2
2009/1/30 san-ho-zay :
> I have a Struts2 action with a double property called "amount". No validation
> rules on the action as yet.
Use big Double instead.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail:
s. JSPs
and XHTML theme. All pretty standard stuff.
I've searched but nobody else seems to have anything like this issue. Any
ideas?
--
Richard
--
View this message in context:
http://www.nabble.com/Struts-2-Type-conversion-refuses-0.0-for-a-double--tp21738188p2
plication. Apperently this bug was never a problem. :thinking:
>
> Titus
>
> --
> View this message in context:
> http://www.nabble.com/Struts-2-Type-Conversion-for-properties-of-a-List-tp21144957p21156808.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
>
ly mean "&&" there?
>
No, of course not. You found an old bug in my converter at that time written
for a JSF application. Apperently this bug was never a problem. :thinking:
Titus
--
View this message in context:
http://www.nabble.com/Struts-2-Type-Conversion-for-properties
conversion.
By the way: Does anybody know, why they are using xml to define validators
and the old school property files for conversions?
Thanks, Titus
--
View this message in context:
http://www.nabble.com/Struts-2-Type-Conversion-for-properties-of-a-List-tp21144957p21156805.html
Sent fro
return (String) o;
> }
> }
>
> I'm not sure beeing on the right way. Maybe converters can only be defined
> for form fields? Or not for properties of an iteration?
>
> Titus
>
>
--
View this mes
--- On Tue, 12/23/08, Marsman wrote:
>
>
>
This isn't really type conversion, it's a toString. AFAIK type conversion is
only an issue to/from forms.
> if ( values[0] == null || values[0].length() == 0
> && values[0].equalsIgnoreCase("v.a.")
|| values[0].equalsIgnoreCase("va
return (String) o;
}
}
I'm not sure beeing on the right way. Maybe converters can only be defined
for form fields? Or not for properties of an iteration?
Titus
--
View this message in context:
http://www.nabble.com/Struts-2-Type-Conversion-for-properties-of-a-List-tp21144957p21144957.ht
r additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Struts-2-type-conversion-and-numbers-tf4179029.html#a11884749
Sent from the Struts - User mailing list archive at Nabble.com.
Art Krahenbuhl wrote:
How can we get rid of the commas? I can't find any
information on this issue.
https://issues.apache.org/struts/browse/WW-1937
-Dale
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
displaying is
a little troubling. How can we get rid of the commas? I can't find any
information on this issue.
--
View this message in context:
http://www.nabble.com/Struts-2-type-conversion-and-numbers-tf4179029.html#a11883455
Sent from the Struts - User mailing list archive at Nabbl
19 matches
Mail list logo