Re: How to set Wicket with embedded Jetty?

2011-02-06 Thread Surapol Pairojtanachai
I can easily create embedded jetty project (java web project without WEB-INF and web.xml), hence a very modular web server for many purposes. No need to have configuration for a simple/quick fix and small web server. Only embedded jetty with Wicket that I cannot do. It seems Wicket is really fi

Re: Wicket auth-roles and Spring Security 3

2011-02-06 Thread ookpalm
Thank you James for your answer. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-auth-roles-and-Spring-Security-3-tp3263515p3263615.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: How to set Wicket with embedded Jetty?

2011-02-06 Thread James Carman
This is not a Wicket question, then. I'd try the Jetty mailing lists. On Sun, Feb 6, 2011 at 11:47 PM, Surapol Pairojtanachai wrote: > It doesn't create wicket project with embedded jetty. By embedded jetty, I > mean no web.xml file. Is this possible? > > Regards, > Surapol > > On 02/07/2011 11:

Re: How to set Wicket with embedded Jetty?

2011-02-06 Thread Surapol Pairojtanachai
It doesn't create wicket project with embedded jetty. By embedded jetty, I mean no web.xml file. Is this possible? Regards, Surapol On 02/07/2011 11:28 AM, James Carman wrote: Why don't you try creating a quickstart (http://wicket.apache.org/start/quickstart.html) and just copy the code from t

Re: How to set Wicket with embedded Jetty?

2011-02-06 Thread James Carman
Why don't you try creating a quickstart (http://wicket.apache.org/start/quickstart.html) and just copy the code from the Start class that's provided for you there? On Sun, Feb 6, 2011 at 8:58 PM, Surapol Pairojtanachai wrote: > Please guide me on how to set Wicket to run with embedded Jetty. I r

Re: Wicket auth-roles and Spring Security 3

2011-02-06 Thread James Carman
Yes, you can do it. You just have to figure out how to maintain all of that role <-> user stuff. On Sun, Feb 6, 2011 at 10:20 PM, ookpalm wrote: > > Hello everyone, > > Can we provide a principle with many roles? My idea is to create role per > page. Something like. > > @AuthorizeInstantiation("

Wicket auth-roles and Spring Security 3

2011-02-06 Thread ookpalm
Hello everyone, Can we provide a principle with many roles? My idea is to create role per page. Something like. @AuthorizeInstantiation("PageA") Class PageA ... @AuthorizeInstantiation("PageB") Class PageB ... @AuthorizeInstantiation("PageC) Class PageC And assign roles to a principle like M

How to set Wicket with embedded Jetty?

2011-02-06 Thread Surapol Pairojtanachai
Please guide me on how to set Wicket to run with embedded Jetty. I run the code below and keep getting "java.lang.IllegalStateException: filter path was not configured". Thanks in Advance, Surapol Pairojtanachai Server server = new Server(); SelectChannelConnector connector = new S

RE: File upload progress bar

2011-02-06 Thread Schaaf van der, Haiko H (NSC)
Ik kom het aankomende week ophalen. Haiko van der Schaaf NS Reizigers CC-Internet, Business Systemen Laan van Puntenburg 100 Postbus 2025 3500 HA Utrecht T 06 - 18515494 www.ns.nl -Oorspronkelijk bericht- Van: Valentin Avksentyev [mailto:v...@360works.com] Verzonden: vrijdag 4

Re: Calculating wicket page URL in JavaScript

2011-02-06 Thread mbrictson
My solution is to put a tag on every page with a reference to the home page URL. That way scripts can always build URLs based on the home page root. For example: BasePage.html BasePage.java add(new BookmarkablePageLink("home-link", getApplication().getHomePage())); Then your JavaScript

Re: MarkupId generation [SOLVED]

2011-02-06 Thread Uwe Schäfer
On 02/06/2011 05:51 AM, msj121 wrote: I see, well I am happy I could help, and it sounds like you have quite an interesting project. humm, indeed ;) just to let everyone know: adding this to application init works nicely: addComponentInstantiationListener(new IComponentInstantiationListener(