Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to bind methods to components  RSS feed

 
vijay vongala
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
vijay vongala
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This should give you all that you need to know to use this tag. Good luck !
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!