[Yanel-dev] resource URL

Prabodh Upreti pupreti at yahoo.com
Tue Jun 30 14:38:41 CEST 2009


Thanks Michael

I just forgot about the fact that the link is associated to the forgot-pass=
word.html.yanel-rc which links to the resource. =


Regards

Prabodh




________________________________
From: Michael Wechner <michael.wechner at wyona.com>
To: yanel-development at wyona.com
Sent: Tuesday, June 30, 2009 3:28:35 AM
Subject: Re: [Yanel-dev] resource URL

Prabodh Upreti schrieb:
> Hi
>=A0 I was looking at file index.html which has a URL to the resource to cr=
eate new user.=A0 The URL is:
>=A0 ../create-new-page.html?resource-type=3Dhttp%3A%2F%2Fwww.wyona.org%2Fy=
anel%2Fresource%2F1.0%3A%3Ayanel-user
>=A0 Q:=A0 How do figure out the link to a new resource I create?
I am not sure understand your question correctly, but at the last step (2, =
after clicking "save as") this URL will be provided, for example it says:

Create new page (step 2)
Resource has been created

=A0 * rp.mime-type: text/html
=A0 * rp.title: Hello Prabodh
=A0 * rp.source-mime-type: application/xhtml+xml

New resource can be accessed at: ./en/prabodh.html

>=A0 I want to put a forgot password link in a page that has a link to that=
 resource.

well, it seems to me that you rather want to add this link to the login scr=
een, which can is generated by the following XSLT

src/webapp/xslt/login-screen.xsl

or rather in the case of deployment

local/apache-tomcat-5.5.20/webapps/yanel/xslt/login-screen.xsl

and then it points to the "forgot-password.html" resource, which for the mo=
ment you can add statically to for example

src/realms/from-scratch-realm-template/res-configs/forgot-password.html.yan=
el-rc

containing the forgot-password resource type info, for example with a confi=
gurable path/collection

<yanel:property name=3D"change-password-requests-path" value=3D"/yanel/chan=
ge-password-requests"/>

where all the files are located containing the change password request info=
s, such as for example e-mail, expire, etc.

HTH

Michael
>=A0 Thank you.
>=A0 Regards
>=A0 Prabodh
> =


-- Yanel-development mailing list Yanel-development at wyona.com
http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



      =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wyona.com/pipermail/yanel-development/attachments/20090630/69f9=
de90/attachment.htm


More information about the Yanel-development mailing list