You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Leyzerzon, Simeon" <si...@credit-suisse.com> on 2006/11/01 15:57:11 UTC

MyFaces, facelets and JSF 1.2 compliance

Hi,

Could someone please shed some light on the MyFaces1.1.4 JSF 1.2 compliance roadmap and what's required to start using MyFaces with facelets on Weblogic 8.1 in terms of its configuration, jars, features, caveats, etc.

Thanks in advance.
Simeon Leyzerzon


==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

Re: MyFaces, facelets and JSF 1.2 compliance

Posted by Matthias Wessendorf <ma...@apache.org>.
myfaces 1.1.4 == JSF 1.1
myfaces 1.2.x == JSF 1.2 (under dev)

facelets: at least the facelets jars + the myfaces jars.

not sure if weblogic needs some *special* care, like setting up something.

You can check this pom for myfaces/facelets/trinidad/tomahawk/jetty
dependencies (in a maven2 world)
/trinidad/jetty is NOT required, just an example; you can use Tomahawk instead/

<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>net.wessendorf.jsf</groupId>
  <artifactId>bob</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>Bob, the baumeister</name>
  <url>http://www.wessendorf.net</url>

   <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <configuration>
                        <source>1.5</source>
                        <target>1.5</target>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    <finalName>bob</finalName>
        <plugins>
          <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <configuration>
          <connectors>
            <connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
              <port>9090</port>
              <maxIdleTime>60000</maxIdleTime>
            </connector>
          </connectors>
              <scanIntervalSeconds>10</scanIntervalSeconds>
            </configuration>
          </plugin>
        </plugins>
  </build>

  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>java-net</id>
      <name>java.net repository</name>
      <!-- NOTE: this URL must be HTTPS.  However, unfortunately this
           doesn't work behind a firewall.  See:
         http://jira.codehaus.org/browse/WAGONHTTP-6
           ... for the source of that problem.  Users behind firewalls
           will have to manually download the files from this repository
           and transfer them to their local repository.
      -->
      <url>https://maven-repository.dev.java.net/nonav/repository/</url>
      <layout>legacy</layout>
    </repository>

    <repository>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>apache-maven-snapshots</id>
      <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
    </repository>
  </repositories>

      <pluginRepositories>
      <!-- Repository to get the jetty plugin -->
        <pluginRepository>
          <id>mortbay-repo</id>
          <name>mortbay-repo</name>
          <url>http://www.mortbay.org/maven2/snapshot</url>
        </pluginRepository>
      </pluginRepositories>

  <!-- Project dependencies -->
  <dependencies>

        <dependency>
        <groupId>com.sun.facelets</groupId>
        <artifactId>jsf-facelets</artifactId>
        <version>1.1.11</version>
      </dependency>

    <dependency>
      <groupId>org.apache.myfaces.tomahawk</groupId>
      <artifactId>tomahawk</artifactId>
      <version>1.1.5-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.myfaces.core</groupId>
      <artifactId>myfaces-api</artifactId>
      <version>1.1.4</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.myfaces.core</groupId>
      <artifactId>myfaces-impl</artifactId>
      <version>1.1.4</version>
      <scope>compile</scope>
    </dependency>

    <!-- Apache Trinidad -->
    <dependency>
      <groupId>org.apache.myfaces.trinidad</groupId>
      <artifactId>trinidad-api</artifactId>
      <version>incubator-m1-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.myfaces.trinidad</groupId>
      <artifactId>trinidad-impl</artifactId>
      <version>incubator-m1-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.0</version>
      <scope>test</scope>
    </dependency>


        <dependency>
          <groupId>javax.servlet</groupId>
          <artifactId>jsp-api</artifactId>
          <version>2.0</version>
          <scope>compile</scope>
        </dependency>

        <dependency>
          <groupId>tomcat</groupId>
          <artifactId>jasper-compiler</artifactId>
          <version>5.5.9</version>
          <scope>compile</scope>
        </dependency>

        <dependency>
          <groupId>tomcat</groupId>
          <artifactId>jasper-runtime</artifactId>
          <version>5.5.9</version>
          <scope>compile</scope>
        </dependency>

        <dependency>
          <groupId>tomcat</groupId>
          <artifactId>jasper-compiler-jdt</artifactId>
          <version>5.5.9</version>
          <scope>compile</scope>
        </dependency>


      <dependency>
        <groupId>javax.el</groupId>
        <artifactId>el-api</artifactId>
        <version>1.0alpha</version>
      </dependency>

      <dependency>
        <groupId>javax.el</groupId>
        <artifactId>el-ri</artifactId>
        <version>1.0alpha</version>
      </dependency>

  </dependencies>
</project>


Note, I am using *snapshots* here.

and here is something regarding some containers:
http://wiki.apache.org/myfaces/Installation_and_Configuration

HTH,
Matt


On 11/1/06, Leyzerzon, Simeon <si...@credit-suisse.com> wrote:
>
>
>
> Hi,
>
> Could someone please shed some light on the MyFaces1.1.4 JSF 1.2 compliance
> roadmap and what's required to start using MyFaces with facelets on Weblogic
> 8.1 in terms of its configuration, jars, features, caveats, etc.
>
> Thanks in advance.
> Simeon Leyzerzon
>
> ==============================================================================
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
> ==============================================================================
>
>
>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com