[jboss-user] [JBoss Portal] - Re: Password forgotten function on login page

2007-01-31 Thread djmacpac
OK, I try on an other way: I created a new coloumn in the jbp_users table: jbp_clearpass. I converted all passwords from my old turbine table to my jbp table. I saved the hash in the Password coloumn and the clear password in the clearpass one. Works fine. Now I have the Problem that, when I

[jboss-user] [JBoss Portal] - Re: Password forgotten function on login page

2007-01-30 Thread djmacpac
Does really nobody has a hint for me how to implement a password forgotten function? Is there a good walkaround for me? Or has somebody a good example for me? I just don't know where to start View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008179#4008179

[jboss-user] [JBoss Portal] - Re: setTitle() method didn't work

2007-01-29 Thread djmacpac
solved the problem: you have to implement this in your java class and not in your jsp... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007679#4007679 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007679

[jboss-user] [JBoss Portal] - Sort Roles in UserPortlet

2007-01-29 Thread djmacpac
Hi, I have the Problem that all Roles in the assign role portlet are displayed unsorted (the Problem is that I have about 220 Roles). Is there an easy way to sort the displayed roles or do I have to rewrite the edituserroles.jsp ? thx for your help View the original post :

[jboss-user] [JBoss Portal] - Re: Change Password in Profile only in Admin Role

2007-01-26 Thread djmacpac
OK THX. So I have to change the UserPortlet.java or? But then the Option to change the password will still be shown in the portlet...because it is implemented in the jsp. and when I delete it from the jsp, even the admin is not able to see it. Or did I understand sth wrong? View the original

[jboss-user] [JBoss Portal] - Re: Change Password in Profile only in Admin Role

2007-01-26 Thread djmacpac
OK I did it... the Change Password Form will be still shown but only admins can change it ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006757#4006757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006757

[jboss-user] [JBoss Portal] - Re: Password forgotten function on login page

2007-01-26 Thread djmacpac
OK thx but which module do i have to customize if i'm using a forced login page like described here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ForceLoginPage View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006791#4006791 Reply to the post :

[jboss-user] [JBoss Portal] - Re: setTitle() method didn't work

2007-01-26 Thread djmacpac
Did you solve the problem? I have the same one and need help... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4006798#4006798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4006798

[jboss-user] [JBoss Portal] - Creating new Account/User fails with Oracle DB

2007-01-23 Thread djmacpac
Hi, I'm using Portal 2.4 and Oracle. My Application works fine. My Problem is, that when I want to create a new user/account from the user portlet (create new account) I can't create it. I can fill out the formular but when I click the create new account button I get an error message:

[jboss-user] [JBoss Portal] - Re: How to create a home button for the portal

2007-01-18 Thread djmacpac
you understood well :-) So the problem is not the home itself. I have implemented one in a portlet and it works fine. But I want to have a home Button in my Layout JSP (for example the generic index.jsp). Does this work? If yes how? View the original post :

[jboss-user] [JBoss Portal] - How to create a link from a layout jsp to a portlet

2007-01-17 Thread djmacpac
Hi, I want to put some links into my layout jsp, that are visible all time (I think the headline should be a good place). My question is now: how to create these links to set the content in a portlet. Can I set parameters in the link (as it works for Inter Portlet Communication)? The Links

[jboss-user] [JBoss Portal] - Re: How to create a home button for the portal

2007-01-17 Thread djmacpac
Hi, have a new Problem with the home button. It should be in the index.JSP of my layout(generic for example). How does it work, that I can set Paramters for a special Portlet in a link or something like this... View the original post :

[jboss-user] [JBoss Portal] - Re: Browser Adress Bar

2007-01-16 Thread djmacpac
Does really nobody know how to set the content of the adress field? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002156#4002156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4002156

[jboss-user] [JBoss Portal] - MailModuleImpl

2007-01-16 Thread djmacpac
Hi, I want to use the MailModuleImpl but I don't know how to. I want to catch an exception and send the message to an eMail adress. But now i don't know how to use the MailModule. I have this: | MailModuleImpl mail = new MailModuleImpl(); | but i can't use methods like send or setGateway

[jboss-user] [JBoss Portal] - Re: Browser Adress Bar

2007-01-16 Thread djmacpac
OK I try... OK, I open my portal page at the moment with the adress http://servername/portal/. When I'm navigating through the portal content, the adress bar content changes to something like: |

[jboss-user] [JBoss Portal] - Browser Adress Bar

