Re: Handling of value attribute in param and hidden tags

2016-03-04 Thread Steven Willis
I think I understand what you're saying, a param tag doesn't correspond to any directly generated html tag, so its 'value' attribute is special and gets evaluated. Whereas other tags, like 'hidden' correspond to html elements that actually have a 'value' attribute themselves, so the literal valu

Re: Handling of value attribute in param and hidden tags

2016-03-04 Thread Lukasz Lenart
Hi, I don't know the exact explanation and reasons why it behaves that way, but looking at the code I can say it's by design :) tag doesn't play alone, you must use it in context of other tag so it is natural that its "value" attribute should be evaluated as an expression - you can read this as:

Handling of value attribute in param and hidden tags

2016-03-04 Thread Steven Willis
I was having some issues with how freemarker/struts handles the 'value' attribute on the 'param' tag. I figured it out and saw that struts will try to evaluate any string passed in to 'value'. Freemarker had been evaluating my expressions, sending in the resulting string to struts, and struts wa