Re: Nested form submit and parent form input

2010-11-01 Thread Marek Šabo
Hi, thanks for answer, I was wondering if that is a normal behavior even for parent forms to process their values from input when nested form submits. Anyway, good to know it's supposed to be. Regards, -- Marek Šabo On 11/01/2010 05:49 AM, Martin Makundi wrote: Hi! Yes. Every time form

Re: Nested form submit and parent form input

2010-11-01 Thread Martin Makundi
RawInput is how the form values are kept. Otherwise you will lose all values and have an empty form for example in page repaint. ** Martin 2010/11/1 Marek Šabo ms...@buk.cvut.cz: Hi, thanks for answer, I was wondering if that is a normal behavior even for parent forms to process their values

Re: Nested form submit and parent form input

2010-11-01 Thread Marek Šabo
Hi, ok, that makes sense, and how would that be (if somehow) affected by using setPersistent on formComponents (afaik form cookie support)? Regards, -- Marek Šabo On 11/01/2010 09:22 AM, Martin Makundi wrote: RawInput is how the form values are kept. Otherwise you will lose all values

Re: flot examples

2010-11-01 Thread Ivana
Thanks, i'm looking at the examples and i'll get back to you if i figure out how to get multiple graphs on one page. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/flot-examples-tp3013635p3021887.html Sent from the Users forum mailing list archive at Nabble.com.

Re: WebPage: geting string

2010-11-01 Thread msantos
Hi there, regarding this code, i have a problem, it is trying to acess a url that dos not exist once the wicket application class name is diferent the real application url. it is trying to access http://localhost/(aplication name) but it is deployed with a diferent name because the war file has a

wicket-ajax header from url?

2010-11-01 Thread Frank van Lankvelt
In my attempts to integrate a javascript client-side framework (ext-js) to wicket, I'm running into the problem that the client-side framework expects URLs to send requests to, expecting a JSON/XML response. This is of course perfectly natural behavior for a js framework. The documentation I

Re: wicket-ajax header from url?

2010-11-01 Thread Igor Vaynberg
did you check why it returns false? ajax requests should not increment the page version, so they should always be current. people have built extjs integrations before, you may look into one of those for hints. -igor On Mon, Nov 1, 2010 at 9:14 AM, Frank van Lankvelt f.vanlankv...@onehippo.com

Really basic help...

2010-11-01 Thread adam.gibbons
Hi there! I'm extreamly new to Whicket, trying to put together my first sample application based on the AuthenticatedWebSession example. I have everything up and running nicely now, but I'd like to make a few simple changes. On the LoginPage, there are feilds for username, password and a check

Re: Really basic help...

2010-11-01 Thread Igor Vaynberg
it pulls that value out of its model, so check whatever object the model is pointing to. -igor On Mon, Nov 1, 2010 at 7:44 AM, adam.gibbons adam.s.gibb...@gmail.com wrote: Hi there! I'm extreamly new to Whicket, trying to put together my first sample application based on the

Re: Really basic help...

2010-11-01 Thread Brian Topping
Adam, If you are just getting started, models are one of the most important and underappreciated aspects of mastering Wicket. It's really worth putting in the time up front to learn their nuances. Have you checked out the excellent Wicket In Action book by Manning Press? It's one of those

Re: Really basic help...

2010-11-01 Thread Martin Makundi
In my opinnion best way to learn is by trial and error ;) Not the most profitable way, though ;) ** Martin 2010/11/1 Brian Topping topp...@codehaus.org: Adam, If you are just getting started, models are one of the most important and underappreciated aspects of mastering Wicket.  It's

Re: Really basic help...

2010-11-01 Thread Brian Topping
As they say, a million monkeys on typewriters will eventually produce the works of Shakespeare. :-) I guess I'm lazy, to each his own. On Nov 1, 2010, at 1:21 PM, Martin Makundi wrote: In my opinnion best way to learn is by trial and error ;) Not the most profitable way, though ;)

wicket 1.4.12 and wicket-push 1.4.8

2010-11-01 Thread fachhoch
I am using wicket 1.4.12 and wicket-push 1.4.8 , will this combination work fine or can cause any issues ? I cannot upgrade to wicket push to 1.4.12 because of bugs . Please tell me if it is ok to use this combination ? -- View this message in context:

Send an object to page

2010-11-01 Thread Gustavo Henrique
hi! what better way to send an object to webpage? I'm sending in constructor but the URI is not friendly. thanks!

Re: wicket 1.4.12 and wicket-push 1.4.8

2010-11-01 Thread Rodolfo Hansen
Yes, this is safe. Sebastian did some great work cleaning up the original API and classes. The examples have also been extended to make the usage scenarios much clearer. We are working on moving all this work into wicketstuff right now, we would love for you to test it later as it becomes

Re: wicket-ajax header from url?

2010-11-01 Thread Frank van Lankvelt
it returned false because a) the locking request was not ajax b) the current request was ajax c) they shared the same page version Page versioning is disabled, though that shouldn't matter. (that might be a worthwhile additional check before comparing versions; I'm not very familiar with

DropDownChoice

2010-11-01 Thread drf
I wonder if anyone can help with the following bug in my code. It relates to a Panel which contains a DropDownChoice. This is the exception: java.lang.IllegalArgumentException: Cannot format given Object as a Number
 at java.text.DecimalFormat.format(DecimalFormat.java:487)
 at

Re: DropDownChoice

2010-11-01 Thread andrea del bene
Hi, you get this exception because you set as object model an Account object and not a Long one, which is the expected type for model. I suppose you should pass just Account id field as object model. I wonder if anyone can help with the following bug in my code. It relates to a Panel which

