[richfaces-issues] [JBoss JIRA] (RF-13203) a4j:queue should have status attribute

Jonáš Trantina (JIRA) jira-events at lists.jboss.org
Thu Sep 19 08:55:03 EDT 2013


Jonáš Trantina created RF-13203:
-----------------------------------

             Summary: a4j:queue should have status attribute
                 Key: RF-13203
                 URL: https://issues.jboss.org/browse/RF-13203
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component-a4j-core
    Affects Versions: 4.3.2
            Reporter: Jonáš Trantina


a4j:queue should have status attribute, so it can connect to a4j:status. Consider the following example:
{noformat}
    <a4j:queue name="quick" requestDelay="200" />
    <a4j:queue name="slow" requestDelay="1000" />

    <a4j:status name="quickStatus" startText="Started!" stopText="Stopped"/>
    <br/>
    <a4j:statusname="slowStatus" startText="Started!" stopText="Stopped" />
   
    <h:form>
        <a4j:commandButton action="#{test.dummy}" value="Quick">
            <a4j:attachQueue name="quick"/>
        </a4j:commandButton>
    </h:form>

    <br/>

    <h:form>
        <a4j:commandButton action="#{test.dummy}" value="Slow">
            <a4j:attachQueue name="slow"/>
        </a4j:commandButton>
    </h:form>
{noformat}

By using the status attr. of a4j:queue, it would be possible to connect "slow" queue to "slowStatus" and thus every component that would be connected to the queue, would also be connected to the status.

Note in this example it would be simpler to set status attr. on the components themselves, but imagine there are more components connected to the queue.
I was also informed, that this functionality was present in RF 3.3.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list