Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Gemes Tibor
2002. november 26. 11:04 dátummal Marcus Biel ezt írtad:

 I checked the Docu:
 http://localhost:8080/struts-documentation/struts-logic.html#equal
 And it says:
 value: The constant value to which the variable, specified by other
 attribute(s) of this tag, will be compared

 So according to the Struts docu, the value must be constant!
 But I need to compare a dynamic value!

bean:define id=value1 name=oneForm property=oneProperty /

logic:equals 
name=otherForm 
property=otherProperty 
value=%= oneValue %  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Gemes Tibor
2002. november 26. 11:20 dátummal Gemes Tibor ezt írtad:

 bean:define id=value1 name=oneForm property=oneProperty /

Of course this should be:

bean:define id=oneValue name=oneForm property=oneProperty /

logic:equal
name=otherForm
property=otherProperty
value=%= oneValue %  


sorry. I think I should boot on my first coffee. Ugh.

Tib


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Marcus Biel
Thanks.
Going to try this asap.

marcus

[EMAIL PROTECTED] schrieb:
 
 2002. november 26. 11:20 dátummal Gemes Tibor ezt írtad:
 
  bean:define id=value1 name=oneForm property=oneProperty /
 
 Of course this should be:
 
 bean:define id=oneValue name=oneForm property=oneProperty /
 
 logic:equal
 name=otherForm
 property=otherProperty
 value=%= oneValue %  
 
 sorry. I think I should boot on my first coffee. Ugh.
 
 Tib
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: dynamic logic:equal compare possible ?

2002-11-26 Thread Marcus Biel
Works perfect,
even though it makes my jsp even harder to handle! :-)

marcus

[EMAIL PROTECTED] schrieb:
 
 2002. november 26. 11:20 dátummal Gemes Tibor ezt írtad:
 
  bean:define id=value1 name=oneForm property=oneProperty /
 
 Of course this should be:
 
 bean:define id=oneValue name=oneForm property=oneProperty /
 
 logic:equal
 name=otherForm
 property=otherProperty
 value=%= oneValue %  
 
 sorry. I think I should boot on my first coffee. Ugh.
 
 Tib
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]