Re: WebPage: geting string

2010-11-01 Thread msantos
I have notice that the WebApplication class has a private instance variable wich gets the name of the class. It has a getter, but i do not see the setter. Is it possible to change? Can we override the getName() method and return the name we want, with no problems to the application? Thanks a lot

Re: Send an object to page

2010-11-01 Thread andrea del bene
Passing objects to webpage via constructor is fine if you feel comfortable with it. If you wanna change URI you should take a look at Wicket URL Coding strategies: https://cwiki.apache.org/WICKET/url-coding-strategies.html. Using coding strategies you should be able to change URL as you

Re: WebPage: geting string

2010-11-01 Thread James Carman
Take a look at: http://svn.apache.org/repos/asf/wicket/trunk/wicket/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java It calls setName() on the application object using the name of the filter. Are you using WicketFilter? On Mon, Nov 1, 2010 at 5:57 PM, msantos mpssan...@gmail.com

Re: DropDownChoice

2010-11-01 Thread msantos
Hi there. Probably your accountsList has a value wich cannot be converted to long. What does that list contains? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-tp3022770p3022872.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Send an object to page

2010-11-01 Thread James Carman
You could pass the id of the object (if possible) as a PageParameter. You can then use a bookmarkable URL for your page. You'll have to lookup the object from the db, though. Again, this is only possible if the object is an entity. On Mon, Nov 1, 2010 at 6:04 PM, andrea del bene

Re: WebPage: geting string

2010-11-01 Thread msantos
the wicket version that i am using is 1.4.12, and that method on the Application class does not exist neither on the WicketFilter. Wich version is that source code you linked me? thanks -- View this message in context:

Re: WebPage: geting string

2010-11-01 Thread msantos
it can only be set once on the 1.5M version /** * Sets application name. This method must be called before any other methods are invoked and * can only be called once per application instance. * * @param name *unique application name

Re: WebPage: geting string

2010-11-01 Thread msantos
its working. thanks a lot -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebPage-geting-string-tp2993717p3022961.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe,

Displaying update error in Wizard step, need ideas

2010-11-01 Thread Nelson Segura
Hello, I am using the wicket-extensions wizard. On applyState() of a wizard step, I am calling my back end to update some data. There is a corner condition under which the update might fail, and we would like to stay in the current step and display a message. I thought about overriding the

Re: Displaying update error in Wizard step, need ideas

2010-11-01 Thread Nelson Segura
Just to clarify, I try setting then setComplete(false), but that creates an internal error message added by the wizard. I am thinking of creating the feedback panel for my wizard with a filter to accept only my messages, but I am not sure if that is the best approach, -nelson On Mon, Nov 1, 2010

Re: wicket-ajax header from url?

2010-11-01 Thread Igor Vaynberg
so why is there the non-ajax request? once the page is loaded everything else - communication with ext - should be happening via ajax requests... -igor On Mon, Nov 1, 2010 at 1:20 PM, Frank van Lankvelt f.vanlankv...@onehippo.com wrote: it returned false because a) the locking request was not

Re: Send an object to page

2010-11-01 Thread Jeremy Thomerson
On Mon, Nov 1, 2010 at 5:09 PM, James Carman ja...@carmanconsulting.comwrote: You could pass the id of the object (if possible) as a PageParameter. You can then use a bookmarkable URL for your page. You'll have to lookup the object from the db, though. Again, this is only possible if the

Re: Really basic help...

2010-11-01 Thread Jeremy Thomerson
On Mon, Nov 1, 2010 at 12:21 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: In my opinnion best way to learn is by trial and error ;) True but: Not the most profitable way, though ;) That's the problem. Wicket makes it very easy to get up-and-running. And in doing so,

Re: Really basic help...

2010-11-01 Thread Brian Topping
On Nov 1, 2010, at 1:57 PM, Brian Topping wrote: As they say, a million monkeys on typewriters will eventually produce the works of Shakespeare. :-) FWIW, http://en.wikipedia.org/wiki/Infinite_monkey_theorem describes what I was talking about here.

Re: Send an object to page

2010-11-01 Thread James Carman
On Mon, Nov 1, 2010 at 11:30 PM, Jeremy Thomerson jer...@wickettraining.com wrote: And, of course, it opens you up to doing more security checks i.e., you have editUserProfile.html?userID=123 - now you have to check that the signed in person is allowed to edit whatever user they are trying

Re: Really basic help...

2010-11-01 Thread James Carman
On Tue, Nov 2, 2010 at 12:11 AM, Brian Topping topp...@codehaus.org wrote: FWIW, http://en.wikipedia.org/wiki/Infinite_monkey_theorem describes what I was talking about here. And I had already trained 5 monkeys to code Wicket. I thought you were serious!

Re: Really basic help...

2010-11-01 Thread Brian Topping
On Nov 2, 2010, at 12:31 AM, James Carman wrote: On Tue, Nov 2, 2010 at 12:11 AM, Brian Topping topp...@codehaus.org wrote: FWIW, http://en.wikipedia.org/wiki/Infinite_monkey_theorem describes what I was talking about here. And I had already trained 5 monkeys to code Wicket. I thought

[ANNOUNCE] Release Wicket 1.4.13

2010-11-01 Thread Jeremy Thomerson
The Wicket team is proud to announce that we have released Apache Wicket 1.4 .13. This is a bugfix release on the 1.4.x (stable) branch. To download: http://www.apache.org/dyn/closer.cgi/wicket/1.4.13 Branch: http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.13/ Changelog: