Marcus Biel
2002-11-26 10:04:17 UTC
Hi, I got a table that displays a list of data records.
When editing a data record, I don't want to display the data record to
edit on another page, but on the same page.
Therefore I think I have to use the logic:equal tag to compare the id
value of the current record with the id that got entered into an
"editForm".
So both values to compare are in different forms -
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!
Any idea how to solve this ?
thx in advance,
marcus
When editing a data record, I don't want to display the data record to
edit on another page, but on the same page.
Therefore I think I have to use the logic:equal tag to compare the id
value of the current record with the id that got entered into an
"editForm".
So both values to compare are in different forms -
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!
Any idea how to solve this ?
thx in advance,
marcus