Re: Invoking another portlet
Do anybody knows how to get the portlet id ( in default.psml ) given the portlet name. Reards Deep Kumar Chief Architect, ComCreation - Original Message - From: Moazeni, Zachariah (AGRE) [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 7:24 PM Subject: RE: Invoking another portlet http://portals.apache.org/jetspeed-2/multiproject/jetspeed-api/apidocs/index .html May work out for you, I just googled Jetspeed API and found this from http://portals.apache.org/jetspeed-2/multiproject/jetspeed-api/index.html I'm fairly certain, but not absolutely, that this was apart from Turbine, which I hear is discontinued in J2. I'd be disappointed if they stripped it out along with turbine. -Zach -Original Message- From: Deep Kumar [mailto:[EMAIL PROTECTED] Sent: Monday, February 14, 2005 8:47 AM To: Jetspeed Users List Subject: Re: Invoking another portlet Hi Any clue, which API to use for this... Regards Deep Kumar Chief Architect, ComCreation - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, February 14, 2005 6:12 PM Subject: Re: Invoking another portlet Hi All, I need to know if it is possible to read the PSML files like default.psml My requirement is know the portlet-ID defined in the default.psml based on the portlet name. e.g if I suppy the portlet name (Test), it should return me the portlet-Id defined for this Test portlet... I need it quickly, pls do the needful, who had worked on the similar scenarios. thanks Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, February 14, 2005 5:47 PM Subject: Re: Invoking another portlet Hi Dulisch, What I understand is that whenever we create a tab or add any portlet in a Tab, all the realted enteries goes in default.psml file for that particular user. So do u mean to say that I should add default.psml in the mentioned URL. Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 5:24 PM Subject: AW: Invoking another portlet Hi Deep, when I understand you right you want to make tab B visible when selecting the link. Do you have a psml file for tab B? Then try the following url: .../jetspeed/portal/tab-b.psml Martin -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 12:35 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- --- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error
Re: Invoking another portlet
Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Invoking another portlet
Hi Dulisch, What I understand is that whenever we create a tab or add any portlet in a Tab, all the realted enteries goes in default.psml file for that particular user. So do u mean to say that I should add default.psml in the mentioned URL. Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 5:24 PM Subject: AW: Invoking another portlet Hi Deep, when I understand you right you want to make tab B visible when selecting the link. Do you have a psml file for tab B? Then try the following url: .../jetspeed/portal/tab-b.psml Martin -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 12:35 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Invoking another portlet
Hi All, I need to know if it is possible to read the PSML files like default.psml My requirement is know the portlet-ID defined in the default.psml based on the portlet name. e.g if I suppy the portlet name (Test), it should return me the portlet-Id defined for this Test portlet... I need it quickly, pls do the needful, who had worked on the similar scenarios. thanks Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, February 14, 2005 5:47 PM Subject: Re: Invoking another portlet Hi Dulisch, What I understand is that whenever we create a tab or add any portlet in a Tab, all the realted enteries goes in default.psml file for that particular user. So do u mean to say that I should add default.psml in the mentioned URL. Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 5:24 PM Subject: AW: Invoking another portlet Hi Deep, when I understand you right you want to make tab B visible when selecting the link. Do you have a psml file for tab B? Then try the following url: .../jetspeed/portal/tab-b.psml Martin -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 12:35 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Invoking another portlet
Hi Dulisch, yes u r right... but problem here is that the application which we are developng is multi-user, meaning every user which can log into the application can customize the portal. Let me explanin you briefly, You know that each user have their own psml files off-course the detail of this Sample tab will be in their default.psml files. e.g. The entery in default.psml will go like this.. portlets id=P-102c5545c61-10021// Line 1, Portlet Id metainfo titleSample/title // Line 2 , Sample Tab /metainfo security-ref parent=owner-only/ layout position=4 size=-1/ entry id=P-102c5545c61-10022 parent=HelloJSP// Portlet in Sample Tab skin name=orange-grey/ layout position=-1 size=-1 property name=column value=0/ property name=row value=0/ /layout /entry /portlets Now you are right that when I will click on Sample tab, the url is appended with the portlet-id ( P-102c5545c61-10021 ) as in Line 1. But I can't hard code this value in the URL, because each user will have different portlet-Id for the same Sample tab. So in last what I need is to find that how to get this portlet - ID (P-102c5545c61-10021) based on the portlet name i.e Sample So that I can use the portlet - Id to go to the specific URL. Thanks Regards Deep Kumar Chief Architect, ComCreation - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 6:07 PM Subject: AW: Invoking another portlet No no, what I mean is than a tab (page) can be defined in a psml file. Each tab has a seperate psml. You can make a tab visible by accesing the psml in the portal url. Have a look at the default jetdpeed installation with examples. Observe the url in your browser when switching the tabs (jsf-demo ... petstore ...) Hope you understand me now -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 13:17 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi Dulisch, What I understand is that whenever we create a tab or add any portlet in a Tab, all the realted enteries goes in default.psml file for that particular user. So do u mean to say that I should add default.psml in the mentioned URL. Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 5:24 PM Subject: AW: Invoking another portlet Hi Deep, when I understand you right you want to make tab B visible when selecting the link. Do you have a psml file for tab B? Then try the following url: .../jetspeed/portal/tab-b.psml Martin -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 12:35 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: Invoking another portlet
Hi Any clue, which API to use for this... Regards Deep Kumar Chief Architect, ComCreation - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, February 14, 2005 6:12 PM Subject: Re: Invoking another portlet Hi All, I need to know if it is possible to read the PSML files like default.psml My requirement is know the portlet-ID defined in the default.psml based on the portlet name. e.g if I suppy the portlet name (Test), it should return me the portlet-Id defined for this Test portlet... I need it quickly, pls do the needful, who had worked on the similar scenarios. thanks Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, February 14, 2005 5:47 PM Subject: Re: Invoking another portlet Hi Dulisch, What I understand is that whenever we create a tab or add any portlet in a Tab, all the realted enteries goes in default.psml file for that particular user. So do u mean to say that I should add default.psml in the mentioned URL. Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 5:24 PM Subject: AW: Invoking another portlet Hi Deep, when I understand you right you want to make tab B visible when selecting the link. Do you have a psml file for tab B? Then try the following url: .../jetspeed/portal/tab-b.psml Martin -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 12:35 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Invoking another portlet
That would be gr8. Regards Deep Kumar Chief Architect, ComCreation - Original Message - From: Moazeni, Zachariah (AGRE) [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 7:14 PM Subject: RE: Invoking another portlet I'm not sure if this will help you or not Deep... In my experience with Jetspeed1 in the JSP or ActionClass you set for the JSP you can get a particular Portlet ID...which I thought was the JSPIED. I would check the API (only if you're using Java though) -Zach -Original Message- From: Deep Kumar [mailto:[EMAIL PROTECTED] Sent: Monday, February 14, 2005 8:32 AM To: Jetspeed Users List Subject: Re: Invoking another portlet Hi Dulisch, yes u r right... but problem here is that the application which we are developng is multi-user, meaning every user which can log into the application can customize the portal. Let me explanin you briefly, You know that each user have their own psml files off-course the detail of this Sample tab will be in their default.psml files. e.g. The entery in default.psml will go like this.. portlets id=P-102c5545c61-10021// Line 1, Portlet Id metainfo titleSample/title // Line 2 , Sample Tab /metainfo security-ref parent=owner-only/ layout position=4 size=-1/ entry id=P-102c5545c61-10022 parent=HelloJSP// Portlet in Sample Tab skin name=orange-grey/ layout position=-1 size=-1 property name=column value=0/ property name=row value=0/ /layout /entry /portlets Now you are right that when I will click on Sample tab, the url is appended with the portlet-id ( P-102c5545c61-10021 ) as in Line 1. But I can't hard code this value in the URL, because each user will have different portlet-Id for the same Sample tab. So in last what I need is to find that how to get this portlet - ID (P-102c5545c61-10021) based on the portlet name i.e Sample So that I can use the portlet - Id to go to the specific URL. Thanks Regards Deep Kumar Chief Architect, ComCreation - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 6:07 PM Subject: AW: Invoking another portlet No no, what I mean is than a tab (page) can be defined in a psml file. Each tab has a seperate psml. You can make a tab visible by accesing the psml in the portal url. Have a look at the default jetdpeed installation with examples. Observe the url in your browser when switching the tabs (jsf-demo ... petstore ...) Hope you understand me now -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 13:17 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi Dulisch, What I understand is that whenever we create a tab or add any portlet in a Tab, all the realted enteries goes in default.psml file for that particular user. So do u mean to say that I should add default.psml in the mentioned URL. Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Dulisch, Martin [EMAIL PROTECTED] To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org Sent: Thursday, April 14, 2005 5:24 PM Subject: AW: Invoking another portlet Hi Deep, when I understand you right you want to make tab B visible when selecting the link. Do you have a psml file for tab B? Then try the following url: .../jetspeed/portal/tab-b.psml Martin -Ursprüngliche Nachricht- Von: Deep Kumar [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. Februar 2005 12:35 An: Jetspeed Users List Betreff: Re: Invoking another portlet Hi All, Any clue for my below query... Regards Deep Kumar Chief Architect, ComCreation. - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, March 28, 2005 1:00 PM Subject: Invoking another portlet Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep
Creation of PSML files
Hi Guys, We have coded to add the users in jetspeed as below String userName = Sample, password = Sample1; JetspeedUser user = JetspeedSecurity.getUserInstance(); user.setUserName(JetspeedSecurity.convertUserName(userName)); user.setPassword(password); System.out.println(Password : +password); user.setLastName(lastName); user.setFirstName(firstName); user.setEmail([EMAIL PROTECTED]); Date now = new Date(); user.setCreateDate(now); user.setLastLogin(now); user.setConfirmed(JetspeedResources.CONFIRM_VALUE); //JetspeedSecurity.addUser(user); tried with this also but not working JetspeedUserManagement.addUser(user); However with this piece of code user Sample1 is being created in jetspeed, but the PSML files are not being created for the user. Am i missing somthing in this code. ? Any help would be much appreciated.. Regards Deep Kumar Chief Architect, ComCreation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creation of PSML files
Hi All, I got the solution, I was missing three lines of code... Here is the new code. String userName = Sample, password = Sample1; JetspeedUser user = JetspeedSecurity.getUserInstance(); ServletConfig config = getServletConfig(); RunData runData = RunDataFactory.getRunData(request, response, config); runData.getParameters().setProperties(user); user.setUserName(JetspeedSecurity.convertUserName(userName)); user.setPassword(password); System.out.println(Password : +password); user.setLastName(lastName); user.setFirstName(firstName); user.setEmail([EMAIL PROTECTED]); Date now = new Date(); user.setCreateDate(now); user.setLastLogin(now); user.setConfirmed(JetspeedResources.CONFIRM_VALUE); JetspeedSecurity.addUser(user); Regards Deep Kumar Chief Architect, ComCreation - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, February 07, 2005 12:48 PM Subject: Creation of PSML files Hi Guys, We have coded to add the users in jetspeed as below String userName = Sample, password = Sample1; JetspeedUser user = JetspeedSecurity.getUserInstance(); user.setUserName(JetspeedSecurity.convertUserName(userName)); user.setPassword(password); System.out.println(Password : +password); user.setLastName(lastName); user.setFirstName(firstName); user.setEmail([EMAIL PROTECTED]); Date now = new Date(); user.setCreateDate(now); user.setLastLogin(now); user.setConfirmed(JetspeedResources.CONFIRM_VALUE); //JetspeedSecurity.addUser(user); tried with this also but not working JetspeedUserManagement.addUser(user); However with this piece of code user Sample1 is being created in jetspeed, but the PSML files are not being created for the user. Am i missing somthing in this code. ? Any help would be much appreciated.. Regards Deep Kumar Chief Architect, ComCreation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Invoking another portlet
Hi All, How can I invoke another portlet which is in different Tab. e.g. I have two Tabs A and B. Tab A has portlet x whereas Tab B has portlet y. Now on click on some hyperlink in portlet x of Tab A, it should redirect to portlet y on Tab B. Is there any solution to this scenario. Pls reply Any help is appreciated. Deep - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Read a psml file
how did u do that??? Thanks in advance - Original Message - From: angeloimm [EMAIL PROTECTED] To: jetspeed-user jetspeed-user@jakarta.apache.org Cc: jetspeed-user jetspeed-user@jakarta.apache.org Sent: Wednesday, February 09, 2005 7:24 PM Subject: Re: Read a psml file Hi; thanks for your answer infact i have used XPath... the problem i had was to know the psml to read but i have solved it. Thanks -- Initial Header --- From : Carlos Torres [EMAIL PROTECTED] To : Jetspeed Users List jetspeed-user@jakarta.apache.org Cc : Date : Wed, 9 Feb 2005 11:26:04 -0200 Subject : Re: Read a psml file Hi You could read the parameter in the psml file as a XML file with DOM or SAX API. I didn't know if it is your question, if not explain better If you need to change the attribute or parameter in the psml you could read it and transform in a DOM object and write it back, with the new attribute, in the file. Carlos Torres. - Original Message - From: zaza [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Wednesday, February 09, 2005 10:27 AM Subject: Re: Read a psml file David Sean Taylor wrote: angeloimm wrote: Hi all; if i know the psml name... how could i have a parameter in this psml file? Not sure if I understand the question, but I'll try. To change the parameters on a portlet instance, you can edit the psml file by hand, for example the StockQuote portlet, override the default init parameters on a portlet instance: entry id=P-f570871a5a-10008 parent=StockQuote layout position=-1 size=-1 property name=column value=0/ property name=row value=1/ /layout parameter name=symbols value=MSFT,IBM,ORCL,SUNW,ITGW/ /entry or change them from the running portlet. For example the StockQuote portlet provides an edit mode to edit the parameters For example let's suppose i have in the file a.psml a parameter called text. well in a portlet called b how can i have this parameter? Thanks Programatically a Jetspeed-1 portlet can access its PSML parameters by via the portlet instance http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/portal/Port letInstance.html The are a few variations on this, see the example portlets that come with the distribution Hi, What about J2? Can you configure fragments responsible for portlets in similar way? Can you add a paramater tag to the psml file? And finally can you access those parameters programatically later? Thank you for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Read a psml file
Hi Angeloimm, How did u do that, Angeloimm??? Regards Deep - Original Message - From: Deep Kumar [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Wednesday, February 09, 2005 8:12 PM Subject: Re: Read a psml file how did u do that??? Thanks in advance - Original Message - From: angeloimm [EMAIL PROTECTED] To: jetspeed-user jetspeed-user@jakarta.apache.org Cc: jetspeed-user jetspeed-user@jakarta.apache.org Sent: Wednesday, February 09, 2005 7:24 PM Subject: Re: Read a psml file Hi; thanks for your answer infact i have used XPath... the problem i had was to know the psml to read but i have solved it. Thanks -- Initial Header --- From : Carlos Torres [EMAIL PROTECTED] To : Jetspeed Users List jetspeed-user@jakarta.apache.org Cc : Date : Wed, 9 Feb 2005 11:26:04 -0200 Subject : Re: Read a psml file Hi You could read the parameter in the psml file as a XML file with DOM or SAX API. I didn't know if it is your question, if not explain better If you need to change the attribute or parameter in the psml you could read it and transform in a DOM object and write it back, with the new attribute, in the file. Carlos Torres. - Original Message - From: zaza [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Wednesday, February 09, 2005 10:27 AM Subject: Re: Read a psml file David Sean Taylor wrote: angeloimm wrote: Hi all; if i know the psml name... how could i have a parameter in this psml file? Not sure if I understand the question, but I'll try. To change the parameters on a portlet instance, you can edit the psml file by hand, for example the StockQuote portlet, override the default init parameters on a portlet instance: entry id=P-f570871a5a-10008 parent=StockQuote layout position=-1 size=-1 property name=column value=0/ property name=row value=1/ /layout parameter name=symbols value=MSFT,IBM,ORCL,SUNW,ITGW/ /entry or change them from the running portlet. For example the StockQuote portlet provides an edit mode to edit the parameters For example let's suppose i have in the file a.psml a parameter called text. well in a portlet called b how can i have this parameter? Thanks Programatically a Jetspeed-1 portlet can access its PSML parameters by via the portlet instance http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/portal/Port letInstance.html The are a few variations on this, see the example portlets that come with the distribution Hi, What about J2? Can you configure fragments responsible for portlets in similar way? Can you add a paramater tag to the psml file? And finally can you access those parameters programatically later? Thank you for any help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with admin user.
Hi All, Wherever I am trying to add any user or try configure the profile for any user. Some or the other configuration gets screwed, like, after configuration of user accounts, Edit account won't work or sometime Add user doesn't work. Anybody having clue what wrong with my jetspeed portal. Regards Deep Kumar - Original Message - From: Vladimir Lisin [EMAIL PROTECTED] To: Jetspeed Users List jetspeed-user@jakarta.apache.org Sent: Monday, January 31, 2005 8:05 PM Subject: RE: [J1.5] Repeatedly: How must work modul EditAccount Thanks all. Sorry for worry ! EditAccount works right . Best regards, Vladimir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]