Hi again,
Here is my problem:

<tc:button action="#{BackinBean.method}" label="link/> doesn't work inside
tobago's layout.
After clicking button method is not executed.
I I run add.jsp without layout, tc:button's action works.

Files:
layout tag test.tag:

<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>

<f:view>

    <tc:page label="Sklepy - Interfejs w?a?ciciela" id="page">
        
    
            <jsp:doBody/>
  
        
    </tc:page>
</f:view>


jsp file - add.jsp:

<[EMAIL PROTECTED] contentType="text/html"%>
<[EMAIL PROTECTED] pageEncoding="UTF-8"%>

<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc"%>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx"%>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>

<layout:test>
    
    <tc:page>
        <tc:button action="#{CreateProduct.NewProduct}" label="link2"  />
     
    </tc:page>
</layout:test>
-- 
View this message in context: 
http://www.nabble.com/-tobago--layout-and-tc%3Abutton-action-problem-tf2606911.html#a7274557
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to