myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kakuschky <>
Subject [tobago] tx:in update problem
Date Sat, 16 Oct 2010 21:04:55 GMT
  Hello, I stripped down my tx:in update problem. In a simple JSP page I 
have have to forms. If I click the button in the first form I want to 
update the tx:in element in the second form. The update does only works 
if the readonly attribute of the tc:in element is set to "true". But 
them I'm not able to edit the value. Is this a bug or is there a way fix 
this behaviour?

Regards Michael

I use tobago 1.0.30 and Myfaces 1.1.18 with tomcat 6.0.18

Here is the page JSP Page

<%@ taglib uri="" prefix="f"%>
<%@ taglib uri="" prefix="tc"%>
<%@ taglib uri="" prefix="tx"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>


<f:facet name="layout">
<tc:gridLayout columns="1*" rows="fixed;fixed;*" />

<tc:button label="addone" action="#{myTestBean.addOne}" />

<tc:in value="#{myTestBean.theNumber}" readonly="false" />

<tc:cell />


and the Bean looks like the following

public class MyTestBean {

     Integer number = 11880;

     public Integer getNumber() {
         return number;

     public void setNumber(Integer number) {
         this.number = number;

     public String addOne()  {
         number += 1;

         return null;


View raw message