• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Split Pane effect with JSF 1.2, Facelets, Javascript, RichFaces

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a follow up on my previous post and describes the root problem I'm trying to solve.

I'm working on a JSF project using JSF 1.2 (the implementation that comes bundled with JBoss 4.2.0 GA), Facelets and JBoss RichFaces/Ajax4JSF.

I basically want to render a page with a nav area and a content area. The content area is to be split in two horizontal areas. The upper horizontal area needs to be a table with scrollable data. When the user clicks a table row, I want to refresh the bottom area with details about the row just clicked. From a UI perspective, it's very similar to yahoo email/outlook... with the top pane showing a list, and the bottom pane showing details.
I've used RichFaces for the data table and panel type tags and facelets for breaking up the JSF's into content and templates. The template looks like:



Inside the clusterList.xhtml page, I have:


The inputText object (id=rowid) originally was a h:inputHidden object. I find this behaving more or less as expected, with the clusterBean.current field being correctly updated when the row is clicked... but this is true only for Firefox 2.0.0.14 and Safari 3.1.1. On IE7, I see the inputText object being changed by the javascript function, but after submission, when the page returns, inputText is empty, and clusterBean.current still null.

Any ideas what's going on? Alternately, any other ideas on how to achieve this functionality?

Many thanks,
Ananda
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic