• 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

Dynamic Creation of Static Text Components

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All, I have an issue regarding dynamic creation of text on a visual web JSF page. My intention is to create a user then once the form is submitted to show a confirmation page showing what privileges the user was given. Because there is no set number of privileges a user can be given I cannot hard code this and want to be able to dynamically display these privileges as a list without using tables? I thought maybe dynamically creating Static Text components and using their setText() method, is this possible?
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Phoenix Kilimba wrote:Hello All, I have an issue regarding dynamic creation of text on a visual web JSF page. My intention is to create a user then once the form is submitted to show a confirmation page showing what privileges the user was given. Because there is no set number of privileges a user can be given I cannot hard code this and want to be able to dynamically display these privileges as a list without using tables? I thought maybe dynamically creating Static Text components and using their setText() method, is this possible?



I had almost the same problem, but in your case you have static text, maybe you can add all content to one static text by setting up like st.settext() method?
I was forced to use tables....,
 
Phoenix Kilimba
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes I ended up using tables but it just isnt aesthetically pleasing... I hope someone can show me an alternative soon.

Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic