I have solved a problem. In Team changed setId(String id) to
setId(Object id) when ok.

F> In the project there is a following:

F> public interface ISimpDesc<T> {
F>        public <T> getId();
F> }

F> public class Team implements ISimpDesc<String> {

F> // hibernate annotations
F>         @DocumentId
F>         @Id
F>         @MinLength(min=2)
F>         @MaxLength(max=50)
F>         @Pattern(regex="[\\w-]+")
F>        private String id;

F>        public String getId() {
F>               return id;
F>        }
F>        public String setId(String id) {
F>               if (id == null) {
F>                  return;
F>               }
                
F>               this.id = id;
F>        }
F> }

F> In tml:

F> <t:label for="id"/>: <span
F> class="comment">(${message:default.lat-comment})</span>
F> <t:textfield t:id="id" value="team.id"
F> translate="translate:string" disabled="disabledId"
F> label="message:content.id"/>

F> In Windows XP on Tomcat 5.5 and Jety 6 and JDK 1.5.0_08 there were problems 
with
F> transformation of type of the "id" to String (from Object to String),
F> I have added this "translate="translate:string"" for fix problem.

F> In Debian 4.0 on Tomcat 5.5 and JDK 1.5.0_10 there were problems
F> "Expression team.id for class
F> ru.getdone.view.pages.team.form.FormFor
F> is read-only." after submit form.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to