Re: jsp:setProperty tag
I should go with int instead of Integer. Or even better with a String representing a number on the jsp page and in the setter method do a Integer.parseInt(number); //to get what I need. This way I do not have to trust javascripts and stuff to do the checking, if a numberformatexception is thrown I know something was wrong. Johan - Original Message - From: Nicola Folino To: Orion-Interest Sent: Thursday, April 26, 2001 3:19 PM Subject: jsp:setProperty tag In a jsp page I use: This page is called from another form jsp page with a certain number of form fields... Well, some fields of my bean are String, some other are Integer. I get that the setProperty tag works well with String type fileds, but Integer ones return nulls... I got jsp specification from Sun and I saw that Integer, String, Byte and so on should be returned well from a form containing this kind of objects. I tryed my code on JRun 3.1 and it goes with no problem. Is this an Orion problem or am I missing something? Thanks in advance, Nicola
jsp:setProperty tag
In a jsp page I use: This page is called from another form jsp page with a certain number of form fields... Well, some fields of my bean are String, some other are Integer. I get that the setProperty tag works well with String type fileds, but Integer ones return nulls... I got jsp specification from Sun and I saw that Integer, String, Byte and so on should be returned well from a form containing this kind of objects. I tryed my code on JRun 3.1 and it goes with no problem. Is this an Orion problem or am I missing something? Thanks in advance, Nicola
jsp:setProperty tag
In a jsp page I use: This page is called from another form jsp page with a certain number of form fields... Well, some fields of my bean are String, some other are Integer. I get that the setProperty tag works well with String type fileds, but Integer ones return nulls... I got jsp specification from Sun and I saw that Integer, String, Byte and so on should be returned well from a form containing this kind of objects. I tryed my code on JRun 3.1 and it goes with no problem. Is this an Orion problem or am I missing something? Thanks in advance, Nicola