Hello,
I had a NPE while using the sandbox inputSuggestAjax with a SEAM component
method as "suggestedItemsMethod" : The reason is that there is no PhaseId
setted during the ajaxRequest...
So here is what I have done in the PageContext class:
PageContext.getCurrentReadableMap(){
PhaseId phaseId = Lifecycle.getPhaseId();
if (null==phaseId) return previousPageMap;
return phaseId.compareTo(PhaseId.INVOKE_APPLICATION) <= 0 ?
previousPageMap : nextPageMap;
}
Now the ajax component from sandbox is working well...
but maybe it's not the good approach...
THX
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952595#3952595
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952595
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user