DatePicker is not appear properly

2012-09-18 Thread Madasamy Sankarapandian
Right now I'm migrating a application from wicket -1.4.x. to 1.5.8. We use wiQuery 1.5.7 (which depends on jQuery 1.6.4) in our project mainly for the date picker component. We also use jQuery 1.7.1 directly. The jQuery resource reference shall be added in the renderHead method of our base page.

Re: Wicket 6 Websocket Example

2012-09-18 Thread Martin Grigorov
On Tue, Sep 18, 2012 at 12:31 AM, sfwicket li...@bgb.net wrote: Thanks... the Tomcat artifact could be switched to 0.2 as well - I know its commented out but would make it easier switching from Jetty to Tomcat. Done. Curious though in the example, ChartsResourceReference.java:

Re: DatePicker is not appear properly

2012-09-18 Thread Ernesto Reinaldo Barreiro
Hi, If you mark a component on the page with interface IWiQueryPlugin the wiquery will add jquery to you page (whether you use the date picker or not) that way you will not have to add jquery manually. On Tue, Sep 18, 2012 at 8:29 AM, Madasamy Sankarapandian madas...@mcruncher.com wrote:

Re: Wicket 6 + WebSocket + Apache + mod_jk

2012-09-18 Thread Martin Grigorov
Hi, You should ask this question in Tomcat's users@ mailing list. I'm not sure what mod_jk does with the web socket connection. On Tue, Sep 18, 2012 at 3:37 AM, sfwicket li...@bgb.net wrote: I have realized my WebSocket connection was closing briefly after opening because I have Apache httpd

Re: Wicket 6 / Modal Dialogs and Safari

2012-09-18 Thread Martin Grigorov
Hi, Please create a ticket at http://issues.apache.org/jira/browse/WICKET and attach the patch. Thanks! On Tue, Sep 18, 2012 at 4:13 AM, Geoff Hayman ghay...@jawbone.com wrote: My apologies... the patch file was incomplete. This one supersedes the previous one

Re: AjaxEditableLabel causes exceptions after session timeout

2012-09-18 Thread Martin Grigorov
Hi, See https://issues.apache.org/jira/browse/WICKET-4594 The problem is that Wicket cannot differentiate between page parameters and ajax request parameters and in case of page re-creation all of them were used as page parameters for the new page instance. When a page is automatically re-created

Re: Wicket 6 - drupal markup is rendered totally wrong

2012-09-18 Thread Marieke Vandamme
hi Martin, Could you test with my code? Is it a bug or is something in my template not correct. Thanks ! kind regards, Marieke -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-drupal-markup-is-rendered-totally-wrong-tp4652034p4652084.html Sent from the

Re: Auto PageParameters from a POJO?

