Re: SV: PageableListView to work with Set

2010-12-02 Thread nivs
Hi Thanks for the link. Would have to use a repeater to support more generic ones. Thanks niv -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PageableListView-to-work-with-Set-tp3064909p3068641.html Sent from the Users forum mailing list archive at Nabble.com.

wiQuery: Release 1.1.2

2010-12-02 Thread julien roche AKA indiana_jules
Hi, Just a little annoucement for an intermediate release of wiQuery: the 1.1.2. What kind of changes ? * Use of jQuery 1.4.4 jQuery UI 1.8.6 * IModel enhancement for the options * Javascript and Stylesheet enhancement * Animate for the jQuery effect * IWiQueryInitializer

Re: Logout (Session destroy) on the last (stateful) page?

2010-12-02 Thread Matthias Keller
Hi Randy Yes it appears to have something to do with that. Our app uses the REDIRECT_BUFFER by default (we never actively configured this though) which appears to be a sensible option for normal operation. I'm not very familiar with the render strategies but you appear to be right: The page

Re: Problem on wicket-auth-role ve Spring-security integration

2010-12-02 Thread Altuğ Bilgin Altıntaş
why you don't just use Spring Security + Wicket ? 2010/12/2 Taner Diler jtdde...@gmail.com Hi, I'm trying to integrate Wicket-auth-roles 1.4.9 and Spring Security 3.0.4 by following https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html . @AuthorizeAction and

Re: AjaxButton + Form

2010-12-02 Thread alex shubert
Sure. Just add a Form and AjaxButton and see. I replaced Button with Link as assembly of object to be ready before button handler called sounds reasonable for me. On 1 December 2010 17:46, Andrea Del Bene adelb...@ciseonweb.it wrote: That sounds strange. AjaxButton implements  

Re: Problem on wicket-auth-role ve Spring-security integration

2010-12-02 Thread alex shubert
Let me guess may be the reason is that document is pretty outdated and provides no help if one looking for a how-to manual? It just looks pretty useless for whos already familiar with JAAS and SpringSecurity 'cos they will not found anything new and almost unhelpful for whom doesn't . :) For

Re: Logout (Session destroy) on the last (stateful) page?

2010-12-02 Thread Ernesto Reinaldo Barreiro
Matt, Can't you just do some kind of trick so that your ConfirmationPage is served as the home page? So that you invalidate the session but at getHomePage() you temporarily return your ConfirmationPage? Regards, Ernesto On Thu, Dec 2, 2010 at 10:06 AM, Matthias Keller matthias.kel...@ergon.ch

Re: webapp shutdown listeners

2010-12-02 Thread alex shubert
Why dont you add you very own listener to servlet container? -- Best regards Alex - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-02 Thread vineet semwal
do you see the exception when you try this? @Override protected Object load() { // return containerForm.getModelObject().getPhoneList(); return service.getRequiredObject(*).getPhoneList(); //or any thing like it .. } On Thu, Dec 2, 2010 at 12:12 PM,

Re: Logout (Session destroy) on the last (stateful) page?

2010-12-02 Thread Matthias Keller
Hi Ernesto No that's not possible because the ConfirmationPage is *stateful* and contains lots of information from the session/page state, so it must be allowed to display the pre-rendered page once but after that request, the session must be invalidated. Thanks Matt On 2010-12-02 10:34,

Re: Logout (Session destroy) on the last (stateful) page?

2010-12-02 Thread Ernesto Reinaldo Barreiro
Hi Matt, I see. Then maybe adding some onDomReady javascript to ConfirmationPage that simply goes back to the server and invalidates the session? Probably this can't use wicket AJAX machinery: because that will probably will also trigger a redirect. Regards, Ernesto On Thu, Dec 2, 2010 at

Re: Logout (Session destroy) on the last (stateful) page?

2010-12-02 Thread Ernesto Reinaldo Barreiro
e.g. you could: 1-Place and AbstractDefaultAjaxBehavior on you page (e.g. to some div on your page). Use urlFor to generate the URL to this behavior. On respond(AjaxRequestTarget target) { Invalidate your session. } 2-Make your page implement IHeaderContributor and on public void

Re: webapp shutdown listeners

2010-12-02 Thread Sebastian
we are working on an extension for wicket apps and want to make the usage as easy as possible for users. When in usage, the extension should be able to register itself to a webapp shutdown event transparently without requiring the user do modify their webapps onDestroy method or need to add a

Re: nested form in FormComponentPanel validation issue

2010-12-02 Thread Joseph Pachod
On 11/26/2010 05:41 PM, Igor Vaynberg wrote: quickstart, jira issue. -igor hi igor I've created a quickstart for it (cf attachement) however, it may be linked to self made DecoratedEdit/TextFieldEdit classes (cf attachement again). As such, I'm not sure if it's a wicket bug or not, so I

Re: Feedback panel on modal window

2010-12-02 Thread Andrea Del Bene
Hi Tito, how do you send form inside modal window? I guess you are sending it by AJAX. I've written a similar modal window few weeks ago. Be sure to add your feedback panel to thw AjaxRequestTarget object of submitting component. Bye. Hi, I have one model window with a panel atached. I

Display component feedback message once: safety net renders them always before

2010-12-02 Thread Joseph Pachod
Hi I'm trying to apply the behaviors presented by Alastair Maw in his presentation Wicket Forms with Flair (cf http://code.google.com/p/londonwicket/downloads/detail?name=LondonWicket-FormsWithFlair.pdfcan=2q= ) Basically, Alastair uses behavior to display feedback message specific to some

mount QueryStringUrlCodingStrategy issue when coming via Apache

2010-12-02 Thread Arjun Dhar
Hi, I'm getting a wierd issue. Have this code: mount(new QueryStringUrlCodingStrategy(admin/login.html, login.class)); So there is an Admin module for our Web App. All Login Admin pages are distinctly relative to admin/. On tomcat this works fine, but when the request comes via Apache I get a

Re: URLs using wicket wizard

2010-12-02 Thread bamse
Using HybridURLCodingStrategy did the trick, though I ran into some strange behaviour using the browsers back-button. That may however be a result from things I have done in my code. Thanks for your help! -- View this message in context:

Re: UrlRewrite rule and Wicket

2010-12-02 Thread Krzysztof Kowalczyk
Thank you Erik, the idea is nice, but it does not work ;) I wanted to implement my own ~ Root Mounting Strategy just when I've got your email. The idea with overriding getRequestPath sounds good, I was afraid that I will need to implement my own RequestCycle with custom logic replacing

