]
Lukáš Fryč commented on RF-12194:
---------------------------------
Added to [CDK
Support conditionnal resource dependency
----------------------------------------
Key: RF-12194
URL:
https://issues.jboss.org/browse/RF-12194
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: cdk
Affects Versions: 4.2.1.Final
Environment: All
Reporter: Paul Dijou
Labels: dependency, resource, richfaces
Sometimes, when developping a component, you will need some resources only in particular
case. For example, Bootstrap navbar only need Bootstrap CSS by default. But if you want to
enable a collapse effect on smartphone in order to save space, you will also need
bootstrap-collapse.js file.
I'm fine with always having the JS file imported, but it would be more perfect if the
resource dependency was resolved only if the collapse effect has been enabled in the
navbar. So having a way to condition the import of some resource dependency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: