• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

adding row per row using javascript

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi expert btw how to adding row in the table in jsf
i mean when add button is clicked the row is apear in the table and where the content of the row can be edited

would you help me guys,,
and made a simple example so i could learn from that
thanks alot
gb
 
Ranch Hand
Posts: 41
Google Web Toolkit Tomcat Server Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need to work with Richfaces or some other 3rd party libraries because they will give you the facility to use ajax. Once you get there you will be able to dynamically add rows to a datatable.
Are you using JSF 1.2 or JSF 2.0
JSF2.0 comes with inbuilt ajax support so I think using the core libaries (jsf core) you can perform dynamic rows
 
leonardo ginting
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

H Jetly wrote:You would need to work with Richfaces or some other 3rd party libraries because they will give you the facility to use ajax. Once you get there you will be able to dynamically add rows to a datatable.
Are you using JSF 1.2 or JSF 2.0
JSF2.0 comes with inbuilt ajax support so I think using the core libaries (jsf core) you can perform dynamic rows




hi jetly
btw do you have YM?? or some stuff like that ??
btw i'm using 1.2 and the ive been read max katz blog about this and when add is clicked it worked i mean the row is appear
but the problem is the content on the row i couldn't edit directly,, i mean like in-place edit where we could edit the content in the row
 
H Jetly
Ranch Hand
Posts: 41
Google Web Toolkit Tomcat Server Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this out for inplace input
http://livedemo.exadel.com/richfaces-demo/richfaces/inplaceInput.jsf?c=inplaceInput&tab=usage
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!