Re: MyFaces 2.0 Ajax Java part

2009-04-20 Thread Simon Lessard
Hi,

The class gets generated by a Maven plugin using _UISelectItems as a base.
It works fine for me. Did you checkout also the mavin plugin projects?


Regards,

~ Simon

On Sun, Apr 19, 2009 at 4:30 PM, Ganesh gan...@j4fry.org wrote:

 Hi Simon,

 I have run mvn install. In the API
 javax.faces.component._SelectItemsIterator contains references to class
 UISelectItems which doesn't exists. There is a class named
 javax.faces.component._UISelectItems and if you wouldn't say it compiles
 fine for you I'd think it's a typo in
 javax.faces.component._SelectItemsIterator. Similar issues exist for
 UIMessage and UIMessages.

 Here's a link to the ViewVC of the 2_0_0 branch. I think it supports that
 there is _UISelectItems, but no UISelectItems and that _SelectItemsIterator
 references UISelectItems:


 http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/

 Can you please check this again?

 Best Regards,
 Ganesh

 Simon Lessard schrieb:

  Hi Ganesh,

 I think you forgot to execute mvn install on the build maybe because it
 compiles fine for me.

 As for running the whole thing I don't think it would be working yet since
 some Lifecycle phases were already modified to use the new Ajax API on
 partial request, but there's no impl for that code yet. Once the partial
 context and writer as well as JSP VDL are implemented then I think a simpel
 test case will be runnable.


 Regards,

 ~ Simon




Re: MyFaces 2.0 Ajax Java part

2009-04-19 Thread Ganesh

Hi Simon,

I have run mvn install. In the API 
javax.faces.component._SelectItemsIterator contains references to class 
UISelectItems which doesn't exists. There is a class named 
javax.faces.component._UISelectItems and if you wouldn't say it compiles 
fine for you I'd think it's a typo in 
javax.faces.component._SelectItemsIterator. Similar issues exist for 
UIMessage and UIMessages.


Here's a link to the ViewVC of the 2_0_0 branch. I think it supports 
that there is _UISelectItems, but no UISelectItems and that 
_SelectItemsIterator references UISelectItems:


http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/component/

Can you please check this again?

Best Regards,
Ganesh

Simon Lessard schrieb:

Hi Ganesh,

I think you forgot to execute mvn install on the build maybe because 
it compiles fine for me.


As for running the whole thing I don't think it would be working yet 
since some Lifecycle phases were already modified to use the new Ajax 
API on partial request, but there's no impl for that code yet. Once 
the partial context and writer as well as JSP VDL are implemented then 
I think a simpel test case will be runnable.



Regards,

~ Simon


Re: MyFaces 2.0 Ajax Java part

2009-04-17 Thread Werner Punz


Sorry to jump in here as well, I assume the best thing again in this 
area is simply to write a mockup and then test against the RI 
javascripts before going against ours (or vice versa)...



After all the entire ResponseWriter comes down to a handful of methods
which also could theoretically be triggered within a servlet context
and 1-2 supporting mockup classes


Werner




Ganesh schrieb:

Hi Simon,

After we got getting most of the Javascript running I want to switch 
next week to the Java part as there is partial processing within the 
phases, the PartialResponseWriter, the f:ajax tag and some more to be done.


I've checked out the Apache MyFaces JSF Core-2.0 API Netbeans project 
but within Netbeans but it shows compile errors. I'm missing classes 
javax.faces.UISelectItems, UIMessage and UIMessages to compile classes 
_SelectItemsIterator, _HtmlMessages and _HtmlMessage. Is this due to the 
uncomplete development or am I missing anything substantial?


How far has the development come? Is it worth starting a maven build and 
trying to run the whole thing? Is there a trivial testcase that is 
already functional?


Best Regards,
Ganesh





Re: MyFaces 2.0 Ajax Java part

2009-04-17 Thread Simon Lessard
Hi Ganesh,

I think you forgot to execute mvn install on the build maybe because it
compiles fine for me.

As for running the whole thing I don't think it would be working yet since
some Lifecycle phases were already modified to use the new Ajax API on
partial request, but there's no impl for that code yet. Once the partial
context and writer as well as JSP VDL are implemented then I think a simpel
test case will be runnable.


Regards,

~ Simon

On Fri, Apr 17, 2009 at 12:29 AM, Ganesh gan...@j4fry.org wrote:

 Hi Simon,

 After we got getting most of the Javascript running I want to switch next
 week to the Java part as there is partial processing within the phases, the
 PartialResponseWriter, the f:ajax tag and some more to be done.

 I've checked out the Apache MyFaces JSF Core-2.0 API Netbeans project but
 within Netbeans but it shows compile errors. I'm missing classes
 javax.faces.UISelectItems, UIMessage and UIMessages to compile classes
 _SelectItemsIterator, _HtmlMessages and _HtmlMessage. Is this due to the
 uncomplete development or am I missing anything substantial?

 How far has the development come? Is it worth starting a maven build and
 trying to run the whole thing? Is there a trivial testcase that is already
 functional?

 Best Regards,
 Ganesh