Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-08 Thread Edward Yakop
penalty during serialization/deserialization compared to pax-wicket 2.0. However, If wicket-1.0 style .add() voted, please add generic support to wicket 1.x. Regards, Edward Yakop - Take Surveys. Earn Cash. Influence the Future

Re: [Wicket-user] [wicket 2.0] Roles#hasAnyRole( Roles roles ) question

2007-02-16 Thread Edward Yakop
Anyone? Need to know whether this is intended? If this is intended I will do a workaround. Regards, Edward Yakop On 2/16/07, Edward Yakop [EMAIL PROTECTED] wrote: Hi, I have the following code code Roles r = new Roles(); boolean hasAny = r.hasAnyRole( null ); /code Shouldn't

[Wicket-user] [wicket 2.0] Roles#hasAnyRole( Roles roles ) question

2007-02-15 Thread Edward Yakop
) { if (roles != null) { for (String role : roles) { if (hasRole(role)) { return true; } } } return isEmpty(); // Modified line } /code Regards, Edward Yakop - Take Surveys. Earn Cash

Re: [Wicket-user] [wicket-1.x, wicket-2.0] ServletWebRequest#getRelativeURL()

2007-01-31 Thread Edward Yakop
PaxWicketRequest( m_mountPoint, servletRequest ); } } /code and inside my PaxWicketRequest code /** * @author Niclas Hedhman, Edward Yakop * * @since 1.0.0 */ final class PaxWicketRequest extends ServletWebRequest { ... public final String getServletPath() { String contextPath

Re: [Wicket-user] GMarkerManager in GMap wicket lib?

2007-01-31 Thread Edward Yakop
this, and why it only works once. Hope somebody can enlighten me :) Regards, Edward Yakop Note: The attached are patch of the bug fixes. wicket-contrib-gmap_as_1712.patch Description: Binary data wicket-contrib-gmap-examples_as_1712.patch Description: Binary data

Re: [Wicket-user] [wicket-1.x, wicket-2.0] ServletWebRequest#getRelativeURL()

2007-01-31 Thread Edward Yakop
Thanx. Regards, Edward Yakop On 2/1/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Done. Eelco On 1/31/07, Edward Yakop [EMAIL PROTECTED] wrote: That's because I have my own implementation of servlet request. In my PaxWicketApplication.java code public class PaxWicketApplication

[Wicket-user] [wicket-2.0] WicketServlet deprecation and WicketFilter

2007-01-30 Thread Edward Yakop
() { return MyWicketServlet.this.m_appFactory; } }; } } /code This way, reflection will not be used anymore in both instantiating WebApplication (bypassing ContextParamWebApplicationFactory class) and IWebApplicationFactory. Regards, Edward Yakop Note: Can we please remove

Re: [Wicket-user] [wicket-2.0] WicketServlet deprecation and WicketFilter

2007-01-30 Thread Edward Yakop
Hi, Done. https://issues.apache.org/jira/browse/WICKET-245 Regards, Edward Yakop On 1/30/07, Johan Compagner [EMAIL PROTECTED] wrote: We will remove the warnings about the deprication when we will release 1.3/2.0 for now we want to point people as much as possible to the wicket filter

[Wicket-user] [wicket-1.x, wicket-2.0] ServletWebRequest#getRelativeURL()

2007-01-30 Thread Edward Yakop
this is a bug when we have a login page that does not have redirection pages, getRelativeURL() returns /mountPoint/mountPoint/, instead of only /mountPoint/. Regards, Edward Yakop - Take Surveys. Earn Cash. Influence the Future

Re: [Wicket-user] [Question] How should Form be used?

2006-06-02 Thread Edward Yakop
On 6/2/06, Johan Compagner [EMAIL PROTECTED] wrote: First that last one with the button as a link that is logical Because then you don't submit the form. second i have no idea what you are exactly doing. why are you completely resetting the forms model when the button submits? What do you

[Wicket-user] [Question] How should Form be used?

2006-06-01 Thread Edward Yakop
with the assigned paxConfiguration. Is this the how is [Form] intended to be used or a bug? Regards, Edward Yakop Note: The code can be checkout from https://scm.ops4j.org/repos/ops4j/projects/pax/config-admin and ./agent/wicket/browser/src/main/java/org/ops4j/pax/cm/agent/wicket/configuration/browser