myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Starets <max.star...@oracle.com>
Subject Re: [Trinidad2] FacesBean and JSF 2.0
Date Mon, 12 Oct 2009 13:48:08 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Martin,<br>
<br>
Martin Kočí wrote:
<blockquote cite="mid:1255186662.5987.108.camel@markoc.uvoz.aura.cz"
 type="cite">
  <pre wrap="">Hi,

why I asked about partial state saving is compile-time dependency on
facelets 1.1.X in TrinidadComponentHandler and StateManagerImpl, both on
PARAM_BUILD_BEFORE_RESTORE param. With mojarra 2  jsf-impl and facelets
1.1.x cannot be deployed concurrently.
  </pre>
</blockquote>
This code will be commented out in my patch. It will all be sorted out
when we integrate Trinidad's partial state<br>
saving with JSF 2.0.<br>
<blockquote cite="mid:1255186662.5987.108.camel@markoc.uvoz.aura.cz"
 type="cite">
  <pre wrap="">
Few thoughts on facelets2 and trinidad2 :

- change tr.taglib.xml and trh.taglib.xml root element (generated with
maven  plugin?) to:

&lt;facelet-taglib xmlns=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaee">"http://java.sun.com/xml/ns/javaee"</a>
              xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>
              xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-facelettaglibary_2_0.xsd">"http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facelettaglibary_2_0.xsd"</a>
              version="2.0"&gt;

- rewrite TrinidadFaceletViewHandler (if it is still needed) to
ViewDefinitionLanguage
  </pre>
</blockquote>
It is going away.<br>
<blockquote cite="mid:1255186662.5987.108.camel@markoc.uvoz.aura.cz"
 type="cite">
  <pre wrap="">
- drop old facelets code  from TrinidadComponentHandler,
StateManagerImpl and TrinidadListenersTagRule and dependency from
pom.xml

- and sure more but I'm not familiar with facelets


Regards,

Martin Koci


Max Starets píše v Pá 09. 10. 2009 v 16:50 -0400:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Martin,

I agree we should look at integrating JSF 2.0 partial state saving into 
Trinidad seamlessly.
It would not jump to conclusions about FaceBean just yet though.

I am currently working on getting the branch to compile and run with JSF 
2.0 (pretty much along the lines
that you were suggesting in your previous e-mail).

I will enter a JIRA for that and submit a patch probably on Monday. Once 
we get to a point where we can build
and test, we should start looking at features like partial state saving.

Regards,
Max Starets

Martin Koc(í wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi,

for Trinidad2: should we deprecate FacesBean and use StateHelper
instead? I think it is the same idea:

<a class="moz-txt-link-freetext" href="http://myfaces.apache.org/trinidad/trinidad-api/apidocs/org/apache/myfaces/trinidad/bean/FacesBean.html">http://myfaces.apache.org/trinidad/trinidad-api/apidocs/org/apache/myfaces/trinidad/bean/FacesBean.html</a>

<a class="moz-txt-link-freetext" href="https://javaserverfaces.dev.java.net/nonav/docs/2.0/javadocs/javax/faces/component/StateHelper.html">https://javaserverfaces.dev.java.net/nonav/docs/2.0/javadocs/javax/faces/component/StateHelper.html</a>
<a class="moz-txt-link-freetext" href="https://javaserverfaces.dev.java.net/nonav/docs/2.0/javadocs/javax/faces/component/PartialStateHolder.html">https://javaserverfaces.dev.java.net/nonav/docs/2.0/javadocs/javax/faces/component/PartialStateHolder.html</a>

Concept is related to state saving and I think we should force Trinidad2
to use partial state saving from JSF 2.0 because that was inspired by
trinidad. Am I right?


Martin






  
      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>

Mime
View raw message