Re: Update JavaDoc for AbstractChoice#setType(java.lang.Class)

2012-07-18 Thread Sven Meier
A pull request on github would be fine. You can edit the wiki page by yourself. Thanks Sven Paul Bors pb...@knoa.com schrieb: How should we as Wicket users request updates to JavaDocs as we come across them? AbstractChoice.setType throws an UnsupportedOperationException but that's not

Re: Preventing users from re-submitting wizards

2012-07-18 Thread Martijn Dashorst
Sounds like a problem waiting for CDI. https://www.42lines.net/2011/11/15/integrating-cdi-into-wicket/ Martijn On Wed, Jul 18, 2012 at 1:42 AM, Dan Retzlaff dretzl...@gmail.com wrote: Hi all, We have a wizard workflow for our users that collects various inputs, and when submitted, persists

Re: Preventing users from re-submitting wizards

2012-07-18 Thread Sven Meier
I'd just keep a workflow identifier in the database If your workflow is so important, sooner or later your business people will want to an know about aborted wizards anyway. My 2 cents Sven Dan Retzlaff dretzl...@gmail.com schrieb: Hi all, We have a wizard workflow for our users that collects

WICKET-4594

2012-07-18 Thread coincoinfou
Have you forgot to commit the patch ? https://issues.apache.org/jira/browse/WICKET-4594 https://issues.apache.org/jira/browse/WICKET-4594 I can't use stateless links anymore -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WICKET-4594-tp4650587.html Sent from the

Wicket and Versioning

2012-07-18 Thread Alexander Adam, Emia Systems
Hi! I am pretty much lost with Wicket 1.5.7 and versioning. What happens is this: I've deactivated versioning by setting serVersioned(false) in my page's constructor. However, still the page id gets increment each time I call the exact same url in my browser i.e. home/?0, home/?1, home/?2,

Wicket 1.5 vs 1.4: StringResourcesModel with properties in the key

2012-07-18 Thread Matthias Keller
Hi I'm currently migrating a project from 1.4 and am encountering a Problem with StringResourcesModel: I've got one defined as: new StringResourceModel(details.disabled.${disabled}, this.model) isDisabled returns a boolean naturally. In 1.4 this worked as expected and the resource keys

Re: Wicket and Versioning

