Re: [Wicket-user] File Upload inside a Wizard?

2007-05-05 Thread Ralf Eichinger
do not add your own form, i dont think we handle multipart embedded forms yet. simply add the field directly to the wizardstep panel. -igor thank you igor. now the upload works. but: - howto set maximum upload size? setMaxSize(Bytes.kilobytes(500)); no longer works (I'm inside a wizardstep

Re: [Wicket-user] How to remove a Behaviour?

2007-05-05 Thread Eelco Hillenius
remove is a good addition, but what about isEnabled()? that might be a nice way to conditionally apply a behavior instead of removing it. That already is supported (see IModel#isEnabled(Component)). The advantage of removing it altogether obviously is that it saves a bit of state, and the

[Wicket-user] Strange behavior when calling a function in appendJavascript

2007-05-05 Thread Tauren Mills
I'm having a strange problem executing javascript functions from ajax. Some scripts work and some don't. I've got this java code: target.appendJavascript(toggleSelection(document.getElementById('+getComponent().getMarkupId()+'))); And in the html I've

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-05 Thread Erik van Oosten
Nino, There is a special repository for the snapshots. You can find instructions on http://incubator.apache.org/wicket/building-from-svn.html. Regards, Erik. Nino Saturnino Martinez Vazquez Wael schreef: Hi Im trying to get the GMAP contribution to work, i've checked it out from

Re: [Wicket-user] Good Tutorial on core wicket

2007-05-05 Thread Erik van Oosten
Probably caused by the wiki conversion some time ago. Erik. cowwoc schreef: I wonder why the indentation is all screwed up for the code at the bottom, the markup text looks correct to me... Gili Scott Swank wrote: Have you seen this in the wiki? It's a reasonable start on

Re: [Wicket-user] 1.2 to 1.3 migration problems (javax.crypto.IllegalBlockSizeException

2007-05-05 Thread Herman Bovens
When I omit the panel that has the password field (a simple subclass from SignInPanel) from the page, there are no errors anymore. Obviously, I need the SignInPanel. It worked fine with version 1.2. Any ideas? Herman Bovens wrote: Hi, I'm getting errors when deploying my application,

[Wicket-user] Component.onAttach/onBeforeRender event changes in 1.3

2007-05-05 Thread Johan Compagner
Component.onAttach/onBeforeRender/onAfterRender changes. Before we had this behaviour: new Page: Page constructed Page.onAttach() - all the components are visited Page.onBeforeRender() Page.render - childComponent.onBeforeRender() childComponent.render() childComponent.onAfterRender()

Re: [Wicket-user] BookmarkablePageLink with multiple window support in 1.2.6

2007-05-05 Thread Jean-Baptiste Quenot
* Ingram Chen: another problem in 1.2.6. I use BookarmablePageLink: public ToIdineLink(String id, Shop shop) { super(id, ShopPage.class); setParameter(shop, shop.getId()); } so the url is: /context/app/foo?shop=123 if we open this link in new window, url

Re: [Wicket-user] Button using button tag instead of input

2007-05-05 Thread Jean-Baptiste Quenot
* Ryan Sonnek: Using the current Link object is *not* an option since it doesn't disable buttons correctly. Yes it does it's fixed. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ -

Re: [Wicket-user] Button using button tag instead of input

2007-05-05 Thread Jean-Baptiste Quenot
* Johan Compagner: Buttons can have a name and value: snip/ and i still think it is stupid to have a Button component that can't be mapped on the button tag OK guys, I changed it again for good and removed the special handling of input:

Re: [Wicket-user] Button using button tag instead of input

2007-05-05 Thread Ryan Sonnek
On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Ryan Sonnek: Using the current Link object is *not* an option since it doesn't disable buttons correctly. Yes it does it's fixed. So, now I'm confused. If Link is fixed, should I use it or the updated Button object?

Re: [Wicket-user] Strange behavior when calling a function in appendJavascript

2007-05-05 Thread James McLaughlin
hmm. Have you run it with firebug or venkman? When I've run into this before it was usually because the script had a parse error causing the interpreter to barf and not load the rest of the script. best, jim On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I'm having a strange problem

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-05-05 Thread D.Alexander
Ok, but how does one do labels properly like this (i.e. with a for attribute). A reminder of what this thread was about ... I'm reusing a custom PostalAddressFieldsetPanel component twice in a form so eventual markup sent to browser should look something like this: fieldset legendDelivery

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-05-05 Thread Gerolf Seitz
you may want to take a look at the class FormComponentLabel it should do the trick On 5/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, but how does one do labels properly like this (i.e. with a for attribute). A reminder of what this thread was about ... I'm reusing a custom

Re: [Wicket-user] Nested Forms and onSubmit()?

2007-05-05 Thread D.Alexander
It does! Thanks -Original Message- From: [EMAIL PROTECTED] on behalf of Gerolf Seitz Sent: Sat 5/5/2007 4:28 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Nested Forms and onSubmit()? you may want to take a look at the class FormComponentLabel it should do the

Re: [Wicket-user] AbstractTree in 1.3

2007-05-05 Thread Eelco Hillenius
The older tree, which is in extensions now, did use the TreeModel more extensively it seems. Imo, implementing your custom treenodes is the way to go for dynamic nodes anyway, but I'm not sure why Matej skips the TreeModel. Matej? Eelco On 5/2/07, Mats Norén [EMAIL PROTECTED] wrote: Just a

Re: [Wicket-user] Button using button tag instead of input

2007-05-05 Thread Jean-Baptiste Quenot
* Ryan Sonnek: So, now I'm confused. If Link is fixed, should I use it or the updated Button object? Button is a form component, Link is not. It's up to you. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

Re: [Wicket-user] Difficulty with TextFields in ListView

2007-05-05 Thread Jean-Baptiste Quenot
* Martijn Dashorst: Basically you need to setReuseItems(true) or use a repeater. Confirmed. Be careful that ListView is not industrial strength when it comes to text fields and adding or removing rows. In other words it's broken. If you need this feature, better use

Re: [Wicket-user] Sending Emails Via Wicket?

2007-05-05 Thread Jean-Baptiste Quenot
If you don't follow the standalone Velocity approach and want to reuse your Wicket components: Processing a Wicket page and sending the result to a buffer can be achieved through StringRequestTarget, thus allowing you to use the buffer contents for sending email. See

[Wicket-user] Checkbox onchange event differences between IE and FF

2007-05-05 Thread Tauren Mills
I have numerous ajax calls throughout my app, and they work fine in both FF and IE. However, there is one that behaves differently in IE and FF. It seems that the onchange behavior of a checkbox happens at different times between the browsers. With FF, the event is sent as soon as the checkbox

Re: [Wicket-user] Strange behavior when calling a function in appendJavascript

2007-05-05 Thread Tauren Mills
Hi Jim, Thanks for the suggestion. I haven't tried that, so I'll give it a try. Tauren On 5/5/07, James McLaughlin [EMAIL PROTECTED] wrote: hmm. Have you run it with firebug or venkman? When I've run into this before it was usually because the script had a parse error causing the

Re: [Wicket-user] Checkbox onchange event differences between IE and FF

2007-05-05 Thread Matej Knopp
use onclick instead of onchange. -Matej On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I have numerous ajax calls throughout my app, and they work fine in both FF and IE. However, there is one that behaves differently in IE and FF. It seems that the onchange behavior of a checkbox happens

Re: [Wicket-user] Checkbox onchange event differences between IE and FF

2007-05-05 Thread Tauren Mills
Duh! Thanks! On 5/5/07, Matej Knopp [EMAIL PROTECTED] wrote: use onclick instead of onchange. -Matej On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I have numerous ajax calls throughout my app, and they work fine in both FF and IE. However, there is one that behaves differently in IE

Re: [Wicket-user] 1.2 to 1.3 migration problems (javax.crypto.IllegalBlockSizeException

2007-05-05 Thread Jean-Baptiste Quenot
* Herman Bovens: When I omit the panel that has the password field (a simple subclass from SignInPanel) from the page, there are no errors anymore. Obviously, I need the SignInPanel. It worked fine with version 1.2. Any ideas? Providing the relevant code snippet would

Re: [Wicket-user] AbstractRequestTargetUrlCodingStrategy is throwing an error now...

2007-05-05 Thread Jean-Baptiste Quenot
* ChuckDeal: Upon debugging the problem, AbstractRequestTargetUrlCodingStrategy.decodeParameters actually gets called twice; first with /mode/add (as expected), but then (i can't tell exactly when, but around the time the page is actually rendering) it gets called with mode/:/0 (not

Re: [Wicket-user] Formatting non-html templates

2007-05-05 Thread Jean-Baptiste Quenot
* David Leangen: and now component.setRenderBodyOnly(true) Looks like this approach does exactly what I want after all. :-D I guess you can also add a markup filter that will strip out the XML tags. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

Re: [Wicket-user] Back-button / versioning

2007-05-05 Thread Jean-Baptiste Quenot
* Eelco Hillenius: I still understand we need test hours and people reporting their issues if we ever want to get this stable, but so far, the test cases are still minimal, Indeed we definitely need unit tests for this custom serialization, with good coverage. --

Re: [Wicket-user] Forgot password feature

2007-05-05 Thread Jean-Baptiste Quenot
* Tauren Mills: One more thing on this. I have it working so that my URL looks like this: /sa/app/reset/1/4xYD6JctlSPwU23eN%2Fm1isA5Cf8%3D/0/tauren The key is the PageParameter #1. I'm encoding a value using Base64, which appears to include slashes, =, etc. When this string is used in

Re: [Wicket-user] BookmarkablePageLink with multiple window support in 1.2.6

2007-05-05 Thread Ingram Chen
After trying various combination, I found this may be caused by QueryStringUrlCodingStrategy I create jira with quickstart: https://issues.apache.org/jira/browse/WICKET-539 thanks for help On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Ingram Chen: another problem in 1.2.6. I