Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Juergen Donnerstag
I extened BoxBorderTestPage_7 to click the link and to validate the output of the second render as well. The problem should be fixed. Juergen On 10/7/06, Alberto Bueno [EMAIL PROTECTED] wrote: Hi Juergen Donnerstag, The example BoxBorderTestPage_7 runs correctly because you only render the

[Wicket-user] MockWebApplication and custom web.app. init

2006-10-09 Thread Jan Willem Janssen
Hi, For our Wicket app., we have some initialisation code in our WebApp class. When writing JUnits, Wicket cannot use the same initialisation code, since MockWebApplication (and WicketTester) directly inherits from WebApplication. What we could do, is create custom a WicketTester and

[Wicket-user] Help

2006-10-09 Thread ketan gote
hello freinds we are implementingGIS and GPS project , is it possible in wicket . if yes ? then why wicket is not providing any related stuff or example related to it watind for rep - Take Surveys. Earn Cash. Influence the

Re: [Wicket-user] Help

2006-10-09 Thread Juergen Donnerstag
Please search the mailing list. I remember I've seen users talking about it and referring to GIS/GPS apps developed with Wicket. We are more than happy to add a GIS/GPS apps to our example if someone provides the code. Juergen On 10/9/06, ketan gote [EMAIL PROTECTED] wrote: hello freinds we

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Alberto Bueno
Hi Juergen Donnerstag Thanks for you patience. ;) The problem has been fixed with the changes that we have added to the trunk. Now I have another question. In the example BoxBorderTextPage_7 we add a TextField in the FormBorder. After that, If I want to find this component into the FormBorder

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Juergen Donnerstag
Because FormBorder puts a form _around_ the wicket:body tag, the name component gets added to the body container. The body container id is border.getId() + Body. Hence get(border.form.borderBody.name) or border.getBodyContainer().get(name) or formBorder.get(borderBody.name) Juergen On 10/9/06,

Re: [Wicket-user] wrap standard components

2006-10-09 Thread karthik Guru
Personally, I think this - wicket.markup.html.form.validation.FormComponentFeedbackBorder is nice. So now you just need a panel with your standard form component and this border attached. You can ofcourse build your own Border using FormComponentFeedbackBorder as a starting point.

[Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Jan Willem Janssen
Hi, The login-example uses RestartResponseAtInterceptPageException to forward a user to the login page when he's not authorized. What is the difference with throwing an RestartResponseAtInterceptPageException instead of a RestartResponseException exception? The latter appears to give the same

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Alberto Bueno
Yes, now the ways to find the child into the border are the ways that you say, but I think that the way would have to be transparent, like when we add a new child: TextField textfield = new TextFieldString(formBorder, name, new PropertyModelString( properties, name)); In that

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Eelco Hillenius
The difference is that RestartResponseAtInterceptPageException records the current request first, which then later - after logging in - could be redirected to again. if (!continueToOriginalDestination()) { setResponsePage(getApplication().getHomePage()); } Eelco On

Re: [Wicket-user] MockWebApplication and custom web.app. init

2006-10-09 Thread Johan Compagner
also to keep in sync you could make a delegate, some static initialization method which will be called by both.johanOn 10/9/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: This is a known issue. For now you have to copy the init code.MockWebApplication and WicketTester must be re-structured to

Re: [Wicket-user] wrap standard components

2006-10-09 Thread karthik Guru
ok real quick - I did something like this when I was exploring the *then* newly added wicket.markup.transformer.ITransformer. But I'm not sure if this is what you are looking for.import wicket.markup.html.form.TextField ;import wicket.markup.transformer.AbstractTransformerBehavior;import

Re: [Wicket-user] wrap standard components

2006-10-09 Thread Bondarenko, Oleg
Year, thanks, but... What I really want is to combine the border AND the component (like TextField) into my own custom component! This way I would considerably reduce the amount of HTML and Java code. Isn't it supposed to be the main advantage of Wicket - the ability to easily create own

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Juergen Donnerstag
On 10/9/06, Alberto Bueno [EMAIL PROTECTED] wrote: Yes, now the ways to find the child into the border are the ways that you say, but I think that the way would have to be transparent, like when we add a new child: TextField textfield = new TextFieldString(formBorder, name, new

[Wicket-user] onSubmit not called in a form

2006-10-09 Thread Pierre-Yves Saumont
Hi, I have a form and on a page and I believe a click on the submit button should cause a call to the onSubmit method. (No onSubmit in the button, all default settings). By default, I suppose after the call to onSubmit Wicket should redisplay the same page. Instead of this, onSubmit is not

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Gwyn Evans
On a related note, can anyone suggest a good way of adding a way of changing the 'destination' page as part of the logging in? The scenario is that after authenticating the user, I may to redirect them to a 'ChangePassword' page. Is there a better answer than a RestartResponseException in my

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Igor Vaynberg
we can add border.getBodyContainer() to make it easier to find the body container.a couple of notes on wicket 2.0 in general.because of constructor change and the need for IAlternateParentProvider you can no longer assume that Container c=new Container(...);Label l=new

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Gwyn Evans
On 09/10/06, Gwyn Evans [EMAIL PROTECTED] wrote: On a related note, can anyone suggest a good way of adding a way of changing the 'destination' page as part of the logging in? The scenario is that after authenticating the user, I may to redirect them to a 'ChangePassword' page. Is there a

[Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Philip A. Chapman
Everyone, I have several intranet sites that I am working on. All of them should have the same basic look, but will have different top menus (for navigation). Toward this end, I have created a library (jar) that will contain the base page, its markup, and the css and images needed for the look

Re: [Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Igor Vaynberg
i would create different markup files of the base page for each skin and use setvariation() to select which one is loaded. that way no need to create all those image components.-Igor On 10/9/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Everyone,I have several intranet sites that I am working

Re: [Wicket-user] onSubmit not called in a form

2006-10-09 Thread Gwyn Evans
Well, it's a bit tricky without seeing code! Maybe take a look at http://www.wicket-library.com/wicket-examples/compref?wicket:bookmarkablePage=:wicket.examples.compref.FormPage and compare? /Gwyn On 09/10/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: Hi, I have a form and on a page and I

Re: [Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Matej Knopp
Why don't put the images next to css files and have them attached to page using css? (background-image can do lot of nice things). This way you don't have to care about image resources at all. -Matej Philip A. Chapman wrote: Everyone, I have several intranet sites that I am working on.

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Johan Compagner
So before the user is logs in?so in the end you have 2 login pages?Or after the users logs in, so 2 different directions when the login succeeds?johanOn 10/9/06, Gwyn Evans [EMAIL PROTECTED] wrote: On a related note, can anyone suggest a good way of adding a way ofchanging the 'destination' page

Re: [Wicket-user] Help

2006-10-09 Thread Gwyn Evans
See http://www.nabble.com/Wicket-%2B-GIS-tf2072089.html#a5704559 On 09/10/06, ketan gote [EMAIL PROTECTED] wrote: hello freinds we are implementingGIS and GPS project , is it possible in wicket . if yes ? then why wicket is not providing any related stuff or example related to it

Re: [Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Philip A. Chapman
Igor, Thanks for the reply, but I do not understand. I really shouldn't have said skinning in my title, because all pages will only have one look. It's using that one look through several different web applications by packaging the look in a jar that I'm trying to accomplish. I looked at

Re: [Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Philip A. Chapman
Now that's a great idea, but how would that look having them all served up out of the jar? I'm assuming I just use relative links in the css? What I have is something like this: theme.jar | com | foo |_foo.BasePage.class |_theme.css |_image1.gif |_image2.giff |_... theme.css is

Re: [Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Matej Knopp
Hi. Of course it works like that. Images are relative to css. So they just need to be placed alongside the stylesheet, just like you presented. The new wicket tree works like that, as well as the modal dialog. -Matej Philip A. Chapman wrote: Now that's a great idea, but how would that look

Re: [Wicket-user] Best way to use of packaged resources for skinning

2006-10-09 Thread Philip A. Chapman
That's fantastic. Thanks, Matej. I knew I was trying to make it too complex. :-) On Mon, 2006-10-09 at 18:12 +0200, Matej Knopp wrote: Hi. Of course it works like that. Images are relative to css. So they just need to be placed alongside the stylesheet, just like you presented. The new

Re: [Wicket-user] navigation inside a tabbed panel

2006-10-09 Thread Igor Vaynberg
yes, have everything be a panel. there is absolutely nothing wrong with that. wicket makes very little distinction between a page and a panel - a page is just a top level container.if you create a basepage or something similar you will lose previous state - like selected tab, etc. it is simly much

Re: [Wicket-user] proof of concept app

2006-10-09 Thread Nino Wael
Looks nice(just skimping the code through without running it though), however I can see that you have extended the session, do you really have a need to store the cart in session context? Why not just create it on PosPage? -regards Nino -Original Message- From: [EMAIL PROTECTED]

Re: [Wicket-user] cross compilation to 1.4 target is OK

2006-10-09 Thread Geoff hendrey
You're right. I made the poor assumption that the 1.5 compiler was smarter than that. (I thought I tested it, but turns out I had forgotten to do a clean first, so I wasn't compiling the classes I thought I was). ho hum, I'll change the source. -geoff

Re: [Wicket-user] onSubmit not called in a form

2006-10-09 Thread Nino Wael
Sounds strange, could you poste the source? AFAIK, two things should happen either you would get what you wanted or you should get an error. Although this migth be changed if you had special error handling that redirects the user to the home page. -Original Message- From: [EMAIL

Re: [Wicket-user] proof of concept app

2006-10-09 Thread Eelco Hillenius
If you're main domain is a store, and a cart is information you want to keep throughout, it does make sense to put it in a session, so that you don't have to pass it around your pages and panels all the time. Eelco On 10/9/06, Nino Wael [EMAIL PROTECTED] wrote: Looks nice(just skimping the code

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Gwyn Evans
After the login's how I was hoping to go... Currently checking the (session) stored user details in the BasePage. /Gwyn On 09/10/06, Johan Compagner [EMAIL PROTECTED] wrote: So before the user is logs in? so in the end you have 2 login pages? Or after the users logs in, so 2 different

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Juergen Donnerstag
getBodyContainer() already exists Juergen On 10/9/06, Igor Vaynberg [EMAIL PROTECTED] wrote: we can add border.getBodyContainer() to make it easier to find the body container. a couple of notes on wicket 2.0 in general. because of constructor change and the need for

Re: [Wicket-user] proof of concept app

2006-10-09 Thread Nino Wael
Why? Keeping the cart within constructors are kinda more POJO i think. What I am working on now, we have a reportmodel and almost all our pages has a constructor that requires our reportmodel, so we dont need to be aware of session. I feel that the application becomes more simple that way,

Re: [Wicket-user] proof of concept app

2006-10-09 Thread Scott Swank
This gives us one (and only one) cart per session -- which meets our business requirements. And we rather like the idea of not having to pass it from here to there as the user navigates about. Anyone who needs the cart knows where to look for it -- to my way of thinking this also eliminates

Re: [Wicket-user] ajax refresh on date picker

2006-10-09 Thread Matej Knopp
Well, the modification basically restored the behavior from before the speed optimization was done. It shouldn't really change anything, definitely not cause null instead of AjaxRequest (which probably means that you're using fallback links and for some reason they are not fired using Ajax).

Re: [Wicket-user] navigation inside a tabbed panel

2006-10-09 Thread Jaime De La Jara
So, if I use the Panels approach I'd need just one page and the navigation inside a tab would be using the replace method of MarkupContainer right?, and in this case how could I manage state in each tab?One thing of TabbedPanel implmentation I don't understand is why tabs are added first to a list

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-09 Thread Alberto Bueno
Yes, this method can be used, but imagine that I create my own FormBorder, that other people will use to create different forms. These developers can add content to this FormBorder, and they will add this content in the FormBorder component. Border formBorder = new FormBorder(this, border);

Re: [Wicket-user] proof of concept app

2006-10-09 Thread Igor Vaynberg
the question is one of lifecycle. does your reportmodel need to live as long as the user's session? if not then you dont need to put it into session.a shopping cart usually spans the session - so it makes complete sense to put it there. -IgorOn 10/9/06, Nino Wael [EMAIL PROTECTED] wrote:

Re: [Wicket-user] navigation inside a tabbed panel

2006-10-09 Thread Igor Vaynberg
ITab is a factory for tab panels - it is there as a level of indirection so you dont have to create/populate panels for each tab until the user selects the tab.there is nothing special you need for state management - wicket takes care of it for you. to keep the state of previous tabs instead of

Re: [Wicket-user] Indicator at DropDownChoice

2006-10-09 Thread Igor Vaynberg
it doesnt work because of this:protected boolean wantOnSelectionChangedNotifications() { return true; } this makes the onchange a non-ajax refresh, so the indicator is not invoked.-IgorOn 10/5/06, Konstantinos Lazouras [EMAIL PROTECTED] wrote: Hi,I use two linked DropDownChoice components,

Re: [Wicket-user] [ANN] Intellij Idea wicket plugin

2006-10-09 Thread ali
also see thread of JavaOne, Wicket, NetBeans - 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

[Wicket-user] Properties string with parameter

2006-10-09 Thread craigdd
I have a form object that onSubmit will catch an exception and call the error method on the form object. The key to this error has parameters in it for example here is the string in the .properties for the page that has the form. mykey=This is a string with value {0}. My question is how do I

[Wicket-user] Wicket Life Cycle

2006-10-09 Thread craigdd
Does anyone have any good documentation of the life cyle for wicket? -- View this message in context: http://www.nabble.com/Wicket-Life-Cycle-tf2413625.html#a6728006 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [Wicket-user] Properties string with parameter

2006-10-09 Thread Igor Vaynberg
the imodel returns a substition mapwicket doesnt use index parameters, but named ones with the same format as in elso mykey=This is a string value ${myvar}and in your map have myvar-whatever wicket has great validator support that makes it easy to validate common usecases so you might want to look

Re: [Wicket-user] RestartResponseAtInterceptPageException vs RestartResponseException

2006-10-09 Thread Johan Compagner
if it is after login. Can't you handle it then in the login.onSubmit code?johan\On 10/9/06, Gwyn Evans [EMAIL PROTECTED] wrote:After the login's how I was hoping to go...Currently checking the (session) stored user details in the BasePage./GwynOn 09/10/06, Johan Compagner [EMAIL PROTECTED] wrote:

[Wicket-user] Unicode Display

2006-10-09 Thread gangadhar . vibhute
Hi All Our company develope web application using wicket framework. This application display unicode values using Strings class provided by wicket. It is working fine with AIX Unix + Oracle Database + Tomcat5.x. But same application deployed on AIX Unix + Oracle Databse + Oracle Application

Re: [Wicket-user] [ wicket-Bugs-1555039 ] Infinite loop on internal parsing error with error page

2006-10-09 Thread Ingram Chen
I cound not attach file to sourceforge, here is quickstart to reproduce this bugjust configure(DEPLOYMENT); and walk with some wrong url...-ivaynberg:because i wasnt able to reproduce it. if you would provide a quickstart with instructions on how to enter the inifiniteloop i would be happy

Re: [Wicket-user] Unicode Display

2006-10-09 Thread Johan Compagner
The default setting in wicket is that everything is UTF-8In tomcat you need a special connector attribute param set to also use utf-8But you say that under tomcat 5 it works fine.And then you change to oracle app server and it doesn't work anymore So only 1 variable changes.. and it doesn't work

Re: [Wicket-user] [ wicket-Bugs-1555039 ] Infinite loop on internal parsing error with error page

2006-10-09 Thread Johan Compagner
fixed.On 10/10/06, Ingram Chen [EMAIL PROTECTED] wrote: I cound not attach file to sourceforge, here is quickstart to reproduce this bugjust configure(DEPLOYMENT); and walk with some wrong url...-ivaynberg:because i wasnt able to reproduce it. if you would provide a quickstart with