Compile errors :Building jetspeed examples
Hi All, I am very new to jetspeed and really interested to learn this. Actually I am trying to build examples as instructed in jetspeed tutorial given in www.bluesunrise.com. I have downloaded jetspeed-1.4-war file from jetspeed site. Steps taken 1. Downloaded jar file from http://www.bluesunrise.com/jetspeed-docs/jportal.jar 2. expanded jportal.jar in my system 3. modified build.properties file as per my system (setting jetspeed home etc) 4. tried to run ant tasks (eg ant deploy, ant war, ant tutorial-all) The problem is that build is getting failed in compile task. I have tried to fix those error but it is failing consistently in compile only. I am wondering that why compile task is failing because if classpath mentioned is correct, then java source files for examples should get compiled. There seems to be error in java source files itself. Please guide me if I am doing something wrong. Any pointers would be appreciated. Thanks a lot. Shailesh D:\Jetspeed\jportalant war Buildfile: build.xml prepare: check_om: om: check_for_jetspeed_jar: jar_prepare_error: compile: [javac] Compiling 16 source files to D:\Jetspeed\jportal\bin\WEB-INF\classes [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\Coffees.java:17: cannot resolve symbol [javac] symbol : class BaseCoffees [javac] location: package om [javac] extends com.bluesunrise.jportal.om.BaseCoffees [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\CoffeesPeer.java:13: ca nnot resolve symbol [javac] symbol : class BaseCoffeesPeer [javac] location: package om [javac] extends com.bluesunrise.jportal.om.BaseCoffeesPeer [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlets\T utorialCoffeesAction.java:101: cannot resolve symbol [javac] symbol : variable COFFEE_ID [javac] location: class com.bluesunrise.jportal.om.CoffeesPeer [javac] criteria.add( CoffeesPeer.COFFEE_ID, rowid); [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlets\T utorialCoffeesAction.java:102: cannot resolve symbol [javac] symbol : method doSelect (org.apache.torque.util.Criteria) [javac] location: class com.bluesunrise.jportal.om.CoffeesPeer [javac] List coffees = CoffeesPeer.doSelect(criteria); [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlets\T utorialCoffeesAction.java:120: cannot resolve symbol [javac] symbol : method setCoffeeName (java.lang.String) [javac] location: class com.bluesunrise.jportal.om.Coffees [javac] coffee.setCoffeeName(); [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlets\T utorialCoffeesAction.java:167: cannot resolve symbol [javac] symbol : method save (java.sql.Connection) [javac] location: class com.bluesunrise.jportal.om.Coffees [javac] coffee.save(con); [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlets\T utorialCoffeesAction.java:221: cannot resolve symbol [javac] symbol : method doDelete (com.bluesunrise.jportal.om.Coffees,java.sql.Connecti on) [javac] location: class com.bluesunrise.jportal.om.CoffeesPeer [javac] CoffeesPeer.doDelete(coffee, con); [javac]^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\modules\actions\portlets\T utorialCoffeesAction.java:295: cannot resolve symbol [javac] symbol : method getCoffeeName () [javac] location: class com.bluesunrise.jportal.om.Coffees [javac] if(isEmpty(coffee.getCoffeeName())) [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\Coffees.java:16: com.bl uesunrise.jportal.om.Coffees should be declared abstract; it does not define getPrimaryKey( ) in com.bluesunrise.jportal.om.Coffees [javac] public class Coffees [javac] ^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\$basePrefixCoffees.java :271: cannot resolve symbol [javac] symbol : method setCoffeeId (int) [javac] location: class com.bluesunrise.jportal.om.Coffees [javac] copyObj.setCoffeeId(coffee_id); [javac]^ [javac] D:\Jetspeed\jportal\src\java\com\bluesunrise\jportal\om\$basePrefixCoffees.java :272: cannot resolve symbol [javac] symbol : method setCoffeeName (java.lang.String) [javac] location: class com.bluesunrise.jportal.om.Coffees [javac] copyObj.setCoffeeName(coffee_name); [javac]^ [javac]
New user awaiting acceptance
Hi All, I am trying to create a new user with newuser.approval.enable=true condition in JetspeedResources.properties.As I submit the form,I get a message saying that:Your request for an account has been recorded. You will be contacted shortly to let you know if it was accepted. But I never got any mail regarding this.I want to know,how these accounts are recorded and how to change it as per my requirement. What are the changes to be made and in which file?Please mail me soon. Thanks in advance, Basavaraj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xreg-Problem
Hi, i'm trying to run a Velocity portlet with jetspeed, but my portlet doesn't appear on the Add-Portlet-list. The log file jetspeedservices.log is telling me: 2004-02-09 12:09:17,289 [main] ERROR CastorRegistryService - RegistryService: Could not unmarshal: /java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF/conf/ velocityExample.xreg What does unmarshal mean? My velocityExample.xreg looks like this: portlet-entry name=pripeVelocityExample hidden=false type=ref parent=Velocity application=false meta-info titlePRiPE Velocity Example/title descriptionMal schauen ob's klappt.../description /meta-info parameter name=template hidden=true value=velocityExample/ parameter name=action hidden=true value=portlets.VelocityExampleAction/ parameter name=testVar hidden=false value=Test-Test. 1-2-3. *pust* meta-info titleKleiner Test-Text-String/title descriptionEigentlich total unwichtig/description /meta-info /parameter parameter name=textString hidden=false value=HalloDoofeWelt meta-info titleText-String/title descriptionNur so als kleiner Test.../description /meta-info /parameter parameter name=ldapList hidden=false value=o=upb,c=de meta-info titleLDAP Search Base/title descriptionWelcher Teil des LDAP-Baums soll durchsucht werden?/description /meta-info /parameter /portlet-entry If anyone can give me a hint what i'm doing wrong, i would be thankful. Regards, Bela -- Der Blitzableiter auf einem Kirchturm ist das denkbar stärkste Misstrauensvotum gegen den lieben Gott. -- Karl Kraus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Compile errors :Building jetspeed examples
Jportal should work !!! My suggestion is build using source of Jetspeed, with flexibility. Steps for NOVICE: 1) Did you succeed with Jetspeed alone? 2) Did you follow EXACT procedure to compile and run JPORTAL? (pl. note that it is modified for new version of jetspeed including latest CVS!) 3) what about: Jetspeed.jar 4) Compile first Jetspeed followed by Jportal (you can get rid one error/warning OFF logically) 5) Are you in hurry? hotdeploy... or stepwise? e.g., ant tutorial-1 instead of ant tutorial-all the list is endless and every error/warning during compilation will GUIDE you.. Goodluck typical setting if you are using tomcat/mysql/jetspeed-src/ (it works for me...) # testing 12345 # # typical settings with source # jetspeed_home=/jetspeed-1.4 catalina_home=/tomcat portlet_app_name=jportal company=com.bluesunrise.jportal jetspeed_jar=/bin/jetspeed-1.4.jar jetspeed_war=/bin/jetspeed.war jetspeed_lib=/lib jetspeed_conf=/webapp/WEB-INF/conf/ --- lot of discussion about jportal already available in archive --- HINT: search jportal in mail-archive -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xreg-Problem
Oh, stupid me! :-) The error is easily purged: ?xml version=1.0 encoding=UTF-8? registry portlet-entry name=. . /portlet-entry /registry Thanks to Massimiliano for helping me. But still: what does unmarshal mean? Bela Am 09.02.2004 um 14:33 schrieb Bela Kovac: Hi, i'm trying to run a Velocity portlet with jetspeed, but my portlet doesn't appear on the Add-Portlet-list. The log file jetspeedservices.log is telling me: 2004-02-09 12:09:17,289 [main] ERROR CastorRegistryService - RegistryService: Could not unmarshal: /java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF/conf/ velocityExample.xreg What does unmarshal mean? My velocityExample.xreg looks like this: portlet-entry name=pripeVelocityExample hidden=false type=ref parent=Velocity application=false meta-info titlePRiPE Velocity Example/title descriptionMal schauen ob's klappt.../description /meta-info parameter name=template hidden=true value=velocityExample/ parameter name=action hidden=true value=portlets.VelocityExampleAction/ parameter name=testVar hidden=false value=Test-Test. 1-2-3. *pust* meta-info titleKleiner Test-Text-String/title descriptionEigentlich total unwichtig/description /meta-info /parameter parameter name=textString hidden=false value=HalloDoofeWelt meta-info titleText-String/title descriptionNur so als kleiner Test.../description /meta-info /parameter parameter name=ldapList hidden=false value=o=upb,c=de meta-info titleLDAP Search Base/title descriptionWelcher Teil des LDAP-Baums soll durchsucht werden?/description /meta-info /parameter /portlet-entry If anyone can give me a hint what i'm doing wrong, i would be thankful. Regards, Bela -- Der Blitzableiter auf einem Kirchturm ist das denkbar stärkste Misstrauensvotum gegen den lieben Gott. -- Karl Kraus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Der Blitzableiter auf einem Kirchturm ist das denkbar stärkste Misstrauensvotum gegen den lieben Gott. -- Karl Kraus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xreg-Problem
If a xml is not well formed castor protest with message unmarshal - Original Message - From: Bela Kovac [EMAIL PROTECTED] To: Jetspeed Users List [EMAIL PROTECTED] Sent: Monday, February 09, 2004 2:49 PM Subject: Re: xreg-Problem Oh, stupid me! :-) The error is easily purged: ?xml version=1.0 encoding=UTF-8? registry portlet-entry name=. . /portlet-entry /registry Thanks to Massimiliano for helping me. But still: what does unmarshal mean? Bela Am 09.02.2004 um 14:33 schrieb Bela Kovac: Hi, i'm trying to run a Velocity portlet with jetspeed, but my portlet doesn't appear on the Add-Portlet-list. The log file jetspeedservices.log is telling me: 2004-02-09 12:09:17,289 [main] ERROR CastorRegistryService - RegistryService: Could not unmarshal: /java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF/conf/ velocityExample.xreg What does unmarshal mean? My velocityExample.xreg looks like this: portlet-entry name=pripeVelocityExample hidden=false type=ref parent=Velocity application=false meta-info titlePRiPE Velocity Example/title descriptionMal schauen ob's klappt.../description /meta-info parameter name=template hidden=true value=velocityExample/ parameter name=action hidden=true value=portlets.VelocityExampleAction/ parameter name=testVar hidden=false value=Test-Test. 1-2-3. *pust* meta-info titleKleiner Test-Text-String/title descriptionEigentlich total unwichtig/description /meta-info /parameter parameter name=textString hidden=false value=HalloDoofeWelt meta-info titleText-String/title descriptionNur so als kleiner Test.../description /meta-info /parameter parameter name=ldapList hidden=false value=o=upb,c=de meta-info titleLDAP Search Base/title descriptionWelcher Teil des LDAP-Baums soll durchsucht werden?/description /meta-info /parameter /portlet-entry If anyone can give me a hint what i'm doing wrong, i would be thankful. Regards, Bela -- Der Blitzableiter auf einem Kirchturm ist das denkbar stärkste Misstrauensvotum gegen den lieben Gott. -- Karl Kraus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Der Blitzableiter auf einem Kirchturm ist das denkbar stärkste Misstrauensvotum gegen den lieben Gott. -- Karl Kraus - 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]
Resetting portal modes
What's the best way to go about resetting all portlet modes back to the default when user logs out, then logs back in? Any advice would be appreciated. Thanks, Mike - Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online
RE: Compile errors :Building jetspeed examples
Hi , Thanks for ur suggestions. my comments below. Thanks Shailesh Zensar technologies Pune-1 -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 7:15 PM To: Jetspeed Users List Subject: Re: Compile errors :Building jetspeed examples Jportal should work !!! My suggestion is build using source of Jetspeed, with flexibility. Steps for NOVICE: 1) Did you succeed with Jetspeed alone? = Nopes,I didnt succeed. This too gives compilation errors very much similar to jportal compilation. I am referring to jetspeed 1.4 version available at jakarta site, which i have downloaded. 2) Did you follow EXACT procedure to compile and run JPORTAL? (pl. note that it is modified for new version of jetspeed including latest CVS!) = I am following the procedure which available in bluesunrise.com site which updated last week only. 3) what about: Jetspeed.jar = I have mentioned jetspeed-1.4.jar in build.properties file already, build.xml is using this. 4) Compile first Jetspeed followed by Jportal (you can get rid one error/warning OFF logically) 5) Are you in hurry? hotdeploy... or stepwise? e.g., ant tutorial-1 instead of ant tutorial-all the list is endless and every error/warning during compilation will GUIDE you.. Goodluck = I am running war , compile task only.It works find until it reaches compile task. I have modified setting like this: - jetspeed_home=D:\\Jetspeed\\jetspeed-1.4 catalina_home=C:\\jakarta-tomcat-4.1.27 portlet_app_name=myjportal company=com.shail.jportal jetspeed_jar=\\bin\\jetspeed-1.4.jar jetspeed_war=\\bin\\jetspeed.war jetspeed_lib=\\WEB-INF\\lib jetspeed_conf=\WEB-INF\\conf\\ --- It is finding path and files correctly,but looks like this jportal jar file is incomplete as build errors show that code expects some more variable from classes which are not that complete. I am using jportal.jar file mentioned in jetspeed tutorial from bluesunrise.com (http://www.bluesunrise.com/jetspeed-docs/jportal.jar) Thanks a lot typical setting if you are using tomcat/mysql/jetspeed-src/ (it works for me...) # testing 12345 # # typical settings with source # jetspeed_home=/jetspeed-1.4 catalina_home=/tomcat portlet_app_name=jportal company=com.bluesunrise.jportal jetspeed_jar=/bin/jetspeed-1.4.jar jetspeed_war=/bin/jetspeed.war jetspeed_lib=/lib jetspeed_conf=/webapp/WEB-INF/conf/ --- lot of discussion about jportal already available in archive --- HINT: search jportal in mail-archive -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - 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: Compile errors :Building jetspeed examples
Here is the mistake: = portlet_app_name=myjportal company=com.shail.jportal how you will find COFFEE here? note: it should be... portlet_app_name=jportal company=com.bluesunrise.jportal until unless you wrote your own java code for the same.. I doubt as you are a new user to jetspeed (also did not succeed in jetspeed.. don't worry it is a matter of few hours extra trial to see jetspeed running which will keep your 'sprit' high to undertake challenging tasks) DON'T JUMP TO MODIFY THE CODES until you are comfortable running 'default' settings. I again insist compile jetspeed.war from SRC (for flexibility) and then compile Jportal. Goodluck -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PSML question
Hi, I just wanted to know if this was possible: When a new user is created i want to assign it a default psml from the role it inherits. So if the user is turbine and its role is Admin then i want the default.psml of Admin to be applied. If the user is Archana and her role is User then i want the default.psml of the Role user to be applied. I know this sounds like Role-based PSML and all i need to do is set the following parameter to nothing: services.profiler.newuser.template. But the requirement does not end here. Once the new user has his default psml the user can then have individual settings. So if turbine user added a portlet A in his view user Archana should not see it which is what happens in Role-based PSML...based on what i prototyped. Is it possible to use a role's psml file when the user is created and then after that psml file change is local to a particular user and not global to the role? Please do help, I was evaluating this particular technique for our environment. Thanks in advance for any responses. Regards, Archana
Sizing of portlets
Hi, Is it possible to size the a portlet. I mean if a JSP portlet with three columns is displayed in the portal in the first row then i see that the portlet tries to occupy the whole of the row making the table with it;s columns expand thereby making it look not too good. Is there a way to set a size and then mention that even if this portlet is occupying the whole row it should size to fit the row? Thanks is advance for your responses, Regards, Archana
Re: Sizing of portlets
This is something similar to 'trying to see only login frame of yahoo' through IFramePortlet, dynamic change of fixing co-ordinates (x1,y1,x2,y2) instead of traditional (x,y dimention of portal). If this code is established in jetspeed (require some skilled programming for advanced users) the you can view as you wish... no more complain about STANDARDS. -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PSML question
On Mon, 2004-02-09 at 15:41, Archana Turaga wrote: Is it possible to use a role's psml file when the user is created and then after that psml file change is local to a particular user and not global to the role? yes, this is what happens, which is ironically exactly the opposite of what I want (to never save but recreate users profile on each login)! you want the following in JetSpeedResources.properties services.Profiler.newuser.template= services.Profiler.rolefallback=true services.Profiler.rolemerge=true automatic.logout.save=true HTH, Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sizing of portlets
Actually if you see the site: http://www.esinplast.it/ep You will see how they have their portlets within a framework...have some sort of padding...i was trying to figure out how they did it ...can you figure out what is going on here? How did they get that padding around the portal. Thanks and regards, Archana [EMAIL PROTECTED] 02/09/04 09:53AM This is something similar to 'trying to see only login frame of yahoo' through IFramePortlet, dynamic change of fixing co-ordinates (x1,y1,x2,y2) instead of traditional (x,y dimention of portal). If this code is established in jetspeed (require some skilled programming for advanced users) the you can view as you wish... no more complain about STANDARDS. -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sizing of portlets
Looking at the source of the page: The 'MASTERS' of the page are: class=ControllerStyleClass class=PortletStyleClass class=ContentStyleClass May be if you have the source (java .. class or 'equivalent') ... hu .. (I won't disclose how? ) I am not sure whether it is built-in function of jetspeed or 'custom' written.. require some more research to figure out.. goodluck -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sizing of portlets
Well thanks for the help anyway...Will do the needed to figure out or come up with some technique after experimenting...always works when you are doing trial and error as the last resort...:-)...because i really need to have some sizing mechanism or else the portal will really look ugly for the type of layout i'm looking at... Anyway any input and responses are welcome. Regards, Archana [EMAIL PROTECTED] 02/09/04 10:32AM Looking at the source of the page: The 'MASTERS' of the page are: class=ControllerStyleClass class=PortletStyleClass class=ContentStyleClass May be if you have the source (java .. class or 'equivalent') ... hu .. (I won't disclose how? ) I am not sure whether it is built-in function of jetspeed or 'custom' written.. require some more research to figure out.. goodluck -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sizing of portlets
searching 'G o o g l e' resulted really impressive pages for these classess... you should explore further This powerpoint ppt may be helpful (may be trivial for 'expert' like you) https://www.metnet.navy.mil/~carlg/ nep/Metoc_Portal_CSS_ver1.ppt Pl. Ignore this message if you are already aware of the links -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Restoring portlets to login setting
On Fri, 2004-02-06 at 14:17, Michael Klaene wrote: Is there a simple configuration that I'm unaware of which will ALWAYS restore portlet mode changes to default upon login? there's an automatic save option in JetspeedResources.properties, but it doesn't seem to do much. I want to make users be solely role based and prevent users from being able to customised the portal at all, but this doesn't actually seem possible - you can hide some of the customise buttons, but if the user knows the link he/she can still do things. It seems to be a bug in the role-based profile management, as I can definitely lock things down when using per-user psml profiles. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sizing of portlets
Ha...Ha expert is it? I'm no expert...complete novice at it...been trying to iron out these issues so that we can have atleast a minimal functional site using jetspeed. I'll check out the site and will keep everyone posted on the progress... Thanks for your help, Archana [EMAIL PROTECTED] 02/09/04 11:03AM searching 'G o o g l e' resulted really impressive pages for these classess... you should explore further This powerpoint ppt may be helpful (may be trivial for 'expert' like you) https://www.metnet.navy.mil/~carlg/ nep/Metoc_Portal_CSS_ver1.ppt Pl. Ignore this message if you are already aware of the links -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Velocity Portlet
Hi again, i am having trouble getting a test portlet (velocity) to work. The portlet doesn't show up in the Add Portlet menu. I don't see anything problematic in the logs: gonzales:/java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF wizard$ grep -i helloWorld log/* log/jetspeedservices.log:2004-02-09 18:27:29,557 [http8080-Processor21] DEBUG CastorRegistryService - RegistryService: Adding entry pripeHelloWorld of class class org.apache.jetspeed.om.registry.base.BasePortletEntry to registry Registry log/jetspeedservices.log:2004-02-09 18:27:29,959 [Thread-221] DEBUG CastorRegistryService - RegistryService: No changes to entry pripeHelloWorld The xreg-file: gonzales:/java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF wizard$ cat conf/pripeHelloWorld.xreg ?xml version=1.0 encoding=UTF-8? registry portlet-entry name=pripeHelloWorld hidden=false type=ref parent=Velocity application=false meta-info titlePRiPE Hello World/title descriptionMinimales Velocity-Portlet/description /meta-info classnameorg.apache.jetspeed.portal.portlets.VelocityPortlet/ classname parameter name=template value=pripeHelloWorld hidden=true cachedOnName=true cachedOnValue=true/ parameter name=action value=portlets.HelloworldAction hidden=true cachedOnName=true cachedOnValue=true/ parameter name=test value=Bla-bla-bla. hidden=true cachedOnName=true cachedOnValue=true/ url cachedOnURL=true/ category group=JetspeedPRiPE/category /portlet-entry /registry The vm-file: gonzales:/java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF wizard$ cat templates/vm/portlets/html/pripeHelloWorld.vm bTest/bbrbr Blah, blubb, bloing.br The class file resides in classes/de/upb/zit/pripe/jetspeed/modules/actions/portlets (conf/TurbineResources.properties is updated: module.packages=de.upb.zit.pripe.jetspeed.modules). The corresponding java source: gonzales:/java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF wizard$ cat src/de/upb/zit/pripe/jetspeed/modules/actions/portlets/ HelloWorldAction.java /* * Created on 09.02.2004 * * To change the template for this generated file go to * Windowgt;Preferencesgt;Javagt;Code Generationgt;Code and Comments */ package de.upb.zit.pripe.jetspeed.modules.actions.portlets; import org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction; import org.apache.jetspeed.portal.portlets.VelocityPortlet; import org.apache.turbine.util.RunData; import org.apache.velocity.context.Context; /** * @author wizard * * To change the template for this generated type comment go to * Windowgt;Preferencesgt;Javagt;Code Generationgt;Code and Comments */ public class HelloWorldAction extends VelocityPortletAction { protected void buildNormalContext(VelocityPortlet portlet, Context context, RunData rundata) { //String test = Bl; //context.put(test, test); } } Does anyone know what i'm missing? --- Besides that, i have another velocity portlet, also not working, where the logs say: log/jetspeedservices.log:2004-02-09 18:32:30,503 [Thread-221] DEBUG CastorRegistryService - RegistryService: Skipping fragment /java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF/conf/ velocityExample.xreg Don't know what's going on here, too. The xreg-file: gonzales:/java/jakarta-tomcat-5.0.18/webapps/jetspeed/WEB-INF wizard$ cat conf/pripeVelocityExample.xreg ?xml version=1.0 encoding=UTF-8? registry portlet-entry name=pripeVelocityExample hidden=false type=ref parent=Velocity application=false meta-info titlePRiPE Velocity Example/title descriptionMal schauen obs klappt.../description /meta-info classnameorg.apache.jetspeed.portal.portlets.VelocityPortlet/ classname parameter name=template value=pripeVelocityExample hidden=true cachedOnName=true cachedOnValue=true/ parameter name=action value=portlets.VelocityExampleAction hidden=true cachedOnName=true cachedOnValue=true/ parameter name=testVar value=Test-Test. 1-2-3. pust hidden=false cachedOnName=true cachedOnValue=true meta-info titleKleiner Test-Text-String/title descriptionEigentlich total unwichtig/description /meta-info /parameter parameter name=textString value=HalloDoofeWelt hidden=false cachedOnName=true cachedOnValue=true meta-info titleText-String/title descriptionNur so als kleiner Test.../description /meta-info /parameter parameter name=ldapList value=o=upb,c=de hidden=false cachedOnName=true cachedOnValue=true meta-info titleLDAP Search Base/title descriptionWelcher
Re: Sizing of portlets
The link you refer to would only be of help if you were going to do your own customization of CSS / XSL within a proxyPortlet. A foundation for proxy type portlets can be found at http://www.buonvia.com/jetspeed/ unjar the proxyPortlets.jar to get documentation and starter code. These proxy portlets are not for use with Jetspeed 2. However, if you are starting from scratch with Jetspeed, I encourage you to use the portlets that are available with Jetspeed 2. Glen Archana Turaga wrote: Ha...Ha expert is it? I'm no expert...complete novice at it...been trying to iron out these issues so that we can have atleast a minimal functional site using jetspeed. I'll check out the site and will keep everyone posted on the progress... Thanks for your help, Archana [EMAIL PROTECTED] 02/09/04 11:03AM searching 'G o o g l e' resulted really impressive pages for these classess... you should explore further This powerpoint ppt may be helpful (may be trivial for 'expert' like you) https://www.metnet.navy.mil/~carlg/ nep/Metoc_Portal_CSS_ver1.ppt Pl. Ignore this message if you are already aware of the links -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - 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: Sizing of portlets
Thanks..will also look at this site. Yeah at first glance it did look as if we have to come up with our own stylesheets. We are not going to go to JEtspeed 2.0 yet because it is not a official release yet and is in CVS. Currently using 1.4b4 with some bug fixes. Regards, Archana [EMAIL PROTECTED] 02/09/04 01:38PM The link you refer to would only be of help if you were going to do your own customization of CSS / XSL within a proxyPortlet. A foundation for proxy type portlets can be found at http://www.buonvia.com/jetspeed/ unjar the proxyPortlets.jar to get documentation and starter code. These proxy portlets are not for use with Jetspeed 2. However, if you are starting from scratch with Jetspeed, I encourage you to use the portlets that are available with Jetspeed 2. Glen Archana Turaga wrote: Ha...Ha expert is it? I'm no expert...complete novice at it...been trying to iron out these issues so that we can have atleast a minimal functional site using jetspeed. I'll check out the site and will keep everyone posted on the progress... Thanks for your help, Archana [EMAIL PROTECTED] 02/09/04 11:03AM searching 'G o o g l e' resulted really impressive pages for these classess... you should explore further This powerpoint ppt may be helpful (may be trivial for 'expert' like you) https://www.metnet.navy.mil/~carlg/ nep/Metoc_Portal_CSS_ver1.ppt Pl. Ignore this message if you are already aware of the links -- M. Karthikeyan, Ph.D., Scientist _| _|_|_|_| _| _|_|_| _|_| _| _| _| _|_| _|_|_| _|_| _| _| o _|_|_|o _|_|_|_| NationalChemical Laboratory Pune - 411 008, INDIA Ph: +91-(0)20-5893 457 FAX: 5893 973 http://www.ncl-india.org/ - 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]