[jboss-user] [JBoss Seam] - Re: testing dataTable

arussel do-not-reply at jboss.com
Tue Nov 27 16:04:56 EST 2007


The previous code never works when only using el, even when putting the setter in the invokeApplication block.
The following code work:

  |  @Override
  | protected void invokeApplication() throws Exception {
  |     Profil profil = (Profil) getValue("#{administration.allProfils[0]}");
  |     profil.setLic("FOO");
  |     Contexts.getConversationContext().set("profil", profil);
  |     assert invokeMethod("#{administration.modifProfil(profil)}") == null;
  | }
  | 
Does that make sens ?
I believe that both code should work.
alex

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108236#4108236

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108236



More information about the jboss-user mailing list