[
https://issues.apache.org/jira/browse/MYFACES-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Werner Punz resolved MYFACES-2173.
----------------------------------
Resolution: Fixed
> JSF 2.0 AJAX library
> --------------------
>
> Key: MYFACES-2173
> URL: https://issues.apache.org/jira/browse/MYFACES-2173
> Project: MyFaces Core
> Issue Type: New Feature
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Environment: browser independent Javascript
> Reporter: Ganesh Jung
> Fix For: 2.0.0-alpha
>
> Attachments: index.xhtml, JSF20AJAX.zip, TestBean.java
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> I'll attach a set of Javascripts to this issue to be tucked into MyFaces 2.0
> to make up it's AJAX components. It's the modified J4Fry JSF AJAX and it's
> tested to replace RI 2.0's AJAX scripts.
> This is what we still need to do:
> - translate comments
> Currently many comments are german
> - repackage (j4fry -> javax)
> Currently we've put the classes into package org.j4fry.script, probably
> org.apache.myfaces.script would be a good choice. Also, the AJAX API is
> implemented according to the spec with
> <h:outputScript name="ajax.js" library="javax.faces" target="head"/> and
> javax.faces.Ajax.ajaxRequest, but the RI 2.0.0.9 I tested uses
> <h:outputScript name="jsf.js" library="javax.faces" target="head"/> and
> jsf.ajax.request, so this might be the way the final spec will put it, when
> it's final.
> - support multiple execute parameters
> Currently only one component can be triggered for action execution. This is a
> little hard to test at this time, because the RI 2.0.0.9 doesn't react to the
> execute parameter at all - even when using the RI's own javascripts.
> - set default queue size to unlimited
> Default queue size ist currently set to 1, because for most applications this
> is the better choice. As soon as we've made the queue size configurable (see
> separate mail for API exensio nproposal) we'll need to set the default to
> unlimited as specified in the specs.
> - define maven build to form one single script
> Werner is already working on this: The comply with the specs resource
> handling the entire AJAX scripts must come in one single javscript file
> called jsf.js. As this is an ugly beast to handle with over 1000 lines we
> prefer having one file per Javascript class. The maven build should then
> compile the 8 scripts we currently have into one.
> - implement additional attributes
> The J4Fry scripts support a lot of parameters that aren't part of the spec.
> They are vital for a good AJAX experience, so we would like to extend the API
> beyond the spec on these.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.