Jay wrote:
i hav added menu item as following for changing passwrd in generic.xsp
..................
....

<block>
        <!--  change password -->
          <item uc:usecase="changePassword" href="?"><i18n:text>Change
Password</i18n:text></item>
          <item uc:usecase="logout" 
href="?"><i18n:text>Logout</i18n:text></item>
        </block>

and in sitemap.xmap i hav also add the following lines
....
....
<map:flow language="javascript"> <map:script
src="lenya/content/ac/passwd.js" /> </map:flow> ........
......
<map:match type="usecase" pattern="changePassword">           
         <map:call function="passwd"/>
                <map:match pattern="passwd-*-screen">
                <map:generate type="serverpages"
src="content/ac/passwd-input-screen.xsp"/>
        <map:transform src="xslt/ac/simple-page2html.xsl"/>
       <map:transform src="xslt/util/strip_namespaces.xsl"/>
          <map:serialize type="xhtml"/>
</map:match> </map:match>

but when i click on 'change password' from file menu in browser, it gives a
blank page no errror, nothing is shown. please help me sort out this
problem, it looks im missing continuation part, but im not able to get
through continuation nor i hav i implemented it ever before.

You don't need to change anything in the sitemap, you just have
to add the menu item. But beware that you have to link to the
user's page in the admin area, and not just add the uc:usecase attribute.

Go to the "change password" page in the admin area, look at the URL,
and build this URL in the menu XSP.

-- Andreas



--
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


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

Reply via email to