Zingel
Zingel

Reputation: 109

Desktop-like jsf-web-application

I want to create a desktop-like application with JSF 2.0 and Primefaces 2.2.1 I created a main Layout with two divs, the upper div containing a menubar with several submenus. When the user chooses a menuitem, I want to show the spezifyed xhtml page in the bottom div of my main layout, without loading the full page. So I am thinking of Ajax to do it. But I don't know how to realize it.

And by the way, is there a chance to change a p:menubar or a p:submenu by javascript?

Can someone help me?

Upvotes: 1

Views: 1372

Answers (1)

Steve
Steve

Reputation: 8819

At the risk of being down-voted, may I suggest that since it sounds like you're at the beginning of your project, you should consider a framework other than JSF 2.0 because it sounds like you're shoe-horning. GWT is the most obvious candidate. If you're used to desktop app development (especially in Java), Vaadin is another great candidate.

Upvotes: 3

Related Questions