myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] Resolved: (MYFACES-2483) Find a way to allow c:if work with partial state saving enabled
Date Sun, 31 Jan 2010 01:05:34 GMT


Leonardo Uribe resolved MYFACES-2483.

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-2

That one was hard to solve!

> Find a way to allow c:if work with partial state saving enabled
> ---------------------------------------------------------------
>                 Key: MYFACES-2483
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.0-beta-2
>         Attachments: fixPSSIf2009JAN-10.patch, fixPSSIf2009JAN-11.patch, fixPSSIf2009JAN-14.patch,
> This one is difficult to solve but I still think it is possible.
> It was explored trying to solve MYFACES-2428, and it seems ri is trying to do something
about it too on:
> and
> One strategy to solve this one is this:
> 1. Mark the parent component containing c:if to not save it partially.
> 2. Do not execute c:if on postback and partial state saving enabled.
> In theory, the parent component should be restored fully from saved state.
> Note that things like:
> <c:if>....
>    <p>Some markup</p>
> <c:if>
> is just invalid. It is expected that c:if only contains components with state.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message