myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (Commented) (JIRA)" <>
Subject [jira] [Commented] (TOBAGO-922) <tc:out> no longer <span>
Date Tue, 29 Nov 2011 14:43:40 GMT


Udo Schnurpfeil commented on TOBAGO-922:

For other fonts than arial in buttons you need to define the font metrics in you own theme.
Property: tobago.font.widths
> <tc:out> no longer <span>
> -------------------------
>                 Key: TOBAGO-922
>                 URL:
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-alpha-2
>         Environment: Facelets
>            Reporter: Guido Dubois
>            Assignee: Udo Schnurpfeil
> In version 1.0.30 the following 
> <tc:panel>
>   <tc:out value="abc " escape="false" />
>   <tc:out id="clock" value="10:00" escape="false" markup="bold" />
>   <tc:out value=" def" escape="false" />
> </tc:panel>
> gives something like this ("abc 10:00* def") * bold
> <div id="page:header:_id9" class="tobago-panel-default"><script type="text/javascript">
> &lt;!--
> Tobago.addAjaxComponent("page:header:_id9")
> // --&gt;
> </script><span class="tobago-out-default" id="page:header:_id13">abc </span>
>          <span class="tobago-out-default tobago-out-markup-bold" id="page:header:clock">
>          <span class="tobago-out-default" id="page:header:_id14"> def</span></div>
> In version 1.5.0-alpha-2 it looks like this
> <div style="width: 670px; height: 15px; top: 70px; left: 0px; display: block; position:
absolute;" class="tobago-panel" id="page:header:j_id12"><script type="text/javascript">
> &lt;!--
> new Tobago.ScriptLoader(
>     [], 
>           "new Tobago.Panel(\"page:header:j_id12\", true, 0);"
> );
> // --&gt;
> </script><div class="tobago-out" style="width: 670px; height: 1px; top: 0px;
left: 0px; display: block; position: absolute;" id="page:header:j_id16">abc </div><div
class="tobago-out tobago-out-markup-bold" style="width: 670px; height: 2px; top: 6px; left:
0px; display: block; position: absolute;" id="page:header:clock"> 59:44</div><div
class="tobago-out" style="width: 670px; height: 2px; top: 13px; left: 0px; display: block;
position: absolute;" id="page:header:j_id17"> def</div></div>
> With this behaviour it is no longer possible to create a variable text with inline markup
in an easy way. I tried to use the inline-attribute of <tc:out>, but I'm not able to
get the same result as above. Perhaps I'm not using it correctly.
> Have you any suggestion or an example?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message