You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-dev@incubator.apache.org by Adam Winer <aw...@gmail.com> on 2006/10/05 04:00:06 UTC

Trinidad JSF 1.2 status update

As of tonight, I have Trinidad up and running against JSF 1.2 with
(nearly) fully JSF 1.2-ized APIs - running against the new EL,
proper generics, (some) invokeOnComponent() support.
There's still a few smaller tasks left, but anyone looking
to run Trinidad on a JSF 1.2 server can build the code from:

http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2

-- Adam

Re: Trinidad JSF 1.2 status update

Posted by Adam Winer <aw...@gmail.com>.
Hey, BTW, what happens with java-templates:  we
autogenerate almost all our component (and a number of
other) .java files.  However, when there needs to
be some non-auto-generated, manual code, we put
that in java-templates.  So UIXCommandTemplate.java
automatically gets merged into the generated UIXCommand.java
file.

One of the cool things about the technique Trinidad uses
is that UIXCommandTemplate.java is actually a fully
valid .java file - so you can add it to an IDE and
compile it, etc., to make sure it's valid.  But it's
ignored at runtime, and not in our JAR - only the
merged UIXCommand is.

-- Adam



On 10/7/06, Rogers Reilly <ro...@s-rod.com> wrote:
>
> working now.  thanks Adam!
>
> Adam Winer wrote:
>
> > Rogers,
> >
> > Oops!  I forgot to "svn add" a couple of files before checking in.
> > Give it a whirl now.  Thanks for catching this.
> >
> > -- Adam
> >
> >
> > On 10/7/06, Rogers Reilly <ro...@s-rod.com> wrote:
> >
> >>
> >> Hi,
> >>
> >> I'm trying to build from the SVN you're pointing to, can't quite get
> >> Maven to pull it off.  I get a compilation error:
> >>
> >> cannot find symbol:  class MethodBindingMethodExpression, location:
> >> class org.apache.myfaces.trinidad.component.UIXSelectInput.  (same
> >> errors exist for UIXCommand).
> >>
> >> I notice that neither of these classes are in the
> >> trinidad-api/src/main/java/ tree (failure occurs during trinidad-api
> >> build), but Maven is actually finding them in the
> >> trinidad-api/target/maven-faces-plugin/main/java tree, and so tries to
> >> compile them.  Also getting a warning that "POM for
> >> 'javax.faces:jsf-api:pom:1.2-b19:provided' is invalid.  It will be
> >> ignored for artifact resolution.  Reason:  Not a v4.0.0 POM", but the
> >> JSF 1.2 .jars do show up in my repository so I don't think that's the
> >> issue.
> >>
> >> Do I need to do anything special to build this 1.2 branch?  Exclude
> some
> >> of the plug-ins from my checkout?
> >>
> >> Thanks in advance- looking forward to "keeping" my <tr:xxx /> tags, as
> >> I'd  just begun the process of switching over to the RI to use
> >> DynaFaces.  :-)
> >>
> >> Rogers
> >>
> >> Adam Winer wrote:
> >>
> >> > As of tonight, I have Trinidad up and running against JSF 1.2 with
> >> > (nearly) fully JSF 1.2-ized APIs - running against the new EL,
> >> > proper generics, (some) invokeOnComponent() support.
> >> > There's still a few smaller tasks left, but anyone looking
> >> > to run Trinidad on a JSF 1.2 server can build the code from:
> >> >
> >> > http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
> >> >
> >> > -- Adam
> >> >
> >> >
> >>
> >>
> >
>
>
>

Re: Trinidad JSF 1.2 status update

Posted by Rogers Reilly <ro...@s-rod.com>.
working now.  thanks Adam!

Adam Winer wrote:

