Enable graphic designer to use JSF GUI components? - jsf

Is there a software that would enable graphic designer to use JSF GUI components in the initial web page design, before it gets into programmer's hands? Currently, graphic designer creates normal htmls using standard html components, then JSF programmer needs to replace all usual html tags with JSF tags.
Does any web design-programming tool suport JSF?

Use Oracle's JDeveloper. It's the only IDE that allows you to drag and drop JSF controls. The IDE is available only for Windows and Linux machines. Here is the link: http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html

Related

Web based Oracle Scene Builder analog

I want to provide an ability to create simple java and javafx applications to the users on my website. I've found excellent code editor (Ace) but I don't know how to provide FXML design tool to the Web users.
Is there any options?
ADD I want the users to use this interface builder without any additional requirements like Java 8 or something
How to host SceneBuilder in a web page (requires Java 8):
Build SceneBuilder from it's source.
Package it as a Browser Embedded Application.
Host your packaged application on the Internet and direct web users to its URL.
Other than using a fork of SceneBuilder for your project, I don't know of any other feasible way to provide visual FXML editing capabilities. I would certainly not recommend trying to create from scratch your own FXML visual editor written in either Java or JavaScript.

Best JSF drag & drop designer?

I was very impressed by this demo for the oracle ADF designer but it uses Jdeveloper and we dont like the ADF licensing.
Which of the more open licensed JSF libraries (if any) might give the closest/best drag & drop designer functionality using Eclipse? We would consider richfaces/primefaces/icefaces etc and dont know which one(s) offer the best designer experience
Check out JBoss Developer Studio. It's tightly integrated with RichFaces:
https://www.jboss.org/products/jbds.html
Check out this link http://livedemo.exadel.com/richfaces-demo/richfaces/dragSupport.jsf The site has lots of example for richfaces. I tried to learn primefaces but switched to richfaces as it was bit easier to learn and ajax support is awesome.

Visual JSF Designer

Please can any one tell me from where I can have Visual JSF designer that can be integrated with Eclipse ?
And Why netbeas doesn't have this functionality
I know that Myeclipse provides this ability, but it;s just run on 32-bit in addition it's not free.
Thanks in advance.
If you have the Dynamic Web Module facet and JavaServer Faces facet added on your project, right click on the page you want and choose Open with -> Web Page Editor.
That works only with pure JSF tags, not with third party library ones like Primefaces. You can also go through JSF Web Page Designer, but not sure how it will work since it looks it's not updated since long time ago.

jsf and page fragment caching

Does jsf 2.0 + facelets supports page fragment caching, something similar to aps page framgent caching
(example this tutorial http://quickstarts.asp.net/QuickStartv20/aspnet/doc/caching/fragment.aspx)
Regards
The answer on your question actually depends on the view technology in question. JSF is a component based MVC framework, not a view technology. JSF usually runs on either JSP or Facelets as view technology.
Both view technologies however doesn't provide an OutputCache like facility out of the box. You would need to create a custom tag/component for this. JBoss Seam has a similar component in the toolbox, the <s:cache>.

What will be better view with JSF technology

I am using Struts Tiles with JSF to have one header, menu and footer across application. Is there any other like struts to have one header, menu and footer. Is this feature available in faceslets and what viewing technology would be better for easy development.
For JSF you've only choice of two view technologies. The good old JSP and the improved and XHTML based Facelets. Facelets is much more suited to JSF than JSP. It is a view technology and template framework in one. It provides great templating capabilities and since JSF 2.0 also composite components, while JSP basically only offers the <jsp:include> for templating, so that you're forced to create custom components with raw Java code (which is a bit opaque and a lot of tedious work in JSF) when you want to replace a repeated group of components by a single component. If you can, I recommend to drop JSP and Tiles altogether and go for Facelets when you want to develop with JSF. If you're going for JSF 2.0 as well, it would already be a major step ahead as opposed to JSF 1.x.
Facelets is the first choice for JSF. Your task can be easily solved with Facelets.

Resources