You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Roy, Ansuman" <an...@logicacmg.com> on 2005/10/25 12:04:14 UTC

meaning of xhtml:div[@class='lenya-frontpate']

hi,

i was going through the sitemap code but was stumped by
the following xsl thing

xhtml:div[@class='lenya-frontpate']

can you explain what does this mean??

I would be grateful indeed.

regards,

Ansuman


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

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


Re: The access control example on solprovider site is not working

Posted by so...@gmail.com.
On 10/26/05, shishir.saxena@tcs.com <sh...@tcs.com> wrote:
> The access control example available on solprovider site
> (http://www.solprovider.com/lenya/security) is not giving
> desired results. I have created a group named as 'employee' and a document
> named as 'employee.html' in the default publication. After clicking on
> 'employee' link, it shows 'You must be an employee to see this page. Please
> login.' ( I logged in as 'lenya' user)  which looks to be correct. Now, even
> when I logged in as a user  of group 'employee', the same link is displayed.

Did you fix (or disable) the cache?
http://solprovider.com/lenya/cache

If not, Lenya will serve the first page generated to everybody.  Login
as an employee, then delete the contents of:
{pub}/work/cache/live/
then immediately refresh the employee page.  Did it work now?  (If so,
it will show the employee section to everybody.)

I am adding that to the instructions, as well as how to test login.xsp.

solprovider

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


Re: The access control example on solprovider site is not working

Posted by Doug Chestnut <dh...@virginia.edu>.
In Lenya 1.4 you should be able to restrict access to a document via the 
"AC Live" tab in the "site" area.

--Doug

shishir.saxena@tcs.com wrote:
> 
> Hi
> 
> The access control example available on solprovider site 
> (http://www.solprovider.com/lenya/security) is not giving desired 
> results. I have created a group named as 'employee' and a document named 
> as 'employee.html' in the default publication. After clicking on 
> 'employee' link, it shows 'You must be an employee to see this page. 
> Please login.' ( I logged in as 'lenya' user)  which looks to be 
> correct. Now, even when I logged in as a user  of group 'employee', the 
> same link is displayed. It would be very helpful if an urgent solution 
> to this is provided.
> 
> Thanks in advance.
> 
> 
> Regards
> Shishir Bhasker Saxena
> Tata Consultancy Services Limited
> Gateway Park, Road No.13,
> MIDC, Andheri (E)
> Mumbai - 400 093,Maharashtra
> India
> Mailto: shishir.saxena@tcs.com
> Website: http://www.tcs.com
> 
> 
> Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
> 
> 

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


The access control example on solprovider site is not working

Posted by sh...@tcs.com.
Hi

The access control example available on solprovider site 
(http://www.solprovider.com/lenya/security) is not giving desired results. 
I have created a group named as 'employee' and a document named as 
'employee.html' in the default publication. After clicking on 'employee' 
link, it shows 'You must be an employee to see this page. Please login.' ( 
I logged in as 'lenya' user)  which looks to be correct. Now, even when I 
logged in as a user  of group 'employee', the same link is displayed. It 
would be very helpful if an urgent solution to this is provided.

Thanks in advance.


Regards
Shishir Bhasker Saxena
Tata Consultancy Services Limited
Gateway Park, Road No.13,
MIDC, Andheri (E)
Mumbai - 400 093,Maharashtra
India
Mailto: shishir.saxena@tcs.com
Website: http://www.tcs.com


Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you


Re: meaning of xhtml:div[@class='lenya-frontpate']

Posted by Andreas Hartmann <an...@apache.org>.
Roy, Ansuman wrote:
> hi,
> 
> i was going through the sitemap code but was stumped by
> the following xsl thing
> 
> xhtml:div[@class='lenya-frontpate']

                                     ^ end of predicate
                    ^ string literal
                   ^ "equals" relation
             ^ class attribute
            ^ beginning of predicate
         ^ local name of "div" element
   ^ xhtml namespace prefix

The whole XPath expression selects the <div> elements from the XHTML namespace
on the child axis which have a class attribute that equals "lenya-frontpate"
(I guess that should read "frontpage").

Please consult an XPath tutorial for further in-depth information.

HTH,

-- Andreas


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