> Rogers,
>
> Oops!  I forgot to "svn add" a couple of files before checking in.
> Give it a whirl now.  Thanks for catching this.
>
> -- Adam
>
>
> On 10/7/06, Rogers Reilly <ro...@s-rod.com> wrote:
>
>>
>> Hi,
>>
>> I'm trying to build from the SVN you're pointing to, can't quite get
>> Maven to pull it off.  I get a compilation error:
>>
>> cannot find symbol:  class MethodBindingMethodExpression, location:
>> class org.apache.myfaces.trinidad.component.UIXSelectInput.  (same
>> errors exist for UIXCommand).
>>
>> I notice that neither of these classes are in the
>> trinidad-api/src/main/java/ tree (failure occurs during trinidad-api
>> build), but Maven is actually finding them in the
>> trinidad-api/target/maven-faces-plugin/main/java tree, and so tries to
>> compile them.  Also getting a warning that "POM for
>> 'javax.faces:jsf-api:pom:1.2-b19:provided' is invalid.  It will be
>> ignored for artifact resolution.  Reason:  Not a v4.0.0 POM", but the
>> JSF 1.2 .jars do show up in my repository so I don't think that's the
>> issue.
>>
>> Do I need to do anything special to build this 1.2 branch?  Exclude some
>> of the plug-ins from my checkout?
>>
>> Thanks in advance- looking forward to "keeping" my <tr:xxx /> tags, as
>> I'd  just begun the process of switching over to the RI to use
>> DynaFaces.  :-)
>>
>> Rogers
>>
>> Adam Winer wrote:
>>
>> > As of tonight, I have Trinidad up and running against JSF 1.2 with
>> > (nearly) fully JSF 1.2-ized APIs - running against the new EL,
>> > proper generics, (some) invokeOnComponent() support.
>> > There's still a few smaller tasks left, but anyone looking
>> > to run Trinidad on a JSF 1.2 server can build the code from:
>> >
>> > http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
>> >
>> > -- Adam
>> >
>> >
>>
>>
>



Re: Trinidad JSF 1.2 status update

Posted by Adam Winer <aw...@gmail.com>.
Rogers,

Oops!  I forgot to "svn add" a couple of files before checking in.
Give it a whirl now.  Thanks for catching this.

-- Adam


On 10/7/06, Rogers Reilly <ro...@s-rod.com> wrote:
>
> Hi,
>
> I'm trying to build from the SVN you're pointing to, can't quite get
> Maven to pull it off.  I get a compilation error:
>
> cannot find symbol:  class MethodBindingMethodExpression, location:
> class org.apache.myfaces.trinidad.component.UIXSelectInput.  (same
> errors exist for UIXCommand).
>
> I notice that neither of these classes are in the
> trinidad-api/src/main/java/ tree (failure occurs during trinidad-api
> build), but Maven is actually finding them in the
> trinidad-api/target/maven-faces-plugin/main/java tree, and so tries to
> compile them.  Also getting a warning that "POM for
> 'javax.faces:jsf-api:pom:1.2-b19:provided' is invalid.  It will be
> ignored for artifact resolution.  Reason:  Not a v4.0.0 POM", but the
> JSF 1.2 .jars do show up in my repository so I don't think that's the
> issue.
>
> Do I need to do anything special to build this 1.2 branch?  Exclude some
> of the plug-ins from my checkout?
>
> Thanks in advance- looking forward to "keeping" my <tr:xxx /> tags, as
> I'd  just begun the process of switching over to the RI to use
> DynaFaces.  :-)
>
> Rogers
>
> Adam Winer wrote:
>
> > As of tonight, I have Trinidad up and running against JSF 1.2 with
> > (nearly) fully JSF 1.2-ized APIs - running against the new EL,
> > proper generics, (some) invokeOnComponent() support.
> > There's still a few smaller tasks left, but anyone looking
> > to run Trinidad on a JSF 1.2 server can build the code from:
> >
> > http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
> >
> > -- Adam
> >
> >
>
>

Re: Trinidad JSF 1.2 status update

