FacesTrace is a useful debugging tool. Or write your own PhaseListener
to check what's going on in the lifecycle.
Simple example:
public class DebugPhaseListener implements PhaseListener {
private static final Logger LOG =
Logger.getLogger(DebugPhaseListener.class);
public void beforePhase(PhaseEvent e) {
LOG.debug("Before phase: " + e.getPhaseId.toString());
}
public void afterPhase(PhaseEvent e) {
LOG.debug("After phase: " + e.getPhaseId.toString());
}
public PhaseId getPhaseId() {
return PhaseId.ANY_PHASE;
}
}
Register in faces-config.xml
<faces-config>
...
<lifecycle>
<phase-listener>DebugPhaseListener</phase-listener>
</lifecycle>
...
</faces-config>
Regards,
Jan-Kees
2009/5/31 Dvora <[email protected]>:
>
> But this is not explains why the setter associated with the inputText is not
> being invoked. Is there a way to debug such issues?
>
>
> Richard Yee wrote:
>>
>> I think the scope should be session scope since state I being
>> maintained.
>>
>
> --
> View this message in context:
> http://www.nabble.com/Packaging-issues-tp23800484p23803761.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>