| Author |
Dynamic Creation of Static Text Components
|
Phoenix Kilimba
Ranch Hand
Joined: Oct 10, 2006
Posts: 64
|
|
|
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?
|
You are what you know
|
 |
Walter Krawiec
Greenhorn
Joined: Jan 13, 2009
Posts: 20
|
|
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
Joined: Oct 10, 2006
Posts: 64
|
|
Yes I ended up using tables but it just isnt aesthetically pleasing... I hope someone can show me an alternative soon.
Thanks
|
 |
 |
|
|
subject: Dynamic Creation of Static Text Components
|
|
|