myform extends form { oncomponenttag(tag) { super.oncomponenttag(tag); string act=tag.get("action"); act=requestutils.toabsolute(act); tag.put("action", act); } }
-igor On Sat, Aug 13, 2011 at 4:34 PM, Jony <a365...@nepwk.com> wrote: > Hi, I need absolute url in the form (action attribute). > > I see > "RequestUtils.toAbsolutePath(RequestCycle.get().getRequest().getRelativePathPrefixToWicketHandler());", > but how to use it in forms? > > AttributeModifier not good, because I do not know the form action. > > Thanks for your advice. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Absolute-url-in-action-form-tp3742161p3742161.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org