aspose file tools
The moose likes JSF and the fly likes How to bind methods to components Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to bind methods to components" Watch "How to bind methods to components" New topic
Author

How to bind methods to components

vijay vongala
Greenhorn

Joined: Jul 14, 2005
Posts: 2
Hi,
I have a query how do we bind methods(of managed bean) to components(like button) in JSF using WSAD.

I am using wsad 5.1 to develop a web interface project.

Reply awaited,

Vijay.


vvr
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Originally posted by vijay vongala:
Hi,
I have a query how do we bind methods(of managed bean) to components(like button) in JSF using WSAD.

I am using wsad 5.1 to develop a web interface project.

Reply awaited,

Vijay.


Unfortunately there isn't any drag and drop facility, you need to manually type the backing bean name and method in the source editor.

P.S. WSAD 5.1.2 supports JSF, but 5.1 doesn't.


- Varun
vijay vongala
Greenhorn

Joined: Jul 14, 2005
Posts: 2
Thanks Varun,

I will try the manual method.Can you help me with this:In one of my pages that I develop,I have to upload an image.I am sure that there is a faces component to upload files.

http://www-128.ibm.com/developerworks/websphere/library/jsf/catalog/WebContent/extended/fileupload.html

but where do I store the image.I am confused at this stage because if it were data,we can store it in tables;how do I deal with image storage.

Thanks again,
Vijay.
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
This should give you all that you need to know to use this tag. Good luck !
 
jQuery in Action, 2nd edition
 
subject: How to bind methods to components
 
Similar Threads
WSAD javadoc comments
msg=No Deserializer found to deserialize a ':return'
JBoss
binding html components using JDBC
Binding Datagrids