Hi Werner!
You should enclose your x:tabbedPane - tag in a x:form like this:
<h:form>
<x:panelTabbedPane>
<x:panelTab id="tab1">
.....
</x:panelTab>
<x:panelTab id="tab2">
.....
</x:panelTab>
<x:panelTabbedPane>
</h:form>
and not a form per tab. This doesn't work, because the values on every
tab are submited if you change the active tab.
HTH
Philipp
2005/5/27, Werner Punz <[EMAIL PROTECTED]>:
> Werner Punz wrote:
> > Hi...
> >
> > Hi have following problem:
> > I have a form with lots of entry fields, in the form there is a tabbed
> > pane with four tabs all of them containing fields.
> > No when i open the page, the fields are set correctly
> > in the fields outside the tab and in the first tab, but as soon as I
> > switch tabs nothing else is shown anymore.
> > To the worse I lose most of the data referenced by those fields.
> >
> > Does anybody know what happens there.
> > I will try to isolate the problem in the evening, to have further details.
> >
> It seems to me that the tabbed pane simply does not update any model
> data or submits the enclosing form correctly... hence everything in the
> tabbed pane gets lost.
> I dont know how to handle this, moving the pane to a panel stack gives
> the desired result.
> But as I see it the tabbed pane in the current state is quite usless for
> form input, if there is no workaround that.
> If anybody has solved the problem, I would love to find an answer.
>
>