You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2004/07/19 22:39:37 UTC

Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

gian paolo ciceri wrote:
> Gregor J. Rothfuss wrote:

[...]

> <map:transform src="{fallback:lenya/xslt/ac/login.xsl}">
> 
> The default login.xsl continue to work - so the
> fallback mapping to the "core" file is o.k., but
> 
> I simply cannot guess where to put the pub-specific one
> 
> nor in
> 
> /webapps/lenya/lenya/pubs/[mypub]/lenya/xslt/ac

This path is correct.

> 
> neither into
> 
> /webapps/lenya/lenya/pubs/[mypub]/xslt/ac
> 
> In either cases I continue to take back
> the core login.xsl, not the customized one.

Strange. No idea what the problem is, but the 1st path looks
good. Maybe you have to turn on DEBUGging for the lenya category
to see what happens.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by gian paolo ciceri <gp...@acm.org>.
Andreas Hartmann wrote:

> gian paolo ciceri wrote:
> 
> [...]
> 
>> I've turned on the category you told me in
>> logkit.xconf
>>
>> <category log-level="DEBUG" name="lenya">
>> <log-target id-ref="lenya"/>
>> <log-target id-ref="error"/>
>> </category>
>> </categories>
>> </logkit>
>>
>> but without success - I cannot find in the
>> log the file called.
>> Perhaps you can suggest me a more deep
>> debug configuration: I'll be thankful.
> 
> 
> Sorry, the category I told you was wrong.
> 
> The logging category for the fallback input module is
> core.modules.input.fallback
> 
> I just fixed it in CVS (before it was **.sitetree - a copy&paste
> error).
> 

Thanks, I've posted a bug on bugzilla #30196

http://issues.apache.org/bugzilla/show_bug.cgi?id=30196

for the login fallback problem (I've seen there's
a similar issue for the 404 error page)


I'll test the new CVS ASAP.

Re
/gp


> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by gian paolo ciceri <gp...@acm.org>.
Andreas Hartmann wrote:

> gian paolo ciceri wrote:
> 
> [...]
> 
>> I've turned on the category you told me in
>> logkit.xconf
>>
>> <category log-level="DEBUG" name="lenya">
>> <log-target id-ref="lenya"/>
>> <log-target id-ref="error"/>
>> </category>
>> </categories>
>> </logkit>
>>
>> but without success - I cannot find in the
>> log the file called.
>> Perhaps you can suggest me a more deep
>> debug configuration: I'll be thankful.
> 
> 
> Sorry, the category I told you was wrong.
> 
> The logging category for the fallback input module is
> core.modules.input.fallback
> 
> I just fixed it in CVS (before it was **.sitetree - a copy&paste
> error).
> 

Thanks, I've posted a bug on bugzilla #30196

http://issues.apache.org/bugzilla/show_bug.cgi?id=30196

for the login fallback problem (I've seen there's
a similar issue for the 404 error page)


I'll test the new CVS ASAP.

Re
/gp


> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by Andreas Hartmann <an...@apache.org>.
gian paolo ciceri wrote:

[...]

> I've turned on the category you told me in
> logkit.xconf
> 
> <category log-level="DEBUG" name="lenya">
> <log-target id-ref="lenya"/>
> <log-target id-ref="error"/>
> </category>
> </categories>
> </logkit>
> 
> but without success - I cannot find in the
> log the file called.
> Perhaps you can suggest me a more deep
> debug configuration: I'll be thankful.

Sorry, the category I told you was wrong.

The logging category for the fallback input module is
core.modules.input.fallback

I just fixed it in CVS (before it was **.sitetree - a copy&paste
error).

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by Andreas Hartmann <an...@apache.org>.
gian paolo ciceri wrote:

> Andreas Hartmann wrote:
> 
>> gian paolo ciceri wrote:
>>
>>> Gregor J. Rothfuss wrote:
>>
>>
>>
>> [...]
>>
>>> <map:transform src="{fallback:lenya/xslt/ac/login.xsl}">

I just checked it, it has to read

<map:transform src="lenya/{fallback:xslt/ac/login.xsl}">

because the sitemap.xmap is not located in the webapp/lenya
directory.

I think it makes sense that the fallback module returns
a context:// path which would make it location independent.
I'll make a proposal on lenya-dev.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org


Re: using fallback for login page: Re: building a "myDefault" publication from default as stereotype for other pubs issues.

Posted by gian paolo ciceri <gp...@acm.org>.
Andreas Hartmann wrote:

> gian paolo ciceri wrote:
> 
>> Gregor J. Rothfuss wrote:
> 
> 
> [...]
> 
>> <map:transform src="{fallback:lenya/xslt/ac/login.xsl}">
>>
>> The default login.xsl continue to work - so the
>> fallback mapping to the "core" file is o.k., but
>>
>> I simply cannot guess where to put the pub-specific one
>>
>> nor in
>>
>> /webapps/lenya/lenya/pubs/[mypub]/lenya/xslt/ac
> 
> 
> This path is correct.
> 
>>
>> neither into
>>
>> /webapps/lenya/lenya/pubs/[mypub]/xslt/ac
>>
>> In either cases I continue to take back
>> the core login.xsl, not the customized one.
> 
> 
> Strange. No idea what the problem is, but the 1st path looks
> good. Maybe you have to turn on DEBUGging for the lenya category
> to see what happens.

Thanks Andreas, but I'm fairly new to lenya.

I've turned on the category you told me in
logkit.xconf

<category log-level="DEBUG" name="lenya">
<log-target id-ref="lenya"/>
<log-target id-ref="error"/>
</category>
</categories>
</logkit>

but without success - I cannot find in the
log the file called.
Perhaps you can suggest me a more deep
debug configuration: I'll be thankful.


Regards
/gp








> 
> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
> 


-- 
Gian Paolo Ciceri        Via G.Marconi 5 - 22036 ERBA CO ITALY
                          mobile :   ++39 340 7218101
                          eMail  :   gp.ciceri@acm.org,
                                 :   gp.ciceri@suddenthinks.com
                          webSite:   http://www.suddenthinks.com
                          ICQ #  :   94620118
                          jabber :   gp.ciceri@jabber.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org