[Wicket-user] Question about using DropDownChoice

2006-11-16 Thread Carfield Yim
Look like it using the List values as the label of the option and using integer as the key of the option. Can I specific the key to other thing? Can I put a map as properties? - Take Surveys. Earn Cash. Influence the Future

Re: [Wicket-user] Question about using DropDownChoice

2006-11-16 Thread Frank Bille
See IChoiceRenderer Frank On 11/16/06, Carfield Yim [EMAIL PROTECTED] wrote: Look like it using the List values as the label of the option and using integer as the key of the option. Can I specific the key to other thing? Can I put a map as properties?

[Wicket-user] Create a form in a panel and use at another page

2006-11-16 Thread Carfield Yim
Look like there is problem of submitting a form that belong to a panel that used at another page. But look like when I press submit, the page look like just refresh and even I just throw an Exception at onSubmit method it don't fail: public final void onSubmit() { throw new

Re: [Wicket-user] Create a form in a panel and use at another page

2006-11-16 Thread Carfield Yim
Sorry all, ignore this, just notice it is because I am using RequiredTextField() but one field is missing. However, how can I let user know some require field is missing? Is there any predefine ID for the user to like span wicket:id=messages/span that will output the error message to user? On

Re: [Wicket-user] Create a form in a panel and use at another page

2006-11-16 Thread Erik van Oosten
Hallo Carfield, You can add a feedback panel to your panel: code: add(new FeedbackPanel(feedback)); html: div wicket:id=feedback/div Erik. Carfield Yim schreef: Sorry all, ignore this, just notice it is because I am using RequiredTextField() but one field is missing. However, how

[Wicket-user] direct mailing pos.

