Using JavaScript to "store" tabs means that all tabs are rendered at
once, so there is no need to store anything between switching tabs.

Jörn

On Mon, Sep 8, 2008 at 10:00 AM, thebeard <[EMAIL PROTECTED]> wrote:
>
> Thanks for your response Igor.
>
> It makes sense that the validation for field type is done ie: if a String is
> entered but an int is expected.
> Is there a simple way to conditionally bypass custom validation only eg:
> String length less than 64 characters?
> Also if we use javascript to switch tabs,  how we can store the values that
> have been inputted.
>
> Thanks
> -The Beard
>
>
>
> igor.vaynberg wrote:
>>
>> you cannot bind non-validated input to your model objects. what
>> happens if your model object is of type integer but the user entered
>> "a", how do you store that?
>>
>> the easiest way to accomplish what you want is to simply use
>> javascript tabs so switching tabs does not result in another request.
>>
>> -igor
>>
>> On Mon, Sep 8, 2008 at 12:02 AM, thebeard <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> We have a number of tabs that is contained within a single form. Each of
>>> the
>>> tabs has some fields on them, but when we navigate from tab to tab, we
>>> would
>>> like to bypass validation BUT still have it bind to our property model
>>> object.
>>>
>>> Additionally we have 1 button on the form, which when submitted, should
>>> do
>>> validation across all the tabs.
>>>
>>> We have tried changing the links to submit links in order to get it to
>>> bind
>>> to our property model and then setDefaultFormProcessing(false) in order
>>> to
>>> bypass the validation per tab, but this hasn't worked for us.
>>>
>>> Any ideas would be appreciated,
>>>
>>> Beardie
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Bypass-validation-conditionally-tp19366878p19366878.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Bypass-validation-conditionally-tp19366878p19367605.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to