RequestUtils.toAbsolutePath() bug ?

2008-03-11 Thread smallufo
It seems RequestUtils.toAbsolutePath() has a bug regarding to UTF-8 encoded page parameter : I have a bookmarkable page , which takes a UTF-8 encoded parameter place : private PageParameters pps; pps.put(place, URLEncoder.encode(place , UTF-8)); In this Page , I have a TextField that prints

Panels

2008-03-11 Thread vsubedar
Hello , I have a GlobalPage which has a tree. Tree is on left hand side of a frame.And On click of the nodes in the tree it renders ListingScreen which are panels on right hand side of screen. User can edit the records by clicking on the listing screen, which takes them to

Re: cd app example

2008-03-11 Thread Maurice Marrink
Ok, thanks for the info. Eelco congratulations to you and your wife. Now get back to your honeymoon ;) Maurice On Tue, Mar 11, 2008 at 5:08 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, it was discontinued after a bunch of discussions about choices made in the supporting libs

Re: Default Focus Behavior?

2008-03-11 Thread Martijn Dashorst
We have this discussion with each major release of Wicket, and each time there are 100 ways to skin the cat. We want not only to minimize the surface area, but also the number of requests to alter the behavior of existing functionality. If we implement method X, then sure enough someone comes

Multipart-form with nested ajaxform throws exception in 1.3.1

2008-03-11 Thread Michael Sparer
I have a multipart-enabled form, inside this form there is a nested form with ajaxsubmitbehavior. to submit the nested form I'm using an AjaxButton (as the normal button doesn't submit the form via ajax - contrary to its behaviour if not used as nested form) all releases including 1.3.0

Re: Strange thing in Application constructor

2008-03-11 Thread Maurice Marrink
I've tried setting statelessHint to true in my login page's constructor (and in the same constructor printing out the result of isStateless(), seeing that it returns true), but still I can see my app's session object created and stored in HttpSession (I've tried also with a completely

Re: Strange thing in Application constructor

2008-03-11 Thread Roberto Fasciolo
I finally found some time for getting back to this... The tests are modeled on real user behaviours, so they are not invalidating the session because the user has never logged in (we have failing test scenarios for login, registration, forget password and so on). I've tried setting

Re: styling thead in DataTable

