Simple Navigation with ajax and full layout

UI Components for JSF
Post Reply
HaukeG
Posts: 13
Joined: 18 Nov 2010, 19:19

14 Jul 2011, 18:55

Hello everyone,

I am trying to get a simple full layout to work with a navigation on the left side.
That works but I want to reload the center (content) via ajax on menu item selection.

The reason is, that I have a MP3 player on the right side and if the whole page reloads the mp3 player
start the playback again.

On Richfaces I did that with a session bean which holds the actual filename that needs to be rendered in the center
and on menu click the action method analyses the menu entry ID and sets the filename to its corresponding.

Actually that works a little bit for primefaces as well, but the content doesn't render correctly. After punshing F5
it is perfect.
Does anybody can give me a real simple example how I can do that?

Many greetings,
Hauke

Quodoffgeogma
Posts: 3
Joined: 14 Jul 2011, 21:08

14 Jul 2011, 21:16

Find The Superior data back: meat recipes, beef burger technique, casual casserole recipes.
cooked beef burger recipe
healthiest grilled beef burger recipe
recipe beef burger

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests