[embjopr-issues] [JBoss JIRA] Updated: (EMBJOPR-72) Change some HTML bits to improve testability

Ondrej Žižka (JIRA) jira-events at lists.jboss.org
Thu Feb 12 12:39:46 EST 2009


     [ https://jira.jboss.org/jira/browse/EMBJOPR-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ondrej Žižka updated EMBJOPR-72:
--------------------------------

    Description: 
For QA, we use XPath.
Some HTML constructs are XPath - unfriendly, like mixed content on various places where we need to work with the text.
Mixed content = element that has both text nodes and elements as children.

These changes should not affect functionality nor appearance of EmbJopr.

The changes would be like this one:

 Old:
      <h:column>
        <b>#{ summaryMeasurementDefinitionMap[trait.measurementData.name].displayName}:</b>
        #{ trait.measurementValueAndUnits}
      </h:column>

New:
      <h:column>
        <strong>#{ summaryMeasurementDefinitionMap[trait.measurementData.name].displayName}:</strong>
        <span>#{ trait.measurementValueAndUnits}</span>
      </h:column>


  was:
For QA, we use XPath.
Some HTML constructs are XPath - unfriendly, like mixed content on various places where we need to work with the text.
Mixed content = element that has both text nodes and elements as children.

These changes should not affect functionality nor appearance of EmbJopr.



> Change some HTML bits to improve testability
> --------------------------------------------
>
>                 Key: EMBJOPR-72
>                 URL: https://jira.jboss.org/jira/browse/EMBJOPR-72
>             Project: Embedded Jopr
>          Issue Type: Task
>            Reporter: Ondrej Žižka
>            Assignee: Ondrej Žižka
>
> For QA, we use XPath.
> Some HTML constructs are XPath - unfriendly, like mixed content on various places where we need to work with the text.
> Mixed content = element that has both text nodes and elements as children.
> These changes should not affect functionality nor appearance of EmbJopr.
> The changes would be like this one:
>  Old:
>       <h:column>
>         <b>#{ summaryMeasurementDefinitionMap[trait.measurementData.name].displayName}:</b>
>         #{ trait.measurementValueAndUnits}
>       </h:column>
> New:
>       <h:column>
>         <strong>#{ summaryMeasurementDefinitionMap[trait.measurementData.name].displayName}:</strong>
>         <span>#{ trait.measurementValueAndUnits}</span>
>       </h:column>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the embjopr-issues mailing list