2008-03-11 Thread Eyal Golan
Thanks Christian, As Igor suggested, I did use a CSS (at the beginning I didn't find the style attribute I needed). I'll keep in mind the onComponentTag() as well. As I mentioned before, my problem was solved, but when I have time, I'll try to find the thead of a DataTable issue. Thanks guys On

Re: Global Exception Handling...

2008-03-11 Thread James Carman
On 3/11/08, Igor Vaynberg [EMAIL PROTECTED] wrote: The request cycle is easy enough to access anywhere, RequestCycle.get() right? im not a big fan of using threadlocals everywhere personally...we guarantee certain ones, but they make unit testing, etc, a pita. i would prefer passing

How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Hi again folks! Thanks for replying me to my first question, it wordked! If you don't remember, I asked about how to show feedback messages associated only with a field, so I can show a message next to a input field. The next step is that I'm trying to change the default behaviour in order to

SSL

2008-03-11 Thread Tormod Øverlier
I'm trying to use SSL on certain pages in my application by using the description for Wicket 1.3 in the wiki. However, when I access a page with SSL, I'm always redirected to the start page. I see that the respond-method in my WebRequestCycleProcessor is called 3 times. The first time, it calls

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Martijn Dashorst [EMAIL PROTECTED] wrote: We have this discussion with each major release of Wicket, and each time there are 100 ways to skin the cat. We want not only to minimize the surface area, but also the number of requests to alter the behavior of existing functionality.

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Vit Rozkovec
Hallo, apparently you want to have a look at setEscapeModelStrings() and setRenderBodyOnly() methods of the Label. Vitek Alonso Sanchez, Daniel wrote: Hi again folks! Thanks for replying me to my first question, it wordked! If you don't remember, I asked about how to show feedback messages

Re: Default Focus Behavior?

2008-03-11 Thread Martijn Dashorst
I suggest wiki. Thanks, Martijn On 3/11/08, James Carman [EMAIL PROTECTED] wrote: On 3/11/08, Martijn Dashorst [EMAIL PROTECTED] wrote: We have this discussion with each major release of Wicket, and each time there are 100 ways to skin the cat. We want not only to minimize the

Re: FeedbackMessages per field

2008-03-11 Thread Daniel Alonso
Thank you so mucho for your help. It works very well :D -- View this message in context: http://www.nabble.com/FeedbackMessages-per-field-tp15950642p15975736.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Global Exception Handling...

2008-03-11 Thread James Carman
On 3/11/08, James Carman [EMAIL PROTECTED] wrote: The change I was suggesting wouldn't break any existing code (unless someone implemented IRequestCycleSettings). The signature of RequestCycle.onRuntimeException() wouldn't change: public Page onRuntimeException( Page page,

Addin javascript directly inside the body tag

2008-03-11 Thread Filip Pas
Hi, I'm faced with the following problem. I have an base page in which I use to set the domain and to set the title information. I also use the modal window to display the pages in. Now the problem is that the title of the modalwindow doesn't correspond to the title of the page. In the

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Hi again! Firstly, thanks a lot Vitek for your help. I have been testing a couple of things related with your response, and only the setEscapeModelStrings has solve a part of the solution. Through Google I have seen a solution for extend ComponentFeedbackPanel and write my own html code, but it

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Martijn Dashorst [EMAIL PROTECTED] wrote: I suggest wiki. Done: http://cwiki.apache.org/confluence/display/WICKET/Request+Focus+on+a+Specific+Form+Component I'm happy now. My work (no matter how trivial) may help someone someday! :) I don't have time to do so now, but I might

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
My goal is to show an image icon next to each erroneous input field :D see FormComponentFeedbackBorder or FormComponentFeedbackIndicator Gerolf

Re: Default Focus Behavior?

2008-03-11 Thread Martijn Dashorst
Another option would be (if there is enough interest) to add it to wicketstuff minis. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.1 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
The things is that if there is an error, a red * is showed, not the image file I want... what things am I doing wrong? subclass FormComponentFeedbackIndicator and provide your own markup: MyFCFI.java: class MyFCFI extends FormComponentFeedbackIndicator { ... } MyFcFI.html: wicket:panelimg

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Fantastic! Sorry for disturbing :P Thanks again -Mensaje original- De: Gerolf Seitz [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 de marzo de 2008 12:39 Para: users@wicket.apache.org Asunto: Re: How can i Customize the style of Feedback Messages ? The things is that if there is an

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
you're welcome. Gerolf On Tue, Mar 11, 2008 at 12:44 PM, Alonso Sanchez, Daniel [EMAIL PROTECTED] wrote: Fantastic! Sorry for disturbing :P Thanks again -Mensaje original- De: Gerolf Seitz [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 de marzo de 2008 12:39 Para:

Re: Strange thing in Application constructor

2008-03-11 Thread Johan Compagner
because maurice has a patch! On Tue, Mar 11, 2008 at 11:02 AM, Maurice Marrink [EMAIL PROTECTED] wrote: I've tried setting statelessHint to true in my login page's constructor (and in the same constructor printing out the result of isStateless(), seeing that it returns true), but

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
i still think that behaviors to control focus is a bit wrong focus should have 1 entry point and i guess that is WebPage.focusComponent() or maybe Form (but you could have 2) By the way we have focus support in ajax mode... see AjaxRequestTarget johan On Tue, Mar 11, 2008 at 12:41 PM, James

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Thanks a lot Gerolf. Great suggestions. I have been looking some docs, and nabble forum... but (again) I've got a problem. Finally my webpage class looks like this (just the important part :D ): TextField sfid = new TextField(sfid); sfid.setRequired(true);

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Martijn Dashorst [EMAIL PROTECTED] wrote: Another option would be (if there is enough interest) to add it to wicketstuff minis. Yeah, I thought about that. And, I may try to put that in there. Perhaps there could be a few focus behaviors in there? Perhaps even a FocusBehaviors

IntelliJ WicketForge issue: NPE when trying to use New Wicket Page to create both Java and markup

2008-03-11 Thread Kevin Murphy
This is not a high-priority issue, but it seems that it should be pretty trivial for the maintainer to fix. What steps will reproduce the problem? 1. Add New Wicket Page to Project View Popup Menu via Customizations 2. Right-click on a folder containing Wicket source files, and choose New/New

Re: Default Focus Behavior?

2008-03-11 Thread Sebastiaan van Erk
Sebastiaan van Erk wrote: Johan Compagner wrote: i still think that behaviors to control focus is a bit wrong focus should have 1 entry point I agree. and i guess that is WebPage.focusComponent() I agree on that one too. or maybe Form (but you could have 2) Exactly, so not a good

Re: Default Focus Behavior?

2008-03-11 Thread Sebastiaan van Erk
Johan Compagner wrote: i still think that behaviors to control focus is a bit wrong focus should have 1 entry point I agree. and i guess that is WebPage.focusComponent() I agree on that one too. or maybe Form (but you could have 2) Exactly, so not a good idea. The page should determine

Re: RequestUtils.toAbsolutePath() bug ?

2008-03-11 Thread Martijn Dashorst
Add a jira issue please. Martijn On 3/11/08, smallufo [EMAIL PROTECTED] wrote: It seems RequestUtils.toAbsolutePath() has a bug regarding to UTF-8 encoded page parameter : I have a bookmarkable page , which takes a UTF-8 encoded parameter place : private PageParameters pps;

Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Hi! I have IndicatingAjaxButton that overloads the onSubmit. When user clicks everything works great but I need to disable the button immediately after the user has click the button so that it can't happen twice. I've tried with this.setEnabled(false); target.addComponent(this); in the onSubmit

Re: AjaxFallbackDefaultDataTable and DropDownChoice

2008-03-11 Thread jnorris
Thanks Martijn! Adding the ddc to a panel worked. Jim Martijn Dashorst wrote: Instead of directly adding the DDC to the column, add a panel or fragment containing the DDC. Martijn On 3/10/08, jnorris [EMAIL PROTECTED] wrote: Hi All, I have implemented an

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
override getAjaxCallDecorator (or something like this) and return a new IAjaxCallDecorator which appends javascript like this.disabled=true in decorateScript() and maybe activates the button with js returned in decorateSuccessScript() and/or decorateFailureScript. Gerolf On Tue, Mar 11, 2008

Re: Double submit problem

2008-03-11 Thread hillj2
That would require me to either implement markup inheritance or to place the hidden field in the markup of all my extended forms, wouldn't it? I was hoping to make all my form instances as ignorant of the base class as possible, but I guess if I have to implement one of these solutions, it's

Re: IntelliJ WicketForge issue: NPE when trying to use New Wicket Page to create both Java and markup

2008-03-11 Thread Nick Heudecker
I'll dig into it today. Thanks for the report. On Tue, Mar 11, 2008 at 6:40 AM, Kevin Murphy [EMAIL PROTECTED] wrote: This is not a high-priority issue, but it seems that it should be pretty trivial for the maintainer to fix. What steps will reproduce the problem? 1. Add New Wicket Page

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote: i still think that behaviors to control focus is a bit wrong focus should have 1 entry point and i guess that is WebPage.focusComponent() or maybe Form (but you could have 2) By the way we have focus support in ajax mode... see

RE: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Alonso Sanchez, Daniel
Sorry again... just only one thing more (I promise this is the last). Taking your advice as starting point... is there any way to add the feedback message produced by the error to the image alt attribute? Thanks again for all your help. -Mensaje original- De: Alonso Sanchez, Daniel

Re: Double submit problem

2008-03-11 Thread richardwilko
Inside your onSubmit method do this if(!submitted) { //normal submit code submitted = true; } and have boolean submitted = false; in your class that way no matter how many times someone clicks submit the submit code should only run once Thats one way anyway hillj2 wrote: That would

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
you do WebPage.focusComponent(textField) johan On Tue, Mar 11, 2008 at 2:30 PM, James Carman [EMAIL PROTECTED] wrote: On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote: i still think that behaviors to control focus is a bit wrong focus should have 1 entry point and i guess that is

Re: SSL

2008-03-11 Thread Johan Compagner
wicket doesn't redirect to a full url wicket only uses relative onces so if you type https://server/ then that first part https://server will not be changed by wicket On Tue, Mar 11, 2008 at 10:15 AM, Tormod Øverlier [EMAIL PROTECTED] wrote: I'm trying to use SSL on certain pages in my

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote: you do WebPage.focusComponent(textField) I mean, in what class? Your page class? In a component class? I'm just trying to understand what the difference is between doing WebPage.focusComponent(textField) or textField.add(new

Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
I am having a tough time understanding how sessions are created/managed specifically related to the calls public RequestCycle newRequestCycle(Request request, Response response) and public Session newSession(Request request, Response response) I am creating a new session by overriding the

Re: RequestUtils.toAbsolutePath() bug ?

2008-03-11 Thread smallufo
Thank you. I've create an issue WICKET-1413 https://issues.apache.org/jira/browse/WICKET-1413 在 2008/3/11,Martijn Dashorst [EMAIL PROTECTED] 撰寫: Add a jira issue please. Martijn On 3/11/08, smallufo [EMAIL PROTECTED] wrote: It seems RequestUtils.toAbsolutePath() has a bug regarding to

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
MyPage() { textField1.add(new FocuOnLoadBehavior()); textField2.add(new FocuOnLoadBehavior()); textField3.add(new FocuOnLoadBehavior()); } which fields gets the focus? On Tue, Mar 11, 2008 at 2:49 PM, James Carman [EMAIL PROTECTED] wrote: On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote:

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
and a behavior is really the wrong thing Because who says if you render the page again that it has to again set the focus on that one? MyPage() { textField1.add(new FocuOnLoadBehavior()); textField2.add(new FocuOnLoadBehavior()); textField3.add(new FocuOnLoadBehavior()); Form form = new

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
that still wouldn't help adding 3 of them at once On Tue, Mar 11, 2008 at 3:17 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: the behavior would have to be temporary. On Tue, Mar 11, 2008 at 3:14 PM, Johan Compagner [EMAIL PROTECTED] wrote: and a behavior is really the wrong thing Because

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Gerolf Seitz [EMAIL PROTECTED] wrote: the behavior would have to be temporary. Yes, the behaviors stay with the component. I guess that would screw this up! :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote: that still wouldn't help adding 3 of them at once Well, adding three of them like this would just be stupid. :) It wouldn't really break anything. The last one that gets rendered would probably get the focus, since it would be the last one

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
yes so it is not the last one you ask to have focus on Very confusing for an average user thats why there should be a single point just like AjaxRequestTarget.focusComponent() works. johan On Tue, Mar 11, 2008 at 3:24 PM, James Carman [EMAIL PROTECTED] wrote: On 3/11/08, Johan Compagner

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
the behavior would have to be temporary. On Tue, Mar 11, 2008 at 3:14 PM, Johan Compagner [EMAIL PROTECTED] wrote: and a behavior is really the wrong thing Because who says if you render the page again that it has to again set the focus on that one? MyPage() { textField1.add(new

Re: Explanation of Wicket session management

2008-03-11 Thread Martijn Dashorst
Did you read the javadoc for Session#exists() ? http://wicket.sourceforge.net/apidocs/wicket/Session.html#exists() Checks if the Session threadlocal is set in this thread So not if the session was created or not. Martijn On 3/11/08, Rajiv Jivan [EMAIL PROTECTED] wrote: I am having a tough

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote: yes so it is not the last one you ask to have focus on Very confusing for an average user thats why there should be a single point just like AjaxRequestTarget.focusComponent() works. Ok, you've sold me. So, is this something that

Re: Get libs without installing Maven?

2008-03-11 Thread bob2
After reading this and other similar posts I'm still confused about how to determine what exactly I need. I am a new user and do not easily have access to the internet. I do not have/use Maven. The jars listed below came with the wicket 1.3.1 download in the lib dir. I thought I'd be set from

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error... On Tue, Mar 11, 2008 at 3:36 PM,

Re: Default Focus Behavior?

2008-03-11 Thread Johan Compagner
hmm the request cycle would be quite awful its not really there for that kind of state The problem is that the AjaxRequestTarget is in normal rendering something like PageRequestTarget. The problem is you cant really through it on a Page because the page can maybe not be accessed (if you have a

Re: Get libs without installing Maven?

2008-03-11 Thread bob2
Another note: If I did what some posters suggested, such as remove wicket-velocity-1.3.1.jar, I'd get errors on startup stating failure to initialize velocity. bob2 wrote: After reading this and other similar posts I'm still confused about how to determine what exactly I need. I am a new

Re: Default Focus Behavior?

2008-03-11 Thread James Carman
On 3/11/08, Johan Compagner [EMAIL PROTECTED] wrote: hmm the request cycle would be quite awful its not really there for that kind of state The problem is that the AjaxRequestTarget is in normal rendering something like PageRequestTarget. The problem is you cant really through it on a

Re: DropDownChoice getting value into the model

2008-03-11 Thread rmattler
I don't have time to work on this right now, have real work to do. But I now believe I understand my problem. The Vendor bean needs to have the field 'state' be the class of State not String. Now I just need to figure out how to do that with Hibernate. I did buy your book. It is excellent

Re: Default Focus Behavior?

2008-03-11 Thread Sebastiaan van Erk
Gerolf Seitz wrote: how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error... I like

Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Hi! I'm using wicket with hibernate and spring. In my web.xml I have OpenEntityManagerInViewFilter. But when trying to add a dataview to my wicket page I get the org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed. Anyone? -- View this message

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread James Carman
On 3/11/08, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Hi! I'm using wicket with hibernate and spring. In my web.xml I have OpenEntityManagerInViewFilter. But when trying to add a dataview to my wicket page I get the org.hibernate.LazyInitializationException: could not initialize

Re: Double submit problem

2008-03-11 Thread rmattler
You could do it with javascript. Disable the button and change the button label. function saveForm(btn) { eForm = document.forms[0]; btn.disabled=true; btn.value='Please wait...'; eForm.submit(); return; } input type=button

Re: Get libs without installing Maven?

2008-03-11 Thread Eelco Hillenius
On Tue, Mar 11, 2008 at 7:41 AM, bob2 [EMAIL PROTECTED] wrote: After reading this and other similar posts I'm still confused about how to determine what exactly I need. I am a new user and do not easily have access to the internet. I do not have/use Maven. The jars listed below came

Re: Get libs without installing Maven?

2008-03-11 Thread Eelco Hillenius
On Tue, Mar 11, 2008 at 7:45 AM, bob2 [EMAIL PROTECTED] wrote: Another note: If I did what some posters suggested, such as remove wicket-velocity-1.3.1.jar, I'd get errors on startup stating failure to initialize velocity. How can you get velocity errors if you're not using velocity or

Re: Explanation of Wicket session management

2008-03-11 Thread Rajiv Jivan
Yes I did. I was assuming that once newSession is called, on subsequent calls, the session will be set on a thread local variable. If that is not the case, what would be the right way to check if a session has been created. On Tue, Mar 11, 2008 at 10:32 AM, Martijn Dashorst [EMAIL PROTECTED]

Re: Explanation of Wicket session management

2008-03-11 Thread Johan Compagner
RequestCycle is first made and the the Session is being resolved. Because the session creation code needs the request cycle first. So thats why your code doesn't work that test that you want should be done in Requestcycle.onBeginRequest On Tue, Mar 11, 2008 at 4:47 PM, Rajiv Jivan [EMAIL

Re: Get libs without installing Maven?

2008-03-11 Thread bob2
I am now aware that I did make a mistake and that most of those jars were only required because I included all of the wicket--1.3.1.jar's in the lib folder. Removing all the ones that I was not using only required me to keep the slf4j jars and a log4j jar. I am still curious though why

Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2008-03-11 Thread AshleyAbraham
Hi everyone, I am using a Wizard inside a ModalWindow and I am trying to close the ModalWindow when the CancelButton or FinishButton is clicked. When one of those button's are clicked nothing happens, and I've found out that I need to use either AjaxButton or AjaxLink to make it work. Is

RE: wicket-datetime

2008-03-11 Thread Hoover, William
It looks like the datetime component has major issues of its own that make it virtually unusable (https://issues.apache.org/jira/browse/WICKET-1412). -Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 12:13 PM To: users@wicket.apache.org

Re: Global Exception Handling...

2008-03-11 Thread Igor Vaynberg
On Tue, Mar 11, 2008 at 3:30 AM, James Carman [EMAIL PROTECTED] wrote: Okay, so it's common to do your own request cycle implementation. I didn't realize that. In Tapestry, RequestCycle wasn't something you monkeyed around with much. yep, its pretty common. So, you're saying that I

Re: Global Exception Handling...

2008-03-11 Thread Igor Vaynberg
On Tue, Mar 11, 2008 at 3:51 AM, James Carman [EMAIL PROTECTED] wrote: By the way, I can create a patch for this stuff if you like. I guess the decision needs to be made about where the registry (MapClass,IRuntimeExceptionHandler) needs to go. Does it belong in IRequestCycleSettings or

Palette labels

2008-03-11 Thread Juliano Gaio
Hi All, I would like to internationalize these palette labels (Available and Selected), How can I do that? I'm using wicket version 1.2. Thank you. Juliano.

Re: Get libs without installing Maven?

2008-03-11 Thread Igor Vaynberg
indeed. and latest versions of maven have quiet a nice new toy C:\dev\src\wicketmvn dependency:tree [INFO] [INFO] Building Wicket [INFO]task-segment: [dependency:tree] [INFO]

Re: Palette labels

2008-03-11 Thread Igor Vaynberg
subclass it and provide a .properties file for the subclass -igor On Tue, Mar 11, 2008 at 10:59 AM, Juliano Gaio [EMAIL PROTECTED] wrote: Hi All, I would like to internationalize these palette labels (Available and Selected), How can I do that? I'm using wicket version 1.2. Thank

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
OK! I'm a newbie so could please enhance this a little? -- View this message in context: http://www.nabble.com/Disable-ajaxbutton-until-process-is-done-tp15976490p15982628.html Sent from the Wicket - User mailing list archive at Nabble.com.

Prevent Ajax from expiring

2008-03-11 Thread Cristi Manole
Hello, I'm experiencing a strange behavior from regular ajax components (those included in wicket like, for example, the tree component) : on a page containing one (or more) such components and using it, after some time it will stop working, meaning it will not do anything (for example clicking

Re: Prevent Ajax from expiring

2008-03-11 Thread Igor Vaynberg
session time out is controlled in web.xml -igor On Tue, Mar 11, 2008 at 11:21 AM, Cristi Manole [EMAIL PROTECTED] wrote: Hello, I'm experiencing a strange behavior from regular ajax components (those included in wicket like, for example, the tree component) : on a page containing one

Re: Prevent Ajax from expiring

2008-03-11 Thread Cristi Manole
it expired way earlier than that.. .that's why i figured it was something inside wicket... any ideas? Cristi On Tue, Mar 11, 2008 at 8:39 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: session time out is controlled in web.xml -igor On Tue, Mar 11, 2008 at 11:21 AM, Cristi Manole [EMAIL

Re: Prevent Ajax from expiring

2008-03-11 Thread Igor Vaynberg
On Tue, Mar 11, 2008 at 11:49 AM, Cristi Manole [EMAIL PROTECTED] wrote: it expired way earlier than that.. .that's why i figured it was something inside wicket... any ideas? not without a reproduceable usecase -igor Cristi On Tue, Mar 11, 2008 at 8:39 PM, Igor Vaynberg [EMAIL

Re: wicket-datetime

2008-03-11 Thread Eelco Hillenius
On Tue, Mar 11, 2008 at 9:58 AM, Hoover, William [EMAIL PROTECTED] wrote: It looks like the datetime component has major issues of its own that make it virtually unusable (https://issues.apache.org/jira/browse/WICKET-1412). We've been using this component for quite a while (eating our own dog

Re: Is there an ajax WizardButton to use in a wizard inside a ModalWindow?

2008-03-11 Thread AshleyAbraham
AshleyAbraham wrote: Hi everyone, I am using a Wizard inside a ModalWindow and I am trying to close the ModalWindow when the CancelButton or FinishButton is clicked. When one of those button's are clicked nothing happens, and I've found out that I need to use either AjaxButton or

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Not exactly sure what you mean here since this is my first time trying wicket and hibernate, spring. I have spring annoted daos that I use ex. myDao().getList(); returns a list that has lazy object references. When I try to evoke a method on the lazy object I get the exception. I have solved i

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread James Carman
Show us some code, please. How are you setting things up? On 3/11/08, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Not exactly sure what you mean here since this is my first time trying wicket and hibernate, spring. I have spring annoted daos that I use myDao().getList(); returns a list

Re: wicket-datetime

2008-03-11 Thread Nino Saturnino Martinez Vazquez Wael
There was sometrouble with safari 2, but wicket got patched and that fixed it. Alex Jacoby wrote: Side note: the demo doesn't seem to be working in Safari (3.0.4). Clicking the calendar icon doesn't do anything. I don't see any JS errors in the console. Anyone else seen this? Alex On

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Thanks! I got it to work now. Is it really a good idé to access html like this in javacode? @Override protected IAjaxCallDecorator getAjaxCallDecorator() { return new IAjaxCallDecorator()

Re: Explanation of Wicket session management

2008-03-11 Thread Johan Compagner
Yes that is true, Session is lazy created in Session.get() so only after the first time that is called Session.exists() works. I guess Session.exists() doesnt really make much sense On Tue, Mar 11, 2008 at 8:29 PM, Rajiv Jivan [EMAIL PROTECTED] wrote: I have updated the code based on Johan's

Re: link onClick add panel

2008-03-11 Thread taygolf
Thought I would post back my solution to this problem in case anyone else needed to do this one day. I found that I could use the wicket call urlFor to solve my problem. So I can get the url for the page I want to link to in javascript and then simply pass that url to the javascript and set it

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
instead of referencing the id 'create' hardcoded, rather use getMarkupId(). Gerolf On Tue, Mar 11, 2008 at 9:11 PM, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Thanks! I got it to work now. Is it really a good idé to access html like this in javacode? @Override

Dynamic Forms

2008-03-11 Thread Dan Kaplan
I have a form with a text field on it. Somewhere on the form there is also a + symbol. When you click on it, a new text field appears. I know that this has been asked a bunch of times, but I can only find emails where people say, This has been asked a bunch of times when I search the mailing

Re: Double submit problem

2008-03-11 Thread hillj2
In my original message, I said I wanted to avoid a javascript solution. It doesn't lend itself to reuability, e.g. if I have multiple submit buttons or specialized submit buttons. A more cumbersome solution, in my opinion. rmattler wrote: You could do it with javascript. Disable the

Re: Double submit problem

2008-03-11 Thread hillj2
This was pretty much the original solution I linked. The problem comes when you don't call setResponsePage() and go right back to the page (e.g. if some custom form validation fails). It can no longer be submitted, because the boolean is stuck in a true state. -- View this message in context:

Re: Dynamic Forms

2008-03-11 Thread Gerolf Seitz
see Button#setDefaultFormProcessing(boolean), which skips the form processing. Gerolf On Tue, Mar 11, 2008 at 10:09 PM, Dan Kaplan [EMAIL PROTECTED] wrote: I found this: http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html Problem with it, for me, is that it fails to mention

Improvements to Wicketstuff Suckerfish Dropdowns

2008-03-11 Thread JulianS
I have checked in the following minor improvements: - Changed references to Link to AbstractLink to make the implementation more general - Added a down or right arrow icon if there are children - Upgraded to Wicket 1.3.1 See

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Mathias P.W Nilsson
Thanks =) Works great! -- View this message in context: http://www.nabble.com/Disable-ajaxbutton-until-process-is-done-tp15976490p15993390.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: wicket-datetime

2008-03-11 Thread Alex Jacoby
Odd... Just tested again and it's working now. Pretty sure I wasn't hallucinating before but if no one else notices the problem I'll chalk it up to gremlins in my computer. I was using Safari 3 on leopard, btw. Alex On Mar 11, 2008, at 4:00 PM, Nino Saturnino Martinez Vazquez Wael wrote:

Improvements to Wicketstuff Suckerfish Dropdowns

2008-03-11 Thread JulianS
I have checked in the following minor improvements: - Changed references to Link to AbstractLink to make the implementation more general - Added a down or right arrow icon if there are children - Upgraded to Wicket 1.3.1 See

Re: styling thead in DataTable

2008-03-11 Thread Christian Alejandro Marquez Grabia
Martin, Yes...you would have to set a wicket:id for the thead to add attributes dynamically. This is easily done by setting markup to a subclass of datatable, and using the same structure used in the wicket-extensions jar. Cheers, Christian On 3/11/08, Eyal Golan [EMAIL PROTECTED] wrote:

Converting tag names in a Panel

2008-03-11 Thread Matt Jensen
Hopefully this is an easy one. Why does Wicket convert this: fb:tab-item wicket:id=tabsList/ ...into this: fb:tab_item .../ ...and how do I make it stop doing that? The key part here is the conversion of fb:tab-item into fb:tab_item.

  1   2   >