I switched to use facelet in Eclipse.
Before, when I used JSP i could put breakpoint on the page.
How can I put now on a facelet page?
If I follow this JSF Facelet tutorial (which uses facelets, an extension to JavaServer Faces(JSF) that uses XHTML syntax to define a JSF page; it doesn't seem to allow breakpoints directly on the JSF page itself.
(source: oracle.com)
The best bet remains in setting a breakpoint in the associated code:
(source: oracle.com)
, in order to debug that screen:
(source: oracle.com)
The problem is: WTP facelet is an incubator project, based on a 2008 proposal, which apparently has not made it as an official project.
Its project status is not exactly "current", if you catch my drift.
Related
1.I am unable to integrate primeface components in palette tool in eclipse Luna.Can you suggest me fine solution for that?
2.when I was trying to drag and drop the primefaces components into xhtml webpage editor or jsp web page editor,its not happening.If at all the primeface components are added to JSP page webpage editor.The component that is dropped in webpage editor its not visible but its effecting the code .
this is the issue
The 'visual' jsf designer in eclipse (or any ide) is of limited use. It can only show basic jsf components and some older RichFaces ones if you install the jboss extensions. Since it is fairly easy to run an embedded container, displaying it in a real browser is the better solution. Automagically reloading a page in the browser when saving in the IDE is possible (search the internet for this)
After downloading the latest Eclipse (Luna 4.4.1), I installed the GWT / GWT designer plugin.
I concluded I that I am missing WindowsBuilderPro, and so I installed it via Eclipse Help->Install New Software.
Now I want to create a new GTW Designer project, and get the following choices, which I think are wrong:
Tutorials, perhaps older, show the following project choice:
Is my installation messed up? I reversed the installation order, and nothing changed.
Is GWT Designer out of date, should I no longer be using it?
I'm a bit more confused based on your answer (Phil). I found this presentation:
The Future of GWT, 2013 Report
and it shows:
Does GWT Designer still exist (2014) as something separate from UI Binder (I don't really want to do any HTML)?
If not, do I need the WindowBuilder plugin for UIBinder?
You don't directly create a GWT Designer project. Create a "Web application project" as displayed in your first screenshot. Then create a new "UiBinder":
It will create two files: one java file and one .ui.xml file.
When you will open the .ui.xml file, you will have two tabs at the bottom of the window: one for the code, and one for the graphic designer:
I am using Eclipse Ganymede 3.4.2 as my primary IDE and I am facing a really frustrating problem from time to time.
Eclipse is getting really slow (I mean, REALLY slow, almost unusable) while validating the JSP code I am working on. I am using Struts 1 as my Web App Framework and jQuery as my JS library.
Is there a real way to disable/turn off Eclipse validations for JSP files only?
I went in Window > Preferences > Validation and unchecked JSP Content Validator and JSP Syntax Validator. Even if I uncheck everything related to HTML, JavaScript, JSP.... name it... Eclipse is still displaying some syntax errors (X marks, red underlines, that are in fact false positives as I am generating dynamic portion of code using Struts logic:equals tags.
I get the problem while working on complex JSPs files, and I got a decent laptop, so it is really an Eclipse problem. Restarting Eclipse usually fixes the problem for a while.
Thank you
Charles
Long time reader, first time asking a question.
Most of my development work has been in .NET using Visual Studio. Recently I took over maintenance of a website built on PHP and downloaded NetBeans as an IDE.
NetBeans has a very nice CSS property wizard for HTML projects that highlights the CSS rules in use for a particular element and lets you edit the rules directly. However, this doesn't appear to be available for PHP projects, even for pure HTML files within the project. Is that correct, or am I just missing some configuration? I can't seem to find any confirmation either way in the documentation or forums. (It would be unfortunate if it didn't work... it's a really useful feature.)
Thanks,
Terry
If you are referring to the visual CSS editing support that works with Google Chrome and the WebKit browser embedded in NetBeans, then this feature will be available for PHP projects in the upcoming NetBeans 7.4 release. See also this blog post: https://blogs.oracle.com/netbeanswebclient/entry/html5_development_with_java_ee
Hope this helps,
Petr
I am doing a JSF project in Eclipse (Helios) and I enabled the JSF facet for my project.
Code assistance (code hinting) works for the JSF tags but not for the attributes.
Say, if I type the following then the all possible tags are displayed, that is fine.
<h:
But, if I type the following and press the space bar, no code hinting for attributes appears:
<h:graphicImage
I guess that Eclipse must have this feature (Netbeans is having similar feature) but I am missing something.
Please anyone tell me what I am missing.
You need to add the TLD reference (Eg. html_basic.tld) to the Eclipse project settings. This will allow Eclipse to reference the TLD file to provide autocomplete functionality.
A better explanation of what to do can be found here:
Eclipse autocomplete (content assist) with facelets (jsf) and xhtml