[jboss-user] [JBoss Portal Users] - JBossPortal and sticky_session on load balancing

2009-11-19 Thread cpage
Hi all, I use JBossAS 4.2.3 and JBossPortal 2.6.8. I have 2 JBossAS with JBossPortal as producer load balanced with mod_jk (with sticky_session activated). And another JBossAS with JBossPortal as consumer. The pb is that actions and render are balanced on different server. I think the solution i

[jboss-user] [JBoss Portal] - Re: No partial refresh in HTTPS

2009-08-12 Thread cpage
The problem is in dyna.js in the function "isURLAccepted" : if (url.indexOf("http://";) == 0) this function always return false in https I replace this "if ... else" statement by : |var base_url_escaped = server_base_url.replace(/\//g,"\\/"); |var regexp = "/^http[s]{0,1}:\\/\\/[^\\/

[jboss-user] [JBoss Portal] - Re: No partial refresh in HTTPS

2009-08-11 Thread cpage
Jboss App Server V 4.2.3 Jboss Portal - V 2.6.6 (with prototype.js v1.6.0.2 and others js v1.8.1) I have the same problem. Is there a solution ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249050#4249050 Reply to the post : http://www.jboss.org/index.ht

[jboss-user] [JBoss Portal] - Re: jboss 2.6.4-GA wsrp producer not sending correct update

2009-03-16 Thread cpage
I have the same problem with protal 2.6.6. Have you a solution ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218149#4218149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218149 __

[jboss-user] [JBoss Portal] - Re: Add portlet display name programatically.

2009-03-13 Thread cpage
In some portlets, i use RenderResponse.setTitle("NAME") in doView and doEdit to personalize windows names. I think it's the code you need. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217755#4217755 Reply to the post : http://www.jboss.org/index.html?modu

[jboss-user] [JBoss Portal] - Re: NPE in PortletManagementHandler.getPortletProperties

2009-03-06 Thread cpage
a JIRA has been created: https://jira.jboss.org/jira/browse/JBPORTAL-2338 I haven't read carefully the WSRP documentation, i should not create new properties on a remote portlet :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215801#4215801 Reply to the

[jboss-user] [JBoss Portal] - NPE in PortletManagementHandler.getPortletProperties

2009-03-06 Thread cpage
Hi, I use JBoss 4.2.3 + JBossPortal 2.6.6 (with WSRP). In an admin portlet i add a property to an instance with InstanceDefinition.setProperties(PropertyChange[]) so this property is not defined in the portlet preferences. In another admin portlet, when i want to read this new property, i have

[jboss-user] [JBoss Portal] - Re: Programmatically Create Portal Pages

2009-03-06 Thread cpage
Something like that : | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); | PortalObjectContainer portalObjectContainer = (PortalObjectContainer) MBeanProxy.get(PortalObjectContainer.class, new ObjectName("portal:container=PortalObject"), mbeanServer); | PortalObject templatePag

[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed

2009-03-05 Thread cpage
We are software editor and we distribute à portal with specific and limited admin portlets (with look and feel redefinition). For me, during JBoss start (wsrp services start), all producers recorded in the database and new producers of the xml should be contacted. View the original post : ht

[jboss-user] [JBoss Portal] - Re: WSRP consumer never contact producer if first try failed

2009-03-05 Thread cpage
We don't use JBoss admin console for our portal. We have developped our proper simple admin portlets. In my scenario i notice that : - the table "JBP_ENDPOINT_INFO" contain : 2 | MUST BE SET | MUST BE SET | (null) | (null) | http://localhost:8180/portal-wsrp/MarkupService?wsdl - the table "JBP_P

[jboss-user] [JBoss Portal] - Re: WSRP resources URLs

2009-03-05 Thread cpage
Thanks for your response. It's a bad news for us. All our resources are given by dynamic URL (we use JSF). We will consider a new solution for our resources. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215143#4215143 Reply to the post : http://www.jboss.o

[jboss-user] [JBoss Portal] - WSRP consumer never contact producer if first try failed

2009-03-04 Thread cpage
Hi all, I use JBoss 4.2.3 and JBossPortal 2.6.6 with WSRP. My problem is that WSRP Consumer never try to contact again a producer if the first try failed. A scenario for example : - stop the 2 JBoss - add a new producer in the *-wsrp.xml file of the consumer - start only the consumer --> the co

[jboss-user] [JBoss Portal] - WSRP resources URLs

2009-03-03 Thread cpage
I have some questions about URLs of resources with remote portlet. I use JBoss 4.2.3 + JBossPortal 2.6.6. In the WSRP primer we can read : anonymous wrote : Producers may not offer a web interface (i.e., offer http/https ports) for content So I suppose the consumer should rewrite all URLs to ref

[jboss-user] [JBoss Portal] - Re: How to set the Portlet for a window programmaticly

2008-12-15 Thread cpage
To put a Window in a region use : | window.setDeclaredProperty(ThemeConstants.PORTAL_PROP_REGION, "YOUR_REGION_NAME"); | If you want to view code for portal object management, look at the "core-admin" portlets of portal project View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Portal] - Re: How to set the Portlet for a window programmaticly

