Re: Issue with AjaxLinks in ListView

2009-08-02 Thread Kuga
Anyone??? Thanks Kuga -- View this message in context: http://www.nabble.com/Issue-with-AjaxLinks-in-ListView-tp24765587p24775312.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Bug in AbstractOptions of Palette?

2009-08-02 Thread Eyal Golan
Done. *WICKET-2407 https://issues.apache.org/jira/browse/WICKET-2407* Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Thu, Jul 30, 2009 at 7:19

Re: Issue with AjaxLinks in ListView

2009-08-02 Thread Matej Knopp
It's hard to say what's going wrong without seeing code for entire page. -Matej On Sun, Aug 2, 2009 at 8:29 AM, Kugakvisagam...@infoblox.com wrote: Anyone??? Thanks Kuga -- View this message in context: http://www.nabble.com/Issue-with-AjaxLinks-in-ListView-tp24765587p24775312.html Sent

Problem with Required component message

2009-08-02 Thread Martin Makundi
Hi! I have a page with some required fields among which there is one specific field I want to return a specific required validation error message, if value not given. I have tried to put componentId.Required=Unique error message into Application.properties but it does not work. Instead Wicket

Re: launching a modal page from a Panel

2009-08-02 Thread Mathias Nilsson
Define your modal window as a class variable. class MyWebPage extends WebPage{ private ModalWindow myWindow; } in the constructor myWindow = new ModalWindow( myWindow ); myWindow.setPageMapName(myWindow-1); myWindow.setCookieName(myWindow-1); myWindow.setPageCreator(new

Re: launching a modal page from a Panel

2009-08-02 Thread Mathias Nilsson
Of course. If it is a panel then you'll do the same thing. class MyPanel extends Panel{ class variable } -- View this message in context: http://www.nabble.com/launching-a-modal-page-from-a-Panel-tp24760576p24776281.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Problem with Required component message

2009-08-02 Thread Uwe Schäfer
Martin Makundi schrieb: Debugging deeper into the problem shows that Wicket constructs a dot-notation component path of the requied component: page.panel.form.nested_panel.listview.index.componentId.Required and tries to look for a property with such name. don´t know about the exact state of

RE: Problem with Required component message

2009-08-02 Thread Russell Simpkins
Martin, I did this by creating a properties file MyPanel.properties and then setting creditCardForm.ccNumber.Required=Please enter your credit card number. Did you try setting form.componentId.Required? Or even panel.form.componentId.Required Russ Date: Sun, 2 Aug 2009 12:19:40 +0300 Subject:

Re: Issue with AjaxLinks in ListView

2009-08-02 Thread John Krasnay
On Sat, Aug 01, 2009 at 09:19:05AM -0700, Kuga wrote: I have not tried replacing to RepeatingView. Will it make a difference? I have no idea. Why don't you try it? jk - To unsubscribe, e-mail:

Re: Problem with Required component message

2009-08-02 Thread Martin Makundi
I did this by creating a properties file MyPanel.properties and then setting creditCardForm.ccNumber.Required=Please enter your credit card number. Did you try setting form.componentId.Required? Or even panel.form.componentId.Required The problem is that my field is on a ListView. I cannot

Re: Stateless login form?

2009-08-02 Thread Erik van Oosten
Martin, I am not sure what you mean. On the site you are referring, the login page is always visible under /login. Regards, Erik. Martin Makundi wrote: If I understood correctly, you might find this interesting:

Re: Stateless login form?

2009-08-02 Thread Martin Makundi
Login page is visible, but the form action=/?wicket:interface=:0:1 which is stateful. If my session dies I will definitely get an error. Try clicking this link with a new browser that does not have a session on the site: http://www.tipspot.com/?wicket:interface=:0:1 This is what you

Re: reloading DropDownChoice choices

2009-08-02 Thread Troy Cauble
Well, I found some detachable model documentation and figured it out. LDM::detach() will cause a getObject() call to load(). Putting detach early in my Form::submit() was sufficient for this example. Another wrinkle was that I also had a Button with the same issue and putting detach() in

Wicket for non Web/AJAX developers?

2009-08-02 Thread Troy Cauble
Are there any resources for Wicket that a non web or ajax developer should be aware of? Much of the class design documentation assume knowledge of these things, especially when you get down to stuff like AjaxFormComponentUpdatingBehavior. WTF? I know that this was a design choice and you can't

Issue WICKET-2409

2009-08-02 Thread Eyal Golan
have you read thishttp://www.codesmell.org/blog/2009/08/pitfall-on-implementing-generic-methods/? Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Martin Makundi
For example, given that I can make a Link look like a button, when should I use a Link vs a Button?  I have no idea. Duh... there is/was a bug on BUTTON at least on firefox (might have affected only non-ajax buttons). You cannot distinguish which button was pressed. So it is safer to use LINk

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Igor Vaynberg
On Sun, Aug 2, 2009 at 10:40 AM, Troy Caubletroycau...@gmail.com wrote: Much of the class design documentation assume knowledge of these things, especially when you get down to stuff like AjaxFormComponentUpdatingBehavior.  WTF? what part of that name or javadoc is hard for you to understand?

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Igor Vaynberg
ps, you might want to look into wingS or echo frameworks. i think their level of abstraction is higher and might be what you are looking for. of course, the higher the level of abstraction the less control you have over the final product, keep that in mind and find a good balance for your needs.

Re: Stateless login form?

2009-08-02 Thread Alex Objelean
Jeremy Thomerson already gave you the hint: override isStateless and return true... thus you'll not get a session relative url. Alex. MartinM wrote: Login page is visible, but the form action=/?wicket:interface=:0:1 which is stateful. If my session dies I will definitely get an

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Alex Objelean
The similar confusion had a friend of mine who didn't have any experience at all with wicket and indeed, at the first glance, a 33 letters long class seems a bit strange :)... But, you must know that according to wicket coding convensions: - each class implementing IBehavior interface has a

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Troy Cauble
On Sun, Aug 2, 2009 at 4:46 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Sun, Aug 2, 2009 at 10:40 AM, Troy Caubletroycau...@gmail.com wrote: Much of the class design documentation assume knowledge of these things, especially when you get down to stuff like

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Eyal Golan
I haven't seen any 'special' article of the kind you are looking for. However, I can just say for myself that when I started working with Wicket, all I new was basic HTML. I didn't even know exactly what was CSS. Slowly I became better in that area. Everyday I learned something new about webdev

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Marcin Palka
Hi, I think the Wicket in Action is a good book to start. It even has a chapter called Ajax explained :-) I don't know if it explains how the web app works as such but it goes through the entire development process of a Wicket web application so you should be able to get the idea behind. And

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Igor Vaynberg
On Sun, Aug 2, 2009 at 2:46 PM, Troy Caubletroycau...@gmail.com wrote: On Sun, Aug 2, 2009 at 4:46 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Sun, Aug 2, 2009 at 10:40 AM, Troy Caubletroycau...@gmail.com wrote: Much of the class design documentation assume knowledge of these

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread shetc
I guess the name LazyBoy says it all. -- View this message in context: http://www.nabble.com/Wicket-for-non-Web-AJAX-developers--tp24780111p24783233.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Erik Post
Hi, I'm sorry to see a couple of somewhat uncourteous responses in this thread. The guy is just asking a question that might well benefit others who are interested in Wicket too. Coming from e.g. Swing, there is indeed quite a lot of stuff to grok, and things can seem overwhelming, so why not

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Igor Vaynberg
whenever i try to be courteous i also usually try to start by including at least one wtf in my question :) -igor On Sun, Aug 2, 2009 at 4:48 PM, Erik Posteriksen...@gmail.com wrote: Hi, I'm sorry to see a couple of somewhat uncourteous responses in this thread. The guy is just asking a

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread shetc
Ok, sorry, you guys have always been very helpful to me. Maybe we can together with Barak and down a few beers :blush: -- View this message in context: http://www.nabble.com/Wicket-for-non-Web-AJAX-developers--tp24780111p24783661.html Sent from the Wicket - User mailing list archive at

