Hi Helmut,

this is not a tobago issue, its a jsf design issue. The f:verbatim is
not saved between requests, and so at rerendering via ajax not
availiabel.

Maybe we should readd a tc:verbatim tag?

you can use <tc:out escape="false" value="<hr/>"/>
as workaround.

Regards,
 Volker

2007/1/20, H. Swaczinna <[EMAIL PROTECTED]>:
Hello again,

here's a simple example:

<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc"
%><%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"
%><%@ page contentType="text/html;charset=UTF-8" language="java"
%><%@ page pageEncoding="UTF-8"
%><f:view
 ><tc:page label="Test" width="200px" height="100px">
    <tc:tabGroup switchType="reloadTab">
      <tc:tab label="Tab1">
        <tc:out value="You can see initialy this line"/>
        <f:verbatim><hr/></f:verbatim>
      </tc:tab>
      <tc:tab label="Tab2">
        <tc:out value="but not this"/>
        <f:verbatim><hr/></f:verbatim>
      </tc:tab>
    </tc:tabGroup>
  </tc:page>
</f:view>

Can you check this please. Should I add a jira issue for this?

Regards
Helmut




>Hello,
>
>I want to display a horizontal line on a tab in tabGroup with
>switchType="realodTab". I used this line from the tobago demo:
>
><f:verbatim><hr/></f:verbatim>
>
>But the line is not shown, when I switch to this tab. But it appears,
>when I reload the whole page. So it looks like f:verbatim (or hr) doesn't
>work with Ajax reloading.
>
>Regards
>Helmut

Reply via email to