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 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
<mailto:g...@karko.net>>:
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 Krugły pisze:
> 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"
> class="form-horizontal">
>
> In other words - it's as simple as it can be. Most of the time
it works
> fine.
>
> But once in a while strange thing happens -- in the HTML that
goes to
> the browser, form's action is not /admin/userGroups, but...
> /admin/userGroups/{$event}/{userGroup}
> URL binding tokens get passed to HTML!
>
> Has any of You encountered such problem? What could I do? Trying to
> debug Stripes code, but am not that fluent in it.
>
> Best regards,
> Grzegorz
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move
to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually
works.
Faster operations. Version large binaries. Built-in WAN
optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
<mailto:Stripes-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users