Re: Stateless login form?

2009-08-02 Thread Martin Makundi
Jeremy Thomerson already gave you the hint: override isStateless and return true... thus you'll not get a session relative url. Ok. That might work, I actually get: https://localhost/login/wicket:interface/:0:loginForm::IFormSubmitListener::;jsessionid=139rzdeu5rm09 And on a first try, it

ayax - close button - lightwindow (http://www.stickmanlabs.com/lightwindow/)

2009-08-02 Thread Fernando Wermus
Hi all, I've implemented lightwindow widget (from london wicket example) and I need some extra work. I would like to know if any of you have added an ayax call back to the close button. My use case view is to refresh the original page when the lightwindow is closed. thanks in advance. --

Doubt please help me to clear

2009-08-02 Thread Gerald Fernando
Hello Friends, Could you please tell me things of Wicket Flex what are the advantages of both. what are the disadvandages.(Flex) Comapre Flex and Wicket Both are used to easy web development. Flex is also has a good UI Development.(I came to know that) -- Thanksregards, Gerald A

Re: Doubt please help me to clear

2009-08-02 Thread Martin Makundi
Hi! Here are some fast points: Flex is client side FAT client. It runs on BROWSER. Wicket runs on SERVER. Flex can do graphics. You must know Flex. Wicket can do graphics. You must know HTML/JavaScript/CSS. Not all people ALLOW Flex in their browsers (minority, these days). In a way, SERVER