Re: Wicket 1.4 with QWicket

2008-09-08 Thread Nino Saturnino Martinez Vazquez Wael
You could also use Wicketstuff iolite, it also uses spring and jpa/hibernate... http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite IT is working out of the box. Vernon wrote: I am very new to Wicket after heard so many good things about it. I am starting a project with QWicket

Using standard query notation ?productId=3 instead of /productId/3

2008-09-08 Thread Chris Colman
I have a client who employs a professional SEO guy. He's told the client that my use of /productId/3 (as per the wicket standard) is not kosher with the search engines and that I should be using the traditional ?product=3 query stuff as the search engines produce better rankings for pages with

Re: Using standard query notation ?productId=3 instead of /productId/3

2008-09-08 Thread Igor Vaynberg
i have always heard otherwise from seo folks ive talked to. instead, the default strategy in wicket is optimized for seo, at least that was the consensus amongst our users. to get what you want mount pages with querystringurlcodingstrategy instead. -igor On Sun, Sep 7, 2008 at 11:39 PM, Chris

Bypass validation conditionally

2008-09-08 Thread thebeard
We have a number of tabs that is contained within a single form. Each of the tabs has some fields on them, but when we navigate from tab to tab, we would like to bypass validation BUT still have it bind to our property model object. Additionally we have 1 button on the form, which when

Re: Bypass validation conditionally

2008-09-08 Thread Igor Vaynberg
you cannot bind non-validated input to your model objects. what happens if your model object is of type integer but the user entered a, how do you store that? the easiest way to accomplish what you want is to simply use javascript tabs so switching tabs does not result in another request. -igor

Format double value in TextField

2008-09-08 Thread Thomas Singer
I'm using RequiredTextFields with Double.TYPE as content type. When I add a new business object, the default double values show up as 0. Where should I add a DecimalFormat to show, for example, 0. instead? -- Cheers, Tom

Re: Bypass validation conditionally

2008-09-08 Thread thebeard
Thanks for your response Igor. It makes sense that the validation for field type is done ie: if a String is entered but an int is expected. Is there a simple way to conditionally bypass custom validation only eg: String length less than 64 characters? Also if we use javascript to switch tabs,

Re: Bypass validation conditionally

2008-09-08 Thread Jörn Zaefferer
Using JavaScript to store tabs means that all tabs are rendered at once, so there is no need to store anything between switching tabs. Jörn On Mon, Sep 8, 2008 at 10:00 AM, thebeard [EMAIL PROTECTED] wrote: Thanks for your response Igor. It makes sense that the validation for field type is

Reporting Engine on Wicket 1.3.4

2008-09-08 Thread Leon Nieuwoudt
Hi all I would like to know what kind of reporting engines are commonly used for Wicket-based apps? We have the need to generate CSV, Excel, and PDF files with graphs and pretty graphics. We've looked at the JasperReports integration but the docs say it's not complete Thanks in advance

Release date for 1.3.5?

