[JBoss JIRA] (RF-12247) CDK: short-cuts for repetitious expressions
by Lukáš Fryč (JIRA)
Lukáš Fryč created RF-12247:
-------------------------------
Summary: CDK: short-cuts for repetitious expressions
Key: RF-12247
URL: https://issues.jboss.org/browse/RF-12247
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.2.0.Final
Reporter: Paul Dijou
h3. 1) Test if an attribute is present :
{code:xml}
<c:when test="#{component.attributes['brand']!= null and not component.attributes['brand'].equals('')}">
{code}
Can become :
{code:xml}
<c:when test="#{component.hasAttribute('brand')}">
{code}
{code:java}
public boolean hasAttribute(String attributeName) {
// TODO : test if the attribute is present
}
{code}
h3. 2) Test if a facet is present
Same as before but about JSF facets
{code:xml}
<c:when test="#{component.getFacet('brand') != null and component.getFacet('brand').rendered}">
{code}
Become
{code:xml}
<c:when test="#{component.hasFacet('brand')}">
{code}
{code:java}
public boolean hasFacet(String facetName) {
// TODO : test if the facet is present and rendered
}
{code}
--
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
11 years, 10 months
[JBoss JIRA] (RF-12297) Queue has already been registered warnings when using Spring WebFlow
by Patrick Schmidt (JIRA)
Patrick Schmidt created RF-12297:
------------------------------------
Summary: Queue has already been registered warnings when using Spring WebFlow
Key: RF-12297
URL: https://issues.jboss.org/browse/RF-12297
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.2.2.Final
Environment: RichFaces 4.2.2, Spring WebFlow 2.3.1, Mojarry 2.1.8, Tomcat 6.0.32
Reporter: Patrick Schmidt
Priority: Minor
Attachments: standard.xhtml
Registring a global a4j:queue at form level
<h:form>
<a4j:queue name="test" />
</h:form>
leads to warnings "Queue with name 'test' has already been registered".
This problem occurs only when using Spring WebFlow and is also reproducable in the booking-richfaces sample app contained in RFPL-1430. Just exchange the attached standard.xhtml.
--
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
11 years, 10 months