what i meant is you can have all parts of the form sent to the client, but certain parts of it hidden via style="display:none;" and ajvascript that toggles between those parts like a tabbed panel.
-Igor
On 4/5/06, jw <[EMAIL PROTECTED]> wrote:
but what if Ajax is not an option because the back-button is expected to work inbetween tab-navigation (an Ajax page looses history!)?----- Original Message -----From: Igor VaynbergNewsgroups: gmane.comp.java.wicket.userSent: Monday, April 03, 2006 7:19 PMSubject: Re: Validations and the TabbedPaneltabbedpanel isnt really meant to be used to cover up form components, so you are right, what you need is a tabbedpanel that uses dhtml instead of a server roundtrip.
-Igor
On 4/3/06, Bennett, Timothy (JIS - Applications) <[EMAIL PROTECTED]> wrote:Wicketeers,I'm using the TabbedPanel component in a Wicket 1.1.1 application. Works great in a read-only view mode of my data, but using the TabbedPanel to present a create/edit form for my data is proving to be a bit problematic. One big issue I'm having is that the validators of my form components are only firing for the components that are part of the "currently selected" tab panel. The reason is because the TabbedPanel only renders the content of the selected tab, instead of doing some show/hide magic with all the tabbed panels.Markup for my page looks basically like:<form wicket:id="form><input wicket:id="save" type="image" src="" border="0" hspace="6" />
<input wicket:id="cancel" type="image" src="" border="0" value="Cancel" hspace="6" /><span wicket:id="tabs" class="tabpanel">[tabbed panel will be here]</span>
</form>As you can see, the TabbedPanel is inside a single form. I need validations to fire on all the component in all the tab panels, not just the rendered panel. My plan is to extend/modify/evolve the TabbedPanel component to (something like a TabbedFormPanel component) that effectively employs some show/hide magic so that all the panels are available in the form for validation.Does this sound like the right approach, or am I missing something that would be simpler but accomplish the same thing...Thanks in advance,Timothy