2008-11-26 Thread cpage
To create a window in a page use : Page.createWindow("window name", ContentType.PORTLET, "instance ID") To get the available portlet list you can do something like that : get the FederatingPortletInvoker through the MBeanServer or the injection and do : | Set portlets = new HashSet(); | for

[jboss-user] [JBoss Portal] - Re: Portlet Instance ID

2008-11-26 Thread cpage
I don't know if it's the good method but you can do something like that. You need to cast the request to JBossRenderRequest and obtain the "PortalObjectContainer" (through injection or MBeanServer) : | PortalNodeImpl windowNodeImpl = (PortalNodeImpl) jbossRequest.getPortalNode(); | PortalO

[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous & prototype js

2008-11-26 Thread cpage
Indeed, FF3 implements the new function getElementsByClassName but return NodeList instead of Array. I replaced also "Element.getElementsByClassName" because i had pb with the changes between view and edit modes (there was no refresh of the portlet content). View the original post : http://w

[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous & prototype js

2008-11-25 Thread cpage
I use prototype 1.6.0.2 and scriptaculous 1.8.1 with Portal 2.6.6 and DnD is ok for me in IE7, FF2 and FF3. I have made changes only in dyna.js. I have changed lot of things in Portal java code so i don't know if these changes in js will be ok for everyone. The 5 lines in dyna.js : replace lin

[jboss-user] [JBoss Portal] - Re: Manually configure remote portlets

2008-10-03 Thread cpage
I'm also very interested by this feature. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180274#4180274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180274 ___ jboss

[jboss-user] [JBoss Portal] - Re: Create Instance from remote portlet => NPE

2008-10-03 Thread cpage
thank you Chris. i'll create a JIRA request for the extraction of the wsrp component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180218#4180218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180218

[jboss-user] [JBoss Portal] - Re: Create Instance from remote portlet => NPE

2008-10-02 Thread cpage
wsrp works ! Despite the error, my instance has even been created : JBP_INSTANCE: myProducer./myPortletInstance but i think the problem is only in the WSRP Admin management. i can had a window based on my remote instance, with the dashboard manager. other question: What do I need in my Produce

[jboss-user] [JBoss Portal] - Create Instance from remote portlet => NPE

2008-10-02 Thread cpage
Hi, I have a WSRP need. I have a portal in one JBoss and a business application with portlets in another JBoss. I started the remote wsrp portlet with JBP 2.7.0.RC1 like this: I launch 2 instances og JBP 2.7.0 and i declare the weather portlet remotable in my "Procucer" JBP(jboss-portlet.xml)

[jboss-user] [JBoss Portal] - Re: Seam portlet problem

2007-12-06 Thread cpage
up some news ? i 'm facing the same issue. regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110858#4110858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110858 ___

[jboss-user] [JBoss Portal] - Re: set portal.defaultObjectName to dashboard

2007-11-08 Thread cpage
precision: i don't permit users to go to an anonymous portal. they have to work only on their own dashboard. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102942#4102942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss Portal] - set portal.defaultObjectName to dashboard

2007-11-08 Thread cpage
hi, my portal is made of a template and many user dashboards. each user connect and are redirect to their own dashboard. but, when a problem occurs, the portal redirects to the portal.defaultObjectName property which has to be a portal object (not a context) so i do a manual redirect to porta

[jboss-user] [JBoss Portal] - securing portlet modes in descriptor files

2007-11-08 Thread cpage
hi, i want to secure edit mode of some portlets with a admin role. i want to achieve that with descriptor files (-object.xml, portlet.xml, instance ..) is it possible with JBP 2.6.2 ? i know i can do it by modifying my renderset to render or not the edit button for specific portlets i want to

[jboss-user] [JBoss Portal] - Re: Looking for Jar file for org.jboss.portal.identity.User

2007-10-23 Thread cpage
the sources are here : http://anonsvn.jboss.org/repos/portal/modules/identity i guess i have to take tag version 1_0_0 with my 2.6.2 tag of JBP ? and i guess that these modules projects have to be in the "global" JBP project to be build, according to what i've seen in build.xml (references to ot

[jboss-user] [JBoss Portal] - Re: where is identity project in tag 2.6.2 ??

2007-10-23 Thread cpage
thank you ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097711#4097711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097711 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Portal] - where is identity project in tag 2.6.2 ??

2007-10-19 Thread cpage
hi, i'm surprised, i don't found the identity project in the tag JBP 2.6.2 ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096888#4096888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096888 ___

[jboss-user] [JBoss Portal] - Re: Is this a JBP 2.6.1 bug? (403 Error From Dashboard Link)

2007-09-26 Thread cpage
btw, i run jbp with an oracle DB. i remember a couple of months ago, i have raised a problem with dashboard + oracle DB: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113135 maybe, the 2 problems are conected ? View the original post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [JBoss Portal] - Re: Is this a JBP 2.6.1 bug? (403 Error From Dashboard Link)

2007-09-26 Thread cpage
same issue. sso cas + custom login module + dashboard error 403. did you make some changes on portal-server/web-inf/web.xml ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088904#4088904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-09-25 Thread cpage
i have the same issue. i'm using sso cas with jboss portal. (with servlet filter and not a valve) i also have a customLoginModule. what is working: - user is redirect to sso login page - user log on - user get a jaas context throw my customLoginpage then he is redirect to default page of default

[jboss-user] [JBoss Portal] - Re: security constraint template/dashboard

2007-07-19 Thread cpage
task created http://jira.jboss.com/jira/browse/JBPORTAL-1600 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065871#4065871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065871

[jboss-user] [JBoss Portal] - Re: security constraint template/dashboard

2007-07-19 Thread cpage
ok, thank you. that raises a second point in my uses cases. the fact that the template portal could be updated with new portlets. in that case, the user has to pull the portlet in his dashboard with the dashboardConfiguratorPortlet. I need a way to give to administrators the possibility to push

[jboss-user] [JBoss Portal] - Re: multiple header support

2007-07-19 Thread cpage
"explorer" wrote : Trying to include my custom defined header. The thing is its not being picked up. Rather its picking the defualt header.jsp and tab.jsp inside the core. | this is set in jboss-portal.sar/META-INF/jboss-service.xml : mbean PageCustomizerInterceptor: | |

[jboss-user] [JBoss Portal] - Re: security constraint template/dashboard

2007-07-19 Thread cpage
i can go to the page like it was not secured i think that the security is not inherit from Template portal to Dashboard. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065843#4065843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss Portal] - security constraint template/dashboard

2007-07-19 Thread cpage
hi, the template portal is set with 4 pages. one of them has a security constraint for the role Admin. but, when the user without the role Admin go to his dashboard (loaded from the template portal), he can see the admin page/tab. i take a look at tabs.jsp, and it seems that tabs are loaded wi

[jboss-user] [JBoss Portal] - Re: how to get LayoutService in a external webapp (not portl

2007-07-13 Thread cpage
ok, temporarelly, i register the layoutservice with jndi to get the service outside portal or portlet context. I will look at a better way later ... regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063996#4063996 Reply to the post : http://www.jbos

[jboss-user] [JBoss Portal] - Re: how to get LayoutService in a external webapp (not portl

2007-07-13 Thread cpage
i have one generic jsp for all of my layouts. (to make easiest the maintenability) so, instead of something like that in many jsp | | | i have a custom tag who generate the good tags p:region : public class MyOwnRegionTagHandler extends RegionTagHandler{ ... for each regions .

[jboss-user] [JBoss Portal] - how to get LayoutService in a external webapp (not portlet)

2007-07-13 Thread cpage
hi, i have my own theme for my portlet. this theme is packaged in a webapp. (i override the tag region and make custom tag) i would like to get the LayoutService in this web app, but i don't know how to retrieve it. i know that it's possible to inject services into portlet context with jboss-p

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-12 Thread cpage
last try : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063508#4063508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063508 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-12 Thread cpage
oops last message is incomplete, and thomas find the solution too :D in build-thirdparty.xml : anonymous wrote : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063507#4063507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-12 Thread cpage
i found a way: i add this line in the build-thirdparty.xml : so, i have built the portal with the last updates and now it's working perfectly ;) thank you very much for the job ;) best regards, lionel View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-12 Thread cpage
hi thomas, your tip doesnt work for me Unable to get remote file=C:\_PROJETS_GIP\_PORTAIL\_DEV\workspace\JBoss_Portal_2_6_0_src\thirdparty\antlr\component-info.xml url=http://repository.jboss.com/antlr/2.7.6.ga/component-info.xml View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-12 Thread cpage
hi, thx for the correction. unfortunately, i can't build the portal because i'm behind a proxy and the thirdparty stuffs are get with cvs. (btw, is it possible that you change it to a 100% svn ?) i see that you modified classes from 2 jars: portal-core-admin-lib.jar portal-core-lib.jar could

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-11 Thread cpage
i'm on it. i will try with the last driver and i'm looking to the generated SQL request. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062892#4062892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062892

[jboss-user] [JBoss Portal] - Re: Problems with Dashboard on 2.6 GA

2007-07-11 Thread cpage
are you using an Oracle DB ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062883#4062883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062883 ___ jboss-user mailing list jb

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-11 Thread cpage
ok, the news: the bundle version works perfectly with HSQL but i have the same problems with an Oracle DB. (driver: oracle-10.2-classes14.jar) i look into the table JBP_OBJECT_NODE, and some informations are missing: i don't have any line about dashboard : dashboard:myUser . everything is m

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-10 Thread cpage
wow, it works well with your demo portal. i can move portlet with dnd in the dashboard and the changes are persisted. i'm so sick, i also have a problem with upload archives and files in the cms stuff and it works perfectly with your portal. so long is the road :/ i'll try again tomorrow

[jboss-user] [JBoss Portal] - Re: drag and drop persistance

2007-07-10 Thread cpage
i have that issue with IE and firefox View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062535#4062535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062535 ___ jboss-user mail

[jboss-user] [JBoss Portal] - drag and drop persistance

2007-07-10 Thread cpage
hi, i have a problem with JBP 2.6 GA. (and also RC3) binary version, from the box: in my dashboard, when i move a portlet to a different region, the information is not persisted and when the user logout and log in, the portlet is in its default position. (the table JBP_PORTAL_OBJECT_PROPS is

[jboss-user] [JBoss Portal] - Re: org.hibernate.HibernateException: Unable to locate curre

2007-06-01 Thread cpage
For transaction error - you need to set in your jboss-portlet.xml Code: PortletName Required View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050426#4050426 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Portal] - Re: portletpreferences per user

2007-04-27 Thread cpage
i use that: and it works: anonymous wrote : InstanceContainer container = (InstanceContainer)getPortletContext().getAttribute("InstanceContainer"); i had to inject the service InstanceContainer in the portlet context and use transaction to get my instance preferences. works fine ! ty View

[jboss-user] [JBoss Portal] - Re: portletpreferences per user

2007-04-26 Thread cpage
thanks, that's what i need. i can do that with the management portlet. but, i need to do it programmaticaly in the portlet. only admin users access to mode edit of this portlet and had to change preferences. i need to acces to the injected service : InstanceContainer org.jboss.por

[jboss-user] [JBoss Portal] - Re: portletpreferences per user

2007-04-26 Thread cpage
"[EMAIL PROTECTED]" wrote : Yes it is part of the JSR 168, See PLT.15 of the sportlet spec. And the method store(). yes, i already use the portletpreferences to store preferences. i asked the wrong question ! is it possible that an admin user modify portlet preferences for a group of users or

[jboss-user] [JBoss Portal] - portletpreferences per user

2007-04-26 Thread cpage
hi, is it possible to store portlet preferences per user with jboss portal mechanisms ? i mean, each user have to customize the content of a portlet. i could store preferences my self in a new simple table, if mechanisms exists, i take ! :D ty regards, View the original post : http://www.

[jboss-user] [JBoss Portal] - inject dynamic content in header portal/portlet

2007-03-09 Thread cpage
hello, i want to inject "dynamic content" in the header of my portlet or/and of the portal pages. i know i can achieve that with a tag in the portal-theme.xml or in the jboss-portlet.xml, but, i don't know in advance, what will be the content to inject. this content are javascript and css lin

[jboss-user] [JBoss Portal] - auto refresh a portlet

2007-03-01 Thread cpage
hi, i want to know how i could make a single portlet auto-refresh. i tried the ajax4jsf framework but my ajax4jsf portlet does'nt work into jboss portal. it works alone when i call it outside the portal. first, i had to inject the header generated by the portlet, into my main portal page, but

[jboss-user] [JBoss Portal] - collabation portlets, tools portlets ...

2007-02-15 Thread cpage
hello, i'm looking for portlets to add in my portal. i already had developped business portlets. what are the best collaboration portlets or tools portlets ? (mail portlet office portlet, agenda portlet, ...) i tried some portlets in portlet swap. then, is it possible to add google portlets in j

[jboss-user] [JBoss Portal] - launch a .exe in a portlet

2007-01-23 Thread cpage
hi, i have to make a portlet which will be able to launch a heavy application. this is an old client-server application. for now, i use an javascript, and it's not working with firefox, just IE with security in the minimal level: |