Re: spring 3.1 wicket auth integration

2011-03-01 Thread moèz ben rhouma
https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html 2011/2/28 wic...@geofflancaster.com wic...@geofflancaster.com Can anyone point me to a tutorial or example on getting spring 3.x setup and working with wicket-auth-roles for an AuthenticatedWebApplication? Thanks in

Panel update after Ajax Submit

2011-03-01 Thread Dmitriy Neretin
Hello everybody! Hope someone can help me. I don't really understand, what I should add as ajax target :( So, I have an abstract class Index where I add all my panels (3) and it is my masterlayout. I add the panels in the index class like this: add(new ShoppingCartPanel(id, anotherMehod); The

Re: Panel update after Ajax Submit

2011-03-01 Thread Josh Kamau
Hi there, If you want to refresh the panel, call setOutputMarkupId(true) on the panel , then add the panel to the target. If the Ajax Link is on the same panel, you can call this.setOutputMarkupId(true) , and you can also add MyPanel.this to the target. The point is , what ever you want to

Re: Perfomance of IDataProvider

2011-03-01 Thread Juansoft
Thanks a lot for your replies, truly. With the ideas that all have contributed i write a LDM that store a object that is recovered in iterator and also a id for this object (to recover to the database after). I think this will be useful for people who start using Dataview,and are somewhat

Re: Getting Javascript function return value in Wicket

2011-03-01 Thread drf
Just want to add that the call to the class which would encapsulate the code to call the javascript function and get the result would not be in the constructor, rather in the onclick() of a button or the applyState() of the wizard. -- View this message in context:

Wicket-3438 seems to cause issues if a form is removed

2011-03-01 Thread Alexander Landsnes Keül
Upgraded to wicket 1.4.16 yesterday, and it seems to cause issues when a form is removed after submit. Problem is probably related to the change in Wicket-3438 (https://issues.apache.org/jira/browse/WICKET-3438 https://issues.apache.org/jira/browse/WICKET-3438 ) The usage we have a few

Re: [ANN] Plugin WicketForge 0.9.0 available for IDEA 9+

2011-03-01 Thread Minas Manthos
Unfortunately I'm not familiar with scala... but everyone is welcome to join wicketforge and help to improve it... also java profs... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANN-Plugin-WicketForge-0-9-0-available-for-IDEA-9-tp3326870p3329698.html Sent from

TEST

2011-03-01 Thread Zoltán Nagy
Hi! I've received this message when I tried to answer a question: Delivery to the following recipient failed permanently: users@wicket.apache.org Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend

Re: How to prevent user from double-clicking a non-Ajax component

2011-03-01 Thread Zoltán Nagy
Hi! I think Wicket Ajax should prevent this on the client side. As a workaround you can disable the sumbit button from javascript event handler and re-enable it from wicket ajax response. 2011/2/28 eugenebalt eugeneb...@yahoo.com How do we prevent the user from double-clicking a non-Ajax

Re: Panel update after Ajax Submit

2011-03-01 Thread Dmitriy Neretin
Thanks for reply, If you want to refresh the panel, call setOutputMarkupId(true) on the panel , then add the panel to the target. Does it mean I should call setOutputMarkUpId(true) in the constructor of the panel? If I do so, the layout of the panel is destroyed. If the Ajax Link is on

Re: TEST

2011-03-01 Thread Martijn Dashorst
HTML email raises the score pretty much. Martijn On Tue, Mar 1, 2011 at 1:45 PM, Zoltán Nagy zberke...@gmail.com wrote: Hi! I've received this message when I tried to answer a question: Delivery to the following recipient failed permanently:     users@wicket.apache.org Technical details

Re: Panel update after Ajax Submit

2011-03-01 Thread Pedro Santos
Hi, if you update the panel within the form, you need to update it's submit link component outside this panel also. onsubmit(target){ target.addComponent(formPanel); target.addComponent(submitLinkNotNestedInsideTheFormPanel); } On Tue, Mar 1, 2011 at 9:51 AM, Dmitriy Neretin

Re: TEST

2011-03-01 Thread Zoltán Nagy
Thanks! I turn off formating. 2011/3/1 Martijn Dashorst martijn.dasho...@gmail.com HTML email raises the score pretty much. Martijn -- Zoltán Nagy - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Panel update after Ajax Submit

2011-03-01 Thread Dmitriy Neretin
No, the panel is outside! What I just want, is that the panel shows me the result of the submit. But I did it :) Hier is my solution: 1. Call in the constructor of the panel setOutputMarkUpId(true); 2. Instantiate the panel Class in the abstract Class (masterlayout) as field and return it back

Re: Panel update after Ajax Submit

2011-03-01 Thread Zoltán Nagy
Hi! 2011/3/1 Dmitriy Neretin dmitriy.nere...@googlemail.com: Thanks for reply, If you want to refresh the panel, call setOutputMarkupId(true)  on the panel , then add the panel to the target. Does it mean I should call setOutputMarkUpId(true) in the constructor of the panel? If I do so,

