Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 5440 invoked from network); 18 Jan 2010 03:17:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2010 03:17:28 -0000 Received: (qmail 9501 invoked by uid 500); 18 Jan 2010 03:17:27 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 9381 invoked by uid 500); 18 Jan 2010 03:17:27 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 9373 invoked by uid 99); 18 Jan 2010 03:17:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 03:17:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 03:17:18 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1F29C234C4AD for ; Sun, 17 Jan 2010 19:16:58 -0800 (PST) Message-ID: <771781504.305751263784618126.JavaMail.jira@brutus.apache.org> Date: Mon, 18 Jan 2010 03:16:58 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Updated: (MYFACES-2483) Find a way to allow c:if work with partial state saving enabled In-Reply-To: <685346887.185811263318714493.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-2483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe updated MYFACES-2483: ------------------------------------ Status: Open (was: Patch Available) > Find a way to allow c:if work with partial state saving enabled > --------------------------------------------------------------- > > Key: MYFACES-2483 > URL: https://issues.apache.org/jira/browse/MYFACES-2483 > Project: MyFaces Core > Issue Type: Task > Components: JSR-314 > Reporter: Leonardo Uribe > Attachments: fixPSSIf2009JAN-7.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: > https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1408 > and > https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1313 > 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: > .... >

Some markup

> > 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.