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 (JIRA)" <de...@myfaces.apache.org> on 2010/10/18 18:03:24 UTC

[jira] Commented: (TOBAGO-922) no longer

    [ https://issues.apache.org/jira/browse/TOBAGO-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12922122#action_12922122 ] 

Udo Schnurpfeil commented on TOBAGO-922:
----------------------------------------

Now the tag is a SPAN again.
To get the result you want, please add this facet to the panel:
 
    <f:facet name="layout">
        <tc:flowLayout/>
      </f:facet>

The source code (and HTML code) of the flow layout is experimental and may change until the release of Tobago 1.5.

On the other hand: Flow layout will be the solution of your requirements most likely. 

What do you thing about it? Does this works for you?

> <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
>
> 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.
-
You can reply to this email to add a comment to the issue online.