Error Flushing Page because of java.io.FileNotFoundException

2010-12-02 Thread ft
Hello, I have the following error (seemingly without further influence on the application) in an application that runs on a tomcat 5.5.20 server. The disk is not full or something. When I look in the directory work/Catalina/localhost/idp2009/IdpApplication-filestore it is empty... Does anyone

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-02 Thread Dan Retzlaff
Yes, copying entities from the entity's association collection into another collection will initialize the collection. If you're still getting an LIE, there may be another association at play (a child of Phone?). Note that I don't fully endorse the session reattachment aspect I posted. Not only

Re: Problem on wicket-auth-role ve Spring-security integration

2010-12-02 Thread Fernando Wermus
try wicket-shiro! On Thu, Dec 2, 2010 at 7:33 AM, alex shubert alex.shub...@gmail.com wrote: Let me guess may be the reason is that document is pretty outdated and provides no help if one looking for a how-to manual? It just looks pretty useless for whos already familiar with JAAS and

Re: Feedback panel on modal window

2010-12-02 Thread Tito
Good I fixed it. Thanks. I added feedback panel to target. But I redined onError to do that, because feedback is for errors in my case. Thanks for the answer. Bye Tito 2010/12/2 Andrea Del Bene adelb...@ciseonweb.it Hi Tito, how do you send form inside modal window? I guess you are sending

Validate after Submit?

2010-12-02 Thread splitshade
Hi, a general Question, and I am interested in how you would solve that? I have a couple of form elements, that I want to submit. I send some values to a backend and get an error code back - say an Enum with errorcode and Message Error, User-ID already registered. What I want to do now is, i

Re: webapp shutdown listeners

2010-12-02 Thread Rodolfo Hansen
The correct way, I believe is using the IDestryer (and Iinitializer) along with the correct wicket.properties in the classpath. On Thu, Dec 2, 2010 at 3:16 AM, Sebastian nospam...@gmx.net wrote: we are working on an extension for wicket apps and want to make the usage as easy as possible for

Re: webapp shutdown listeners

2010-12-02 Thread Sebastian
That is cool! From the docs at http://wicket.apache.org/apidocs/1.4/org/apache/wicket/IInitializer.html: public interface IInitializer Initializes something when application loads. ... You don't have to pre-register package resources, as they can be initialized lazily. Initializers can

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-02 Thread Nivedan Nadaraj
Vineet I have not tried that. In this scenario, it will overwrite the phone's the user may have added to a list on the UI and is yet to be persisted. If you know what I mean. 1, Initial fetch of Subject along with his phones ( 5 items) 2. User adds a new phone number to the subject ( 5 + 1 (yet

Re: Wicket-Hibernate Related LazyInitializationException

2010-12-02 Thread vineet semwal
afaik,if your collection is lazy ,you will be able to initialize it in the same session .. if you are trying to initialize it in a new/different session you will not be able to initialize it.. what i did was making sure that you have a associate collection which is in the same session.. i think