On 26.Nov.2001 -- 06:20 PM, Alexander Smirnoff wrote:
> OK. Then how could I implement dynamically "look-and-feel" based on user
> credentials (customer-id, user_id) ? I see only one possible way: inserting
> action for each XSL transformation in each pipeline... That approach makes
> sitemap look even more ugly...

It depends a bit on how complex the differences for each user are. You
might get away with 

     <map:transform src="resource:/styles/look+feel/{user_credentials}"/>

in every subpipeline. Or, if there are many subpipelines, you could
create a resource that does the styling (and serializing) and

     <map:redirect-to resource="look+feel"/>

or, for more complex stylings even

     <map:redirect-to resource="look+feel/{user_credentials}"/>

in every pipeline where it's applicable.

In addition, you could use selectors to chose between different
look+feels based on some user parameter.

HTH.

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to