I'd like to read object's property value but the property name is known
during runtime only
so finally the ognl expression should looks like this
value=ognl:components.tableRows.tableRow.clientId
but clientId is generated and can be read i.e. from page's property:
columnName
So I'd like to
Seems like the wrong way to go about things. Remember, it's probably
best to avoid complex OGNL expressions. It's often best to add the
complexity to the JAVA code. For example you could have a function in
your object such that you can do getPropertyByName(columnName). And
use that to return the
I'm using tapernate and it is tapestry-acegi integration. Everything works
fine until recently I found the following error message.
It only happens when I open my application a while ago and back to click
some link or button on the webpage. The whole web application is then
dead. (Tomcat is
Yeah, I've seen that before. I was able to work around it because it
was an actual programming error in my case. But, the whole thing is
quite brittle, as you've figured out! :-) There needs to be better
error-handling, IMHO.
On 12/31/06, Henry Chen [EMAIL PROTECTED] wrote:
I'm using
Hi James,
Good to know that you have seen this before. How did you work around it? Can
you share a little bit? Where should I do a better error-handling? Thanks a
lot! I really don't know what to do without your help.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Check out some ognl docs for expression syntax, e.t.c.
IIRC, you can do
value=ognl:components.tableRows.tableRow[columnName]
And happy new year from greece as well !
Martin Strand wrote:
If you generate the expression dynamically, you can use an
ExpressionEvaluator:
public Object