2006-11-16 Thread european direct
To whom it may concern. Hello, my name is Pat Laxon, owner of Laxon Trade Inc. We are looking for few new employees to fill the position of operation manager. This vacancy is on full-time or part-time basis available. If you are interesting to know more details of this offer (maybe

[Wicket-user] just one minute

2006-11-16 Thread european direct
To whom it may concern. Hello, my name is Pat Laxon, owner of Laxon Trade Inc. We are looking for few new employees to fill the position of operation manager. This vacancy is on full-time or part-time basis available. If you are interesting to know more details of this offer (maybe

Re: [Wicket-user] Validation without form submit...

2006-11-16 Thread Erik Brakkee
On 11/15/06, Igor Vaynberg [EMAIL PROTECTED] wrote: could you attach the proper index.java or the quickstart? Oops, you're right. I attached the wrong file. Here is the complete zip again. -igor On 11/15/06, Erik Brakkee [EMAIL PROTECTED] wrote: On 11/14/06, Igor Vaynberg [EMAIL

[Wicket-user] servlet-mapping

2006-11-16 Thread Dipu
Hi All, I noticed that the last modified headers is missing and fire fox is loading the static resources twice. my servlet marpping looks like this servlet-mapping servlet-namecontrol/servlet-name url-pattern/*/url-pattern /servlet-mapping when i change this to somthing like

[Wicket-user] Non case sensitive nice URL

2006-11-16 Thread Marc-Andre Houle
I use nice URL to mount some page in the usual way : mountBookmarkablePage(/Organization, Organization.class); That is great, but it will make an error if a user enter the url by hand and decide to not use case sensitive. I mean, I can mount organization without the capital letter, but it would

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Jean-Baptiste Quenot
What is the context path of your webapp within the servlet container? Have you seen this issue: http://issues.apache.org/jira/browse/WICKET-66 All the best, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

[Wicket-user] How to write html pages without default header contributions?

2006-11-16 Thread Erik van Oosten
Hello, I have a requirement to download html files so that they can be added to an electronic dossier. These files need to be completely self-contained, so no javascript, stylesheets, links, etc. My approach so far was to simply call the following in the constructor of the page:

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Dipu
Hi Jean, Thanks for replying , Context path is something like /myapp I don't understand why it doesnt add the last modified header to static resources when the url-pattern/*/url-pattern Regards Dipu - Original Message - From: Jean-Baptiste Quenot [EMAIL PROTECTED] To:

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread James Carnegie
Hi Dipu, I don't know the answer to your problem, but I am experiencing it too and would be very interested in learning about any solutions you find. Customers need to be able to specify what URL's look like, so the Wicket framework should _not_ dictate this. Can someone explain why we cannot

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Johan Compagner
when using wicket 1.x and the WicketServlet (maybe we backport the filter to 1.3 i don't know yet) Don't have an servlet mapping of /* Because then the wicket servlet must do everything also as you notice the static resources Those resources should be handled by the right (default?) servlet of

Re: [Wicket-user] How to write html pages without default header contributions?

2006-11-16 Thread Erik van Oosten
Meanwhile I did find the culprit for the ajax console. It was an AjaxFallbackLink subclass, rendered in disabled state. Erik. Erik van Oosten wrote: Why the header stuff for the ajax console is added is another riddle for me. As far as I can see, there is no ajax behavior added to any

Re: [Wicket-user] Validation without form submit...

2006-11-16 Thread Igor Vaynberg
alrighty the problem is in page.renderpage() // First, give priority to IFeedback instances, as they have to // collect their messages before components like ListViews // remove any child components visitChildren(IFeedback.class, new IVisitor() {...

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Igor Vaynberg
to better explain usually static resources are handled by the application server. the server knows it is serving a file and thus sets the last modified date of the resource to the last modified date of a file. so lets say you have /myapp/images/foo.gif and you map your wicket servlet to /*

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread James Carnegie
Hi Igor, Thanks for the clarification. I look forward to version 2. :) Kind regards, /james Igor Vaynberg wrote: to better explain usually static resources are handled by the application server. the server knows it is serving a file and thus sets the last modified date of the

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread James Carnegie
Hi Johan, Thanks for the clarification. I look forward to version 2. :) Kind regards, /james Johan Compagner wrote: when using wicket 1.x and the WicketServlet (maybe we backport the filter to 1.3 i don't know yet) Don't have an servlet mapping of /* Because then the wicket

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Gwyn Evans
On 16/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote: someone mind putting this on the wiki? Done - thanks for the text/info, now at: http://cwiki.apache.org/WICKET/best-practices-and-gotchas.html#BestPracticesandGotchas-WicketServletMapping /Gwyn

Re: [Wicket-user] Non case sensitive nice URL

2006-11-16 Thread Marc-Andre Houle
Thanks a lot! That was really quick! I love the wicket community/developers... It is so proactive. A really big thanks! Marc On 11/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote: https://issues.apache.org/jira/browse/WICKET-82 -igor On 11/16/06, Marc-Andre Houle [EMAIL PROTECTED] wrote:

Re: [Wicket-user] Non case sensitive nice URL

2006-11-16 Thread Igor Vaynberg
you are welcome -igor On 11/16/06, Marc-Andre Houle [EMAIL PROTECTED] wrote: Thanks a lot! That was really quick! I love the wicket community/developers... It is so proactive. A really big thanks! Marc On 11/16/06, Igor Vaynberg [EMAIL PROTECTED] wrote:

Re: [Wicket-user] servlet-mapping

2006-11-16 Thread Frank Bille
On 11/16/06, Johan Compagner [EMAIL PROTECTED] wrote: (maybe we backport the filter to 1.3 i don't know yet) Hmm sounds like we really ought to. This is one of the really FAQ. Frank - Take Surveys. Earn Cash. Influence

Re: [Wicket-user] Authorization startegy redirect but keep parameters

2006-11-16 Thread Erik van Oosten
Hello Marc, It is indeed very easy once you know where to look :) Once the user is authenticated in the Login page you do something like this: if (!continueToOriginalDestination()) { setResponsePage(Application.get().getHomePage()); } This will set the response page only when you got here

Re: [Wicket-user] Authorization startegy redirect but keep parameters

2006-11-16 Thread Marc-André Houle
In fact, the current result is going to the admin page and trashing the original URL while what I want was to save the original URL. This way, after the login, I will be able to redirect to what the user wanted first before the login. I'm not sure if I am clear enough on what I want. The

[Wicket-user] Question about feedback panel

2006-11-16 Thread Carfield Yim
Just know this component when I ask getting feedback about RequiredTextField() . Look like it is very useful if I can reuse this component for customizable cases like password not match or other custom validation. Am I just extends feedback panel and call getCurrentMessages() and add a

Re: [Wicket-user] Authorization startegy redirect but keep parameters

2006-11-16 Thread Igor Vaynberg
this is exactly what continueToOriginalDestination() coupled with RestartResponseAtInterceptPage exceptions do. user access url A which results in the construction of page B authoraization strategy kicks in when B is being constructed - and you throw a RestartResponseAtInterceptPage(C)

[Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-16 Thread Carfield Yim
As the user will deploy the application with difference web application name, like http://host1/app1 or http://host2/app2. The URL will be /app1/images/icon.jpg or /app2/images/icon.jpg . How can I set the image path to something like $baseurl/images/icon.jpg ? I've try to setup base href=/baseurl

Re: [Wicket-user] Question about feedback panel

2006-11-16 Thread Erik van Oosten
Hello Carfield, You can call the methods error, info and warn on any component to add messages to the message list. Regards, Erik. Carfield Yim schreef: Just know this component when I ask getting feedback about RequiredTextField() . Look like it is very useful if I can reuse this

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-16 Thread Erik van Oosten
Hi Carfield, I think you are looking for this information: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html Regards, Erik. Carfield Yim schreef: As the user will deploy the application with difference web application name, like http://host1/app1 or http://host2/app2.