Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » JSF Codebehind
JSF Codebehind [message #473708] Mon, 20 November 2006 14:27 Go to next message
Wayne Beaton is currently offline Wayne BeatonFriend
Messages: 508
Registered: July 2009
Senior Member
Greetings folks.

I've loaded what I believe is the latest code (from HEAD) on CVS so that
I can play with the page designer. I'm doing some JSF work; I can layout
widgets and test and everything works quite well.

I cannot, however, sort out how to connect Java code to events.
Specifically, I'd like to run some Java code in response to the click of
a button on the page.

Is there something that I need to do to make this work, or is it not yet
supported?

Thanks,

Wayne
Re: JSF Codebehind [message #473715 is a reply to message #473708] Wed, 29 November 2006 18:27 Go to previous message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 480
Registered: July 2009
Senior Member
Hi Wayne,

Sorry for the long wait on a response. The page designer currently has
limited support for what you want if the button you are using is an
h:commandButton. Try right-clicking on the button and select JSF Add ->
ActionListener. This will prompt you for the fully qualified class name
of a class that implements the actionlistener.


--Cam

Wayne Beaton wrote:

> Greetings folks.

> I've loaded what I believe is the latest code (from HEAD) on CVS so that
> I can play with the page designer. I'm doing some JSF work; I can layout
> widgets and test and everything works quite well.

> I cannot, however, sort out how to connect Java code to events.
> Specifically, I'd like to run some Java code in response to the click of
> a button on the page.

> Is there something that I need to do to make this work, or is it not yet
> supported?

> Thanks,

> Wayne
Re: JSF Codebehind [message #608378 is a reply to message #473708] Wed, 29 November 2006 18:27 Go to previous message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 480
Registered: July 2009
Senior Member
Hi Wayne,

Sorry for the long wait on a response. The page designer currently has
limited support for what you want if the button you are using is an
h:commandButton. Try right-clicking on the button and select JSF Add ->
ActionListener. This will prompt you for the fully qualified class name
of a class that implements the actionlistener.


--Cam

Wayne Beaton wrote:

> Greetings folks.

> I've loaded what I believe is the latest code (from HEAD) on CVS so that
> I can play with the page designer. I'm doing some JSF work; I can layout
> widgets and test and everything works quite well.

> I cannot, however, sort out how to connect Java code to events.
> Specifically, I'd like to run some Java code in response to the click of
> a button on the page.

> Is there something that I need to do to make this work, or is it not yet
> supported?

> Thanks,

> Wayne
Previous Topic:content assist -> UnknownHostException
Next Topic:jsp Hello World
Goto Forum:
  


Current Time: Sat Dec 20 08:50:19 GMT 2014

Powered by FUDForum. Page generated in 0.08341 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software