Posted by Rogers Reilly <ro...@s-rod.com>.
Thanks, Simon.  Good thought- the El was actually commented out of the 
pom file, but uncommenting it didn't fix anything.

After searching my whole Eclipse workspace (which has what-I-think-is 
the most recent El, plus Facelets, plus JSF 1.2, plus JSF-extensions) 
and asking my friend Google (try it- zero hits), I have no idea what 
"MethodBindingMethodExpression" is.  The only places it appears anywhere 
are in the files:

/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXCommandTemplate.java
/trinidad-api/src/main/java-templates/org/apache/myfaces/trinidad/component/UIXSelectInputTemplate.java

When I comment out the places "MethodBindingMethodExpression" appears in 
these files (maybe eight lines of code between the two files), I'm 
golden:  I can build the Trinidad 1.2 branch with Maven, get the api and 
impl snapshot .jars, etc., etc.  This is enough to get me started, but 
obviously I have a pretty good hunch method binding is going to be broken.

Any ideas?  I really have no clue what's going on with the 
/java-templates under the covers.


Simon Lessard wrote:

> Hmmm javax.el dependency might not be enabled i nthe pom file maybe?
>
> On 10/7/06, Rogers Reilly <ro...@s-rod.com> wrote:
>
>>
>> Hi,
>>
>> I'm trying to build from the SVN you're pointing to, can't quite get
>> Maven to pull it off.  I get a compilation error:
>>
>> cannot find symbol:  class MethodBindingMethodExpression, location:
>> class org.apache.myfaces.trinidad.component.UIXSelectInput.  (same
>> errors exist for UIXCommand).
>>
>> I notice that neither of these classes are in the
>> trinidad-api/src/main/java/ tree (failure occurs during trinidad-api
>> build), but Maven is actually finding them in the
>> trinidad-api/target/maven-faces-plugin/main/java tree, and so tries to
>> compile them.  Also getting a warning that "POM for
>> 'javax.faces:jsf-api:pom:1.2-b19:provided' is invalid.  It will be
>> ignored for artifact resolution.  Reason:  Not a v4.0.0 POM", but the
>> JSF 1.2 .jars do show up in my repository so I don't think that's the
>> issue.
>>
>> Do I need to do anything special to build this 1.2 branch?  Exclude some
>> of the plug-ins from my checkout?
>>
>> Thanks in advance- looking forward to "keeping" my <tr:xxx /> tags, as
>> I'd  just begun the process of switching over to the RI to use
>> DynaFaces.  :-)
>>
>> Rogers
>>
>> Adam Winer wrote:
>>
>> > As of tonight, I have Trinidad up and running against JSF 1.2 with
>> > (nearly) fully JSF 1.2-ized APIs - running against the new EL,
>> > proper generics, (some) invokeOnComponent() support.
>> > There's still a few smaller tasks left, but anyone looking
>> > to run Trinidad on a JSF 1.2 server can build the code from:
>> >
>> > http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
>> >
>> > -- Adam
>> >
>> >
>>
>>
>



Re: Trinidad JSF 1.2 status update

Posted by Simon Lessard <si...@gmail.com>.
Hmmm javax.el dependency might not be enabled i nthe pom file maybe?

