org.apache.wicket.Application.getComponentInitializationListeners().add(new IComponentInitializationListener() { onInitialize(Component) { // do the trick here } })
On Fri, Sep 2, 2011 at 11:16 AM, pasto <peter.pastr...@gmail.com> wrote: > I might be missing something. But how to do this automatically for > every component that is being rendered? > > On Fri, Sep 2, 2011 at 11:08 AM, Martin Grigorov-4 [via Apache Wicket] > <ml-node+3785666-1536426743-246...@n4.nabble.com> wrote: >> use getMarkupId() to get the generated by Wicket and then >> setMarkupId(orig + myUUID) >> >> On Fri, Sep 2, 2011 at 11:05 AM, pasto <[hidden email]> wrote: >>> Now I remembered, why I did not check the 'nextSequenceValue'. It returns >>> an >>> integer and I don't know about any unique portlet identifier, that is a >>> number and could be used to make the markup ID unique. Of course, I can >>> generate a hash or use a part of the portlet name, but that does not look >>> that nice. Is there a way, how to add a string to the markup ID? >>> >>> -- >>> View this message in context: >>> http://apache-wicket.1842946.n4.nabble.com/UrlEncoder-question-mark-not-encoded-for-parameter-values-tp3785027p3785658.html >>> Sent from the Users forum mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [hidden email] >>> For additional commands, e-mail: [hidden email] >>> >>> >> >> >> -- >> Martin Grigorov >> jWeekend >> Training, Consulting, Development >> http://jWeekend.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> http://apache-wicket.1842946.n4.nabble.com/UrlEncoder-question-mark-not-encoded-for-parameter-values-tp3785027p3785666.html >> To unsubscribe from UrlEncoder - question mark not encoded for parameter >> values, click here. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/UrlEncoder-question-mark-not-encoded-for-parameter-values-tp3785027p3785678.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 > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org