[richfaces-planning-issues] [JBoss JIRA] (RFPL-3263) Create tests for pass-through attributes

Lukáš Fryč (JIRA) issues at jboss.org
Wed Feb 5 05:28:28 EST 2014


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

Lukáš Fryč edited comment on RFPL-3263 at 2/5/14 5:27 AM:
----------------------------------------------------------

Imho we don't need to test all our components, but rather a selected one.

All our renderers work with on same basis, use of renderer that is generated from CDK XML-template.

So I would test two scenarios:

namespace:
{code}
<rich:autocomplete p:placeholder="xyz" ....  />
{code}

nested element:
{code}
<rich:autocomplete>
   <f:passThroughAttribute name="placeholder" value="Enter text" />
</rich:autocomplete>
{code}


----

Note: we can expect that there can be some breakages when e.g. user leverages a passthrough attribute which is not compatible with given component. But it is hard to foresee what clashes might happen and it is user's responsibility to select appropriate component configuration - with breakages that we need to deal with we can work on case-to-case basis.
                
      was (Author: lfryc):
    Imho we don't need to test all our components, but rather a selected one.

All our renderers work with on same basis, use of renderer that is generated from CDK XML-template.

So I would test two scenarios:

namespace:
{code}
<rich:autocomplete p:placeholder="xyz" ....  />
{code}

nested element:
{code}
<rich:autocomplete>
   <f:passThroughAttribute name="placeholder" value="Enter text" />
</rich:autocomplete>
{code}
                  
> Create tests for pass-through attributes
> ----------------------------------------
>
>                 Key: RFPL-3263
>                 URL: https://issues.jboss.org/browse/RFPL-3263
>             Project: RichFaces Planning
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>            Reporter: Matej Novotny
>              Labels: jsf22
>             Fix For: 5-Tracking
>
>
> Based on RFPL-2506, we need to create tests for JSF 2.2 feature - _pass-through attributes_.
> It is sensible to test this with input components and maybe some select components as well. Easiest way would to to add some more tests to Metamer, reusing the existing ones.
> More information on this feature can be found [here|http://jdevelopment.nl/jsf-22/#1089].

--
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-planning-issues mailing list