Re: Wicket-3438 seems to cause issues if a form is removed

2011-03-01 Thread Pedro Santos
Hi it is a bug, I created https://issues.apache.org/jira/browse/WICKET-3488 On Tue, Mar 1, 2011 at 8:30 AM, Alexander Landsnes Keül alexander.landsnes.k...@visma.no wrote: Upgraded to wicket 1.4.16 yesterday, and it seems to cause issues when a form is removed after submit. Problem is

Re: Displaying table in a modalDialog

2011-03-01 Thread Zoltán Nagy
Hi! Yes, i've also run into this problem. See the sources of the generated page, something will be between the table and th/tr/tbody/thead tags. The browser simply drops your generated list content or takes it outside of your table tags. 2011/2/28 Josh Kamau joshnet2...@gmail.com: Has anyone

RE: Perfomance of IDataProvider

2011-03-01 Thread MZemeck
Here's a start, please anyone correct me if I've made any mistakes... public class ListLDM extends LoadableDetachableModelList { private String id; public ListLDM(List l, String id) { //constructor with primed model super(l);

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Antoine van Wel
*bump* I'm one of those people who is reading :-) Antoine On Mon, Feb 21, 2011 at 3:11 PM, Per p...@hamburg.de wrote: Hi, I am measuring it in a profiler after the request has been completed, but thanks for the hint. In case anyone else is reading, I have been playing with the

Re: Displaying table in a modalDialog

2011-03-01 Thread Josh Kamau
Thanks Zoltan, How did you resolve the issue? In my case , the entire table/table tag is removed. If i put a test label just outside the table tag, it is displayed. Josh. On Tue, Mar 1, 2011 at 5:22 PM, Zoltán Nagy zberke...@gmail.com wrote: Hi! Yes, i've also run into this problem. See

RE: Perfomance of IDataProvider

2011-03-01 Thread Juansoft
Thank for the replies! MZemeck wrote: Here's a start, please anyone correct me if I've made any mistakes... public class ListLDM extends LoadableDetachableModelList { private String id; public ListLDM(List l, String id) { //constructor with primed

Re: Perfomance of IDataProvider

2011-03-01 Thread James Carman
It is referenced by the superclass (LoadableDetachableModel in this case). It will cache the list until after the request cycle is complete. Upon subsequent request cycles, the load() method will be called to re-load the list. On Tue, Mar 1, 2011 at 12:51 PM, Juansoft andresnet2...@yahoo.es

Re: Perfomance of IDataProvider

2011-03-01 Thread MZemeck
super(l) stores the model as an instance variable on the superclass. When getObject() is called on the LDM, it checks to see if the instance variable (the model object) is null. If it is null, load() will be called to populate the model. Once the request is complete the model is detached

Re: Vote/Veto: Should I put 1.5 RC1 on App Engine into production this week?

2011-03-01 Thread Fernando O.
Interesting, I'm also migrating to Wicket 1.5 with GAE First a comment: In addition to what you mention I had to change the default HeaderRenderStrategy to org.apache.wicket.markup.renderStrategy.ParentFirstHeaderRenderStrategy since it's rendering the child headers before parents and that

Re: Displaying table in a modalDialog

2011-03-01 Thread Zoltán Nagy
exactly. the problem is on the client side. I don't know a really good solution but these workaround could solve it: - turn off generating wicket: tags: Application.get().getMarkupSettings().setStripWicketTags(true); - don't use table at all, use divs instead - use separate templates for

Re: Displaying table in a modalDialog

2011-03-01 Thread Josh Kamau
Thanks Zultan for your feedback. Striping wicket tags didnt help. Anything other than a table works. Does it mean it is Illegal to use table tags inside inside a modal dialog? Josh. On Tue, Mar 1, 2011 at 10:09 PM, Zoltán Nagy zberke...@gmail.com wrote: exactly. the problem is on the client

Re: CheckBoxMultipleChoice.getInput() = NULL after switch to AjaxSubmit

2011-03-01 Thread Pedro Santos
Hi, send a quickstart, I tried to simulate here without success, CheckBoxMultipleChoice is working fine. On Wed, Feb 23, 2011 at 2:20 PM, eugenebalt eugeneb...@yahoo.com wrote: Yes, I've tried both the first one and the second one with onclick/onchange. The problem is still happening. --

Re: Displaying table in a modalDialog

2011-03-01 Thread James Carman
Did you check the javadocs for ModalWindow? If you want to use form in modal window component make sure that you put the modal window itself in another form (nesting forms is legal in Wicket) and that the form on modal window is submitted before the window get closed. I don't know if that will

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Per
Hi Antoine, I have started collecting my hints over here: http://www.small-improvements.com/blog/technical/tuning-wicket-session-size Please note that much of it may be considered hacks and bad practice (I am just a Wicket user, not a Wicket master). There may be better ways to achieve the

Re: Displaying table in a modalDialog

2011-03-01 Thread Josh Kamau
Hi James, I use a form in a moda window. i have also put the modal window inside another form (i have called it modal window holder) Josh. On Tue, Mar 1, 2011 at 10:19 PM, James Carman ja...@carmanconsulting.comwrote: Did you check the javadocs for ModalWindow? If you want to use form in

Re: Displaying table in a modalDialog

2011-03-01 Thread Pedro Santos
Hi Josh, CheckGroup is set to render body only by default. As it correspond to your table tag, it will be skipped. You can call frmUserList.setRenderBodyOnly(false) or bind the CheckGroup component to another tag in the markup, that can be skipped. On Tue, Mar 1, 2011 at 4:10 PM, Josh Kamau

Re: Displaying table in a modalDialog

2011-03-01 Thread Sven Meier
Hi Pedro, good catch. I've never liked it that CheckGroup is the only component which uses setRenderBodyOnly(true) by default :( Not very consistent and thus something to watch out for. Regards Sven Am 01.03.2011 20:29, schrieb Pedro Santos: Hi Josh, CheckGroup is set to render body only

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread robert.mcguinness
Per, Awesome summary. Much obliged. Rob -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Just-100K-per-session-That-would-be-my-dream-come-true-Anyone-here-who-has-tuned-session-size-before-tp3308014p3330455.html Sent from the Users forum mailing list archive at

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Cristi Manole
yup, nice read. tks for sharing onComponentTag saved my arse too in the past. Probably that's why I don't think it's that ugly anymore :) On Tue, Mar 1, 2011 at 2:41 PM, robert.mcguinness robert.mcguinness@gmail.com wrote: Per, Awesome summary. Much obliged. Rob -- View this

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Antoine van Wel
Hi Per, easy to read, good advice... Even the easiest stuff made me wonder whether I did that right... Excellent to see all these tips together. Thanks a bunch! Antoine On Tue, Mar 1, 2011 at 8:21 PM, Per p...@hamburg.de wrote: Hi Antoine, I have started collecting my hints over here:

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread MZemeck
Great stuff, could you let us know when you have completed a 'final' version so I can check back? From: Per p...@hamburg.de To: users@wicket.apache.org Date: 03/01/2011 02:22 PM Subject:Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned

Re: Just 100K per session? That would be my dream come true! (Anyone here who has tuned session size before?)

2011-03-01 Thread Cristi Manole
I found this useful also : http://www.small-improvements.com/10-things-about-apache-wicket-i-love/wicket:pageMapName/wicket-8 [same site, same author, kudos Per] On Tue, Mar 1, 2011 at 3:13 PM, mzem...@osc.state.ny.us wrote: Great stuff, could you let us know when you have completed a 'final'

Re: Wicket philosophy, modelObject isVisible, isEnabled, CSS

2011-03-01 Thread Jonathan Locke
one other possibility you didn't mention is to nest or layer models. you could use an attribute modifier with a view-adapting model that wraps the data model to provide translation from a pure data model into a value appropriate for the view layer. this would preserve abstraction better. make

Re: Displaying table in a modalDialog

2011-03-01 Thread Zoltán Nagy
That's right. I haven't seen the attached zip. 2011/3/1 Pedro Santos pedros...@gmail.com: Hi Josh, CheckGroup is set to render body only by default. As it correspond to your table tag, it will be skipped. You can call frmUserList.setRenderBodyOnly(false) or bind the CheckGroup component to

Re: Vote/Veto: Should I put 1.5 RC1 on App Engine into production this week?

2011-03-01 Thread Per
Hi Fernando, I didn't come across your problems, although I use TONS of Wicket AJAX. :-) But what helped me sort my problems and thoughts was to create a quickstart (see the main docs), and to start with a minimal example. Then enhance it step by step until the quickstart shows the same

Re: My failed 1.5 migration. Advice on HttpSessionDataStore and/or Jetty clustering needed

2011-03-01 Thread Attila Király
Your last exception seems pretty similar to those mentioned in https://issues.apache.org/jira/browse/WICKET-3470 (especially the last one also related to GAE: loading a persisted session at application startup). Attila 2011/3/1 Per Fragemann p...@small-improvements.com Hi all, I'm running a

RE: spring 3.1 wicket auth integration

2011-03-01 Thread Geoff Lancaster
I've seen that wiki but it's for spring 3.0 and wicket 1.3. I need a solution for spring 3.1 and wicket 1.4+ -Original Message- From: moèz ben rhouma [mailto:benrhouma.m...@gmail.com] Sent: Tuesday, March 01, 2011 2:04 AM To: users@wicket.apache.org; wic...@geofflancaster.com Subject: