|Linking actions to buttons [message #475986]
||Mon, 07 July 2008 17:49
| Quintin Beukes
Registered: July 2009
When editing JSF in netbeans it's much easier to create pages, manage
their classes and creating/editing actions.
You would for instance open faces-config.xml, add a new page (which opens
the JSP). Then you can create a button and simply double click on it. If
it's the first one it will create a new class file. If it doesn't already
exist, an action method will be created, otherwise you will simply be
taken to it.
Is there a way to do something similar in Eclipse?
Eclipse's JSF implementation has a lot of potential. It's the only reason
my company doesn't use Eclipse... it's JSF editor is very plain/weak
compared to that of Netbeans.
I would even be willing to aid in the development of these, as Eclipse is
THEE java editor on the market, and adding better support for JSF would
just make it more of THEE java editor.
|Re: Linking actions to buttons [message #618311 is a reply to message #475986]
||Tue, 08 July 2008 15:42
| Cameron Bateman
Registered: July 2009
Q Beukes wrote:|
> Is there a way to do something similar in Eclipse?
You can create a new JSP page by right-clicking on the folder where you
want it and going to New->JSP in the Project Explorer (use the JavaEE
perspective). You can drag the page onto the Navigation editor canvas in
the faces-config editor. To drop a button on the JSP, open the file in
the Web Page Editor (may need to right-click the file and select Open
With.. if the WPE is not the default editor), select the button from the
pallette and drop it on the canvas. This may be an extra step or two but
it's basically the same.
> my company doesn't use Eclipse... it's JSF editor is very plain/weak
> compared to that of Netbeans.
Can you elaborate?
> I would even be willing to aid in the development of these, as Eclipse is
Great! We always welcome contributions. The best way to start is to
search on bugs.eclipse.org under the WTP->JavaServer Faces product to see
if the enhancements you want are already logged. If not, create new ones.
Once you have logged an enhancement bug, add a comment on the bug broadly
addressing how you want to solve it and we can start discussing how it
fits into our archtitecture and where in the code to start looking.
Powered by FUDForum
. Page generated in 0.11247 seconds