I have this example to show my problem:
This kind of architecture is used in a bigger application with about 30-35 panels where about 10 use Ajax to replace itself. The problem is that after the addOrReplace() the parent to the panel get lost which will lead to findParent() returning null. And because of that, the error "Page not found for component..." will be displayed.
Its like a "ping pong" application which means i dont know what to display next - i get this information from a controller in the backend. For that reason i can not create a flow-based wizard like the wizard example because i dont know yet what to display.
As adviced in the mailing list i created this jira issue. I dont know if this is a bug or a feature request.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|4h 12m||1||Martin Grigorov||25/Nov/12 21:45|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Martin Grigorov [ mgrigorov ]|
|Fix Version/s||6.4.0 [ 12323450 ]|
|Resolution||Fixed [ 1 ]|
|Field||Original Value||New Value|
|Summary||Panel cant be replaced by an Ajax event inside the panel||Do not register Ajax timer if the component is removed|