You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2006/09/19 06:22:23 UTC

[jira] Commented: (TOMAHAWK-591) htmltag doesn't render span

    [ http://issues.apache.org/jira/browse/TOMAHAWK-591?page=comments#action_12435644 ] 
            
Martin Marinschek commented on TOMAHAWK-591:
--------------------------------------------

HtmlTagRenderer says:

            String tag = htmlTag.getValue().toString();
            if( tag.trim().length() == 0 ) // Don't render the tag, but render the children.
                return;

apart from that, the tag is always rendered. So I don't see how this can happen!

regards,

Martin

> htmltag doesn't render span
> ---------------------------
>
>                 Key: TOMAHAWK-591
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-591
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Html Tag
>    Affects Versions: 1.1.3
>         Environment: w2k, jdk1.5_06, tomahawk-1.1.3.jar, myfaces-impl-1.1.3.jar, myfaces-api-1.1.3.jar, adf-faces (last one from oracle)
>            Reporter: Peter Büttner
>         Assigned To: Martin Marinschek
>            Priority: Minor
>
> The inner htmlTag (span) doesn't render the 'span', 
> it renders it if i add a ' ' (blank) getting <apan >...</span >
> -----------------------------------------------------------------------
> xmlns:h="http://java.sun.com/jsf/html"
> ...
> xmlns:t="http://myfaces.apache.org/tomahawk"
> <t:htmlTag value="div" styleClass="xyz" >
>      <t:htmlTag value="span"><h:outputText value="#{anyRefHere}"/></t:htmlTag>
> </t:htmlTag>
> -----------------------------------------------------------------------

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