[richfaces-issues] [JBoss JIRA] Closed: (RF-937) samples/skin project doesn't fit well with myfaces 1.2.1-SNAPSHOT

Aleksej Yanul (JIRA) jira-events at lists.jboss.org
Thu Oct 18 06:10:03 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-937?page=all ]

Aleksej Yanul closed RF-937.
----------------------------


> samples/skin project doesn't fit well with myfaces 1.2.1-SNAPSHOT
> -----------------------------------------------------------------
>
>                 Key: RF-937
>                 URL: http://jira.jboss.com/jira/browse/RF-937
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Tomcat 6, Myfaces 1.2.1-SNAPSHOT
>            Reporter: kdjlkdaf klfjdlskajfd
>         Assigned To: Aleksej Yanul
>            Priority: Optional
>             Fix For: 3.2.0
>
>
> I have found something strange on samples/skin project 
> You have the following code on SkinBean:
> public class SkinBean {
> /* ................... */
> 	private UISelectOne createComponent() {
> 		UISelectOne selectOne = new UISelectOne();
> /* ................... */
> Using myfaces-1.2.1-SNAPSHOT Throws IllegalArgumentException because
> UISelectOne is not of type HtmlSelectOneRadio class
> In many of the example pages I can found the following:
> 	<h:form>
>         <h:selectOneRadio binding="#{skinBean.component}" />
>         <h:commandLink action="#{skinBean.change}" value="set skin" />
> 	</h:form>
> jsf-impl doesn't check it (but it should check it !!!!!), so myfaces has the correct behaviour.
> The solution is simple. Do this instead
> 		UISelectOne selectOne = new new HtmlSelectOneRadio();
> But I don't know what other examples do.
> And I have noted that when I execute
>  mvn install -P myfaces 
> setting myfaces property on the pom of samples project to 1.2.1-SNAPSHOT adds jsf 1.1 libraries to the war files.
> Thanks for your attention.
> Att: Leonardo Uribe

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

        



More information about the richfaces-issues mailing list