[JBoss-user] [JBoss Portal] - Width of the portlet window - problem

2006-07-06 Thread merlith
Hi where can I set the width of portlet window? When my portlet page has width too large, the window hasnt his edges and this is bad effect. Where is any place where this information is stored? (code,DB or what?) thnx regards MB View the original post : http://www.jboss.com/index.html?module=

[JBoss-user] [JBoss Portal] - Re: How get user role

2006-06-26 Thread merlith
If u use JBP 2.2.0, it is normal situation, because, You should add to the your portlet declaration (in a portlet.xml file) declaration of a roles. role_name When u use this portlet (using user witch role role_name), then this role will be detected by isUserInRole("role_name") function

[JBoss-user] [JBoss Portal] - Re: Reload a portlet without restarting the server

2006-06-08 Thread merlith
hi, if you have a portlet in external .war file, you shold only delete old-version .war file from deploy directory, and copy new-version without restart jboss. After second`s jboss will fire new version. reg. MB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [JBoss Portal] - CMS portlet - crush :(

2006-06-01 Thread merlith
Hi, Lately I`ve used cms portlet from JBoss Portal and i have a question about it. When I try to access to folder or file witch no exist (i send modified request with where folder path was changed to not existing folder) the portlet throw an exception(pathNotFoundException) and say me good bye;

[JBoss-user] [JBoss Portal] - One portlet - two window

2006-05-26 Thread merlith
Hi, Could u tell me, how can i resolve this situation: I have one portlet with (for ex.) two controlers. In default-object.xml file, i declared two window with the same portlet instance, so in this window i see the same page Can I set (where to?) that in first window i`ll see page from first

[JBoss-user] [JBoss Portal] - Jboss portal - styles and css.files

2006-05-25 Thread merlith
Hi, I have question about using my own styles on portlets. I have jboss-portal.sar, and external myportlet.war with my portlets. Is it possible to use styles from .css file in myportlet.war or must i add my file to jboss-portal.sar? Now, the page of jboss portal don`t see styles from this file.

[JBoss-user] [JBoss Portal] - Re: change default page

2006-05-25 Thread merlith
Hi, could anything answer, because i`ve the same problem. "poyge394" wrote : | 1. remove default page. | 2. add my own page to start page. | when i just remove the default page now: i get | HTTP Status 404 - | The problem is in default redirection after login. When u remove "defaul

[JBoss-user] [JBoss Portal] - Default page

2006-05-16 Thread merlith
Hi, Jboss Portal has "default" page, has`nt it? ;) Portal redirect me to this default page after login So, how (and where) can I change, this redirection to other page (for example) "myPage" whitch I created? Thanks for answer. peace. View the original post : http://www.jboss.com/index

[JBoss-user] [JBoss Portal] - Re: Change a user role dynamically

2006-04-20 Thread merlith
cpage > this is not necessary to see changes after change a role. If u want do it u should set (by jmx-console) a time for a JBossSX cache. You enter to jaasSecurityManager, and set time to 0. Then a user will have a new role without waiting. View the original post : http://www.jboss.com/index

[JBoss-user] [JBoss Portal] - Re: Change a user role dynamically

2006-04-14 Thread merlith
sg is a Set class and Subject? Could u send a full package name? reg. MB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937347#3937347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937347 -

[JBoss-user] [JBoss Portal] - Re: Change a user role dynamically

2006-04-13 Thread merlith
cpage wrote: "If you modify the portlet to change the role in the simplegroup "roles" of the jaas subject, it works. " So i want to know when the roles might be changed dynamically, because now if i change a role for a user, the user has old role as soon as I restart JBoss. Is it posible witho

[JBoss-user] [JBoss Portal] - Re: Change a user role dynamically

2006-04-11 Thread merlith
"cpage" wrote : there are two problems in fact. | | If you modify the portlet to change the role in the simplegroup "roles" of the jaas subject, it works. | | Did you modified it? So, where should we change the portlet? regards MB View the original post : http://www.jboss.com/index

[JBoss-user] [JBoss Portal] - Re: new text file in a CMS = crush

2006-04-10 Thread merlith
I have one question about that what has been fixed in CVS Was it a big change? I have old version, where i did more code changes download fresh codes from CVS and adapt it to my version might be difficult. So, could you tell me where did you changes? in any *.java, or *.xml file? It woul

[JBoss-user] [JBoss Portal] - Re: new text file in a CMS = crush

2006-04-07 Thread merlith
ok, thank you. peace MB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935815#3935815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935815 --- This SF.Net email is

[JBoss-user] [JBoss Portal] - new text file in a CMS = crush

2006-04-07 Thread merlith
Hi I have a problem, with CMS in JBP 2.2.0. When i create new text file (for ex. the name of this file is: "textfile" and it was created in a directory with name "blabla") and when I redirect to main view (all directories - main view) and again try to enter to the blabla directory (where i crea

[JBoss-user] [JBoss Portal] - Change a user role dynamically

2006-04-04 Thread merlith
Hi, What need I do, to change a user role without server restarting? I am using JBP 2.2.0. Now if i want change a role (by user portlet) and see result changing i must restart jBoss or waiting 20-30 minutes. Could u tell me what is the solution of this problem? Maybe that depend on caching or