So the list of objects is in this case multiple input fields?
Why do that in a list, just give every email field that validator and
let wicket be the one that iterates of the list. Then you also have
much better feedback to the end user
On 7/5/08, atul singh <[EMAIL PROTECTED]> wrote:
> Can someon
Why should the propertymodel be an inherited?
Propertymodel is assignable model. Compound is inherited.
Property model isnt meant to be shared over multiple components thats
why we have compound
On 7/5/08, Thomas Kappler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> if I haven't overlooked something, ther
On Sun, 06 Jul 2008, atul singh wrote:
> Can someone please suggest a way to use/extend the current validators to
> validate list of objects.
> The problem is i have to write code in the following manner and don't know
> if it is a good approach.
Your approach seems fine, though you could collect
Thanks Ayodeji.
import org.apache.wicket.extensions.yui.calendar.DateField;
This does the trick.
But a clarification though - I am using the default version as
specified in the javadoc.
java: dateField = new DateField("birthday");
html:
I need a couple of modifications to the same. Just cur
are you talking about a DatePicker?
On Sun, Jul 6, 2008 at 4:11 AM, Rakesh Sinha <[EMAIL PROTECTED]>
wrote:
> Hi -
> Just curious if there is a Calendar control / class associated with
> Wicket. Thanks.
>
> -
> To unsubscribe,
Hi -
Just curious if there is a Calendar control / class associated with
Wicket. Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
RadioGroup sex; //define as a member variable ..
sex = new RadioGroup("sex", new Model(SexEnum.MALE) ) ;
//important: the model of the radio group has to be the same as
// the model for the individual radio members as well.
Radio male = new Radio("M", new Model(SexEnum.MALE));
Radio female = new
Ok - my new code looks as follows:
-
RadioGroup sex = new RadioGroup("sex");
Radio male = new Radio("M", new Model(SexEnum.MALE));
Radio female = new Radio("F", new Model(SexEnum.FEMALE));
sex.add(male.add(new AjaxEventBehavior("onchange") {
I changed the code to be AjaxFormComponentUpdatingBehavior ("onclick")
- but it still does not seem to work ( though , onclick *is* the right
method to invoke from javascript ).
The generated HTML does not seem to contain the javascript invocation
for the particular event. I am suspecting somethin
Hi,
if I haven't overlooked something, there's no variant of PropertyModel
implementing IComponentInheritedModel.
IComponentInheritedModel demands only one method, wrapOnInheritance.
Looking at the implementation of CompoundPropertyModel,
wrapOnInheritance does nothing but return an
AttachedCompo
Can someone please suggest a way to use/extend the current validators to
validate list of objects.
The problem is i have to write code in the following manner and don't know
if it is a good approach.
EmailAddressValidator validator = EmailAddressValidator.getInstance();
for (final
On Thu, 03 Jul 2008, Matej Knopp wrote:
> I'm gonna be -1 on removing model utility methods and default model
> slot from component until you suggest a clean and transparent way to
> support
> - compound (inherited) models
> - component assigned models
> - automatic detachment
Fair enough, let's s
On Fri, 04 Jul 2008, Matthijs Wensveen wrote:
> How do you cope with deeply nested model properties? For example:
>
> public class PersonViewer extends Component {
> ..
> }
>
> some other component does:
> person.getOrders().get(0).setAmount(0); // first order for free (as in beer)
I have no ide
On Sat, 05 Jul 2008, Rakesh Sinha wrote:
> This does not seem to invoke the ajax code handler that I was
> expecting when I select an age in the front - end. Any idea what I am
> missing here.
Check out which JavaScript event gets triggered on checking
the radio button. It might be onclick instead
which version of netbeans are you using. I use NB6.1 and with a standard
netbeans web project all you have to do is recompile your web project and
right-click on project and then Run. It will deploy your changes alright.
Only that after a while, tomcat will give you perm-gen error which will
force
Hi -
I am trying to integrate ajax behavior with a radio button such that
whenever a radio button in a radio group is selected - an appropriate
handler is invoked.
Java:
RadioGroup sex = new RadioGroup("sex");
sex.add(new Radio("M", new Model(AgeValidator.SexEnum.MALE)));
sex.add(new Radio(
Just tried it... seems to work as it should.
thanks for your help.
- Brill
On 5-Jul-08, at 12:33 AM, David Leangen wrote:
I can't seem to find anywhere, how I get wicket to automatically go
to
the "home" page instead of the "Page Expired" page when the session
is
invalidated (expires, o
17 matches
Mail list logo