JSF Codebehind [message #473708] |
Mon, 20 November 2006 09:27  |
Eclipse User |
|
|
|
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 13:27  |
Eclipse User |
|
|
|
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 13:27  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07505 seconds