[Wicket-user] Changing validation rules on the fly

2007-05-31 Thread John RDF
I have a complex form split into panels in a wizard and some validation requirements in a panel change depend ing on changes in the model made by previous panels. I was expecting to be able to remove one type of validator previously added and add a new one that covers the changed circumstances bu

Re: [Wicket-user] Id is "-relative_path_prefix1" after upgrade to 1.3 snapshot

2007-05-14 Thread John RDF
7;order-of-events' type of problem. igor.vaynberg wrote: > > i think this is due to our latest url refactor. please create a jira issue > and attach markup/html or a quickstart that reproduces the problem. > > -igor > > > On 5/11/07, John RDF <[EMAIL PROTECTE

[Wicket-user] Id is "-relative_path_prefix1" after upgrade to 1.3 snapshot

2007-05-11 Thread John RDF
I am currently getting markup exceptions that were OK in 1.2.6. The login panel component does exist as a div in the html and worked fine before. What worries me is that the component thinks its id is "-relative_path_prefix1" not "login". Where did this come from? Unable to find component with id

Re: [Wicket-user] RadioGroup.. Correct usage (with enum values)?

2007-05-03 Thread John RDF
an you create a quickstart so we can see > what goes wrong? > > -igor > > On 5/3/07, John RDF <[EMAIL PROTECTED]> wrote: >> >> >> I have problems with radio groups. According to docs and tutorials the >> group's model object should be set to the selecte

[Wicket-user] Test Case - Nested Forms/Models and weird behaviour

2007-05-03 Thread John RDF
filled unexpectedly) I suspect this behaviour relates to nested forms as without the outer form it appears to work as expected. I am also beginning to suspect that this may be the root of my other problem with radio groups behaving oddly. Hope this helps and thanks, John John RDF wrote: > >

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread John RDF
ly scope creep (in that you might be > tempted to use the components directly rather then to work through > models. > > Eelco > > On 5/3/07, John RDF <[EMAIL PROTECTED]> wrote: >> >> Thanks Igor and I am curious. Why is it nasty in your opinion? Which >> par

[Wicket-user] RadioGroup.. Correct usage (with enum values)?

2007-05-03 Thread John RDF
I have problems with radio groups. According to docs and tutorials the group's model object should be set to the selected radio model object. However, in my case (using enum values which must be set on an enum property) the group's model object always seems to be null. I based my code on the tutor

Re: [Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-03 Thread John RDF
i dont see why anything > would go wrong. try and replicate it in a quickstart and someone will go > through it. > > -igor > > > On 5/2/07, John RDF <[EMAIL PROTECTED]> wrote: >> >> I am still having real trouble making truly reusable panels for domain >

[Wicket-user] Reusable Panels/Nested Forms/Models and weird behaviour

2007-05-02 Thread John RDF
I am still having real trouble making truly reusable panels for domain objects that work consistently without quirky behaviour. I attach my code for an address panel. It contains a form as it has buttons for looking up streets from the postcode. This panel needs to be embedded with multiple insta

[Wicket-user] Resuable Panels and Model nesting

2007-05-01 Thread John RDF
I am trying to create Panels that represent each of my domain objects i.e. Address, Name, Referee (Contains Name and Address) etc.. I then have a CompoundPropertyModel over a value object which represents the entire form. In this I want to map its properties (and sub properties etc).. I am having

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

2007-04-27 Thread John RDF
Yes it does. I have found out what was happening. It turned out that the web designer had put some javascript in that was confusing the matter with the outer form. I change the javascript onClick() to be on the input rather than the form and it worked fine. Thanks for the advice and sorry for the

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

2007-04-27 Thread John RDF
I have nested forms and need them for the following reason.. I have a reusable panel for addresses which has its own form "lookup from postcode" submit button to auto fill the address. This panel is used in another form 3 times which needs addresses for different people. My problem is that the

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
Well it is there and the java doc says it returns an absolute URL but it doesn't only the path info. So my quest continues.. Where do I get the original http servlet request so I can find the host etc? Anyone? John RDF wrote: > > Very sorry. My IDE was being weird. It is t

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
Very sorry. My IDE was being weird. It is there in the RequestCycle.. Oops.. John RDF wrote: > > Thanks for your quick reply Johan. > > I have worked out to avoid the escaping prob.. > > Now just how do I get the original request to find out the host I am > running on?

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
should work fine i believe > > johan > > > On 4/17/07, John RDF <[EMAIL PROTECTED]> wrote: >> >> >> In my app I need to leave wicket temporarily to detour to another site >> and >> then come back to a page in my wicket app. I used the following code

[Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF
In my app I need to leave wicket temporarily to detour to another site and then come back to a page in my wicket app. I used the following code to generate the return URL but it seems to generate an incomplete URL with some illegal characters in it also.. String returnURL = urlFor(getPageMap(), S

Re: [Wicket-user] Post Form to different server? How?

2007-04-16 Thread John RDF
It turns out easy. Wicket doesn't mind if wicket hidden fields are not inside a wicket form. So I just used wicket hidden fields to modify the form to send to worldpay.. :) John RDF wrote: > > I have a form that has some hidden fields that I need to be generated > dynamically. H

[Wicket-user] Post Form to different server? How?

2007-04-16 Thread John RDF
I have a form that has some hidden fields that I need to be generated dynamically. However, I want to form submitted to an other server (world pay). Wicket changes the form so it posts back into wicket but I want to leave wicket page (and come back after world pay). How do I do this? -- View th