2012-07-18 Thread Josh Kamau
Now create something like this public class CleanUrlMapper extends MountedMapper { public CleanUrlMapper(String mountPath, Class? extends IRequestablePage pageClass) { super(mountPath, pageClass, new PageParametersEncoder()); } @Override protected void encodePageComponentInfo(Url

Re: Wicket and Versioning

2012-07-18 Thread Alexander Adam, Emia Systems
thanks! However, this is what I am doing right now, but it gives me heavy troubles on google app engine, for example, handling the submit of forms is working and sometimes is not etc. Furthermore, I do NOT WANT wicket to save xx versions of the same page in memory or disk for nothing, it should

Re: Wicket and Versioning

2012-07-18 Thread Alexander Adam, Emia Systems
One more thing -- I don't see any use in versioning in my case: My base page is stateful though that means each and every link I use will lead to a new version number polluting the user's browser history with all the same link even though there has NOTHING changed on the page!? Please, there

Re: Wicket and Versioning

2012-07-18 Thread Andrea Del Bene
Hi, you could try with the following solution: - Mount a stateless page on your desired path (let's say /home) - This page should do nothing but redirect user to your stateful page, but instead of creating a new instance of it each time, it will save into session your stateful page to use it

Nested external components in custom component

2012-07-18 Thread ddawg
Hi, i'm trying to nest a formcomponent into a custom component of my own: What I want is to have additional markup around my various form components. Thus I created a ControlGroup panel as in the following: *ControlGroup.java public class ControlGroup extends Panel { public

How to Logout

2012-07-18 Thread Matthias Keller
Hi I'm trying to implement a simple logout mechanism with the need of complete session termination. For this I created a LogoutPage and mounted it using mountPage(/logout, LogoutPage.class); Now this page contains multiple components and a link to change langugage etc, therefore it is

Re: How to Logout

2012-07-18 Thread Sébastien Gautrin
Hi, The LogoutPage in the application I work on is quite simple: - first we invalidate the session with session.invalidateNow() like you do - second we throw a RestartResponseAtInterceptPageException with the Page we want the user to go to after the logout process (actually we use it with the

Re: Preventing users from re-submitting wizards

2012-07-18 Thread Dan Retzlaff
Martijn, I am familiar with Igor's CDI approach, and while I have not implemented it myself, it seems like it would suffer the same multiple page versions problem. Setting isSubmitted=true on the last page version doesn't prevent the user from going back past that version. Sven, I think we'll

RE: How to Logout

2012-07-18 Thread Paul Bors
There is no need to throw a RestartResponseAtInterceptPageException. Simply redirect the user to the log-in page: // Logout Link logout = new Link(logout) { @Override public void onClick() { Session.session().invalidateNow(); setResponsePage(LoginPage.class); } }; ~

wicket tree + wiquery ajax draggable + droppable behavior

2012-07-18 Thread Chris Turchin
hi, we have a wicket 1.5.7 tree (org.apache.wicket.extensions.markup.html.tree) that we are loading subnodes into via ajax. the tree supports ajax dnd events using wiquery (dnd to copy/move/link page objects into the tree nodes) and it works great when the page loads (e.g at level one in the

Re: Nested external components in custom component

2012-07-18 Thread Andrea Del Bene
Hi, check class org.apache.wicket.markup.html.border.Border. It should be more appropriate than a simple panel for what you are trying to do. Hi, i'm trying to nest a formcomponent into a custom component of my own: What I want is to have additional markup around my various form components.

Re: Apache Wicket 6.0.0-beta3 is released

2012-07-18 Thread Douglas Ferguson
How long should it take for this to appear in maven central? I currently don't see it there... http://mvnrepository.com/artifact/org.apache.wicket/wicket-core On Jul 17, 2012, at 4:08 AM, Martijn Dashorst wrote: The Wicket team is proud to announce the third beta release of the Wicket 6.x

Re: Apache Wicket 6.0.0-beta3 is released

2012-07-18 Thread Thomas Matthijs
On Wed, Jul 18, 2012 at 8:39 PM, Douglas Ferguson the...@gmail.com wrote: How long should it take for this to appear in maven central? I currently don't see it there... http://mvnrepository.com/artifact/org.apache.wicket/wicket-core

Re: Intercept AjaxRequestTarget

2012-07-18 Thread LeaveNewb
wheleph wrote Hello everyone! My application has a lot of ajax components. And every time validation error occurs I need to add my FeedbackPanel to AjaxRequestTarget. Is there a way to do it automatically? I mean to add my FeedbackPanel to every ajax response wheleph We

Re: Intercept AjaxRequestTarget

2012-07-18 Thread Sébastien Gautrin
From memory (not sure, I read that while looking for something else), any Ajax request generate automatically an IEvent event that is broadcasted to the application. If so, you could override the onEvent(IEvent? event) method of your FeedbackPanel so that it adds itself to the target of all

Re: Intercept AjaxRequestTarget

2012-07-18 Thread LeaveNewb
Sébastien Gautrin wrote From memory (not sure, I read that while looking for something else), any Ajax request generate automatically an IEvent event that is broadcasted to the application. If so, you could override the onEvent(IEvent? event) method of your FeedbackPanel so that it adds

Re: Wicket 1.5 vs 1.4: StringResourcesModel with properties in the key

2012-07-18 Thread Sven Meier
Hi, WICKET-3753 has changed PropertyVariableInterpolator to use the application's converters for property values: Application.get().getConverterLocator().getConverter(type); I think this is a regression: resolving properties in message keys is broken. I'll reopen the ticket and look

Visibility change via Ajax does not apply in IE9

2012-07-18 Thread Martin Dietze
Not sure if this is a known issue, in a project using wicket-1.4.7 I have a page with an upload field which is triggered by an Ajax button. After upload some information about the upload is supposed to be made visible via Ajax. The component containing the form has outputMarkupId set to true, and

Re: How can wicket Page form model be accessed from child panel

2012-07-18 Thread Bertrand Guay-Paquet
Hi, The transient object in LoginUserModel is null because it was set to null in LoadableDetachableModel.detach(). You need to reload it in the LoadableDetachableModel.load() method. For form submit examples, see http://www.wicket-library.com/wicket-examples/forminput/ I think the answer

Re: Form Submission problem

2012-07-18 Thread wicket user
custom filter is extended by the other framework which filter we cannot see as it is Out of the Box. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Submission-problem-tp4650575p4650614.html Sent from the Users forum mailing list archive at Nabble.com.

how to include jsp into wicket htmls

2012-07-18 Thread wicket user
I a newbie to Wicket, please can anyone guide how to include a jsp in the wicket. I have existing jsp's I need to include it. i am getting this jsp's dynamically from services. What I did is created a class extending WebMarkContainer. in my class i did like this

Re: how to include jsp into wicket htmls

2012-07-18 Thread Sven Meier
Take a look at org.apache.wicket.markup.html.include.Include Sven On 07/19/2012 06:48 AM, wicket user wrote: I a newbie to Wicket, please can anyone guide how to include a jsp in the wicket. I have existing jsp's I need to include it. i am getting this jsp's dynamically from services. What I