[
https://issues.jboss.org/browse/RF-12015?page=com.atlassian.jira.plugin.s...
]
Dupont Dupont updated RF-12015:
-------------------------------
Description:
Suggested approach would be to parse El expression and afterwards execute less processor.
Server-side mechanism must be available for executing less.
Approach 1 : end-user chooses less or ecss but cannot mix the 2 syntax in the same file.
Approach 2 : allow end-user to use less syntax in ecss files
* modify current ecss execution (evaluate EL expression and don't parse CSS anymore)
* add a less compilator afterwards.
Less compilation at build time or runtime ?
For both of these 2 approaches, less compilation can be done built-time or execution time
(need to investigate more to choose the right approach).
If build time, richfaces-resources-maven-pluginwould be a candidate to execute El and less
compilation.
Full discussion on this topic here :
http://transcripts.jboss.org/channel/irc.freenode.org/%23richfaces/2012/%...
Some less plugins / engines :
*
http://code.google.com/p/maven-less-plugin/
*
http://www.asual.com/lesscss/
*
https://github.com/achingbrain/less-maven-plugin
*
http://code.google.com/p/maven-less-plugin/
Support for EL-evaluated Less-to-CSS compiler
---------------------------------------------
Key: RF-12015
URL:
https://issues.jboss.org/browse/RF-12015
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: core
Reporter: Dupont Dupont
Suggested approach would be to parse El expression and afterwards execute less
processor.
Server-side mechanism must be available for executing less.
Approach 1 : end-user chooses less or ecss but cannot mix the 2 syntax in the same file.
Approach 2 : allow end-user to use less syntax in ecss files
* modify current ecss execution (evaluate EL expression and don't parse CSS
anymore)
* add a less compilator afterwards.
Less compilation at build time or runtime ?
For both of these 2 approaches, less compilation can be done built-time or execution time
(need to investigate more to choose the right approach).
If build time, richfaces-resources-maven-pluginwould be a candidate to execute El and
less compilation.
Full discussion on this topic here :
http://transcripts.jboss.org/channel/irc.freenode.org/%23richfaces/2012/%...
Some less plugins / engines :
*
http://code.google.com/p/maven-less-plugin/
*
http://www.asual.com/lesscss/
*
https://github.com/achingbrain/less-maven-plugin
*
http://code.google.com/p/maven-less-plugin/
--
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