Unable to integrate prime faces components into xhtml using eclipse - eclipse

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)

Related

Barcodes in PDFs generated by BIRT

I'm trying to simply include a barcode in a report generated by BIRT.
Here's what I have:
BIRT Runtime 4.4.2
Eclipse BIRT Project 4.6
Eclipse Neon.3 Release 4.6.3
First I tried to simply set the font on a standard text item. This works fine in the designer, but when the pdf is generated, the text item just shows the text in the standard font, not the barcode font that I set in the designer.
I have also tried plugins from these guys:
OnBarcode.com - I was using Eclipse 2019-11 but the Barcode item didn't appear at all in the pallete when editing a report. I had to go back to Neon to get the item to show. I was then able to ad a barcode item into the report and save the report. Then when my server code tried to generate a barcode, BIRT just crashed.
BusinessRefinery.com - Even in Eclipse Neon the Barcode item didn't show in the palette. I couldn't do anything with this.
I know where the plugins folder is in my Eclipse, so I guess it's just a versioning issue somewhere with teh plugins. Also I can see that the plugins are stored in a completely different place in Eclipse 2019-11 so it's no surprise that the two plugins I mention above don't work because I would guess that the plugin architecture has changed.
I would love to hear from anybody who has achieved either of these two:
Got a non-standard font to appear in a pdf generated by BIRT.
Got a barcode plugin that works with the versions of BIRT and Eclipse that I mentioned above.
Thanks in advance.
We are using the Java libraries from ID automation and generate images on the fly by using the Java libraries with Javascript from inside BIRT.
This is not as elegant as a plugin, but it works fine.
For QR-Codes, we are using Google's ZXing library in a similar way.
I've been using this PLUGIN (source code): https://code.google.com/archive/p/birt-barcode-extension/
It's not very sophisticated, but you can insert / EDIT the barcodes on the template with a "default" preview.
It relies on ZXing (you must get it from GITHUB)

How to create Eclipse GWT Designer Project, something is off?

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:

How to definitely disable validations in JSP files in Eclipse Ganymede

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

GWT Designer - no editor is opening up, no compile button is displayed

I have the following installed
GWT
Designer 2.5.0.r37x201202061331 com.google.gdt.eclipse.designer.feature.feature.group Google,
Inc.
GWT Designer
Core 2.5.0.r37x201202052353 com.google.gdt.eclipse.designer.hosted.feature.feature.group Google,
Inc.
GWT Designer
Editor 2.5.0.r37x201202061313 com.google.gdt.eclipse.designer.editor.feature.feature.group Google,
Inc.
GWT Designer
GPE 2.5.0.r37x201201030222 com.google.gdt.eclipse.designer.gpe.feature.feature.group Google,
Inc.
I am able to use GWT Wizards to setup GWT projects, however, when I open a ui.xml file, I only get an XML editor (no designer). Also there is no GWT compile button anywhere. I have tried right clicking on the project but there is no Google menu there or any button in the toolbar.
first of all do you have designer plugin if not add it.
if u have the plugin then close the first tag of your web xml file. it will open up designer. For compilation write clickon project go to google option and then to gwt compile option to compile your project.
If you have correctly installed the GPE Plugins.
Right click the ui file
Open with
WindowBuilder Editor
Two tabs are located in the left-button corner. click Design.

Stop on breakpoint in Eclipse facelet file

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.