I totally agree with Dale, using %{..} will save you a lot of headaches.
musachy
On Fri, Jul 24, 2009 at 7:31 AM, Dale Newfield wrote:
> Mitch Claborn wrote:
>>
>> Is either of the following more or less efficient than the other?
>>
>>
>>
>
> I always argue that the latter should be used, just
Hi,
I've another tag syntax question
This not work:
This work
This also work
Why we need to use %{} for fieldValue but value doesn't require?
Regards
Louis
From: Dale Newfield
To: Struts Users Mailing List
Sent: Friday, July 24, 2009
Mitch Claborn wrote:
Is either of the following more or less efficient than the other?
I always argue that the latter should be used, just to avoid unnecessary
confusion later on.
-Dale
-
To unsubscribe, e-mail: user-uns
Is either of the following more or less efficient than the other?
mitch
Musachy Barroso wrote:
> other attributes are expected to be expressions, so you can do:
>
>
>
> instead of the more verbose, but also correct:
>
>
>
>
>
-
Thanks to both. The haze on the subject is beginning to clear.
mitch
Musachy Barroso wrote:
> yes that's a good catch Dale, from the API point of view they are
> stored in a map in the ValueStack instance, but from a user point of
> view you could say they are stored in the "valuestack context"
yes that's a good catch Dale, from the API point of view they are
stored in a map in the ValueStack instance, but from a user point of
view you could say they are stored in the "valuestack context".
musachy
On Thu, Jul 23, 2009 at 9:03 PM, Dale Newfield wrote:
> Musachy Barroso wrote:
>>
>> Objec
Musachy Barroso wrote:
Objects can be put in the stack by name, like the HttpServletRequest
object. Theseobjects are accessed using the "#" notation, like
"#request". The "set" tag can add things to the stack by name(for
example).
The only confusing bit about the way that was just described is
you need to read about the value stack. long story short, the VS
stacks (duh) objects. When an expressions like:
"name"
is evaluated, struts will go from the top to the bottom of the stack,
trying to find a "name" field or "getName" method, until one is found.
Different things are placed in the s
I'm a big confused about the syntax in struts tags. For example, I have
the following:
"display" is a property on the action. The first one does not need the
#, but the second one does. Why? What does the # signify?
Some tags seem to need the ognl construct %{.}. What are the rules
ar
9 matches
Mail list logo