El mar, 22-08-2006 a las 03:12 -0700, Jay escribió: > well my admin page in lenya does not have any change password page, not even > on online demo lenya > :( > can you tell specify me that URL??
I think something like http://lenya.zones.apache.org:8888/default/admin/users/lenya.html but that return ATM /export/home/lenya/src/lenya-1.2.x/build/lenya/webapp/lenya/content/admin/users/lenya/users/lenya.xsp Not sure why. salu2 > > > 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 > > > -- Thorsten Scherler COO Spain 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]
