Hi,
Is there a reason why the *default:* case of the switch statement is not
handled. Maybe if you raise and error here or log out the reportType that
you receive in submit() will give a clue why the beanType is not set
correctly for the passivate method.
Regards,
Mark P Ashworth
On Mon, May 13
Thnanks jens Here is my passivate @OnEvent(EventConstants.PASSIVATE)
Object[] passivate() {return new Object[] { beanType }; } but I toggle
it when I hit submit @OnEvent(value = "go")
public Object submit() {
logger.debug("In submit : "); switch (reportType) {
case TEAM:
Hi Ken!
Can you paste your onPassivate method? Maybe you always return Team.class as
context parameter instead of beanType member? I expect you want to see the
selection in the URL like: query/team right?
Than you need an proper on activate, too. So if you use your enum ReportType in
onPassiva