How to customize and personalize a jsf pages without ADF MDS? - jsf

I'am using Jdeveloper(12.1.2 & 12.1.3) since 2 years and untill now i use ADF MDS to customize and personalize my jsf pages.
Now i have to "customize and personalize my jsf pages" without ADF.
My questions:
Is there a tools or framework which could help me to solv my issue?
Does somebody deal already with this issue?
What it's JSF own approach on this issue?
Thanks

There is no equivalent declarative way of doing this in JSF - you'll have to write Java code that will do all of this for you and change your pages at runtime - Why wouldn't you use MDS for this?

Related

JSF 2.2 Generate PDF with xhtml - Seam alternative?

Now that Seam is deprecated, and as PDF where not given to anyone, what are the alternatives to generate a pdf file using facelets templating and backing beans ?
I did it with Seam some years ago and it was very smooth, and I would rather not do it programmatically (which in my opinion is never a good idea to generate views...)
OK...
This thread at jboss explains why it was not a so good idea and why it was deprecated. Thanks to Tiny and Trims for their insight.
I was confounding templating and JSF rendering.. like, in fact, Facelets is a good templating tool, but really focused on web.
More generic tools does exists to template PDF, like FlyingSaucer or XDocReport as presented here
It should be possible to create a XSL-FO through a Freemarker template and pass it to Apache FOP to generate the real PDF.

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.

How Can OSGI and JSF work together?

I'm new in OSGI and I'm having many problems to try to create WABs. I'm using BndTools with Eclipse to help me with OSGi. My problem now is how can I integrate JSF with OSGi. I want to make one main web server, and add bundles with jsf pages runtime. How can I do this? What are the needs?
Thanks in Advance!
JSF is quite complex due to it's classloading mechanism. If you use Pax-Web you are able to use JSF, though it requires some special handling. For more details get in contact with the OPS4j community.
Another hint, since you seem to try to build your own "web-container", I don't recommend that, try to use an existing one, makes life easier :)

Saving User Input in a JBoss Seam Web Project web page

I have a question for any JBoss Seam developers out there:
I am creating a web project using JBoss Seam by generating entities and reverse-engineering code from existing database tables. This is my first time developing a web app in JBoss/Java/JSF, being an old school .NET web developer from years ago.
How do I save user input in text controls, so that it stays on the web page after a page refresh? I used to use Viewstate or Sessionstate in .NET, not sure what the equivalent of this would be in Java/JSF. Someone mentioned using java beans, but not sure how to do that, and Googling produces little help.
Any comments much appreciated, thanks.
Rather than going through the steps required here, it might be easier for you to go through the Seam tutorial, which will give you the basics. You can then clarify things here afterwards:
http://docs.jboss.org/seam/latest/reference/en-US/html/tutorial.html#registration-example

Resources