On 10/7/06, Rogers Reilly <ro...@s-rod.com> wrote:
>
> Hi,
>
> I'm trying to build from the SVN you're pointing to, can't quite get
> Maven to pull it off.  I get a compilation error:
>
> cannot find symbol:  class MethodBindingMethodExpression, location:
> class org.apache.myfaces.trinidad.component.UIXSelectInput.  (same
> errors exist for UIXCommand).
>
> I notice that neither of these classes are in the
> trinidad-api/src/main/java/ tree (failure occurs during trinidad-api
> build), but Maven is actually finding them in the
> trinidad-api/target/maven-faces-plugin/main/java tree, and so tries to
> compile them.  Also getting a warning that "POM for
> 'javax.faces:jsf-api:pom:1.2-b19:provided' is invalid.  It will be
> ignored for artifact resolution.  Reason:  Not a v4.0.0 POM", but the
> JSF 1.2 .jars do show up in my repository so I don't think that's the
> issue.
>
> Do I need to do anything special to build this 1.2 branch?  Exclude some
> of the plug-ins from my checkout?
>
> Thanks in advance- looking forward to "keeping" my <tr:xxx /> tags, as
> I'd  just begun the process of switching over to the RI to use
> DynaFaces.  :-)
>
> Rogers
>
> Adam Winer wrote:
>
> > As of tonight, I have Trinidad up and running against JSF 1.2 with
> > (nearly) fully JSF 1.2-ized APIs - running against the new EL,
> > proper generics, (some) invokeOnComponent() support.
> > There's still a few smaller tasks left, but anyone looking
> > to run Trinidad on a JSF 1.2 server can build the code from:
> >
> > http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
> >
> > -- Adam
> >
> >
>
>

Re: Trinidad JSF 1.2 status update

Posted by Rogers Reilly <ro...@s-rod.com>.
Hi,

I'm trying to build from the SVN you're pointing to, can't quite get 
Maven to pull it off.  I get a compilation error:

cannot find symbol:  class MethodBindingMethodExpression, location:  
class org.apache.myfaces.trinidad.component.UIXSelectInput.  (same 
errors exist for UIXCommand).

I notice that neither of these classes are in the 
trinidad-api/src/main/java/ tree (failure occurs during trinidad-api 
build), but Maven is actually finding them in the 
trinidad-api/target/maven-faces-plugin/main/java tree, and so tries to 
compile them.  Also getting a warning that "POM for 
'javax.faces:jsf-api:pom:1.2-b19:provided' is invalid.  It will be 
ignored for artifact resolution.  Reason:  Not a v4.0.0 POM", but the 
JSF 1.2 .jars do show up in my repository so I don't think that's the issue.

Do I need to do anything special to build this 1.2 branch?  Exclude some 
of the plug-ins from my checkout?

Thanks in advance- looking forward to "keeping" my <tr:xxx /> tags, as 
I'd  just begun the process of switching over to the RI to use 
DynaFaces.  :-)

Rogers

Adam Winer wrote:

> As of tonight, I have Trinidad up and running against JSF 1.2 with
> (nearly) fully JSF 1.2-ized APIs - running against the new EL,
> proper generics, (some) invokeOnComponent() support.
> There's still a few smaller tasks left, but anyone looking
> to run Trinidad on a JSF 1.2 server can build the code from:
>
> http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
>
> -- Adam
>
>


Re: Trinidad JSF 1.2 status update

Posted by Simon Lessard <si...@gmail.com>.
Awesome!!!

On 10/5/06, Matthias Wessendorf <ma...@apache.org> wrote:
>
> cool stuff!
>
> On 10/5/06, Adam Winer <aw...@gmail.com> wrote:
> > As of tonight, I have Trinidad up and running against JSF 1.2 with
> > (nearly) fully JSF 1.2-ized APIs - running against the new EL,
> > proper generics, (some) invokeOnComponent() support.
> > There's still a few smaller tasks left, but anyone looking
> > to run Trinidad on a JSF 1.2 server can build the code from:
> >
> > http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
> >
> > -- Adam
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Re: Trinidad JSF 1.2 status update

Posted by Matthias Wessendorf <ma...@apache.org>.
cool stuff!

On 10/5/06, Adam Winer <aw...@gmail.com> wrote:
> As of tonight, I have Trinidad up and running against JSF 1.2 with
> (nearly) fully JSF 1.2-ized APIs - running against the new EL,
> proper generics, (some) invokeOnComponent() support.
> There's still a few smaller tasks left, but anyone looking
> to run Trinidad on a JSF 1.2 server can build the code from:
>
> http://svn.apache.org/repos/asf/incubator/adffaces/branches/faces-1_2
>
> -- Adam
>


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

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