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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...