[richfaces-issues] [JBoss JIRA] Resolved: (RF-9509) ClientScriptLookupService unit tests and implementation

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Fri Oct 29 19:10:54 EDT 2010


     [ https://jira.jboss.org/browse/RF-9509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Smirnov resolved RF-9509.
-----------------------------------

    Resolution: Done


> ClientScriptLookupService unit tests and implementation
> -------------------------------------------------------
>
>                 Key: RF-9509
>                 URL: https://jira.jboss.org/browse/RF-9509
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>            Reporter: Alexander Smirnov
>            Assignee: Alexander Smirnov
>             Fix For: 4.0.0.Milestone4
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> ClientScriptLookupService looks for client-side version of Java class ( for Converter or Validator )
>           o On startup, lookup for resources in classpath "/META-INF/csv.xml". If found, read it and build default class-to-resource mapping.
>     * getScript method gets Java class for JSF Validator or JSR-303 annotation and returns instance of ClientScript interface that describes JavaScript resource and function name. First ( minimal ) implementation:
>           o Tries to get resource in the org.richfaces.csv with the same name as Java class, but with ".js" extension. If such resource exists, use it with default function name ( java class name with first letter lowercase.
>           o If no .js resource found, try to use table from XML ...
>           o If still  resource found, try to use Java Annotations on custom validators or BeanValidator ...
>           o Throws ScriptNotFoundException otherwise.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list