2007-01-10 Thread djmacpac
Hi, when I'm browsing through the Portal the Adress of the Portal in the Browser Adress Bar changes to Something like: anonymous wrote : | http://servername/portal/auth/portal/default/default/Tree?action=2org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Ftree2.jsp | But I want

[jboss-user] [JBoss Portal] - How to create a home button for the portal

2007-01-08 Thread djmacpac
Hi, i want to create a home button, that when it is clicked, brings back the user to the starting screen that ist showed to him after the login. all variables and parameters should be deleted. Does it work with: | response.setHeader(Pragma, no-cache); | response.setHeader(Cache-Control,

[jboss-user] [JBoss Portal] - Tree2 Problem

2007-01-05 Thread djmacpac
Hi, I have following Problem with my Tree2 Implementation: I have 2 Trees next to each other (via table, one in th eleft column, the other in the right column). Works fine. But when I'm coming from another maximized Portlet back to the Page with the 2 Trees or when I'm doing an action that

[jboss-user] [JBoss Portal] - Logout after Session Timeout

2006-12-19 Thread djmacpac
Hi, following Problem: After a Session Timeout a user should be logged out and redirected to a special page (e.g. login.jsp). That works. But when I enter my user data in the form and want to re-log-in I get Error 400... Anybody has some hints for this Problem? View the original post :

[jboss-user] [JBoss Portal] - Re: Tomahawk tree2 tag doesn't display correctly in portlets

2006-12-19 Thread djmacpac
I Have the same Problem... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995010#3995010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3995010 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: Logout after Session Timeout

2006-12-19 Thread djmacpac
2.4 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995013#3995013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3995013 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Portal] - Re: fix the position of portlet window in a page

2006-12-14 Thread djmacpac
Hi for Theme and Layout examples look into the Theme and Layout Folders, there are the standard Themes and you can look how they work! THe other problem: I Have it too! I also need to fix the portlet size, so that if the jsp content ist longer than the portlet width, the line just breaks to

[jboss-user] [JBoss Seam] - Re: Problem with tree2

2006-12-13 Thread djmacpac
I Have the same Problem, did you get it working??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3993385#3993385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993385 ___

[jboss-user] [JBoss Portal] - Re: Easiest way to get the Current Users's Role?

2006-11-28 Thread djmacpac
OK I managed it: I had to delete all portlet and portal libs from my lib folder in the application-war... thx for your help guys ;-) Have a nice day View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3989202#3989202 Reply to the post :

[jboss-user] [JBoss Portal] - Migration of the encoded Password from another DB

2006-11-28 Thread djmacpac
Hi, I have an old Database, with Usernames and Passwords etc.. Now I want to migrate these files to JBoss Portal and his Database (I'm using mysql). But the Problem is, that JBoss encodes the password in a special way...i don't know in which way and so i don't know how to encode my old

[jboss-user] [JBoss Portal] - Re: Accessing UserModule with MyFaces

2006-11-27 Thread djmacpac
OK, i did it. I access the UserModule on this way: | PortletSession session = (PortletSession)FacesContext.getCurrentInstance().getExternalContext().getSession(true); | UserModule userModule = (UserModule) session.getPortletContext().getAttribute(UserModule); | int user_no =

[jboss-user] [JBoss Portal] - Re: Easiest way to get the Current Users's Role?

2006-11-27 Thread djmacpac
I'm having the same questions... ;-) THX for your help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3988852#3988852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988852 ___

[jboss-user] [JBoss Portal] - findUserByUserName Problem

2006-11-27 Thread djmacpac
Hi, when i try to find a User on this way: | User user = userModule.findUserByUserName(UserName); | i get following error: Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

[jboss-user] [JBoss Portal] - Re: Easiest way to get the Current Users's Role?

2006-11-27 Thread djmacpac
That's good...but it only works with the UserName :-/ I need to find the actual RoleName... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3988932#3988932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988932

[jboss-user] [JBoss Portal] - Re: Easiest way to get the Current Users's Role?

2006-11-27 Thread djmacpac
Hmm, that's the problem: I get the UserName via | String UserName = (String)req.getRemoteUser(); | and i can get the Name via | java.security.Principal principal = req.getUserPrincipal(); | Both works fine. But when I try to create a User like this | User user =

[jboss-user] [JBoss Portal] - Re: Easiest way to get the Current Users's Role?

2006-11-27 Thread djmacpac
It is in the classpath, but it won't work :-/ Another Idea? Perhaps it is helpfull when I say that I'm using the portal with mysql! Do I need to work with transactions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3989171#3989171 Reply to the post :