Re: [Wicket-user] Allow nested components in VelocityPanel
Hi, To followup on this issue: [ 1485695 ] Allow to reinvoke FileResourceStream.getInputStream(), I'm attaching a new patch against Wicket 1.2-rc1 that keeps backwards compatibility on FileResourceStream.getInputStream(), but fixes AbstractResourceStream.asString() to allow for multiple invocations. Note: Logins to SourceForge.net are currently disabled. That's why I'm attaching the patch here. However I didn't get a reply about the Velocity stuff. Is there a maintainer for this contrib component? Also, have you been able to review this issue: [ 1493672 ] Handle String array in PageParameters Basically it allows to pass arrays in the parameters of a page. Thanks in advance, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ --- src/java/wicket/util/resource/FileResourceStream.java.orig Fri May 5 15:09:00 2006 +++ src/java/wicket/util/resource/FileResourceStream.java Wed Jun 28 16:08:32 2006 @@ -85,24 +85,36 @@ } /** -* @return A readable input stream for this resource. +* @return A readable input stream for this resource. If this method has +* already been invoked, the same input stream is returned. This method has +* been kept for backwards compatibility. +* * @throws ResourceStreamNotFoundException */ public InputStream getInputStream() throws ResourceStreamNotFoundException { if (inputStream == null) { - try - { - inputStream = new FileInputStream(file); - } - catch (FileNotFoundException e) - { - throw new ResourceStreamNotFoundException(Resource + file + could not be found, e); - } + inputStream = newInputStream(); } return inputStream; + } + + /** +* @return A newly-created readable input stream for this resource. +* @throws ResourceStreamNotFoundException +*/ + public InputStream newInputStream() throws ResourceStreamNotFoundException + { + try + { + return new FileInputStream(file); + } + catch (FileNotFoundException e) + { + throw new ResourceStreamNotFoundException(Resource + file + could not be found, e); + } } /** --- src/java/wicket/util/resource/AbstractResourceStream.java.orig Fri May 5 15:05:10 2006 +++ src/java/wicket/util/resource/AbstractResourceStream.java Wed Jun 28 16:17:52 2006 @@ -56,11 +56,11 @@ { if (charset == null) { - return Streams.readString(new InputStreamReader(getInputStream())); + return Streams.readString(new InputStreamReader(newInputStream())); } else { - return Streams.readString(new InputStreamReader(getInputStream(), charset)); + return Streams.readString(new InputStreamReader(newInputStream(), charset)); } } catch (IOException e) Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Allow nested components in VelocityPanel
* Johan Compagner: now we directly see the problem.. Who is responsible of closing that stream? When i walk through that code from newInputStream to Streams.readString() i don't see any closes. I see your point now, I didn't notice FileResourceStream.close() method. Please find updated patch attached. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ --- src/java/wicket/util/resource/FileResourceStream.java.orig Fri May 5 15:09:00 2006 +++ src/java/wicket/util/resource/FileResourceStream.java Thu Jun 29 16:23:03 2006 @@ -85,7 +85,9 @@ } /** -* @return A readable input stream for this resource. +* @return A readable input stream for this resource. The same input stream +* is returned until ttFileResourceStream.close()/tt is invoked. +* * @throws ResourceStreamNotFoundException */ public InputStream getInputStream() throws ResourceStreamNotFoundException --- src/java/wicket/util/resource/AbstractResourceStream.java.orig Fri May 5 15:05:10 2006 +++ src/java/wicket/util/resource/AbstractResourceStream.java Thu Jun 29 16:28:56 2006 @@ -71,6 +71,18 @@ { throw new WicketRuntimeException(Unable to read resource as String, e); } + finally + { + // We're done with the input stream, close it + try + { + close(); + } + catch (IOException ignored) + { + // Ignore this error, we are in a 'finally' statement + } + } } /** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Allow nested components in VelocityPanel
* Johan Compagner: is this path an append on the previous one or one by itself? It's a brand new patch against 1.2-rc1. I just tested, it applies OK on 1.2 release. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Allow nested components in VelocityPanel
* Johan Compagner: so the older one doesn't need to be applied? No, it doesn't. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] More CSS support in wicket?
* Eelco Hillenius: Did you take a look at what's in wicket.extensions.util.resource? I think that package has exactly what you are looking for, e.g. PackagedTextTemplate. I can't find it neither in Wicket's API documentation nor in Wicket Extensions's. Do you have a link please? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] java.io.NotSerializableException on my session object
* Igor Vaynberg: this is not a requiremenet of wicket per se but that of the servlet containers. anything you keep in http session must be serializable. since wicket keeps most of its entities in session they must be serializable. I understand this for a session because it can be made persistent across restarts, but what about Application's metadata: Application.setMetaData(MetaDataKey key, java.io.Serializable object) Why do we need Serializable here? BTW I use Application.setMetaData() to pass Spring beans to the Page. Are MetaData suitable for that kind of purpose? And about the Wicket-Spring extension, is there a documentation available? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] set static values on DropDownChoice
* Vincent Jenks: [...] how can I set, say, a Map of name/value pairs of Strings? In this case I'm not providing a ListT of values to the dropdown but rather a MapString, String of static values - unless of course there's an easier way. This control still feels cumbersome to work worthperhaps it's just me? I agree it's a bit tricky to make DropDownChoice display a label different from the ID. You have to use the constructor with the IChoiceRenderer as last argument: DropDownChoice(java.lang.String id, IModel model, IModel choices, IChoiceRenderer renderer) Then you must implement a new IChoiceRenderer, passing your map to the constructor. Feel free to contribute it to Wicket when you're done, it will be useful for most of us: Currently the only IChoiceRenderer implementation is ChoiceRenderer, but the ID (value submitted) is the index in the choices list, not an arbitrary String value. HTH, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] java.io.NotSerializableException on my session object
* Eelco Hillenius: On 7/19/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Why do we need Serializable here? I agree you don't need it for application. However, Application's meta data reuses the metadata classes that are used for pages and session, where meta data typically should be serializable. OK I understand the concern. BTW I use Application.setMetaData() to pass Spring beans to the Page. Are MetaData suitable for that kind of purpose? Theoretically, you can use the meta data for any thing your want. *However*, you typically would not need to use this facility for concrete applications. If you know what application you're in, you can directly use the concrete application class for instance. That would be less work, more strongly typed, and easier to find out what the application class supports. You're perfectly right, but the Application can be either MyWebApplication or WicketTester, so the Page doesn't know the exact type of the Application. And about the Wicket-Spring extension, is there a documentation available? It has JavaDocs and an example project, and there is a WIKI page: http://www.wicket-wiki.org.uk/wiki/index.php/Spring. Thanks, that was exactly what I was looking for. And you see in the examples that the following construct is used: ((MyApplication)getApplication()).getContactDao() However there is also a discussion about Injector, maybe it's a better approach than MetaData, and no cast is necessary in this case apparently. Thanks for your answers. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Apache Wicket!
* Igor Vaynberg: the core wicket team has decided to join the ASF and make wicket a top level apache project (wicket.apache.org) Wow, that's great news! I find it very exciting that Wicket joins Apache. * Steven Mak: I have some queries on this: snip/ - How do ASF decides who is joining them? They already have Struts, Tapestry, and some others related frameworks. Do they have any criteria to choose? or would they take it as any kind of conflicts due to similar nature with existing projects? One thing I can tell you is that some Apache people are already using Wicket, highly appreciated because it is lightweight, not intrusive, and gives power back to the programmer. Thus this move is more than welcome. Concerning the other web application frameworks at Apache, I would talk about « competition » rather than « conflicts ». This shows that Wicket is not « just another framework », but that it is high quality software standing in good place next to the well-known others (you didn't mention Cocoon BTW). And about moving from SourceForge to Apache, don't forget that SourceForge is an OSS *repository*, whereas Apache is an OSS *community*, i.e. a group of people knowing each other. Long life to Apache Wicket ;-) -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket:message
* Igor Vaynberg: not from the markup no. we couldnt find any good syntax to specify the key and that the value should be internationalized. In Cocoon we use: input type=submit value=my.i18n.key i18n:attr=value/ The name of the attribute to internationalize is indicated by the i18n:attr attribute. The named attribute contains the i18n key. Note that the i18n:attr attributes accepts space-separated values for multiple attributes. What we could imagine for Wicket: input type=submit value=my.i18n.key wicket:i18nattr=value/ Is it the kind of syntax you were looking for? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket:message
* Igor Vaynberg: personally input type=submit value=wicket:i18n:my_key/ looks better to me Do you really mean to embed a namespace prefix inside the attribute value? AFAIK there's no XML parser that can parse such constructs without checking every attribute value manually. Do you already have such constructs allowed in Wicket? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE: how should localized attributes work?
1 [ ] 2 [X] input type=submit value=Default Value wicket:message=value:my_key/ If you want to express it without a default value, that would be written as: input type=submit value=my_key wicket:message=value/ And if Wicket is going to support multiple attributes: input type=submit value=my_value_key alt=my_alt_key wicket:message=value alt/ -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Performance/Scalability tips
* Eelco Hillenius: How can I set a page to be stateless in 1.2.1 ? Is there some attribute to do this or does it just mean that you use detachable models? Stateless means the page isn't even stored in the session. We started out implementing that automatically for pages that don't have any call backs to themselves (Links, Forms, etc). So for 1.2, if you implement all your functionality using bookmarkable pages and passing 'state' using RequestParameters objects, you'll have hardly any session usage. Do you mean that setResponsePage(java.lang.Class) or setResponsePage(java.lang.Class, PageParameters) should be used in favour of setResponsePage(Page) when possible? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Performance/Scalability tips
* Johan Compagner: setResponsePage(Page) can be used just fine. Except you have to do then setRedirect(false) because if you redirect it (what is default when for example submitting a form) then the page is statefull because it has to be there after the redirect so that we can render it. Thanks for your helpful answer. Shall I also use BookmarkablePageLink instead of PageLink when I don't have any parameter to pass, or is it the same? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Performance/Scalability tips
* Eelco Hillenius: It's an optimization. So you confirm that PageLink is not optimized for stateless webapps. Reading the PageLink code, I wonder why setResponsePage(Page) is used instead of setResponsePage(Class): public void onClick() { // Set page source's page as response page setResponsePage(pageLink.getPage()); } Why not writing: public void onClick() { // Set page source's page as response page setResponsePage(pageLink.getPageIdentity()); } I intend to write the result of our discussion on the Wiki page, to give concrete examples: http://www.wicket-wiki.org.uk/wiki/index.php/Stateless_pages -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Performance/Scalability tips
What about this: Index: wicket/src/java/wicket/markup/html/link/PageLink.java === --- wicket/src/java/wicket/markup/html/link/PageLink.java (revision 6861) +++ wicket/src/java/wicket/markup/html/link/PageLink.java (working copy) @@ -64,7 +64,7 @@ public Page getPage() { // Create page using page factory - return PageLink.this.getPage().getPageFactory().newPage(c); + return null; } public Class getPageIdentity() @@ -143,6 +143,9 @@ public void onClick() { // Set page source's page as response page - setResponsePage(pageLink.getPage()); + if (pageLink.getPage() != null) + setResponsePage(pageLink.getPage()); + else + setResponsePage(pageLink.getPageIdentity()); } } With this patch I've got a failing test in wicket.markup.html.header.testing3.HeaderTest however. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Pretty URL for login page ?
* Johan Compagner: Maybe we should also make redirecting to a class: final void redirectToInterceptPage(final Class pageClass) { // Get the request cycle final RequestCycle cycle = RequestCycle.get(); // The intercept continuation URL should be saved exactly as the // original request specified. interceptContinuationURL = cycle.getRequest().getURL(); // Page map is dirty session.dirtyPageMap(this); Do you think it is really necessary to update the session's PageMap? I think if we use a Class, there is no need for marking the session dirty. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Best practice to clear a form ?
Do you mean that the form values should not be processed? In this case you should use a CancelButton: See http://www.wicket-wiki.org.uk/wiki/index.php/Multiple_submit_buttons_in_form -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Pretty URL for login page ?
* Johan Compagner: Please make a RFE I created a patch because I need it too: See http://sourceforge.net/tracker/index.php?func=detailaid=1538810group_id=119783atid=684977 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Handle String array in PageParameters
Hi, While we are [1]talking about the hacks required to make Wicket work, there's an old one I submitted: [ 1493672 ] Handle String array in PageParameters http://sourceforge.net/tracker/index.php?func=detailaid=1493672group_id=119783atid=684977 Basically the following code: PageParameters params = new PageParameters(); params.add(a, 1); params.add(a, 2); Gives the following URL: http://server/app?a=1 Instead of: http://server/app?a=1a=2 Can you please review it? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ [1] http://sourceforge.net/mailarchive/message.php?msg_id=36407447 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Close input stream in AbstractResourceStream.asString()
Hi, Yet another « hack to make it work »: [ 1543247 ] Close input stream in AbstractResourceStream.asString() http://sourceforge.net/tracker/index.php?func=detailaid=1543247group_id=119783atid=684977 Thanks in advance, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Handle String array in PageParameters
* Juergen Donnerstag: I tried to apply the patch provided yesterday but the code obviously has changed. May be you can create a new patch on the latest version? OK, I just updated the patch. But the previous one applied successfully for me: $ cd wicket/branches/WICKET_1_2/wicket $ patch 20060811-wicket-WebRequestCodingStrategy-StringArray Hmm... Looks like a unified diff to me... The text leading up to this was: -- |--- src/java/wicket/protocol/http/request/WebRequestCodingStrategy.java.orig Thu Jun 29 22:49:54 2006 |+++ src/java/wicket/protocol/http/request/WebRequestCodingStrategy.java Fri Aug 11 14:40:22 2006 -- Patching file src/java/wicket/protocol/http/request/WebRequestCodingStrategy.java using Plan A... Hunk #1 succeeded at 540 (offset 2 lines). Hunk #2 succeeded at 555 (offset 2 lines). done Note also that this patch breaks some unit tests, as the BOOKMARKABLE_PAGE_PARAMETER_NAME is now properly encoded, that was not the case before. Tell me if you want me to provide a patch for the testcases. All the best, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Handle String array in PageParameters
* Juergen Donnerstag: Ah, it is a 1.2 patch. I applied it on my laptop. Because it changes bookmarkable URL we'll definitely Yes it is in branch 1.2. But tell me, we'll definitely... what? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Handle String array in PageParameters
* Johan Compagner: abrupt abort of the sentence? What does that patch break? Our stable bookmarkable urls? See attached unit tests output. I kept only the relevant parts. Basically « : » is converted to « %3A », and catching up would require a search and replace in the unit tests. But we can also keep the old behaviour if you wish, encoding the bookmarkable URLs is not necessary for passing String array in PageParameters. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ Running wicket.markup.html.link.BookmarkableHomePageLinksTest === wicket.markup.html.link.BookmarkableHomePageLinksPage === 17c17 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=testpagemap:wicket.markup.html.link.BookmarkableHomePageLinksPage wicket:id=defaulthompagewithpagemap/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=testpagemap%3Awicket.markup.html.link.BookmarkableHomePageLinksPage wicket:id=defaulthompagewithpagemap/a Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec FAILURE! Running wicket.markup.html.basic.SimplePageTest === wicket.markup.html.basic.SimplePage === === wicket.markup.html.basic.SimplePage_3 === === wicket.markup.html.basic.SimplePage_4 === === wicket.markup.html.basic.SimplePage_5 === === wicket.markup.html.basic.SimplePage_6 === === wicket.markup.html.basic.SimplePage_7 === === wicket.markup.html.basic.SimplePage_8 === === wicket.markup.html.basic.SimplePage_9 === === wicket.markup.html.basic.SimplePage_10 === === wicket.markup.html.basic.SimplePage_11 === === wicket.markup.html.basic.SimplePage_12 === 10c10 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.basic.SimplePage_3Link/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3Link/a 13c13 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.basic.SimplePage_3Link/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3Link/a 16c16 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.basic.SimplePage_3Link/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3Link/a 19c19 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.basic.SimplePage_3Link/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3Link/a 22c22 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.basic.SimplePage_3 wicket:id=linkLink/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3 wicket:id=linkLink/a === wicket.markup.html.basic.SimplePage === Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.528 sec FAILURE! Running wicket.markup.html.autolink.AutolinkTest === wicket.markup.html.autolink.MyPage === 6,7c6,7 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.autolink.PageAPage A/a a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.autolink.sub.PageBPage B/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.PageAPage A/a a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.sub.PageBPage B/a 12c12 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.autolink.PageAPage A/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.PageAPage A/a === wicket.markup.html.autolink.PageA === 5c5 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.autolink.MyPageMy Page/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.MyPageMy Page/a 7c7 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.autolink.sub.PageBPage B/a --- a href=/WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.autolink.sub.PageBPage B/a === wicket.markup.html.autolink.sub.PageB === Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.19 sec FAILURE! Running wicket.markup.html.header.testing3.HeaderTest === wicket.markup.html.header.testing3.TestPage === === wicket.markup.html.header.testing3.TestPage : link === 6c6 body --- body onload=function_1() 8,9c8,9 Panel 2 /wicket:panel/span --- Panel 1 /wicket:panel/span Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec FAILURE! Running wicket.markup.html.link.AutolinkTest === wicket.markup.html.link.AutolinkPage_1 === 6c6 a href=/WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.link.Page1Home/a --- a href=/WicketTester/WicketTester
Re: [Wicket-user] Handle String array in PageParameters
* Juergen Donnerstag: Because URL querystrings will change, and because bookmarkable URLs are changed also, that means that some web browser bookmarks won't work anymore. That is not likely to be true. The bookmark will be eg: /WicketTester/WicketTester?wicket:bookmarkablePage=:wicket.markup.html.basic.SimplePage_3 Instead of: /WicketTester/WicketTester?wicket:bookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3 That is exactly the same query string once decoded. Both URLs are equivalent. So existing bookmarks will continue to work. We just have to decide whether or not Wicket should produce standards-compliant and properly-encoded URLs. If that is not an option, the patch can be reworked to keep the current behaviour for bookmarkable URLs. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Dynamic Markup
* Tim Fletcher: I'm having a problem however with dynamically creating markups. While most of the components in my app have associated markup, I'm also creating an other component that should construct itself (markup and model) from a database. I use VelocityPanel for that. See http://wicket-stuff.sourceforge.net/wicket-velocity-panel/index.html -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Close input stream in AbstractResourceStream.asString()
I have to tell more about this one. Fixing this would allow to have dynamic markup generated by Velocity. Dynamic markup is something many users would like to achieve easily, without the hassle of overriding newMarkupStream() and building XML using Java code and string concatenations. However currently VelocityPanel is not able to process the resulting markup to handle nested components. Basically the following patch requests Wicket to parse the markup produced by the Velocity template, thus allowing to design dynamic UI. [ 1485704 ] Allow nested components in VelocityPanel http://sourceforge.net/tracker/index.php?func=detailaid=1485704group_id=119783atid=684977 Please come back to me if you feel that there is a more appropriate way to bring such a change. Thanks in advance, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Generate HTML file from page
* V. Jenks: Is there a slick way to do this? How can I generate a static HTML file of a Wicket WebPage? I suggest taking a look at WicketTester.dumpPage() -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket CMS type components...
* Igor Vaynberg: why not use a dao layer to abstract the persistence - that way it can also be pluggable JCR and Jackrabbit rock, I've been using it with Cocoon, and it's great. However I don't think it's a good idea to have an abstraction of the persistence, because: 1) JCR is already an abstraction of a storage API 2) the JCR nodes can have multi-valued properties, and they can also point to other nodes in the repository... That is not so easy to implement in a RDBMS. I'd be glad if Jackrabbit could make its way into Wicket Stuff! -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
* Ted Roeloffzen: Our assignment states that we develop a Wicket CMS, or at least components for the CMS [...] We are also in doubt about using the JSR-170. Are you familiar with this JSR JSR-170 and especially its reference implementation Jackrabbit rock! I would love to see a wicket-contrib-jcr! -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Velocity rendering
* Martijn Dashorst: On our companion website you can find the Velocity integration project, which hosts the VelocityPanel (http://wicket-stuff.sourceforge.net/wicket-velocity-panel/index.html). And since recently VelocityPanel is also able to parse the generated markup in order to be able to reference Wicket components in the output. Maybe we should think to make an 1.1 release? We should also publish the slight documentation updates. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] servlet-mapping
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/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] servlet-mapping
* James Carnegie: 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 use the url-pattern/*/url-pattern and have static resources loaded properly (with correct headers etc)? You can try that: servlet-mapping servlet-namedefault/servlet-name url-pattern*.css/url-pattern /servlet-mapping -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?
* Erik van Oosten: I think you are looking for this information: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html I don't think this is the right answer as the URL is not generated by Wicket in this usecase. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?
* Carfield Yim: Astheuserwill deploytheapplicationwith 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 at head but the rendered HTML don't contain that elements. I have the same problem and Wicket does not seem to address that. Seems like we have to use a template for that, like wicket.extensions.util.resource.TextTemplate to replace $contextPath You don't need to specify the full URL with host name however, using an absolute path is sufficient. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?
* Juergen Donnerstag: Please take a look at the examples. They are usually a good source for informaton. As far as I can tell, in Wicket you don't need it, at least I didn't. It works in the general case if you use relative paths, for example: img src=images/empty.gif But if you use WebApplication.mount(), those links cease to reference the proper resource as in this case we need an absolute path, and thus referencing the context path. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?
* Juergen Donnerstag: ApplicationSettings.getContextPath() and PrependContextPathHandler Thanks Juergen, PrependContextPathHandler seems to be what we are looking for indeed. But what does it mean « This is a markup inline filter which by default is added to the list of markup filters. » It suggests that I don't have to do anything to use it, but the next sentence indicates how to use it... -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?
* Juergen Donnerstag: That is added by default So, the links are already transformed automagically without the need to do anything more? I have to check that. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket stuff stuff
* James McLaughlin: I've started a topic ProjectMaintainers and populated it with the mails received today. Thanks James, I added WicketContribDojo and WicketContribVelocity. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about Hour and Minute selection
* Carfield Yim: Just wonder if there any hour and minute selection widget available? There is the Dojo TimePicker, but I don't know if it's already in wicket-contrib-dojo from the wicket-stuff project at SourceForge. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Too many open files
* James Carnegie: This problem has cropped up a couple of times on this list. Do you think we should add it to the Gotchas section of the wiki? This issue is a real show stopper. Several users have reported to me with painful setting into production of Wicket apps. IMO we should disable the shaky code that reloads templates from JARs (shaky not because of Wicket, but because of the JVM), and provide a setting to *optionally* re-activate it for the few users that really need this. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [ wicket-Patches-1562130 ] File descriptor leak in URLResourceStream
* Johan Compagner: So instead of opening a connection inside the jar we just open a connection to the jar only. That would work for the app servers that uses the jar url connection but it won't help for example WebLogic and others. Because they use there own kind of thing.. We need to address the needs of *most* users. And for most users it doesn't make any sense to reload templates from JAR files. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Timeline-component
We just created a calendar component, it is in wicket-stuff trunk, in wicket-contrib-dojo. But it is not exactly the same as the timeline, it tries to mimic Google Calendar. An example is available at /wicket-stuff/trunk/wicket-contrib-dojo-examples It is called « Week Organizer sample » Enjoy, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-scriptaculous release
* Ryan Sonnek: Thanks. I was mainly wondering if wicket-stuff had a maven repository. Something so that I can create releases simply by doing: mvn deploy However what's the point of releasing a wicket-stuff module based on a moving wicket trunk? Is trunk frozen now? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to get the Exception on the Exception page?
Hi Erik, Were you able to find a solution to be able to present the user with meaningful error page when an Ajax request fails? I'm also interested in that. Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Ajax DropDownChoice Question
* craigdd: Thanks, that works much better, I knew I was missing something pretty simple. You're not alone. I think an update to the Javadoc is needed. It is a bit misleading to see the DropDownChoice example in AjaxEventBehavior, should be in AjaxFormComponentUpdatingBehavior. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)
* Eelco Hillenius: Sounds good to me. But rather than starting with a list of all project that are in wicket-stuff now, maybe we should make a list here of the projects people are willing to support (and thus write a piece about in this new site). I'd be happy to write a short intro about: * wicket-contrib-examples * wicket-contrib-yui * wicket-contrib-yui-examples * wicket-contrib-velocity * wicket-contrib-freemarker * wicket-contrib-data * wicket-contrib-data-hibernate-3.0 (though if Jean-Baptiste wants to write about velocity/freemarker that would be great too) Ehem, I'm catching up on wicket-users, since the last weeks were very busy. I don't understand the whole issue: the idea is to move wicket-stuff outside of Sourceforge? Why is the provided URL just an ip address? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)
* Martijn Dashorst: Hosting the important stuff ourselves is beneficial to the projects: JIRA is much better than the sf.net tracker, confluence ditto. Big +1, good initiative. The IP address is because we're still debating what to do with the wicketframework.org domain @dev list. And what about wicketstuff.org then? We could register it right now and point it to the afore-mentioned IP address. See http://www.nabble.com/Vote%3A-take-wicketframework.org-off-of-sf.net-servers-and-onto-our-own-box-tf3037015.html#a8440414 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff site (Was: Re: Jar forwicket-contrib-scriptaculous?)
* Filippo Diotalevi: On 1/20/07, Martijn Dashorst [EMAIL PROTECTED] wrote: On 1/20/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: I don't understand the whole issue: the idea is to move wicket-stuff outside of Sourceforge? Why is the provided URL just an ip address? Yeah, I ported quite all the contents of the old website in the new one. I noticed that, that will be much easier now to begin improving the existing pages. There's also a Jira installation ready to be used. I just added the Wicket Contrib Dojo project. Seems to work great. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SURVEY: Are you using Page.before/afterCallComponent
* Igor Vaynberg: are you using Page.before/afterCallComponent? and if so what is the usecase? Not at all. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Compound Property model and Palette
* Igor Vaynberg: there have been many changes to the palette in the recent past, give it another try. I would even say that the problem is fixed. See https://issues.apache.org/jira/browse/WICKET-222 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Ajax refreshing of DataTable
Hi PH, Can you please send the relevant HTML markup snippet? Did you try adding to AjaxRequestTarget an element that holds both the filter toolbar and the data table? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Right-click context menu
* Bruce Fraser: We are looking for something similar to the Dojo one (http://dojotoolkit.org/ General Widgets - Menu - ContextMenu), and that will most likely be what we'll use if we can't find a Wicket alternative. If you think the Dojo ContextMenu could be nicely integrated to Wicket, please checkout wicket-contrib-dojo and see where the context menu would best fit. We'd be more than happy to integrate your contribution. http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-dojo -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Right-click context menu
* Vincent Demay: I've just finished to integrate DojoMenu Hi Vincent, Great work! However in your MenuSample example, it's not clear how to intercept which particular menu item has been selected. Am I missing something? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How can I add some javascript to make sure the main page will occupy whole browser?
* Carfield Yim: How can I add that javascript to onload event of that main page? Use getBodyContainer().addOnLoadModifier() -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Webby is cool
* nilo de roock: Today I looked at WebbyDB, it's a 'PHP-type-of-dump-classes-on-webpage' app, hibernate handles the persistency side. It depends on webby, wicket, databinder and hibernate. Do you have a pointer please? Or is it http://r8fe.net/webby/ -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
* Martijn Dashorst: Use the wicket filter instead. Can you please tell why it makes such a big performance difference between the servlet and the filter? I never noticed that. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] low wicket performance - intensive file system usage
* Martijn Dashorst: We don't recommend putting the Wicket servlet at /*, you can find it all over the mailinglist and on the WIKI. This is because the servlet then has to serve *ALL* things in the application context, provided you don't tweak the web.xml to do otherwise. Does it mean in Wicket 1.x there is code that streams static resources? That's interesting. Can you point me to the relevant class or method? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] VOTE on wicket:component
Hi Jonathan, What is the result of the vote then? Or was it just a poll? Seems like many users expressed the wish to remove that feature. Is there a JIRA issue for that? Thanks, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Vertical Tabs
* burnayev: How do I create vertically stacked tabs? Is it possible to style and/or extend the extensions tab component or do I have to create my own? In this example of Wicket Contrib Dojo you have horizontal tabs: http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=wicket-1%3Awicket.contrib.dojo.examples.TabContainerSample But using this instruction you get vertical tabs: tabContainer.setTabPosition(DojoTabContainer.TAB_POS_LEFT) See http://wicketstuff.org/confluence/display/STUFFWEB/Home to access the source code. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Testing and sessions
* Srdjan Marinovic: Anyways, Wicket's support for unit testing is really good and I'm lovin it, it is a gem. Glad to hear that. And in the latest Wicket 1.x, you've got the WicketTester refactoring that allows you to test your custom WebApplication directly. Enjoy! -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester and DropDownChoice.onSelectionChanged()
* Johan Compagner: something like this: setupRequestAndResponse(); getServletRequest().setRequestToComponent(DDC); processRequestCycle(); Since a few seconds in 1.3 you can also do directly: tester.executeListener(DDC); -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [WCD] problem building examples
Hi Xavier, I removed the examples that require JDK 1.5. We'll need to rewrite them. And thanks for the patch to pom.xml, I applied it but with JDK 1.4. See http://wicketstuff.org/jira/browse/DOJO-21 Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [WCD] problem building examples
* Vincent Demay: Jean-Baptiste Quenot a écrit : I removed the examples that require JDK 1.5. We'll need to rewrite them. And thanks for the patch to pom.xml, I applied it but with JDK 1.4. See http://wicketstuff.org/jira/browse/DOJO-21 I fixed this bug. exemples are now 1.4 compliant... ;) Thanks Vincent, Sorry for deleting the files, it was a very quick and dirty fix. But as I know you're a master at Subversion command-line, I knew you would resurrect them without much trouble. Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] temp / cache dirs won't remove?
* Eelco Hillenius: On 2/24/07, Johan Compagner [EMAIL PROTECTED] wrote: and that they are not removed is because i guess you don't terminate jetty correctly you just shoot it down when developing. So? That's what I've always did? And that's where the JDK shutdown hook is for. FYI, I'm just using the Jetty starter classes our projects provide. I don't even have JettyLauncher installed atm. The shutdown hook is not invoked when you terminate the JettyLauncher using the red square Terminate button. Using this button is like doing kill -KILL, whereas using kill (default TERM signal) would invoke the shutdown hook correctly. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?
* Igor Vaynberg: if project/wicket-stuff maintainers add their projects to our bamboo instance the snapshots will be housed at wicketstuff.org/maven/repository Thanks Igor, nice idea. I just did it: http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3-incubating-SNAPSHOT/ http://wicketstuff.org/bamboo/browse/DOJO-CORE However bamboo is not accessible to all wicket-stuff maintainers yet. Is it possible to configure access control in Bamboo, so that XXX maintainer only has access to XXX? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Maven repository for wicket-dojo and wicket-scriptaculous?
* Igor Vaynberg: yes, you can create user groups and assign them to projects, etc. so far no one from wicket-stuff asked to be added. you are an admin in bamboo btw, so you can add them too. Great! Just added Vincent Demay to be able to manually trigger the Dojo build. Thanks again, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester question
So, you're using Wicket 1.2.5? I came across the same thing, and had to disable a unit test: See bugTestPageConstructor() in WicketTesterTest And like you it uses the startPage(Page) method. What is really strange is that the same code runs smoothly in Wicket 2. Help from the team would be appreciated, I couldn't find the culprit yet. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Absolute minimal Hello World sample not working
* Eelco Hillenius: I worked around this by extending the WicketFilter with the override: snip/ so that my new WicketFilter would keep the default context class loader. Mow I can stick all my wicket jars in the servers lib directory instead of having to put them in the webapps lib directory. Oooops. I just found out that WicketFilter in 1.3 works nicely - like you did Dan, it returns the context class loader, but for some reason 2.0 return the loader of the class. This was a bug and is fixed now (so you can get rid of that filter again Dan). My fault then when I ported the reloading mechanism to trunk a few weeks ago. It is very difficult to keep WicketFilter in sync between branches because of the relative URL refactoring. Here's the whip. .-. | \ \ | |/_ '| /` |'._.' | | # # # # -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] URL problem in phonebook app
* John Patterson: OK, but the phone-book app is still broken in 2.0 due to this bug in WicketFilter.isWicketRequest () - at least it was a week ago when I wrote the initial email. Can anyone get the current phonebook app to work? I think when that bug is fixed my app would have worked. But now I have reverted to 1.3 anyway... Hello John, Did you file a JIRA issue for this? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Pushing data to the Ajax client in wicket?
* Xavier Hanin: As you see I'd like to implement two ways to do that, one simple purely wicket based, and another more scalable requiring dojo. In your case I don't know much about your map, but with the implementation I propose you can send javascript as you would on an AjaxRequestTarget, so I guess it should be ok. I already have an first implementation (the simple one, pure wicket), but last time I checked it wasn't working due to a bug in wicket (see WICKET-343). But if you want I can share this implementation with you (I think I will even create an issue in JIRA with the patch attached, even if it doesn't work with the wicket 1.x branch right now). Hi Xavier, Yes please put it in JIRA and Link this issue mentioning it's blocked by WICKET-343. Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0
We don't use 2.0 at my company, and I don't use it myself for personal projects, so I'm not too worried I'm not particularly interested in the constructor change, even if the comparison to SWT being better than Swing was appealing at first glance. Didn't you happen to say: « SWT has a much better design that Swing ». And the parallel to Wicket 1.x/2.0 was easy to draw. But as a committer I am very unhappy with having to maintain 2 branches; most of the classes I change are out of sync between 1.x and trunk. So I'm +1 for having one development branch, JDK 1.4 is fine for me, we'll switch to JDK 1.5 in a few months (or years?). But beware that some bugfixes and useful new features went in trunk only, so we should list them and port them to 1.x, as I [1]already started to do. Also, I think if we get rid of 2.0, we should never reuse that version number to avoid any confusion. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ [1] http://cwiki.apache.org/confluence/display/WICKET/To+Sync+Between+Branches - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester message resolution
* Dmitry Kandalov: To use application properties I extend WicketTester and have this in constructor: Hi Dmitry, Nice code snippet, would you mind opening an issue, and providing your sample code as attachment? Thanks in advance, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Test of panels
* Murat Yücel: Is it possible to test a panel that includes a form and make use of ajax? If yes how is it possible and do you have an example :)... I am already using this method WicketTester.startPanel but i can only test that the panel is rendered without any errors. I cant retrieve the form element. Well i cant figure out how to retrieve them :) Have you tried tester.newFormTester(form) -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester message resolution
* Dmitry Kandalov: Jean-Baptiste Quenot-3 wrote: Nice code snippet, would you mind opening an issue, and providing your sample code as attachment? Sure, https://issues.apache.org/jira/browse/WICKET-368 Thanks! Could you please also take a look at https://issues.apache.org/jira/browse/WICKET-258 :) Yes, it's on my TODO list, I'll do it if no one beats me. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] IMPORTANT: your opinion on the constructor
* Eelco Hillenius: going the other way 2.0-1.x should be trivial This is true. At least it should be a lot easier. I wouldn't be so confident. In 1.x very often we need to refrain doing things in the constructor, and have to override onAttach() to access the parent. So it's not just about reverting the constructor change, it's also dealing with the delayed hierarchy setup that 1.x forces you to cope with. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket homepage Lucida Sans font
FWIW there is a JIRA issue for this already: http://issues.apache.org/jira/browse/WICKET-346 Nathan Hamblen's suggestion to have a fallback font is good: font-family: 'Lucida Sans', 'Helvetica', 'Sans-serif', 'sans'; Where shall we change that? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AJAX validation
* Arnout Engelen: So far it seems either Apache2, mod_caucho or Resin (2.1.16) is eating the POST body parameters. Has anyone ever seen something like this? Any idea where to look? Is POST followed by a redirect? If yes, is the URL missing a trailing slash? What Wicket version are you using? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Instructions for using WICKET-126
* Matt Welch: Hello Matt, Second, I ran across the JIRA issue, WICKET-126: This seems to describe some changes in the 1.3 base that would enable much easier hot-redeployment of classes. That's right, with this new feature you don't need to restart your webapp in most cases. The discussion in the issue went back and forth, but it's a little hard to tell what form this functionality took int he end and how to use it. Are there any instructions outside that issue on its use? Yes, please have a look at the Javadoc of wicket.protocol.http.ReloadingWicketFilter Do I need to check out the 1.3 code from Subversion or is it available from the wicketstuff.org maven respoitory (wha I'm currently using for 1.3 SNAPSHOTS)? You can do both. Your feedback on the reloading feature will be appreciated. Thanks in advance, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Instructions for using WICKET-126
* Kent Tong: Jean-Baptiste Quenot jbq at apache.org writes: That's right, with this new feature you don't need to restart your webapp in most cases. Will it invalidate the session? No. In most cases you need to go back to a bookmarkable page or home page to avoid page expired errors. And you don't necessarily have to invalidate the session, otherwise you need to log in again and again every time you modify a class. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Instructions for using WICKET-126
* Matt Welch: Your feedback on the reloading feature will be appreciated. Hmmm, I may be missing a configuration step or perhaps my expectations were off, but this doesn't appear to be working for me. I changed my web.xml to use the ReloadingWicketFilter and then ran my app. Everything works as normal. When I modify a template file, the change is picked up, however modifying a java file and compiling it doesn't seem to do anything. So I wonder if I'm missing something in my environment setup that might allow this to work. Here's some more information if anyone has any ideas: Yes, you may be missing something. You should have written at least 5 lines of Java code to activate the reloading of your own classes. Did you extend ReloadingWicketFilter to include your own packages? You need to specify your own class. Maybe the Javadoc in ReloadingWicketFilter is not explicit enough, in that case an updated description would be more than welcome. Cheerio, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Instructions for using WICKET-126
OK, I improved the documentation accordingly. I don't know if this is published anywhere in real time however. Wicket team? Do you have a magic URL on wicketstuff.org for API documentation? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,
* Thomas R. Corbin: or do you need to have each tab have it's own form? And if each tab has it's own form, does the user need to save their data before switching tabs? Would the submit button be on each form, on each tab, or outside the tabs entirely? If all the tab's contents are generated in the page, you can put the form around all the tabs, so that each tab can contribute its respective input fields. Otherwise, if tab contents are only rendered after an Ajax callback, you'd be safer putting a form inside every tab. That depends on your code actually. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,
* Igor Vaynberg: a better option for these situations imho is to not to use a serverside tabpanel, but a clientside one. that way your entire form is written out and the submit button submits the entire thing. a js lib like this makes it trivial: http://www.stilbuero.de/jquery/tabs/ We have DojoTabContainer in Wicket Contrib Dojo that is client-side only. See an example at http://www.demay-fr.net:8080/Wicket-start/app?wicket:bookmarkablePage=:wicket.contrib.dojo.examples.TabContainerSample -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] When you have tabs and forms, is it ok to have the tabs all inside one form,
* Jean-Baptiste Quenot: We have DojoTabContainer in Wicket Contrib Dojo that is client-side only. See an example at http://www.demay-fr.net:8080/Wicket-start/app?wicket:bookmarkablePage=:wicket.contrib.dojo.examples.TabContainerSample Sorry the right URL (more uptodate) was: http://www.demay-fr.net:8080/WCD13/app/?wicket:bookmarkablePage=%3Awicket.contrib.dojo.examples.TabContainerSample -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Apache Con Amsterdam: wicket presence
* Martijn Dashorst: Who is going to attend Apache Con in Amsterdam? We are planning to host an evening session, but we would like to know how many would be interested/attend. Me too. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Reverting the constructor change of 2.0
* Al Maw: Eelco Hillenius wrote: Can I have the opinions of all committers please? Johan is on a skiing trip but opts for c). I don't want to do any of A, B or C. What I /really/ think we should try to achieve: 1. Have long-term JDK 1.4 and JDK 1.5 branches that are easy to sync/backport from. These would therefore ideally have, in order of importance: - The same constructor/add logic. - The same kind of models. - The same package namespace. 2. Avoid pushing out a 1.3 beta that's very different from the RC and final releases. Provided we do both of those, I don't really care how we get there. Looking at your options, option C breaks that second point pretty badly. I still think we should push out 1.3 as-is, do a quick 1.4 with the new models and a package rename from wicket to org.apache.wicket, and create a 1.5 branch as soon as we have a beta/RC of 1.4. The problem is not the names you put in front of a released piece of software. The problem is how many branches are you going to maintain at the same time? At the beginning I liked your proposal, but I think now it's just too optimistic. We won't be probably releasing anything to the public until all important features have been backported from trunk. Everyone else seems to think that this is a terrible idea, likely to drag on for ages and confuse the users. Given that is therefore a non-flier, I think we should: * Push the model change in right now. * Let it settle for a week or two to catch the worst bugs. (If we need a 1.3 alpha-incubator-moderation or whatever to get Apache approval, I'm all for that in the meantime.) * Get a 1.3 beta out the door to our users before the end of the month. I also think that if we're going to be stuck maintaining 1.3 as the JDK 1.4 branch for a long time (which looks likely), we should change the package namespace to org.apache.wicket for 1.3 right now, as it'll make life easier. I guess there's nothing wrong with having a minor release version (like 1.3.2 or something) be the first Apache approved non-incubator release. Hopefully if we push the model change into 1.3, no one will want anything else to go in there and we can finally kick it out the door. I'm +1 with everything you say in the second part of your mail. I notice that you changed your mind during writing it, that's good to see you are open, and not narrow-minded at all ;-) -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Joost uses Wicket
* Jonathan Locke: Someone should really make an example or even a reusable class like that. What you're suggesting is very non-obvious to a newbie. I'll be checking in an URIRequestTargetUrlCodingStrategy in the next days that basically takes the remaining URL fragment and gives it to the user as getURI(). To follow your advice, I will also add an example of how to combine this with a ResourceStreamRequestTarget, good idea. Stay tuned! -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Table with TextFields example (Dissapointed in Wicket)
* Udora: I was attracted to Wicket because of its finesse and all the stories around praising how helpful their developers and user community are and the quick response one receives when you post a question. I must say, my experience has been bad so far. I posed the question below 2 days ago and still no response. Did you consider commercial/paid support? See http://cwiki.apache.org/WICKET/companies-that-provide-services.html Those companies would be more than happy to help you. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Apologies from an anonymous coward
* Brian Topping: I hope you have the guts to realize what an ass you are making of yourself and stand up and apologize. He won't do so: as a pure coincidence, this guy didn't have the courtesy to even mention his name. I bet that he'll be returning with another nickname soon. I'm always wary of anonymous posts. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ajax errors handling
* Andrew Klochkov: Is there any way to control ajax errors handling? For example, if the session is expired wicket returns empty response for ajax requests (WebRequestCycleProcessor.resolve() returns an EmptyRequestTarget instance). This is fixed already, see: Use an uniform behavior for the expiration page http://issues.apache.org/jira/browse/WICKET-364 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to catch the error in custome error page?
* tooy li(Gmail): I want to create a custom page to catch all error , log these into db and only show some clear infomation into user. i know set something in the application, but how can i catch these error in my page? So you want to handle the exception yourself? Try this in your Application: @Override protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { @Override protected Page onRuntimeException(Page page, RuntimeException e) { logErrorInDataBase(e); return new MyExceptionPage(); } }; } You don't indicate which version of Wicket you're using, I assume the latest in this code snippet. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Flash not playing well together ?
* Landry Soules: No ! There's really no place in my code where i even mention it ! It can only be referenced by the flash code. The only thing is that the flash related stuff is in folder src/eu/kwark/main. Is it possible that Wicket somehow interfere with flash calls ? Exit from your « Flash tunnel vision » and start talking HTTP requests: the problem is not related to Flash, but related to what HTTP requests are made. A network analyzer tool will help you diagnose which HTTP requests are made to your server. So please be more specific and dump here the list of the HTTP requests that are made to your web application. I don't think it's a good idea to put your static files in a Java package, it's a bit tricky to properly serve them with Wicket unless you control exactly what files are served and how, which doesn't seem to be the case. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom XML markup
* Igor Vaynberg: On 3/26/07, Toscano [EMAIL PROTECTED] wrote: I mean: - The combo-option is treated as a new tag attribute, not as the name of the tag. Is there any way of maintain that - there? what wicket version are you using? this might be a bug in our xml parser. please open a jira issue. Indeed it's a problem in our XML parser. But the problem is already fixed, see: XmlPullParser does not respect the XML NCName syntax https://issues.apache.org/jira/browse/WICKET-350 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] patch question: wicket 313
* Apaar Trivedi: Hey all, I've applied this patch WICKET-313 to wicket 1.2.4 and it doesn't seem to have changed the way my errors are handled in ajaxRequestTarget. Am I missing other patches that this depends on? The patch suppresses the try/catch in AjaxRequestTarget in order to propagate the exception. In that case, it is necessarily handled by RequestCycle. Did you try to follow the exception handling step-by-step in the debugger? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Testing trouble when backporting application from 2.0 to 1.2.5
* Gohan: Label model does not match. expected:You entered: [Firstname Lastname] but was:You entered: [null null] The problem seem to be that the call to ..setModelValue(..) doesn't update the model or it get lost when I press the submit button somehow. How can I fix this? This is fixed in the soon-to-be-released Wicket 1.3 And please think searching Jira before asking questions! A quick search for formtester gives: FormTester doesn't update input models https://issues.apache.org/jira/browse/WICKET-83 FormTester does not set request parameters for unchanged form fields https://issues.apache.org/jira/browse/WICKET-85 FormTester doesn't pass form components default values https://issues.apache.org/jira/browse/WICKET-258 Cheers, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Adding code to moveUpLink, moveDownLink and removeLink on ListView
* Andrew Moore: I've got a listView which I'm using moveUpLink, moveDownLink and removeLink on. I suggest to use RefreshingView. It seems a bit harder at first glance, but when you're used to it, it's much more powerful. And beware that if you reorder or remove rows with ListView, you loose the whole user input, so make sure that you don't have editable fields in your ListView! -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Classloader for selectively reload web tier
* Carlos Pita: Maybe this could be relevant: * I'm using jetty:run maven plugin. I run it from the console * and from apache. I run it on top sun jdk 1.6.0 and ibm jdk 5. Hi Carlos, You're running jetty:run so I guess your Eclipse classpath is setup with Maven as well. So classes should go to target/classes and the reloading filter or servlet should pick that change. I'm using the reloading mechanism with success in my development team, it works great. However with Spring it's sometimes tedious to maintain a clear separation between the two tiers, and you have to introduce naming conventions that the whole team respects, otherwise they get nasty ClassCastException and other funny things. But it's interesting also because such exceptions point you to badly designed code, when the two tiers are mixed. I'm looking forward to help you make it work as it does for us. Example logging below: INFO - ReloadingClassLoader - Class file /path/to/my/app/target/classes/com/company/MyApp.class has changed, reloading DEBUG - ReloadingClassLoader - clzLocation=/path/to/my/app/target/classes/com/company/MyApp.class INFO - ReloadingClassLoader - Watching changes of class /path/to/my/app/target/classes/com/company/MyApp.class INFO - Application- [DashboardApp] init: Wicket extensions initializer INFO - Application- [DashboardApp] init: Wicket core library initializer INFO - WebApplication - [DashboardApp] Started Wicket in development mode INFO - ReloadingClassLoader - Class file /path/to/my/app/target/classes/com/company/MyApp.class has changed, reloading DEBUG - ReloadingClassLoader - clzLocation=/path/to/my/app/target/classes/com/company/MyApp.class INFO - ReloadingClassLoader - Watching changes of class /path/to/my/app/target/classes/com/company/MyApp.class INFO - Application- [DashboardApp] init: Wicket extensions initializer INFO - Application- [DashboardApp] init: Wicket core library initializer INFO - WebApplication - [DashboardApp] Started Wicket in development mode -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Help Me Improve Wicket Quickstart
Why not opening an issue on JIRA with the required patch to build.xml? And about the documentation, it's in Confluence, right? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] HEADS-UP Some renaming in Wicket Stuff
Due to the package renaming that occured in Apache Wicket (from wicket to org.apache.wicket), many projects in wicket-stuff (in branch 1.3) do not compile anymore. In order to get some benefit out of this somewhat chaotic change, it would be the right moment to do some renaming for the various WicketStuff projects. This is what happened to WicketStuff Dojo for instance: * packages renamed to org.wicketstuff.dojo * Maven artifacts renamed to group name org.wicketstuff and artifact name dojo like the Java package NOTE: Location in the SVN repo remains the same Your comments welcome, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user