-
1. Re: problem with datamodel and a4j:commandLink
alexsmirnov May 29, 2007 4:39 PM (in response to hasc)This is classloading problem, due to different modules in enterprise application.
You have EffectiveArea class in ejb jar, and it content not availible in a web application. At rendering time, Seam ( as usual, seam.jar is placed at EAR level, and have access to all modules ) parse EL expression and store type of parameter into ActionExpression instance. At a RESTORE_VIEW phase, web content can't load this class for de-serialisation of a component attribute.
You can store row number as a parameter for a link, or use any simple class ( String, Integer etc ) for a expression parameter, like :#{tcmanager.deleteArea(ea.id)
-
2. Re: problem with datamodel and a4j:commandLink
hasc May 30, 2007 8:52 AM (in response to hasc)ok thanks for your reply.
i understand your point. but it is strange since it works except in the case there' s only one instance in the List. So the ClassLoading Exception is only thrown in this case.