Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Jan Kriesten
Congrats to both of you for going thru this and not giving up. I know how it is to write (although not on a scale that big!) - your work is very much appreciated! :-) Best regards, --- Jan. - To unsubscribe, e-mail:

RE: Filter Toolbar and changing size of TextFilter input box

2008-08-14 Thread Kai Mütz
Karen Schaper mailto:[EMAIL PROTECTED] wrote: Hello, I have a question about the FilterToolbar. I just came across it and I love it. Except now my page is taking up to much space and the user has to scroll right to see all my columns. This is because the text filter boxes are too big

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Artur W.
Congratulations! The book is great and was very helpful for us. We ported our huge ERP application from JSF to Wicket. Artur -- View this message in context: http://www.nabble.com/-announce--Wicket-in-Action-e-book-has-been-published%21-tp18971645p18976514.html Sent from the Wicket - User

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Toto Laricot
On Wed, Aug 13, 2008 at 6:13 PM, Nick Heudecker [EMAIL PROTECTED]wrote: Why did you move away from Seam? It was a project for one of our clients. They let us pick the technology. We first selected SEAM because we thought it would be easier for the client to take over the code once the app

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Nick Heudecker
All interesting points. Thanks for clarifying. On Thu, Aug 14, 2008 at 12:01 AM, Toto Laricot [EMAIL PROTECTED]wrote: On Wed, Aug 13, 2008 at 6:13 PM, Nick Heudecker [EMAIL PROTECTED] wrote: Why did you move away from Seam? It was a project for one of our clients. They let us pick the

Re: Pre render action common to all pages