2012-09-18 Thread Martin Grigorov
Hi, On Tue, Sep 18, 2012 at 5:09 AM, Ondrej Zizka ozi...@redhat.com wrote: Hi, I found myself repeatedly creating a PageParameters object from some domain object for BookmarkablePageLink just to have it then parsed back to that same domain object. Example: Release rel { product: AS;

Re: Wicket 6 - drupal markup is rendered totally wrong

2012-09-18 Thread Martin Grigorov
Hi, I tried but both your description and the code you pasted are hard to read/understand. Try to make a simple quickstart that demonstrates the problem and attach it to a ticket in Jira. On Tue, Sep 18, 2012 at 10:03 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: hi Martin, Could you

Re: Auto PageParameters from a POJO?

2012-09-18 Thread Thomas Götz
Roll your own, e.g. using commons BeanUtils: import junit.framework.Assert; import org.apache.commons.beanutils.BeanUtils; import org.apache.wicket.request.mapper.parameter.INamedParameters; import org.apache.wicket.request.mapper.parameter.PageParameters; import org.junit.Test; import

Re: Auto PageParameters from a POJO?

2012-09-18 Thread vineet semwal
you can create some reusable bookmarkablelink like below public class ReleaseBookmarkablePageLink extends BookmarkablePageLink{ private Release release; public ReleaseBookmarkablePageLink(String id,Class? extends PagepageClass,Release release){ super(id,pageClass);

RE: DatePicker is not appear properly

2012-09-18 Thread Hielke Hoeve
Ernesto, Per WiQuery 6.0.0 IWiQueryPlugin is deprecated. Users have to add the resources to the component themselves. From: Ernesto Reinaldo Barreiro [reier...@gmail.com] Sent: 18 September 2012 08:47 To: users@wicket.apache.org Subject: Re: DatePicker

Mounting pages

2012-09-18 Thread Oscar Besga Arcauz
Hi wickers ! I'm using wicket 6, if anyone can help with a problem with mapping pages and web resources I've been reading about it, but I can't find a way to make a web work as I want + http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/ +

Re: Wicket 6 - drupal markup is rendered totally wrong

2012-09-18 Thread Marieke Vandamme
Sorry, it's a common fact that women can make something difficult from something very easy. I hope my quickstart does the trick. WICKET-4766 Thanks ! -- View this message in context:

Re: DatePicker is not appear properly

2012-09-18 Thread Ernesto Reinaldo Barreiro
Hielke, Yes I know (in fact you will have it from wicket itself). But for 1.5.X is still a valid solution. On Tue, Sep 18, 2012 at 10:04 AM, Hielke Hoeve hielke.ho...@topicus.nlwrote: Ernesto, Per WiQuery 6.0.0 IWiQueryPlugin is deprecated. Users have to add the resources to the component

Re: Mounting pages

2012-09-18 Thread Martin Grigorov
Hi, Mapping on the root (/) with parameters in the request path is tricky .. One way is to mount a custom root mapper that will check the url segments and decide which page to use. See CryptoMapper and HttpsMapper for demo of custom root mappers. Another way is override #getCompatibilityScore()

Wicketstuff references Wicket-Snapshot

2012-09-18 Thread Per Newgro
Hi, is it required that all the wicketstuff projects are related to the wicket snapshot releases? Thanks for review Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Wicketstuff references Wicket-Snapshot

2012-09-18 Thread Martin Grigorov
No. This is a bug in the release process. There is an issue for this in WicketStuff. We need to build 6.0.0-1 with a this fix only. On Tue, Sep 18, 2012 at 2:22 PM, Per Newgro per.new...@gmx.ch wrote: Hi, is it required that all the wicketstuff projects are related to the wicket snapshot

TabbedPanel whitspace markup

2012-09-18 Thread Lemke, Michael SZ/HZA-ZSW
I've encountered a layout problem with TabbedPanels. In the generated markup there is whitespace between the LI items and the anchor that switches tabs. This causes a layout problem for me with this style sheet (simplified to show the issue, not tested): .selected a { background:

Re: bookmarkable page being processed twice, second time, extra parameters passed

2012-09-18 Thread Jeremy Thomerson
I've seen pages be re-requested because of blank image tags. Look for image or CSS tags, etc, that might have a href=?someExtraParams. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Mon, Sep 17, 2012 at 11:46 AM, Fergal Keating

Re: Wicket 6.0.0: RenderStrategy.REDIRECT_TO_RENDER and missing FeedbackMessages in ComponentFeedbackPanel.

2012-09-18 Thread Jeremy Thomerson
On Mon, Sep 17, 2012 at 10:42 AM, Dan Haywood d...@haywood-associates.co.ukwrote: We're using RenderStrategy.REDIRECT_TO_RENDER (ie redirect after post strategy; in 1.4.x this was working fine and our FeedbackMessage's were rendered correctly against their reporter using

Re: TabbedPanel whitspace markup

2012-09-18 Thread Martin Grigorov
Hi, On Tue, Sep 18, 2012 at 2:29 PM, Lemke, Michael SZ/HZA-ZSW lemke...@schaeffler.com wrote: I've encountered a layout problem with TabbedPanels. In the generated markup there is whitespace between the LI items and the anchor that switches tabs. This causes a layout problem for me with

RE: TabbedPanel whitspace markup

2012-09-18 Thread Lemke, Michael SZ/HZA-ZSW
On Tue, Sep 18, 2012 1:51 PM Martin Grigorov wrote: On Tue, Sep 18, 2012 at 2:29 PM, Lemke, Michael SZ/HZA-ZSW wrote: I've encountered a layout problem with TabbedPanels. In the generated markup there is whitespace between the LI items and the anchor that switches tabs. This causes a layout

Re: TabbedPanel whitspace markup

2012-09-18 Thread Martin Grigorov
Create a ticket and attach the screenshots. I'm not much in CSS and I cannot imagine how this whitespace breaks the layout. But I don't see a problem to remove them too. On Tue, Sep 18, 2012 at 3:07 PM, Lemke, Michael SZ/HZA-ZSW lemke...@schaeffler.com wrote: On Tue, Sep 18, 2012 1:51 PM

Re: bookmarkable page being processed twice, second time, extra parameters passed

2012-09-18 Thread lucast
Thank you, Jeremy. I did look at any references for images. I stripped the page of wicket components and I started added them one by one to see which component was that was causing this problem. I am reusing a form and from within that form I was referencing a CSS file which is not present in

RE: TabbedPanel whitspace markup

2012-09-18 Thread Lemke, Michael SZ/HZA-ZSW
On Tue, Sep 18, 2012 2:10 PM Martin Grigorov [mailto:mgrigo...@apache.org] wrote: To: users@wicket.apache.org Subject: Re: TabbedPanel whitspace markup Create a ticket and attach the screenshots. I'm not much in CSS and I cannot imagine how this whitespace breaks the layout. But I don't see a

problem with IResourceListener

2012-09-18 Thread Decebal Suiu
Hi I want to make a open flash chart visible for an external web application using a iframe. For this, I create a ChartWebPage and mount this page to /chart. In a few words, my problem is that the json data (string) returned by OpenFlashChart (implements IResourceListener) are identical for both

Wicket+Spring Security the Wicket way

2012-09-18 Thread Luis Pureza
Hi, I'm new to both Wicket and Spring Security, so bear that in mind :) I'm trying to integrate Wicket and Spring Security into my webapp, but I'm not feeling happy with the end result. As you might know, Spring Security works by listening to requests sent to virtual URLs. So, for example, to

Re: StringRequestTarget migration question

2012-09-18 Thread Martin Grigorov
See TextRequestHandler too. On Tue, Sep 18, 2012 at 5:18 PM, Rodrigo Heffner rodrigo.heff...@gmail.com wrote: Thanks, Decebal! I removed an extra { after the ByteArrayResource - it's looking like this now: String jsonData = object.toString(); IResource jsonResource = new

Re: problem with IResourceListener

2012-09-18 Thread Decebal Suiu
Additional information: if I put multiple OpenFlashChats in a (Dashboard)Panel everything is ok. The problem appears if I use iframes. Thanks, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/problem-with-IResourceListener-tp4652109p4652117.html Sent from

Wicket Application instance from outside Wicket Application

2012-09-18 Thread Martin Makundi
Hi! We have Axis web services running in the same Jetty as Wicket. Our Axis web services happen to call some wicket helper methods, which assume there is a session and application on thread. For localization, etc. How can our Wreb Service best get hold of the wicket application at runtime? **

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-18 Thread Bruno Borges
Igor, any update on the Serialization issue? I'm getting the exception again... :-/ # Running on GlassFish 3.1.2.2 / Wicket 6 + wicket-cdi SEVERE: Error serializing object class code.webapp.pages.Index [object=[Page class = code.webapp.pages.Index, id = 3, render count = 1]]

Re: Wicket 6 / Modal Dialogs and Safari

2012-09-18 Thread Geoff Hayman
https://issues.apache.org/jira/browse/WICKET-4770 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Modal-Dialogs-and-Safari-tp4652066p4652120.html Sent from the Users forum mailing list archive at Nabble.com.

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-18 Thread Igor Vaynberg
no update. the cdi spec does not require ejbs to be serializable because they are not in cdi spec. if you want to use ejbs inject them into a cdi bean and then inject that into wicket. -igor On Tue, Sep 18, 2012 at 9:56 AM, Bruno Borges bruno.bor...@gmail.com wrote: Igor, any update on the

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-18 Thread Bruno Borges
Yeah, that workaround that I wanted to not do... :-) But okay, thanks! *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Tue, Sep 18, 2012 at 2:26 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: no update. the cdi spec does not require ejbs to be serializable because they are not in

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-18 Thread Igor Vaynberg
so join the jsr expert group and emphasize the importance of making EJB proxies serializable :) On Tue, Sep 18, 2012 at 10:45 AM, Bruno Borges bruno.bor...@gmail.com wrote: Yeah, that workaround that I wanted to not do... :-) But okay, thanks! *Bruno Borges* (11) 99564-9058

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-18 Thread Bruno Borges
Why are the CDI proxies serializable and EJB's proxy aren't? Hell... *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Tue, Sep 18, 2012 at 2:48 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: so join the jsr expert group and emphasize the importance of making EJB proxies serializable

Re: [announce] Wicket-CDI for Wicket 6.0.0 released

2012-09-18 Thread Igor Vaynberg
cause cdi spec says they have to be and ejb one does not? -igor On Tue, Sep 18, 2012 at 10:56 AM, Bruno Borges bruno.bor...@gmail.com wrote: Why are the CDI proxies serializable and EJB's proxy aren't? Hell... *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Tue, Sep 18, 2012 at

Re: Wicket Application instance from outside Wicket Application

2012-09-18 Thread Ernesto Reinaldo Barreiro
Can't the wicket filter be put in from of axis (servlet/filter) so that you have a session and application attached to the thread? On Tue, Sep 18, 2012 at 6:05 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! We have Axis web services running in the same Jetty as Wicket.

Re: Wicket Application instance from outside Wicket Application

2012-09-18 Thread Martin Grigorov
See org.apache.wicket.protocol.http.servlet.WicketSessionFilter On Tue, Sep 18, 2012 at 9:31 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Can't the wicket filter be put in from of axis (servlet/filter) so that you have a session and application attached to the thread? On Tue, Sep

Re: Wicket 6 + WebSocket + Apache + mod_jk

2012-09-18 Thread sfwicket
http://tomcat.10.n6.nabble.com/Tomcat7-WebSocket-mod-jk-td4986848.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-WebSocket-Apache-mod-jk-tp4652073p4652128.html Sent from the Users forum mailing list archive at Nabble.com.

Re: conditional css

2012-09-18 Thread Bruno Borges
Any updates on this issue on the Wicket 6 release? I tried to use Twitter's Bootstrap and it failed to load. :-/ *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Tue, Feb 8, 2011 at 10:42 PM, shetc sh...@bellsouth.net wrote: see

Re: DatePicker is not appear properly

2012-09-18 Thread Madasamy Sankarapandian
Thank you very much. After we implementing IWiqueryPlugin in base page and refer its jquery reference in renderHead method, the datepicker working fine.

Re: Wicket 6 + WebSocket + Apache + mod_jk

2012-09-18 Thread Martin Grigorov
Thanks for sharing! On Wed, Sep 19, 2012 at 12:39 AM, sfwicket li...@bgb.net wrote: http://tomcat.10.n6.nabble.com/Tomcat7-WebSocket-mod-jk-td4986848.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-WebSocket-Apache-mod-jk-tp4652073p4652128.html

Re: conditional css

2012-09-18 Thread Martin Grigorov
Hi, What is the problem ? On Wed, Sep 19, 2012 at 12:44 AM, Bruno Borges bruno.bor...@gmail.com wrote: Any updates on this issue on the Wicket 6 release? I tried to use Twitter's Bootstrap and it failed to load. :-/ *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Tue, Feb 8,