Josef Sauerland/HKG/HELLA ist außer Haus.

2012-04-16 Thread Josef . Sauerland
Ich werde ab 16.04.2012 nicht im Büro sein. Ich kehre zurück am 28.04.2012. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.

Ajax update of a composite component within ui:repeat doesn't work

2012-04-16 Thread Marcus Büttner
Hi, This following example works with MyFaces 2.1.6 but not with 2.1.7. mycc.xhtml: cc:interface cc:attribute name=state type=ExampleModel.State/ /cc:interface cc:implementation h:selectBooleanCheckbox value=#{cc.attrs.state.state} f:ajax execute=@this render=@form/

Re: Ajax update of a composite component within ui:repeat doesn't work

2012-04-16 Thread Leonardo Uribe
Hi There was two issues solved in 2.1.7 related to ui:repeat: https://issues.apache.org/jira/browse/MYFACES-3415 [ui:repeat] field value disappears if validation error exists on current site https://issues.apache.org/jira/browse/MYFACES-3463 Refactor UIRepeat code to implement PSS algorithm

Re: Programmaticly adding composite component with myfaces

2012-04-16 Thread Leonardo Uribe
Hi That is outside JSF 2.0 spec, so it is implementation specific. The problem with that strategy is PSS algorithm. It is better to use ui:include src=#{} or c:if ... or c:when ... to achieve some dynamic behavior over component tree, and let MyFaces take care of the details behind PSS algorithm

Re: Ajax update of a composite component within ui:repeat doesn't work

2012-04-16 Thread Mark Struberg
Hi Leo! Did you also try the stuff with composite components inside ui:repeat? Default components seem to work, but composite components are probably broken. Buett will upload a sample code later today. LieGrue, strub - Original Message - From: Leonardo Uribe lu4...@gmail.com To:

Re: Ajax update of a composite component within ui:repeat doesn't work

2012-04-16 Thread Leonardo Uribe
Hi It seems there is a bug inside _setRowIndex() line 714: _initialDescendantComponentState = saveDescendantComponentStates(this, false, false); should be _initialDescendantComponentState = saveDescendantComponentStates(this, true, true); Since all content of a composite component is inside a