Volker Weber-4 wrote:
>
> What happen if you leave out the tx:in ?
>
>
>
Hi,
I doesn't matter which component I remove, only the first is rendered.
If I cut tx:in and leave tc:button, I can see the button. Also, If I swap
tx:in with tc:button(now tc:button is the first and tx:in is the second), I
can see the button.
Sorry, every component is rendered in html, but only the first is visible in
browser.
It seems like only one component in tc:cell is visible.
I've found such solution(I've added tc:panel and made gridLayout in it):
<tc:tab label="Produkty">
<tc:panel height="65px">
<f:facet name="layout">
<tc:gridLayout columns="*;fixed;*" rows="fixed" />
</f:facet>
<tc:link label="Asortyment" link="/products/list.jsp"/>
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="1*;1*" rows="fixed;fixed" />
</f:facet>
<tc:form id="NewProduct">
<tc:label for="name" value="Nowy produkt:"/>
<tc:button action="#{CartEdit.CreateProduct}"
label="OK"/>
<tc:hidden id="action" value="createproduct"/>
<tc:cell spanX="2">
<tc:in id="name" value="#{CartEdit.newName}"/>
</tc:cell>
</tc:form>
</tc:panel>
<tc:cell/>
</tc:panel>
--
View this message in context:
http://www.nabble.com/-tobago--Cannot-render-tc%3Abutton-tf2601746.html#a7259425
Sent from the MyFaces - Users mailing list archive at Nabble.com.