Hi Grzegorz,
Sorry for the delay.
Do you mean the braces etc end up in the action attribute of the form tag
?
Does this happen randomly in a running application ?
Cheers
Rémi
2014-03-09 21:23 GMT+01:00 Grzegorz Krugły g...@karko.net:
I hate bumping, but I'm really stuck with this one.
Yes, braces etc end up in the action attribute of the form tag. It
happens randomly, but it seems the most often it happens the first time
I visit the page -- subsequent accesses tend to work ok.
W dniu 10.03.2014 11:01, VANKEISBELCK Remi pisze:
Hi Grzegorz,
Sorry for the delay.
Do you mean
No, there's nothing fancy in the code, the request goes to ActionBean
and it returns ForwardResolution to JSP.
W dniu 10.03.2014 11:43, Marcus Kraßmann pisze:
Maybe it happens when you call the JSP directly while it works when being
called by an action bean?
Am 10.03.2014 11:36 schrieb
I've had a peek at the sources.
When using FormTag, the action attribute it computed by (in short)
replacing the placeholders in the @UrlBinding. The binding prototype is
used and the base url is built, including clean-URL params if any :
net.sourceforge.stripes.util.UrlBuilder#getBaseURL
I
The call stack is
FormTag.doEndTag: 241
FormTag.buildAction: 511
UrlBuilder.toString: 304
UrlBuilder.build: 406
UrlBuilder.getBaseUrl: 454
No idea where to go from here.
W dniu 10.03.2014 14:16, Grzegorz Krugły pisze:
I've tried debugging UrlBuilder now and have the direct cause of my
Grzegorz,
Years ago when I was actively developing with Stripes I saw a very similar
behavior with respect to initialization of bindings where the issue only
happened on initial server request. I think it has to do with lazy
initialization of URL bindings... that for some reason do not get
Interesting, this means that defaultValue is set so index in
net/sourceforge/stripes/controller/UrlBindingParameter.java
There are 3 affectations of this variable :
- 2
in net.sourceforge.stripes.controller.UrlBindingParameter#getDefaultValue
- 1 in the constructor
BTW what version of Stripes are you using ? Where did you grab the sources
? I noticed differences in line numbers between yours and mine...
Cheers
Rémi
2014-03-10 17:48 GMT+01:00 VANKEISBELCK Remi r...@rvkb.com:
Interesting, this means that defaultValue is set so index in
I hate bumping, but I'm really stuck with this one. Nothing obvious even
though I've debugged a lot.
Perhaps someone has an insight for the inner workings of UrlBindings and
has an idea what might cause those {$event} and {params} to leak to the
final HTML...
W dniu 02.03.2014 12:30, Grzegorz
I have a strange problem.
I have an action with URL binding like this:
@UrlBinding(/admin/userGroups/{$event}/{userGroup})
public class AdminUserGroupAction extends AbstractDashboardAction {
and I have a JSP form like this:
s:form beanclass=pl.msi.el.action.AdminUserGroupAction
10 matches
Mail list logo