Re: URL Rewriting in Wicket

2009-12-14 Thread Erik van Oosten
Actually, you should override the WebRequestProcessor and return a custom RequestCodingStrategy from there. The custom RequestCodingStrategy would extend one of the default implementation and override urlCodingStrategyForPath and getRequestPath. Regards, Erik. Andreas Maza wrote:

add javascript code to form onsubmit=

2009-12-14 Thread Ilja Pavkovic
Hi, I am inside a Form and want to add some javascript code dynamically to the onsubmit method of the outer form. Can anyone point me to a wicket compatible solution for this? Best Regards, Ilja Pavkovic -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342

Re: add javascript code to form onsubmit=

2009-12-14 Thread Ilja Pavkovic
Hi, I am inside a Form and want to add some javascript code dynamically to the onsubmit method of the outer form. Can anyone point me to a wicket compatible solution for this? one additional requirement: this must work for nested forms also - with the result that the java script code is

Re: Can you attach multiple AjaxFormComponentUpda tingBehavior to the same component?

2009-12-14 Thread McIlwee, Craig
Only 1 per event will work because the script to trigger the behavior is inlined on the element (input onclick='ajax call to a behavior's url' /). CompoundAjaxBehavior was mentioned as a possible feature for wicket 1.5/2.0 at the link below, but that was 2 years ago so I don't know how

Problems with Ajax updating components

2009-12-14 Thread Daniel Ferreira Castro
Guys, I searched inside the list before posting that, but nothing was clarifying so I will ask here for help. My application have a Component that renders a List of Links. These links represents JMS Modules present on a domain that I am reading. After I click over one of the links A second

Buffer not retrieved if RENDER_TO_BUFFER is used with IndexedHybridUrlCodingStrategy and the web server uses URL rewriting (cookies switched off)

2009-12-14 Thread Engler Adrian
Hello, In a Wicket web application (Wicket 1.4.3) I noticed that feedback messages were not displayed when cookies were disabled in the browser. It turned out that this problem had to do with the combination of the URL coding strategy that was used (IndexedHybridUrlCodingStrategy) and the render

Re: Buffer not retrieved if RENDER_TO_BUFFER is used with IndexedHybridUrlCodingStrategy and the web server uses URL rewriting (cookies switched off)

2009-12-14 Thread Martijn Dashorst
Use the URL Rewriting features of your container. Martijn On Mon, Dec 14, 2009 at 2:52 PM, Engler Adrian adrian.eng...@ecofin.ch wrote: Hello, In a Wicket web application (Wicket 1.4.3) I noticed that feedback messages were not displayed when cookies were disabled in the browser. It turned

Re: Buffer not retrieved if RENDER_TO_BUFFER is used with IndexedHybridUrlCodingStrategy and the web server uses URL rewriting (cookies switched off)

2009-12-14 Thread Martijn Dashorst
Ah... ok. this is a bug, file a JIRA issue please. Martijn On Mon, Dec 14, 2009 at 2:59 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Use the URL Rewriting features of your container. Martijn On Mon, Dec 14, 2009 at 2:52 PM, Engler Adrian adrian.eng...@ecofin.ch wrote: Hello,

RE: Buffer not retrieved if RENDER_TO_BUFFER is used with IndexedHybridUrlCodingStrategy and the web server uses URL rewriting (cookies switched off)

2009-12-14 Thread Engler Adrian
Thank you for your answer; I have created the JIRA issue https://issues.apache.org/jira/browse/WICKET-2615 Since the problem only occurs with the default render strategy RenderStrategy.REDIRECT_TO_BUFFER in combination with certain URL coding strategies, there are workarounds, such as using

Cache control wicket + jetty

2009-12-14 Thread Martin Makundi
Hi! I was reading this: http://docs.codehaus.org/display/JETTY/LastModifiedCacheControl It says The Jetty default servlet allows the cache control header to be set for static content by using the cacheControl init parameter using init-param param-namecacheControl/param-name

Re: close a ModalWindow when session expired

2009-12-14 Thread Bernard Lupin
Thank you Johan, you're right... except that there is always a cross in the upper right corner of the modal window, that allows to close the modal window without sending any ajax request to the server. So I just would like to have a close button that do the same as the cross image, but I'm not

GMap2 and Zillow Neighborhood Overlays

2009-12-14 Thread Doug Leeper
Was wondering if anyone has had experience with GMap2 and Zillow Neighboorhood Overlays. Would like to find out about best practices and experiences with these. My concern is the amount of data that needs to be deployed with the app to be able to provide neighboorhood maps. Thanks in

Parameterized Component

2009-12-14 Thread Xavier López
Hi, In my application I have a number of fields that allow validation, by means of a validation CheckBox. In order to provide some flexibility for this kind of validation fields, I'd like to have them implemented in a Component (i.e. ValidationTickPanel), so that they provide their own markup and

Frappr wicket map going offline...

2009-12-14 Thread Martijn Dashorst
It has been a nice community effort: our frappr map showing everyone using/supporting Wicket. However, the map is going offline. Because of privacy issues I will not download the export of the map. If someone wants to start a new map with their new service, be my guest. Martijn -- Become a

Re: Parameterized Component

2009-12-14 Thread Martin Makundi
I wouldn't use CPM for anything serious anyways... my 2cents ** Martin 2009/12/14 Xavier López xavil...@gmail.com: Hi, In my application I have a number of fields that allow validation, by means of a validation CheckBox. In order to provide some flexibility for this kind of validation

Enable Junction Link for empty nodes

2009-12-14 Thread Pi Trash
Hi, is it possible to have the junction link enabled for all nodes which allow childnoes, (i.e. for all directories) even if the are empty. Thanks a lot.. __ GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter

Re: URL Rewriting in Wicket

2009-12-14 Thread A. Maza
Thanks for the hint. I found out that the IndexedParamUrlCodingStrategy actually provides exactly what I need... The fine thing with wicket is that you can realize things really fast - great job! regards, andr On 14.12.2009 11:26, Erik van Oosten wrote: Actually, you should override the

Re: not addding componet in case of error

2009-12-14 Thread wicketnewuser
It looks like you still have to add all the componet in my case reportresultpanel and others to tableAddChart . In my case if error condition and i'm just adding tableAndChartContainer. If complains about reportresultpanel being in the markup not being added. Unable to find component with id

Re: not addding componet in case of error

2009-12-14 Thread wicketnewuser
never mind please. it did work. I just forgot to set the visibility to false for he container wicketnewuser wrote: It looks like you still have to add all the componet in my case reportresultpanel and others to tableAddChart . In my case if error condition and i'm just adding

RE: Model object properties go null after RestartResponseAtInterceptPageException.

2009-12-14 Thread Warren Bell
Does Any body have any ideas, I am stuck and can't figure this out. I have a page with about 10 text fields. The model for the page is a ValueMap. All of the values in the ValueMap get set to null when a user gets redirected back to the original page after a

DropDownChoice to add new a ListView

2009-12-14 Thread Sumit Raja
Hello, Recently started a wicket project and was making excellent progress till ran into a problem with DropDownChoices. I am trying to get a DropDownChoice to add a panel to a form when an option is selected. The DropDownChoice contains a list of URI properties that each map to a different