FYI

..the problem was a side effect of an input component actually consisting
of two input media, one being an input field
and the other a select field, and both pointing at the same property, which
leads to a deactivation of the entire submit
with no hints whatsoever :(

[EMAIL PROTECTED] schrieb: -----

An: "MyFaces Discussion" <[email protected]>
Von: [EMAIL PROTECTED]
Datum: 17.01.2008 09:48AM
Thema: Re: Re: [Trinidad] tr:form/subform issue: form fields not passed





Hi,

 it is evaluated as false:

<ui:param name="readOnlyTest" value="false" />

I updated it now to 1.2.5 but no change, the problem prevails.
But it seems to me there must be something simple responsible
for the problem..

In the mean time I eliminated showDetailItem and facelets
for testing (except for the single input components made a facelets).

So the possibilities for the problem are reduced to either the

To sum it up:

I have a form/subform structure as follows:
<tr:form>
<tr:subform>
</tr:subform>
<str:ubform>
</tr:subform>
<tr:subform>
</tr:subform>
<tr:commandButton id="myButton" action="#{orderController.saveData}"
</tr:form>

When I am in the saveData method I check thru logging
that the new form field values that have been entered.
have not been set.

If I apply
<tr:form commandButton="myButton">
<tr:subform default="true">
</tr:subform>
<tr:subform default="true">
</tr:subform>
<tr:subform default="true">
</tr:subform>
<tr:commandButton id="myButton" action="#{orderController.saveData}"
</tr:form>

But then the button itself is dead and nothing happens.

So which approach is the correct one?

But maybe there is another problem with the page itself,
which I have yet to come across.

Thanks
Wolfgang.





PTA Programmier-Technische Arbeiten GmbH
Seckenheimer Str. 65-67, 68165 Mannheim
Amtsgericht Mannheim, HRB 1139
USt-IdNr.: DE 143 839 368
Geschäftsführer:
Dipl.-Ing. Peter Fischer
Dr. Harald W. Busch
Dipl.-Kfm. Knut Fischer

**********************************************************************
http://www.pta.de
Mit 1539 Erfahrungsberichten aus 39 Jahren erfolgreicher Projektarbeit!
**********************************************************************

PTA Programmier-Technische Arbeiten GmbH
Seckenheimer Str. 65-67, 68165 Mannheim
Amtsgericht Mannheim, HRB 1139
USt-IdNr.: DE 143 839 368
Geschäftsführer:
Dipl.-Ing. Peter Fischer
Dr. Harald W. Busch
Dipl.-Kfm. Knut Fischer

**********************************************************************
http://www.pta.de
Mit 1539 Erfahrungsberichten aus 39 Jahren erfolgreicher Projektarbeit!
**********************************************************************

Reply via email to