To add/remove textboxes, try the following snippets.
Up vote 1 down vote favorite share g+ share fb share tw.
Jsf-2.0 primefaces link|improve this question asked Nov 8 '11 at 4:57ni. Ep1366 59% accept rate.
1 It surprised me that you accepted the answer of Michel, I had a completely different functional requirement in mind. Michel's solution would require a fixed amount of prepared inputs in the view, while you seem to want let the user add/remove an undetermined amount dynamically. – BalusC Nov 8 '11 at 12:52 Agreeing with you.
Since I was new to this , I thought it would work. But it will work only if we have a fixed amount of prepared inputs as you said..But I made some workaround and , prepared it working without using rendered. – ni.
Ep Nov 9 '11 at 4:36 1 Then you should repost it as an answer in detail and accept yourself. – BalusC Nov 9 '11 at 11:26.
I'm using p:dataGrid to solve similar problem, but components inside it have the same ids. Did you have the same problems? What is the reason for using p:dataTable?
Thanks in advance – nikagra Nov 21 '11 at 19:11 I didn't have that problem. Currently all the values get posted to the list. I haven't tried with p:dataGrid,anyway.
– ni. Ep Nov 22 '11 at 11:45.
This is the easy mode: if object. Visibile == true the inputText is visible.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.