Maxx wrote:
Back on this:
testValue = // print 1
testValueName = // print testValue
// print nothing!!!
testValue (via xxxName) =
That last line wont work because it's not a valid OGNL expression.
However, looking back through the threa
--- Maxx <[EMAIL PROTECTED]> wrote:
> Back on this:
> >
> > testValue = // print 1
> >
> >
> > testValueName = // print
> testValue
> >
> > // print nothing!!!
> > testValue (via xxxName) =
>
> Still no idea...?
What are you trying to do?
Dave
Back on this:
>
> testValue = // print 1
>
>
> testValueName = // print
> testValue
>
> // print nothing!!!
> testValue (via xxxName) =
Still no idea...?
Maxx
-
To unsubscri
Currently searching, I found something that might be related : it's a
security fix about "recursive OGNL parsing"
http://struts.apache.org/2.x/docs/s2-001.html (related to WebWork bug WW-2030).
As I can read:
*As of XWork 2.0.4, the OGNL parsing is changed so that it is not recursive*
... is my pr
Well...
Enough if it would only be for a presentation purpose, and as said I
already have & use this : the aforementioned multiple
tags.
But when you have, let's say, about 50 , each
corresponding with a single
myObj.someSubList(X).someSubMap[Y](Z).subObj
or
myObj.someSubList(X).someSubMap[
If the object graph is too deep to easily code to in the web page, perhaps
you could "pull up" the low level lists with a method at the top of your
graph? I understand the frustration with verbose evaluations to get a
simple String! Let's suppose you have
Country--->State--->City--->Street--->Li
Of course the JSP if for prensentation.
But this kind of "complex" OGNL expression is computed as each
iteration of multiple tags (that's why I put some X/Y/Z
variables, each resulting of a %{#someStatus.index} expression).
In fact, the myObj is exposed by the Action class through regular
getMyO
Could you put the "tricky & deep" dive code in your action and use simple
OGNL expressions on your pages? I find when web pages start looking like
myObj.someSubList(X).someSubMap[Y](Z).subObj.fieldName I am writing complex
code in the *wrong* place. Remember what the web page is for...
presentati
Hello,
As I wasn't able to find this out at the moment, I'm posting my question here :
Would it be possible, within Struts2 tags, to evaluate a (String)
property which contains the OGNL expression referring to an other
property??
Example :
testValue = // print 1
9 matches
Mail list logo