[richfaces-issues] [JBoss JIRA] (RF-11994) Xcss2EcssConverter error handling f:importResource

Dupont Dupont (JIRA) jira-events at lists.jboss.org
Tue Feb 21 10:30:36 EST 2012


    [ https://issues.jboss.org/browse/RF-11994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669586#comment-12669586 ] 

Dupont Dupont commented on RF-11994:
------------------------------------

Another error handling values with the ! character :

{code:xml} 
<u:selector name="#rail ">
  <u:style name="padding-left" default="0px!important"/>	 
</u:selector>
{code}

Converted to 
{noformat}#rail {
	padding-left:;
}
{noformat}And resulting to :
{noformat} 
21 févr. 2012 16:22:26 org.richfaces.resource.CompiledCSSResource$ErrorHandlerImpl logException
ATTENTION: Problem parsing 'META-INF/skins/charte/commun/css/print.ecss' resource: Error in expression. Invalid token ";". Was expecting...
{noformat} 

                
> Xcss2EcssConverter error handling f:importResource
> --------------------------------------------------
>
>                 Key: RF-11994
>                 URL: https://issues.jboss.org/browse/RF-11994
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.0.CR1
>            Reporter: Dupont Dupont
>
> When using Xcss2EcssConverter to transform xcss to ecss, I've the following error :
> Source xcss :
> {code:xml} 
> <f:importResource src="META-INF/skins/charte/commun/css/sx_commun.xcss" />
> {code}
> Is transformed to :
> {noformat} 
> @import url("#{resource['META-INF/skins/charte/commun/css/sx_commun.ecss']"}
> {noformat}
> It should be :
> {noformat} 
> @import url("#{resource['META-INF/skins/charte/commun/css/sx_commun.ecss']}");
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list