2008-08-14 Thread Benny Weingarten
Some pages trigger the onBeginRequest() method in my RequestCycle around 3-4 times, others even 10 times. The number is constant for each page, i.e. for PageA, the number of calls is always 5, and for PageB the number of calls is always 8 (though, I haven't monitored the number of executions

Antwort: Re: embedding Wicket into JSP

2008-08-14 Thread Jan . Koops
Hi, If you want _one_ Wicket Application appear within a JSP based page just override getRelativePath() in WicketFilter to get the include-uri instead of the request-uri: String requestURI = (String) request.getAttribute( javax.servlet.include.request_uri); if

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Maarten Bosteels
Thanks for your work ! I really enjoyed reading the MEAP, looking forward to re-reading the dead-tree version. Maarten On Thu, Aug 14, 2008 at 9:03 AM, Nick Heudecker [EMAIL PROTECTED] wrote: All interesting points. Thanks for clarifying. On Thu, Aug 14, 2008 at 12:01 AM, Toto Laricot [EMAIL

Authentication-Example: Runtime Exception

2008-08-14 Thread Markus
Hi all, I implemented the wicket.authentication.example into my page. Now when I log in with wrong credentials, the wrong credentials are identified and all works (no login, redirect to loginpage), but if I enter the right combination (still the default wicket:wicket-combo I get this

Authentication-Example: Runtime Exception

2008-08-14 Thread vishapxtreme
Hi all, As it seems the first email dind´t make it to the list… here again: I implemented the wicket.authentication.example into my page. Now when I log in with wrong credentials, the wrong credentials are identified and all works (no login, redirect to loginpage), but if I enter the

RE: Authentication-Example: Runtime Exception

2008-08-14 Thread Markus
Solved the Problem no, better saw the Problem... The default-redirection is “not-so-good”, because of this I cannot have an constructor with (PageParameters xy) in the HomePage.class (result of getHomepage() ). Can anyone confirm or deny this behavior? That would be bad and I would

RE: Authentication-Example: Runtime Exception

2008-08-14 Thread Markus
It crashes exactly here: return (Page)constructor.newInstance(new Object[] {}); I can´t imagine why this happens? I´m using Wicket 1.3.4. Any suggestions what’s wrong? If I use HomePage.class instead of the getApplication().getHomepage() it still won’t work. If I don´t use the

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Johan Compagner
finally Eelco has now time over again for coding On Wed, Aug 13, 2008 at 11:32 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Almost 3 years of hard work, loosing friends, moving abroad, marrying lovely wives, late nights, early mornings, frustrated family, and all other bad (and good) things

Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Wayne Pope
Hey Igor, thanks very much again for your help. it is amazing how you can fully understand the wicket philosophy after only one day using it :) LOL yes, I just meant from how I had understood it - which obviously is not great at the moment. We all start from somewhere! :-) this is simply

Google friendly site remaining wickets nice stateful page contructor

2008-08-14 Thread Mathias P.W Nilsson
Hi! When building a site for a customer with wicket one of the nicest thing is that you can create a page and pass objects, Arrays etc to the page constructor. I use this on almost every page. ListItemFilter filters = new LinkedListItemFilter(); filters.add( new BrandFilter( new Brand( 12 ) )

Re: Google friendly site remaining wickets nice stateful page contructor

2008-08-14 Thread Uwe Schäfer
Mathias P.W Nilsson schrieb: My question is. How do you get around this if the customer requires the site to be google friendly and you still want to use a stateful approach? Is same problem here. we´re using hybrid and links like this: public abstract class LazyHybridPageLink extends Link {

RE: Filter Toolbar and changing size of TextFilter input box

2008-08-14 Thread Karen Schaper
Thanks. I got it working. I created my own TextFilteredPropertyColumn and my own TextFilter. The constructor takes an input box size. -Original Message- From: Kai Mütz [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 2:35 AM To: users@wicket.apache.org Subject: RE: Filter

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread greeklinux
Congratulation and thank you! I bought the book and it was very helpfull. Martijn Dashorst wrote: Almost 3 years of hard work, loosing friends, moving abroad, marrying lovely wives, late nights, early mornings, frustrated family, and all other bad (and good) things that cross one's

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Ricky
I enjoyed MEAP, and i like how slick and colorful ( ;=) ) it looks right now, i havent gone through the whole thing to know what are the major changes if any from MEAP. IMHO this is a great book, although i'd love to see a part ii (i dont know how soon that would be considering the effort it took

Re: Pre render action common to all pages

2008-08-14 Thread Igor Vaynberg
things like Image components or any other component non-page component that is served by wicket will trigger onbeginrequest... -igor On Thu, Aug 14, 2008 at 12:19 AM, Benny Weingarten [EMAIL PROTECTED] wrote: Some pages trigger the onBeginRequest() method in my RequestCycle around 3-4 times,

Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Matthijs Wensveen
Why not create a wicket components for the comment div and the makecomment link. Then in the onClick override of the makecomment link you can set the visibility of the comment component. This does require a roundtrip to the server, but is IMO more the wicket-way (tm). Matthijs Wayne Pope

Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Igor Vaynberg
On Thu, Aug 14, 2008 at 4:03 AM, Wayne Pope [EMAIL PROTECTED] wrote: Ok thanks for that. Is there anyway to 'namespace' this? . My component is displayed in 2 different areas of the same page (using different model behind), therefore I need to assign either the component id plus an index to

RE: Problem updating an image via Ajax

2008-08-14 Thread Goldstein, Jonathan A
Igor, Thanks for your reply, but I don't understand what you're suggesting. The BufferedDynamicImageResource I am creating is different from the original resource (it's a different image). What is it that I need to change to get the browser to recognize it as a difference? Jon Jonathan A.

Re: Problem updating an image via Ajax

2008-08-14 Thread Igor Vaynberg
the Image constructs a url img src=someurl/ then you update this tag via ajax, but if you do not change the value of the src attribute the browser will simply pull the image from cache nonecachingimage alters the src attribute on every render by appending random noise to it, eg img

change localized number format globally in application

2008-08-14 Thread pixologe
Hi everybody, with a german Locale the following two labels have different output new Label(label1, new Model(123456789.0)) 123.456.789 new Label(label2, new Model(123456789)) 123456789 I am not quite sure why Double and Integer are handled differently when it comes to grouping -

Re: change localized number format globally in application

2008-08-14 Thread Igor Vaynberg
you can install your converter globally by overriding application.newconverterlocator -igor On Thu, Aug 14, 2008 at 8:29 AM, pixologe [EMAIL PROTECTED] wrote: Hi everybody, with a german Locale the following two labels have different output new Label(label1, new Model(123456789.0))

how does posting a form invokes wicket servlet

2008-08-14 Thread miro
In my web.xml I mapped wicket servlet to any url with the a pattern like /secure/index.jas/*. Any wicket page I specify for as FORM wicket:id=addform the generated html for this is FORM action=?wicket:interface=:4:addform::IFormSubmitListener:: enctype=multipart/form-data method=post

Re: how does posting a form invokes wicket servlet

2008-08-14 Thread Igor Vaynberg
/secure/index.jas/?wicket:interface=:4:addform::IFormSubmitListener:: you gotta remember it is posted relative to what is currently in the browser's address bar unless it starts with a / -igor On Thu, Aug 14, 2008 at 8:53 AM, miro [EMAIL PROTECTED] wrote: In my web.xml I mapped wicket servlet

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Jonathan Locke
congratulations! this is indeed the last word on wicket. run don't walk to buy it. Martijn Dashorst wrote: Almost 3 years of hard work, loosing friends, moving abroad, marrying lovely wives, late nights, early mornings, frustrated family, and all other bad (and good) things that cross

is it ok to map all request to wicket servlet ?

2008-08-14 Thread miro
can I map all request to my server to wicket servlet ? suppose I am calling index.jsp , because all request are mapped to wicket servlet will there be any problem ? -- View this message in context:

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Eelco Hillenius
On Thu, Aug 14, 2008 at 3:47 AM, Johan Compagner [EMAIL PROTECTED] wrote: finally Eelco has now time over again for coding And now my wife is pregnant and we're buying a house that needs fixing. :-) Looks like my break will take a little longer. Eelco

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Eelco Hillenius
Thanks for your kind words everyone. Eelco On Thu, Aug 14, 2008 at 7:20 AM, greeklinux [EMAIL PROTECTED] wrote: Congratulation and thank you! I bought the book and it was very helpfull. Martijn Dashorst wrote: Almost 3 years of hard work, loosing friends, moving abroad, marrying

Re: Pre render action common to all pages

2008-08-14 Thread Jeremy Thomerson
Yes - you may want to enable the request logger in development so that it will show you exactly what each request is. For instance, if you add a CSS file, an image, etc, each of those is a separate request. Add this in your Application.init() :

Re: is it ok to map all request to wicket servlet ?

2008-08-14 Thread Igor Vaynberg
use wicketfilter, and then there wont be any problems mapping all results to the filter. -igor On Thu, Aug 14, 2008 at 9:12 AM, miro [EMAIL PROTECTED] wrote: can I map all request to my server to wicket servlet ? suppose I am calling index.jsp , because all request are mapped to wicket

Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Michel Goldstein
Hi, I have an application that generates different reports based on what the user selects. The report generation page is the same, but the reports vary. Part of the reports contain a DynamicImageResource (JFreeChart chart). Everything works great when a user is looking at a report at a time. But

Re: change localized number format globally in application

2008-08-14 Thread pixologe
igor.vaynberg wrote: you can install your converter globally by overriding application.newconverterlocator thanks for pointing me in the right direction, igor :) lazy as i am, i chose a one-line solution which is obviously not the most elegant one - however it does the job for now:

using mountBookmarkablePage

2008-08-14 Thread miro
Is it possible to map two classes with different path? for example mountBookmarkablePage(/searchPCR, SearchCarRegistration.class); mountBookmarkablePage(/companyLookUp, CompanyLookup.class); the basic prefix which wicket listens to is /secure/index.jas so I can access

Re: Looking for Editable List View

2008-08-14 Thread J.D.
A great set of Grid examples, including an editable list, is: http://wicketstuff.org/grid-examples/data-grid/editable.1 http://wicketstuff.org/grid-examples/data-grid/editable.1 The source is a little more awkward to get to than the regular Wicket examples, but its available on Sourceforge at:

Re: Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Igor Vaynberg
are all the urls really exactly the same? is your pagesettings.automaticmultiwindowsupport enabled? -igor On Thu, Aug 14, 2008 at 10:30 AM, Michel Goldstein [EMAIL PROTECTED] wrote: Hi, I have an application that generates different reports based on what the user selects. The report

Re: using mountBookmarkablePage

2008-08-14 Thread Igor Vaynberg
no it is not possible, if you specify servlet mapping as /foo/bar then it can only handle requests that are under /foo/bar. servlet container will not route /foo/zad to the servlet. -igor On Thu, Aug 14, 2008 at 10:59 AM, miro [EMAIL PROTECTED] wrote: Is it possible to map two classes with

RE: Problem updating an image via Ajax

2008-08-14 Thread Goldstein, Jonathan A
Igor, Igor, Thank you for taking the time to answer my questions. The light bulb went on. I changed my Image to a NonCachingImage and all is well. I can see the URL that wicket generates with wicket:antiCache=1218739227530 added, the random number changing each time the Model is updated.

Re: Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Michel Goldstein
Q: are all the urls really exactly the same? Yes, they are exactly the same Q: is your pagesettings.automaticmultiwindowsupport enabled? Interesting. I didn't know of such setting. But I did change it in the application, adding: getPageSettings().setAutomaticMultiWindowSupport(true); but I'm

Re: using mountBookmarkablePage

2008-08-14 Thread miro
igor.vaynberg wrote: no it is not possible, if you specify servlet mapping as /foo/bar then it can only handle requests that are under /foo/bar. servlet container will not route /foo/zad to the servlet. -igor On Thu, Aug 14, 2008 at 10:59 AM, miro [EMAIL PROTECTED] wrote: Is it

Re: using mountBookmarkablePage

2008-08-14 Thread James Carman
You can specify the home page by going to http://foo/ Alternately, you can bookmark the home page and give it a different URL. On Thu, Aug 14, 2008 at 3:19 PM, miro [EMAIL PROTECTED] wrote: igor.vaynberg wrote: no it is not possible, if you specify servlet mapping as /foo/bar then it can

form wicket:id=movementAuthorizerForm getting replaced by form action=../../?wicket:interface=:3:.......

2008-08-14 Thread miro
I am using this prefix /secure/index.jas/ to mount my pages . mountBookmarkablePage(/secure/index.jas/create,foo.class); mountBookmarkablePage(/secure/index.jas/view,foo1.class); both of these classes have form. so the html i am using form wicket:id=movementAuthorizerForm and this is the

Re: form wicket:id=movementAuthorizerForm getting replaced by form action=../../?wicket:interface=:3:.......

2008-08-14 Thread Jeremy Thomerson
So, your web.xml must be mounting your application on /pcr/* right? This is standard behavior for Wicket - it generates form post URLs to the root of the application generally, although if I recall correctly, there are some optional url strategies that might change that. Perhaps hybrid? I can't

Re: form wicket:id=movementAuthorizerForm getting replaced by form action=../../?wicket:interface=:3:.......

2008-08-14 Thread miro
Jeremy Thomerson-5 wrote: So, your web.xml must be mounting your application on /pcr/* right? This is standard behavior for Wicket - it generates form post URLs to the root of the application generally, although if I recall correctly, there are some optional url strategies that might

Re: form wicket:id=movementAuthorizerForm getting replaced by form action=../../?wicket:interface=:3:.......

2008-08-14 Thread Jeremy Thomerson
Can you paste in your web.xml? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Aug 14, 2008 at 2:45 PM, miro [EMAIL PROTECTED] wrote: Jeremy Thomerson-5 wrote: So, your web.xml must be mounting your application on /pcr/* right? This is standard behavior for Wicket - it

Re: form wicket:id=movementAuthorizerForm getting replaced by form action=../../?wicket:interface=:3:.......

2008-08-14 Thread miro
Jeremy Thomerson-5 wrote: Can you paste in your web.xml? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Aug 14, 2008 at 2:45 PM, miro [EMAIL PROTECTED] wrote: Jeremy Thomerson-5 wrote: So, your web.xml must be mounting your application on /pcr/* right?

Re: form wicket:id=movementAuthorizerForm getting replaced by form action=../../?wicket:interface=:3:.......

2008-08-14 Thread miro
any hints , how to resolve ? please . miro wrote: Jeremy Thomerson-5 wrote: Can you paste in your web.xml? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Aug 14, 2008 at 2:45 PM, miro [EMAIL PROTECTED] wrote: Jeremy Thomerson-5 wrote: So, your web.xml

Re: Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Michel Goldstein
I read a different thread that is going on right now about preventing image caching by using a NonCachingImage instead Image and seeing that it adds a random reference to the image, I thought it might help on my problem too. And, as far as I can tell, it actually did solve my problem too. Should

Re: change localized number format globally in application

2008-08-14 Thread Matthew Young
I am not quite sure why Double and Integer are handled differently when it comes to grouping in AbstractIntegerConverter, NumberFormat is initialized with this: numberFormat.setGroupingUsed(false); I asked long time ago while different policy for integer and float and the answer was for

Form validation

2008-08-14 Thread venky221
Hi All, Can we use any client side validation of forms in wicket. I searched the archive and at some point Igor said we can't. Another question is, can we plug-in Commons Validator into wicket instead of using wicket's validation, if so some pointers please. Thanks, Venky -- View this message

Re: Form validation

2008-08-14 Thread Igor Vaynberg
On Thu, Aug 14, 2008 at 1:43 PM, venky221 [EMAIL PROTECTED] wrote: Hi All, Can we use any client side validation of forms in wicket. I searched the archive and at some point Igor said we can't. i didnt say you cant, i said we dont have anything out of the box. doesnt mean you cannot roll

Re: [announce] Wicket in Action e-book has been published!

2008-08-14 Thread Johan Compagner
ahh so not a weekend coding around 1st of sep. but house improvement! i will bring my tools On Thu, Aug 14, 2008 at 6:15 PM, Eelco Hillenius [EMAIL PROTECTED]wrote: On Thu, Aug 14, 2008 at 3:47 AM, Johan Compagner [EMAIL PROTECTED] wrote: finally Eelco has now time over again for coding

url controlling

2008-08-14 Thread miro
my application is showing with different urls for the same page , how can I control this ? the method setResponsepage(foo.class) sometimes this is the mout url sometimes it is http://localhost/pcr/?wicket:interface=:2 and some times it is package.classname , please help me what I need

Re: url controlling

2008-08-14 Thread miro
I have that in my application.init() method Ryan Gravener-3 wrote: in your Application.init() do mountBookmarkablePage(/foo, foo.class); On Thu, Aug 14, 2008 at 5:33 PM, miro [EMAIL PROTECTED] wrote: my application is showing with different urls for the same page , how can I

Re: url controlling

2008-08-14 Thread Jeremy Thomerson
You're probably getting the wicket:interface URL somewhere such as form processing, etc. Try setting setRedirect(true) like in this example below: new FormVoid(form) { private static final long serialVersionUID = 1L; @Override protected void

Re: Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Michel Goldstein
Spoke too soon... Unfortunately the problem still seems to be there even after I've added the NonCachingImage. This furthers the confirmation that it's not browser caching issue, but a resource sharing problem. Any ideas would be greatly appreciated. Thanks, Michel On Thu, Aug 14, 2008 at 1:18

Re: Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Timo Rantalaiho
On Thu, 14 Aug 2008, Michel Goldstein wrote: Spoke too soon... Unfortunately the problem still seems to be there even after I've added the NonCachingImage. This furthers the confirmation that it's not browser caching issue, but a resource sharing problem. From where does the image data come

Re: Is DynamicImageResource safe for multiple windows?

2008-08-14 Thread Michel Goldstein
As I mentioned, I basically used what was in the twiki about JFreeChart integration. I'll build a simple example of the problem and send it out sometime tomorrow (USA Pacific time). Thanks, Michel On Thu, Aug 14, 2008 at 7:59 PM, Timo Rantalaiho [EMAIL PROTECTED]wrote: On Thu, 14 Aug 2008,