You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (Resolved) (JIRA)" <de...@myfaces.apache.org> on 2011/11/29 15:45:40 UTC

[jira] [Resolved] (TOBAGO-922) no longer

     [ https://issues.apache.org/jira/browse/TOBAGO-922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-922.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0

Marking as resolved. 
If there are issues as a result of the comments thread, please file a new issue.
                
> <tc:out> no longer <span>
> -------------------------
>
>                 Key: TOBAGO-922
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-922
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-alpha-2
>         Environment: Facelets
>            Reporter: Guido Dubois
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.5.0
>
>
> 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"> 10:00</span>
>          <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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira