Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading data into a form from h:datatable line

Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say I have the following form in a web page:

Below comes data from a jsf h:datatable component as follows:

I want for the user to load any line he/she wants into the form.

The problem I have is that the loadAction attached to the LoadButton is invoked during invokeApplication phase and therefore too late. I use component binding. I only have jsf 1.1 available and therefore cannot alter the lifecycle. Note that the "Age" field is populated from a database. What strategy can I use?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic