Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Engbers, ir. J.B.O.M.
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

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Pedro Salgado
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

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Martin Gainty
: 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

Re: Retrieving boolean properties from a DynaActionForm

2003-12-16 Thread Engbers, ir. J.B.O.M.
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();