Hi,
I used to use a Direct component to show the Inspector
page. Just write these codes as the listener:
public void showInspector(IResquestCycle cycle){
Inspector inspector = cycle.getPage("Inspector");
inspector.setInspectedPageName("Home");
cycle.setPage(inspector);
}
If you don't call the setInspectedPageName first,
you will get a nasty exception which says you cannot
pass NULL as the parameter in IRequestCycle.getPage.
I know the solution is a little bit tricky. Maybe someone
has a better idea :)
dright
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of Chris Merrill
> Sent: Saturday, May 04, 2002 9:04 AM
> To: [EMAIL PROTECTED]
> Subject: [Tapestry-developer] Alternate means of invoking the inspector?
>
>
> Is there a way to invoke the inspector (during a
> browsing session) without including the inspector
> component on every page?
>
> *********************************
> Chris Merrill
> [EMAIL PROTECTED]
> *********************************
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer