You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org> on 2005/12/25 21:25:30 UTC

[jira] Created: (JS2-453) A menu for the documentation guides

A menu for the documentation guides
-----------------------------------

         Key: JS2-453
         URL: http://issues.apache.org/jira/browse/JS2-453
     Project: Jetspeed 2
        Type: Improvement
  Components: Site Documentation  
    Versions: 2.1, 2.1-dev, 2.0-FINAL    
    Reporter: Philip Mark Donaghy


It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-453) A menu for the documentation guides

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Sean Taylor reassigned JS2-453:
-------------------------------------

    Assignee: Philip Mark Donaghy  (was: David Sean Taylor)

Philip, Im reassigning this one to you if thats alright, thanks

> A menu for the documentation guides
> -----------------------------------
>
>                 Key: JS2-453
>                 URL: https://issues.apache.org/jira/browse/JS2-453
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Site Documentation
>    Affects Versions: 2.1, 2.1-dev, 2.0-FINAL
>            Reporter: Philip Mark Donaghy
>         Assigned To: Philip Mark Donaghy
>         Attachments: navigation.xml.patch, navigation.xml.patch, navigation.xml.patch
>
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-453) A menu for the documentation guides

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-453?page=comments#action_12361298 ] 

Philip Mark Donaghy commented on JS2-453:
-----------------------------------------

I will have to make new pages for all the guide categories because, maven does not differ between /guides/index.html and /guides/index.html#Guides_to_Portal_Concepts. The result is that the guide category links on the menu do no get expanded.

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.1, 2.1-dev, 2.0-FINAL
>     Reporter: Philip Mark Donaghy
>  Attachments: navigation.xml.patch, navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-453) A menu for the documentation guides

Posted by "Anonymous (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-453?page=all ]

 updated JS2-453:
-----------------

    Attachment: navigation.xml.patch

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.1, 2.1-dev, 2.0-FINAL
>     Reporter: Philip Mark Donaghy
>  Attachments: navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Forgotten Password

Posted by Pham Tuan Minh <ph...@yahoo.com>.
Hi,

Steps and my problem:

- Step 1. I reset my password (use some code lines which I wrote).
- Step 2. I login portal successfully with my new password.
- Step 3. The problem is
Except default-page.psml in webapps\jetspeed\WEB-INF\pages\, I can't view   others page in webapps\jetspeed\WEB-INF\pages\
- Step 4. I logout.
- Step 5. I can view any page in webapps\jetspeed\WEB-INF\pages\


I used the following code lines to reset user password:
__________________
String strNewPassword = admin.generatePassword();
 String strUrlGuid = makeGuid(strUserName, strNewPassword);
Map map = new HashMap();
map.put("user.name", strUserName);
map.put("password", strNewPassword);
admin.putNewLoginInfo(strUrlGuid, map);
updatePasswordFromGuid(strUrlGuid);
___________________

makeGuid(), updatePasswordFromGuid() are functions in ForgottenPasswordPortlet.java in package org.apache.jetspeed.portlets.registration;
in applications/j2-admin/src/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java

  public static String makeGuid(String user, String newpw)
  {
      // This is a quicky version
      long num = (long) user.hashCode() + (long) newpw.hashCode();
      long d = new Date().getTime();
      long val = num * d;
      String retval = Long.toHexString(val);
      return retval;
    }

  private boolean updatePasswordFromGuid(String strGuid)
  {
    Map map = admin.getNewLoginInfo(strGuid);
    String strUserName = (String) map.get("user.name");
    String strNewPassword = (String) map.get("password");

    try
    {
        userManager.setPassword(strUserName, null, strNewPassword);
        userManager.setPasswordUpdateRequired(strUserName, true);
        // if we got here stuff is changed... removed the key from the map
        admin.removeNewLoginInfo(strGuid);
    } catch (SecurityException e)
    {
        return false;
    }
    return true;
 }
_____________________________



What is the wrong  in the above code lines ?
When I login with my new password, why can't I view any page ?
With the same pages, I don't need login but I can view them.

I have read  carefully codes from ForgottenPasswordPortlet.java but I haven't resolved the problem yet.

Please, help me. Thank in advanced.


			
---------------------------------
Yahoo! Photos
 Got holiday prints? See all the ways to get quality prints in your hands ASAP.

[jira] Commented: (JS2-453) A menu for the documentation guides

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-453?page=comments#action_12363062 ] 

Philip Mark Donaghy commented on JS2-453:
-----------------------------------------

Number 1 is actually the latest one according to the dates.

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.0-FINAL, 2.1, 2.1-dev
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: navigation.xml.patch, navigation.xml.patch, navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-453) A menu for the documentation guides

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-453?page=comments#action_12361463 ] 

David Sean Taylor commented on JS2-453:
---------------------------------------

Philip,

Should I try to apply patch #2?  -- or is there a #3 coming still?

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.0-FINAL, 2.1, 2.1-dev
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: navigation.xml.patch, navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-453) A menu for the documentation guides

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-453?page=all ]

David Sean Taylor reassigned JS2-453:
-------------------------------------

    Assign To: David Sean Taylor

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.0-FINAL, 2.1, 2.1-dev
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: navigation.xml.patch, navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-453) A menu for the documentation guides

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-453?page=all ]

Philip Mark Donaghy updated JS2-453:
------------------------------------

    Attachment: navigation.xml.patch

This patch, the second one, solves this and other problems.

The menu shows where you are when navigating the guide documents.

The menu now highlights, in bold text, the menu item that corresponds to the corresponding document.

I corrects one spelling and one grammar problem on a security page.

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.1, 2.1-dev, 2.0-FINAL
>     Reporter: Philip Mark Donaghy
>  Attachments: navigation.xml.patch, navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-453) A menu for the documentation guides

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-453?page=comments#action_12361228 ] 

Philip Mark Donaghy commented on JS2-453:
-----------------------------------------

This patch contains the menu but I can't get the collapse to work properly

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.1, 2.1-dev, 2.0-FINAL
>     Reporter: Philip Mark Donaghy
>  Attachments: navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-453) A menu for the documentation guides

Posted by "Philip Mark Donaghy (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-453?page=all ]

Philip Mark Donaghy updated JS2-453:
------------------------------------

    Attachment: navigation.xml.patch

Install it, I just shortend the titles to make the menu more readable.

> A menu for the documentation guides
> -----------------------------------
>
>          Key: JS2-453
>          URL: http://issues.apache.org/jira/browse/JS2-453
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Site Documentation
>     Versions: 2.0-FINAL, 2.1, 2.1-dev
>     Reporter: Philip Mark Donaghy
>     Assignee: David Sean Taylor
>  Attachments: navigation.xml.patch, navigation.xml.patch, navigation.xml.patch
>
> It would be nice to always know where you are when you get referred to a page deep in the docs. Have you ever been lost in struts docs and don't know how to get to the same place from the home page. Maven 1 lets you do this by putting an item tag in an item tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org