[jboss-user] [JBoss Portal] - Re: IPC is not working with jboss-portal-2.6-CR2
The example explains page linking and IPC. I found following problems on cr2 1) In page linking following line in example has problem PortalNode linkToNode = thisNode.resolve(../default); linkToNode gives null when i print it. That is why the window appers blank.so i put comment for page linking Now the dragDown list of colors appears as in example but clicking on button it gives exception javax.servlet.ServletException: No window state has been provided | org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:386) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) But the example works in beta-1 without having any issue . Thanks mohan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048580#4048580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: setting a security for individual portlet instances
Thanks thomas, I already posted about IPC on following link http://jboss.org/index.html?module=bbop=viewtopicp=4048580#4048580 Mohan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048582#4048582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IPC is not working with jboss-portal-2.6-CR2
I have installed fresh copy of beta1 and cr2 from zip. I tried both portletsSwap example as well as test page example. The portletsSwap example (HelloworldIPC) is not working in cr2 but it is working in beta1. The test page example (as per your url) is worikng in cr2 but not in beta1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048606#4048606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: setting a security for individual portlet instances
Yes, the update button is missing in beta-1 i use cr2 . But cr2 is having some problem with IPC (inter portlet communication). Mohan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048557#4048557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - IPC is not working with jboss-portal-2.6-CR2
Hello, I have downloded HelloWorldIPC example from link given in reference doc the example works with jboss-portal-2.6-BETA1 but it is not working with jboss-portal-2.6-CR2 and jboss-portal-2.6-CR1. Why ?? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046754#4046754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How can i get portlet instance id
Thanks engela, You suggest to add a property to portlet . Is that mean adding preferences to portlet-instance.xml ? or something else ? If it is by setting preferences then i am currently doing the exact thing if it is different please let me know. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042779#4042779 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - can't access preference at runtime
Hi, I want to create different instances of same portlet depending upon preferences so I put name XYZ in portlet-instance.xml And try to get value by String pref = null; Request.getPreferences().getValue(name, pref); System.out.println(pref); It shows null Why? The code works if i put preferences in portlet.xml. can i put preferences in portlet-instances.xml and fetch it's value at runtime ? When i look at newsportlet example i found expire prefrence at both places portlet-instance.xml as well as portlet.xml ? why is it so? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042350#4042350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: can't access preference at runtime
the portlet-instance contains : name XYZ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042353#4042353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: can't access preference at runtime
Thanks I put following in portlet-instance.xml | preferences |preference |namename/name |valuemohan/value | /preference | /preferences | so the preferences are already set i just want to fetch their value in java code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042363#4042363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: can't access preference at runtime
The java code works if i put | preferences | | /preferences | in portlet.xml but if i put preferences in portlet-instance.xml it gives me null instead of giving value of preference. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042707#4042707 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How can i get portlet instance id
Hi, In portlet-instance.xml i have something like instance-idmyInstance/instance-id portlet-refmyPortlet/portlet-ref instance-idmyInstance1/instance-id portlet-refmyPortlet/portlet-ref Both instances pointiong to same portlet-name. and in portlet.xml i have portlet-namemyPortlet/portlet-name portlet-classReportPortlet/portlet-class Now in ReportPortlet.java how can i get instance id ? Because depending on instance-id i want different processing. can it be possible ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4041752#4041752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4041752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to create our own jsp portlet using JbossPortal
Hello Ritesh, I am also new to portlets but i think u can download some examples from this link which also contains example of jspportlet http://labs.jboss.com/portal/portletswap U can start by modifying that examples . before that read reference guide,user guide if u haven't read them. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4040106#4040106 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4040106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - setting a security for individual portlet instances
Hi, I am using jboss-portal-2.6-BETA1. Basically i want that user which is not having a role of admin is not able to add some default portlets like CMSportlet,role portlets to his dashboard so I try to set security for individual portlet instances so i login as admin and goto management portlet. After selecting security link for proper portlet instance a window opens which has checkboxes for user roles but after selecting proper checkbox there is no update button so the changes i made were lost. eg: I want to change the security of CMSportletInstance so that user (except admin role) can not be able to view or add CMSportletInstance in his dashboard. I also try to put security-constraint policy-permission role-nameAdmin/role-name action-nameview/action-name /policy-permission /security-constraint for CMSportletInstance in portlet-instances.xml located at jboss-portal.sar\portal-core.war\WEB-INF which creates instances of these portlets. But it wont work. Any suggections !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039781#4039781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039781 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can i change default login (admin / admin) ?
Thanks for reply. I am using jboss-portal-2.6-BETA1 and logged in as admin. I am facing following problems 1) I goto Role management portlet but i can't create new role. when i click on create new role nothing happens. 2) I want to change the security of indivisual portal instances so i go to management portlet and try to change security but after selecting proper checkbox there is no update button so the changes i made are lost. I want that user can only be able to see/add my portlet instances to his dashboard not all. Any suggestions !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039142#4039142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can i change default login (admin / admin) ?
How can i change password for default login (admin / admin) after login i saw links Dashboard,admin. Can i remove them? or change them ? Thanks in advance Mohan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038780#4038780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Any Suggestion !!!
I have done with the basics of portlets. Now 1) I want to develop my own portal. From where should i start ? Do i have to use the default portal features like login, dashboard, edit content or i can create my own ? 2) where can i found the source code for management portlet,user portlet etc. used in jboss portal. Thanks in advance ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038398#4038398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - basic problem with creating new portal
Hi, I am new to portlets. I download jboss-portal-2.6-BETA1 + AS. As per referenceGuide i tried example foe HelloWorldPortal. To create new new portal i change portal name myPortal /portal namein HelloWorld-portal.xml now i can access it with url http://localhost:8080/portal/portal/myPortal but it shows JBOSSPortal logo. How can i remove it ? I am using exadel studio. Is there any easy way so that i can create new portlets using exadel studio and jboss-portal ? I am not able to create war file structure using exadel for portlets. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4037058#4037058 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4037058 ___ jboss-user mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/jboss-user