I construct a UIInput object

textfield = new UIInput();
textfield.setValue("hello UIInput");
textfield.setId("textfield");

getter and setter

public UIInput getTextfield() {
   return textfield;
}
public void setTextfield(UIInput textfield) {
   this.textfield = textfield;
}

and bind that with

<tc:in binding="#{bean.textfield}" />

And in this combination "hello ..." is displayed in the input field
and with my last try the input value is in the html code. but the
setID value isn´t display

<input type="text" name="pageid:_id3" id="pageid:_id3" value="hello
UIInput" style="width:1001px; height:20px; " class="tobago-in-default
">


Same example with

<tx:in binding="#{bean.textfield}" />

doesn´t display the text value.


regards
david

2007/4/10, Volker Weber <[EMAIL PROTECTED]>:
Hi David,

2007/4/10, David Steinkopff <[EMAIL PROTECTED]>:
> Hi,
>
> I have a problem with component binding.
> It seems that <tx:in> doesnt work with UIInput.

binding should work, i never tested this (will do this afternoon i i
find spare time), but from the sources it is supported. the binding
should be a UIInput property.

>
> And a other question, it´s normally that text and id that set in the
> component, doesn´t display in the html source code?

Could you explain ? how do you set text?
The id of most components (not all components needs a id in html)
should occur in the html as id, prefixed by ids of namincontainers.

Regards,
  Volker

>
> regards
> david
>

Reply via email to