Hi,
I have defined a boolean property in a DynaActionForm (volledig which
means complete).
The value should be checked in the validate()-method.
It is easy to retrieve String-properties from the hash-map but the compiler
does not accept the following construct:
if
Hi!
Try this:
Boolean bVolledig = Boolean.valueOf((String)form.get(volledig));
boolean volledig = bVolledig.booleanValue();
Should work
Pedro Salgado
On 16/12/2003 09:11, Engbers, ir. J.B.O.M. [EMAIL PROTECTED]
wrote:
Hi,
I have defined a boolean property in a
: Retrieving boolean properties from a DynaActionForm
Hi,
I have defined a boolean property in a DynaActionForm (volledig which
means complete).
The value should be checked in the validate()-method.
It is easy to retrieve String-properties from the hash-map but the
compiler
does not accept
Hi, it begins to work!
After I changed 'form' to 'this', the file compiled without problems.
if (2.equals((String)this.get(selectie))) {
== Boolean bVolledig =
Boolean.valueOf((String)this.get(volledig));
boolean volleNaam = bVolledig.booleanValue();
4 matches
Mail list logo