Hi Marcel,

ULC widgets are server side versions of Swing widgets and where it was
possible to provide a server side model it has been provided. 

JTextField uses Document as its model. It is not possible to provide a
server side proxy for Document due to the client server split and hence
ULCTextField has no model.

However, since ULC 2008 a higherlevl construct in the form of FormModel
has been provided  as part of the ULC Application Framework. Kindly see
the ULC Application Development Guide for more details.

Thanks and regards,

Janak

-----------------------------------------
Janak Mulani

email: [email protected]
url: http://www.canoo.com

Beyond AJAX - Java Rich Internet Applications 

http://www.canoo.com/ulc
-----------------------------------------  

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Marcel Schoch
> Sent: Thursday, January 08, 2009 10:37 PM
> To: [email protected]
> Subject: [ULC-developer] Model interface for ULCTextField missing
> 
> Hi!
> 
> ULC features nice data models for tables and lists.
> Why is there no model interface for components like ULCTextField and  
> other simple data presenting components? This would make a data- 
> binding to these components much easier and smoother.
> 
> Something like this would be great:
> 
> ULCTextField myTextField = new ULCTextField();
> myTextField.setModel(myOwnNiceDBDrivenTextFieldDataModel);
> 
> I could do so by extending ULCTextField and write my own 
> interface, I  
> know, but it would be great to have this functionality out of 
> the box.  
> It would make ULC more convenient.
> 
> What do you think? How about?
> 
> Regards,
> Marcel
> _______________________________________________
> ULC-developer mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/ulc-developer
> 
_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to