On Friday 12 April 2002 6:34 pm, Daisuke Maki wrote:
> Hi,
>
> I needed to dynamically choose which stylesheets to use, and hence I was
> trying to use AxStyleName to set which xsl file to use upon seeing the
> "style" query string.
>
> My initial attempts failed, and then I noticed there's a
> StyleChooser::QueryString module, which the perldoc said:
>
> <quote>
>   This module lets you pick a stylesheet based on the querystring. To
> use it, simply add this module to the list of PerlHandlers prior to the
> main AxKit handler:
>
>     PerlHandler Apache::AxKit::StyleChooser::QueryString \
>             AxKit
> </quote>
>
> And that didn't work. Then I tried
>
>    AxAddPlugin Apache::AxKit::StyleChooser::QueryString
>
> which seems to work.
>
> So I guess everything is peachy, but I just wanted to make sure that I
> was doing the right thing, because of the docs... So again: is this the
> correct way to use this module?

Yes. Sorry, we get to the docs as and when we can. :-/

-- 
<:->get a SMart net</:->

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to