You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Philippe Guillard <pg...@citycita.net> on 2005/10/05 08:57:29 UTC

[portal] get rid of "The coplet foo-1 is currently not available"

Hello,

I'd like to get rid of the message <p>The coplet foo-1 is currently not 
available.</p> when there is an error in a coplet, to get something more 
user friendly with css style and i18n.
What i did :
- i did some error handling on content pipeline, as it is seen as an 
internal pipeline, i still get the same message
- i did some error handling on the cachingUri coplet pipeline (in 
portal/coplets/html), it works fine if the error comes from there (real 
uri ressource not found for instance),  but not when the error comes 
from the content pipe.
- The only solution i've found now is to hardcode another message in 
src/blocks/portal/java/org/apache/cocoon/portal/coplet/adapter/impl/AbstractCopletAdapter.java, 
not really nice.

Any idea?

Regards,

Phil


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