2008-09-08 Thread Jörn Zaefferer
Hi, is there a release date planned for 1.3.5? There are important updates in trunk, like protection against CSRF (https://issues.apache.org/jira/browse/WICKET-1782). If there isn't a date yet, what needs to be done to get one? Regards Jörn

Re: Wicket No-Serializable objects Web application

2008-09-08 Thread Lutz Müller
On Sunday 07 September 2008 00:00:15 Johan Compagner wrote: Use loadabledetacheable models for those objects, in the load method call the service method to get your bus. object back However , there is a problem if you use loadabledetachable with AJAX requests on your page. Model.detach() is

Re: Bypass validation conditionally

2008-09-08 Thread PokkieInATightShirt
I'm also have a similar issues - I'm like to store user captures detail, but only do validate when the entirely form is sumbitted, not when I'll switch between tabs. Is this possibly? The Pokker Jörn Zaefferer-2 wrote: Using JavaScript to store tabs means that all tabs are rendered at

Re: Wicket No-Serializable objects Web application

2008-09-08 Thread Johan Compagner
if your domain objects are not serializeable then there is no other solution then to have a copy or a hashmap that holds those things in mem for a few requests. johan On Mon, Sep 8, 2008 at 1:33 PM, Lutz Müller [EMAIL PROTECTED] wrote: On Sunday 07 September 2008 00:00:15 Johan Compagner

Groovy + Spring + Wicket

2008-09-08 Thread Roman Zechner
I was courious on how to integrate Groovy in Wicket via Spring. I want to trigger a script via onSubmit action. The groovy script should print some lines on the console. But the code is never executed (at least it seems so). We are using the mvn jetty plugin, there are no problems, neither

Re: Release date for 1.3.5?

2008-09-08 Thread Martijn Dashorst
more bug fixes On Mon, Sep 8, 2008 at 10:57 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, is there a release date planned for 1.3.5? There are important updates in trunk, like protection against CSRF (https://issues.apache.org/jira/browse/WICKET-1782). If there isn't a date yet, what

Re: Wicket No-Serializable objects Web application

2008-09-08 Thread Johan Compagner
why dont they survive? i didnt mean that you should store the actual receiver objects into the hashmap just the properties and there values johan On Mon, Sep 8, 2008 at 2:32 PM, Lutz Müller [EMAIL PROTECTED] wrote: yes, what i did is simply attaching a hashmap to my session where i keep

Re: Problem with multiple browser windows and locked page maps

2008-09-08 Thread Jan Stette
Hi Johan, as I mentioned earlier, I realise that long operations shouldn't be done in the request thread. But there are some cases where it's hard to guarantee that operations can't take long, and I want to make sure we cope well with exceptional cases too. I didn't fully understand your last

Re: Groovy + Spring + Wicket

2008-09-08 Thread Julien Graglia
Le lundi 08 septembre 2008 à 14:41 +0200, Roman Zechner a écrit : I was courious on how to integrate Groovy in Wicket via Spring. I want to trigger a script via onSubmit action. The groovy script should print some lines on the console. But the code is never executed (at least it seems so).

Re: Groovy + Spring + Wicket

2008-09-08 Thread Roman Zechner
Julien Graglia wrote: Le lundi 08 septembre 2008 à 14:41 +0200, Roman Zechner a écrit : I was courious on how to integrate Groovy in Wicket via Spring. I want to trigger a script via onSubmit action. The groovy script should print some lines on the console. But the code is never executed

Re: London Wicket Event - October 1st, @Google

2008-09-08 Thread jWeekend
Since it looks like we're going to have another full house at our next London Wicket Event on October 1st make sure you http://jweekend.com/dev/LWUGReg/ register early and, importantly, remember to confirm or cancel your place using the link in the automated email so we can make best use of our

Re: Format double value in TextField

2008-09-08 Thread Igor Vaynberg
override getconverter on the textfield and implement your own -igor On Mon, Sep 8, 2008 at 12:22 AM, Thomas Singer [EMAIL PROTECTED] wrote: I'm using RequiredTextFields with Double.TYPE as content type. When I add a new business object, the default double values show up as 0. Where should I

Re: Bypass validation conditionally

2008-09-08 Thread Igor Vaynberg
see button.setdefaultformprocessing(false) -igor On Mon, Sep 8, 2008 at 1:00 AM, thebeard [EMAIL PROTECTED] wrote: Thanks for your response Igor. It makes sense that the validation for field type is done ie: if a String is entered but an int is expected. Is there a simple way to

Re: Bypass validation conditionally

2008-09-08 Thread Michael O'Cleirigh
Hello, You need to create a custom tab panel that will render all the tabs when the page is rendered but only the active tab will have the 'display: block' set which effectively hides the others. Tab switching uses javascript for the 'onclick' action for the tab links to switch which of the

Re: Release date for 1.3.5?

2008-09-08 Thread Nino Saturnino Martinez Vazquez Wael
are there a ordered order of the bugs, do you just follow the major ones or are there a special combination that can unlock a release? Martijn Dashorst wrote: more bug fixes On Mon, Sep 8, 2008 at 10:57 AM, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi, is there a release date planned for

newbie problem witch wicket...

2008-09-08 Thread dlipski
Hi Im developing with Wicket for short time so forgive me if I misanderstood some Wicket concepts. Recently I was asked for develop SSO-like feature for Wicket powered web application. Application uses wicket-auth-roles + Acegi for securing wicket pages. What I have to do is to let

newbie problem with wicket...

2008-09-08 Thread dlipski
Hi Im developing with Wicket for short time so forgive me if I misanderstood some Wicket concepts. Recently I was asked for develop SSO-like feature for Wicket powered web application. Application uses wicket-auth-roles + Acegi for securing wicket pages. What I have to do is to let

Problem with search and get urls

2008-09-08 Thread Mathias P.W Nilsson
I have a problem with NonVersionedHybridUrlCodingStrategy mounting. When searching for items a url can result in this http://localhost:8080/hairless-web/items/search/refilled... the user searched for refilled... Whenever I have a more than one . in the url the following error appears.' This

Re: Problem with search and get urls

2008-09-08 Thread Igor Vaynberg
maybe you should url encode your keywrod -igor On Mon, Sep 8, 2008 at 1:18 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: I have a problem with NonVersionedHybridUrlCodingStrategy mounting. When searching for items a url can result in this

Re: Problem with search and get urls

2008-09-08 Thread Igor Vaynberg
can you escape it manually using url coding sytanx? i think . is a reserved character for the hybrid strategy -igor On Mon, Sep 8, 2008 at 1:41 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: url encoding the search word containing ... won't be escaped. The ... will remain. -- View this

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Vernon
I already understood the 1.4=m3 is the latest release. My problem is that I can't find any 1.3 Wicket classes with 1.4 jar. Does that mean that these two version are not compatible? - Original Message From: Marat Radchenko [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Sunday,

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Vernon
I don't like to use JPA with Hibernate based on my previous experience with the two bundle. In the environment, the object mapping has to follow certain order in term of type of relationship between parent and children in the XML. I haven't seen any advantages with the bundle yet other than

Re: Wicket 1.4 with QWicket

2008-09-08 Thread James Carman
You could always swap out the JPA implementation to use something like OpenJPA or whatever. On Mon, Sep 8, 2008 at 5:00 PM, Vernon [EMAIL PROTECTED] wrote: I don't like to use JPA with Hibernate based on my previous experience with the two bundle. In the environment, the object mapping has to

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
You mean 1.2 classes? Wicket classes reside in package org.apache.wicket since 1.3 Martijn On Mon, Sep 8, 2008 at 10:57 PM, Vernon [EMAIL PROTECTED] wrote: I already understood the 1.4=m3 is the latest release. My problem is that I can't find any 1.3 Wicket classes with 1.4 jar. Does that

Re: Problem with search and get urls

2008-09-08 Thread Mathias P.W Nilsson
Shouldn't . characters be supressed in the HybridUrlCodingStrategy? -- View this message in context: http://www.nabble.com/Problem-with-search-and-get-urls-tp19380336p19381312.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Vernon
I am not sure whether the following statement mean the latest QWicket is based on 1.2 or not. So far, none of Wicket classes can be located. Did all classes had been renamed between 1.2 and 1.3? --- 1/19/08 Version 1.0 released. The impossible has happened. 1.0 is

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
did you consider that your wicket jar might be corrupted? And yes, all classes have been moved to org.apache.wicket package. If you are not using an IDE, then start doing so right away. Using an IDE saves this types of questions. Martijn On Mon, Sep 8, 2008 at 11:37 PM, Vernon [EMAIL PROTECTED]

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Vernon
Actually, I am using Eclipse. I am able to import all other jar file in the same direction but not Wicket. I can download the build again to see whether it helps or not. - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, September 8,

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
Then either your classpath is not correctly setup, or the jar is corrupt. Typing in WebApplicationctrl-space should give org.apache.wicket..WebApplication Martijn On Tue, Sep 9, 2008 at 12:01 AM, Vernon [EMAIL PROTECTED] wrote: Actually, I am using Eclipse. I am able to import all other jar

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
Or typing in ctrl-tWebApplication should give the appropriate class. Martijn On Tue, Sep 9, 2008 at 12:15 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Then either your classpath is not correctly setup, or the jar is corrupt. Typing in WebApplicationctrl-space should give

wicketajaxget and waiting?

2008-09-08 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im doing a mootip integration for wicketstuff (minis). I am only one step away from being able to release. Im having a bit of a problem with the ajax integration, might be me that have stared myself blind... This is where im at (I have all the other bits in place): var

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Martijn Dashorst
To check the jar file: jar -t wicket-1.4-m3.jar or if you have a zip client, open the archive to see if there are classes inside. Martijn On Tue, Sep 9, 2008 at 12:16 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Or typing in ctrl-tWebApplication should give the appropriate class. Martijn

Bookmarkable PagingNavigation

2008-09-08 Thread Mathias P.W Nilsson
I've read some post on forum users wanting to use Bookmarkable page links in their PagingNavigation. Now, I'm one of them :) Google spider can index my wicket application using my PagingNavigation. Has anyone come up with an idé on solving this? Any pointers on how to achieve without having to

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Vernon
I don't have an access to my Wicket development at this moment. I don't have a single jar file for Wicket, but a set of jar files something like wicket-xxx.jar. I guess that is the cause of my problem. - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To:

Re: Wicket 1.4 with QWicket

2008-09-08 Thread Nino Saturnino Martinez Vazquez Wael
Vernon wrote: I don't like to use JPA with Hibernate based on my previous experience with the two bundle. Sad to hear that. In the environment, the object mapping has to follow certain order in term of type of relationship between parent and children in the XML. Hmm JPA= Java Persistence

Re: Problem with multiple browser windows and locked page maps

2008-09-08 Thread Johan Compagner
Then you dont throw the right thing, you should set a page as the response opage thats in a different pagemap On 9/8/08, Jan Stette [EMAIL PROTECTED] wrote: Hi Johan, as I mentioned earlier, I realise that long operations shouldn't be done in the request thread. But there are some cases

Re: Bookmarkable PagingNavigation

2008-09-08 Thread Johan Compagner
You have to reimplement something, so yes the links thatv are generated must be bookmarkable if you want sessieless paging On 9/9/08, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: I've read some post on forum users wanting to use Bookmarkable page links in their PagingNavigation. Now, I'm one

Re: wicket-like framework to complement wicket?

2008-09-08 Thread Fernando Wermus
I can send you the code when I have the time. Just tell me. bye! On Fri, Sep 5, 2008 at 7:56 AM, James Carman [EMAIL PROTECTED]wrote: Really? Would it be easy to implement this interface: http://domdrides.sourceforge.net/domdrides-core/apidocs/org/domdrides/repository/Repository.html If

Re: newbie problem with wicket...

2008-09-08 Thread Johan Compagner
Why dont you have a securebasepage class where you do that check for login and login if there is that data in the request? On 9/8/08, dlipski [EMAIL PROTECTED] wrote: Hi Im developing with Wicket for short time so forgive me if I misanderstood some Wicket concepts. Recently I was asked for

Re: Bookmarkable PagingNavigation

2008-09-08 Thread Mathias P.W Nilsson
The IPageable setCurrentPage() must be set when requesting PageParameters, any suggestions? This is what I have in mind. For every newPagingNavigationIncrementLink append the page parameters and the correct page number. -- View this message in context:

Re: Bookmarkable PagingNavigation

2008-09-08 Thread Mathias P.W Nilsson
The pageable.setCurrentPage(getPageNumber()); is set in the onClick method of a PagingNavigationIncrementLink or PagingNavigationLink. How can I set the currentPage when using BookmarkableLink? -- View this message in context:

Replacing $ in wicket ids

2008-09-08 Thread David Leangen
Hi! When trying to validate my HTML, I am getting this error: character $ is not allowed in the value of attribute id Is there a simple way of replacing the $ char with some other symbol? Thanks! David - To

Re: Replacing $ in wicket ids

2008-09-08 Thread Igor Vaynberg
how do they get there in the first place? -igor On Mon, Sep 8, 2008 at 7:15 PM, David Leangen [EMAIL PROTECTED] wrote: Hi! When trying to validate my HTML, I am getting this error: character $ is not allowed in the value of attribute id Is there a simple way of replacing the $ char

Re: Replacing $ in wicket ids

2008-09-08 Thread David Leangen
Doh! On Mon, 2008-09-08 at 20:08 -0700, Igor Vaynberg wrote: how do they get there in the first place? -igor On Mon, Sep 8, 2008 at 7:15 PM, David Leangen [EMAIL PROTECTED] wrote: Hi! When trying to validate my HTML, I am getting this error: character $ is not allowed in

Re: Bookmarkable PagingNavigation

2008-09-08 Thread Jeremy Thomerson
You will most likely end up using a BookmarkablePageLink which will construct a new page Then in the constructor of the page, you will have code similar to: public YourPage(PageParameters params) { super(params); int page = 1; try { page =