• 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

Excel cell like JSF input component

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have a requirement where I need to come up with a feature to allow commenting on a given input text field.
It is exactly like a feature in Excel sheets, where commenting feature is built-in, the only difference here it is expected to
be a JSF component.

Any ideas would be greatly helpful.

Thank you,
Hussain
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An Excel spreadsheet cell is considerably more complex than an HTML InputText field, which is what the basic JSF input field control is based on.

What you need is a compound control where there's a way to associate 2 (or more) data items with a single control - one data item for the contents, one for the comment. And a UI operation to enable/display the comments.

There's nothing like this in the core JSF tagset. Someone may have a extended tag that does this, but I don't know of any. You might have to create your own.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic