RE: ApacheCon

2002-11-15 Thread David Sean Taylor


> -Original Message-
> From: news [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew C. Oliver
> Sent: Friday, November 15, 2002 2:58 PM
> To: [EMAIL PROTECTED]
> Subject: ApacheCon
>
>
> Any other Jetspeeders going to apachecon?
>

Not me.
Wish I could go, looks like some good speakers and interesting sessions on
the Apache server.

Santiago Gala will be speaking on his experiences with developing with open
source and Jetspeed:

http://apachecon.com/2002/US/html/speakers.html/e=MjAwMi9VUw

I hope to make it to the local SF Java Meetup Monday night. It better fits
by expense budget (its free)

http://java.meetup.com/

  Monday, Nov 18 @ 7PM
  StudioZ.tv
  314 11th St. (@ Folsom)
  San Francisco, CA 94103
  415-252-7666





--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: ChangeLanguage Portlet

2002-11-15 Thread David Sean Taylor

> -Original Message-
> From: Jeremy Ford [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 14, 2002 8:55 PM
> To: Jetspeed Developers List
> Subject: Re: ChangeLanguage Portlet
>
>
> David,
>
> I have implemented a portlet which allows a user to change his/her locale.
> It is based on the this proposal I made earlier
> (http://www.mail-archive.com/jetspeed-dev%40jakarta.apache.org/msg
> 04936.html
> ).
>
> I have attache the xreg, the source file, and the vm necessary to use the
> portlet.  In order for the portlet action to actually change the
> locale, the
> patch that I have attached is required.
>
> Known Issues:
> 1) VM is not internationalized.
> 2) The are not that many languages and countries to choose from currently.
> They are set in the velocity.  Any ideas on better ways to do
> this would be
> appreciated.
> 3) Settings are not permanent.  User would need to change locale each time
> he/she logs in.  Not known if this is needed.

I believe the other implementation handled this by setting the locale with
setTemp

> 4) Implementation as portlet requires you to add it to a psml file to
> actually use it.  Perhaps it should just be a standard VelocityAction and
> template screen. (should be easy enough to convert)
>
> If you have any thoughts, suggestions, or questions, let me know.
>
Jeremy,

I'd like to see the fixed version of the other implementation, and maybe we
can take the best of both

Thanks,

David



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




ApacheCon

2002-11-15 Thread Andrew C. Oliver
Any other Jetspeeders going to apachecon?




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: New Registry documentation

2002-11-15 Thread Luta, Raphael (VUN)
Would you mind taking over the doc and make it fits the overall existind
documentation ?

I'm not really a good documenter and I think you have much better knowledge 
of the documentation structure than I do.

I'll focus on producing accurate content on the areas where I have intimate
knowledge of the behavior and let you decide on how to organize the content.

Would that work for you ? 

> -Message d'origine-
> De : Paul Spencer [mailto:paulspencer@;mindspring.com]
> Envoyé : vendredi 15 novembre 2002 19:07
> À : Jetspeed Developers List
> Objet : Re: New Registry documentation
> 
> 
> Raphael,
> This duplicates some of the existing documentation, see 
> below.  Granted 
> the organization is different.  
> 
>  Skins - http://jakarta.apache.org/jetspeed/site/config_skin.html
>  Portlets - 
> http://jakarta.apache.org/jetspeed/site/portlet_config_common.html
>  Security - http://jakarta.apache.org/jetspeed/site/security.html
> 
> I suggest merging this with the existing documetion, 
> including adjusting 
> the links defined in 
> http://jakarta.apache.org/jetspeed/site/config_guide.html.  
> 
> o The existing documentation defines files that contain 
> distributed the 
> registry elements and recommend files for user registry elements.
> o The exisitng documentation includes Velocity usage of Skin element, 
> http://jakarta.apache.org/jetspeed/site/config_skin_param_summary.html
> 
> In general I like the content and organization in your 
> documention  :-)
> 
> Paul Spencer
> 
> Luta, Raphael (VUN) wrote:
> 
> >To prepare for the release of Jetspeed 1.4b2, I've created some
> >documentation for the Registry service and its XML implementation
> >which can be found at:
> >
> >http://jakarta.apache.org/jetspeed/site/registry.html
> >
> >I'd appreciate any feedback/issues on the content so that I 
> can upgrade
> >it before the actual release.
> >
> >Also coming soon are the docs on the request flow, layout 
> engine principles
> >and the new client/media matching algorithm.
> >
> >--
> >Raphaël Luta - [EMAIL PROTECTED]
> >Technology and New Initiatives
> >Vivendi Universal Networks - Paris
> >
> >--
> >To unsubscribe, e-mail:   
> 
> >For additional commands, e-mail: 
> 
> >
> >
> >  
> >
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-jetspeed/webapp/WEB-INF/conf TurbineResources.properties

2002-11-15 Thread taylor
taylor  2002/11/15 14:02:51

  Modified:webapp/WEB-INF/conf TurbineResources.properties
  Log:
  - rollback to TurbineLocalization service, multiple resource files failing with new 
service
  
  Revision  ChangesPath
  1.64  +2 -3  jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties
  
  Index: TurbineResources.properties
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/TurbineResources.properties,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- TurbineResources.properties   14 Nov 2002 20:30:24 -  1.63
  +++ TurbineResources.properties   15 Nov 2002 22:02:50 -  1.64
  @@ -364,8 +364,7 @@
   
services.RunDataService.classname=org.apache.jetspeed.services.rundata.JetspeedRunDataService
   
services.ServletService.classname=org.apache.turbine.services.servlet.TurbineServletService
   
services.AssemblerBrokerService.classname=org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService
  -# 
services.LocalizationService.classname=org.apache.turbine.services.localization.TurbineLocalizationService
  
-services.LocalizationService.classname=org.apache.jetspeed.services.customlocalization.JetspeedLocalizationService
  
+services.LocalizationService.classname=org.apache.turbine.services.localization.TurbineLocalizationService
   
services.MimeTypeService.classname=org.apache.turbine.services.mimetype.TurbineMimeTypeService
   
services.GlobalCacheService.classname=org.apache.turbine.services.cache.TurbineGlobalCacheService
   
services.SchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: New Registry documentation

2002-11-15 Thread Paul Spencer
Raphael,
This duplicates some of the existing documentation, see below.  Granted 
the organization is different.  

Skins - http://jakarta.apache.org/jetspeed/site/config_skin.html
Portlets - 
http://jakarta.apache.org/jetspeed/site/portlet_config_common.html
Security - http://jakarta.apache.org/jetspeed/site/security.html

I suggest merging this with the existing documetion, including adjusting 
the links defined in 
http://jakarta.apache.org/jetspeed/site/config_guide.html.  

o The existing documentation defines files that contain distributed the 
registry elements and recommend files for user registry elements.
o The exisitng documentation includes Velocity usage of Skin element, 
http://jakarta.apache.org/jetspeed/site/config_skin_param_summary.html

In general I like the content and organization in your documention  :-)

Paul Spencer

Luta, Raphael (VUN) wrote:

To prepare for the release of Jetspeed 1.4b2, I've created some
documentation for the Registry service and its XML implementation
which can be found at:

http://jakarta.apache.org/jetspeed/site/registry.html

I'd appreciate any feedback/issues on the content so that I can upgrade
it before the actual release.

Also coming soon are the docs on the request flow, layout engine principles
and the new client/media matching algorithm.

--
Raphaël Luta - [EMAIL PROTECTED]
Technology and New Initiatives
Vivendi Universal Networks - Paris

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


 






--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-jetspeed/xdocs changes.xml

2002-11-15 Thread morciuch
morciuch2002/11/15 09:27:18

  Modified:docs/site changes.html
   src/java/org/apache/jetspeed/modules/actions/controllers
MultiColumnControllerAction.java
   src/java/org/apache/jetspeed/modules/parameters
RegistryEntryListBox.java
   webapp/WEB-INF/conf admin.xreg controls.xreg
   webapp/WEB-INF/templates/vm/controllers/html
multicolumn-customize.vm
   webapp/WEB-INF/templates/vm/portlets/html
customizer-portletset-layout.vm
   xdocschanges.xml
  Log:
  Allow to customize control for each portlet in the layout customizer (see Bugzilla 
bug # 13252).
  
  List of available controls is limited to ones with parameter "simple" set to "true" 
in control registry. Currently, there are 3 available controls: TitlePortletControl, 
BoxControl and ClearPortletControl.
  
  Revision  ChangesPath
  1.71  +3 -0  jakarta-jetspeed/docs/site/changes.html
  
  Index: changes.html
  ===
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/changes.html,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- changes.html  14 Nov 2002 22:43:32 -  1.70
  +++ changes.html  15 Nov 2002 17:27:17 -  1.71
  @@ -133,6 +133,9 @@
   
   -->
   
  +  Add - Bug # 13252 - 2002/11/15 - Allow to customize control for each portlet in 
layout customizer (MO)
  +
  +
 Add - 2002/11/14 - Jetspeed/Axis Integration, ChangeLanguagePortlet (DT)
   
   
  
  
  
  1.24  +36 -0 
jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/MultiColumnControllerAction.java
  
  Index: MultiColumnControllerAction.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/controllers/MultiColumnControllerAction.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- MultiColumnControllerAction.java  8 Nov 2002 23:13:44 -   1.23
  +++ MultiColumnControllerAction.java  15 Nov 2002 17:27:17 -  1.24
  @@ -58,6 +58,8 @@
   import org.apache.jetspeed.om.registry.PortletEntry;
   import org.apache.jetspeed.om.profile.IdentityElement;
   import org.apache.jetspeed.om.profile.Entry;
  +import org.apache.jetspeed.om.profile.psml.PsmlControl;
  +import org.apache.jetspeed.services.PortalToolkit;
   import org.apache.jetspeed.om.profile.MetaInfo;
   import org.apache.jetspeed.om.profile.Layout;
   import org.apache.jetspeed.om.profile.Parameter;
  @@ -557,6 +559,40 @@
   if ((col > -1) && (row > -1) && (row < columns[col].size() - 1))
   {
   move(columns, col, row, col, row + 1);
  +}
  +}
  +
  +public void doControl(RunData data, Context context)
  +{
  +JetspeedRunData jdata = (JetspeedRunData) data;
  +
  +String controlName = data.getParameters().getString("control");
  +String id = data.getParameters().getString("js_peid");
  +
  +try
  +{
  +Entry entry = 
jdata.getCustomizedProfile().getDocument().getEntryById(id);
  +
  +if (entry != null)
  +{
  +if (controlName != null && controlName.trim().length() > 0)
  +{
  +PsmlControl control = new PsmlControl();
  +control.setName(controlName);
  +if (control != null)
  +{
  +entry.setControl(control);
  +}
  +}
  +else
  +{
  +entry.setControl(null);
  +}
  +}
  +}
  +catch (Exception e)
  +{
  +Log.error(e);
   }
   }
   
  
  
  
  1.2   +29 -3 
jakarta-jetspeed/src/java/org/apache/jetspeed/modules/parameters/RegistryEntryListBox.java
  
  Index: RegistryEntryListBox.java
  ===
  RCS file: 
/home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/parameters/RegistryEntryListBox.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RegistryEntryListBox.java 12 Nov 2002 22:19:00 -  1.1
  +++ RegistryEntryListBox.java 15 Nov 2002 17:27:17 -  1.2
  @@ -64,6 +64,7 @@
   import org.apache.jetspeed.om.profile.ProfileLocator;
   import org.apache.jetspeed.om.registry.PortletInfoEntry;
   import org.apache.jetspeed.om.registry.RegistryEntry;
  +import org.apache.jetspeed.om.registry.Parameter;
   import org.apache.jetspeed.om.security.JetspeedUser;
   import org.apache.jetspeed.services.JetspeedSecurity;
   import org.apache.jetspeed.services.Registry;
  @@ -83,6 +84,7 @@
* null-if-empty [true|false]

cvs commit: jakarta-jetspeed/docs/site registry_syntax.html

2002-11-15 Thread raphael
raphael 2002/11/15 09:18:52

  Modified:docs/site registry_syntax.html
  Log:
  Add "style" attribute to Portlet parameter DTD
  
  Revision  ChangesPath
  1.3   +2 -2  jakarta-jetspeed/docs/site/registry_syntax.html
  
  Index: registry_syntax.html
  ===
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/registry_syntax.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- registry_syntax.html  15 Nov 2002 15:50:33 -  1.2
  +++ registry_syntax.html  15 Nov 2002 17:18:52 -  1.3
  @@ -325,7 +325,7 @@
   
   
  @@ -760,7 +760,7 @@
   
  +  type   (int | boolean | string | list ) "string" >
   
   
   
For additional commands, e-mail: 




cvs commit: jakarta-jetspeed/xdocs registry_syntax.xml

2002-11-15 Thread raphael
raphael 2002/11/15 09:18:34

  Modified:xdocsregistry_syntax.xml
  Log:
  Add "style" attribute to Portlet parameter DTD
  
  Revision  ChangesPath
  1.4   +2 -2  jakarta-jetspeed/xdocs/registry_syntax.xml
  
  Index: registry_syntax.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/registry_syntax.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- registry_syntax.xml   15 Nov 2002 15:44:33 -  1.3
  +++ registry_syntax.xml   15 Nov 2002 17:18:34 -  1.4
  @@ -116,7 +116,7 @@
   
   
  @@ -305,7 +305,7 @@
   
  +  type   (int | boolean | string | list ) "string" >
   
   
   mailto:jetspeed-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: 




RE: cvs commit: jakarta-jetspeed/docs/site registry.html registry_syntax.html

2002-11-15 Thread Luta, Raphael (VUN)
OK. I'll fix this ASAP

> -Message d'origine-
> De : Mark Orciuch [mailto:mark_orciuch@;ngsltd.com]
> Envoyé : vendredi 15 novembre 2002 16:59
> À : Jetspeed Developers List
> Objet : RE: cvs commit: jakarta-jetspeed/docs/site registry.html
> registry_syntax.html
> 
> 
> Raphael,
> 
> I have one slight addition to the portlet parameter DTD:
> 
>name   CDATA  #REQUIRED
>   value  CDATA  #REQUIRED
>   type   (int | boolean | string | list | 
> style) "string"
>   cachedOnName ( true | false )   "false"
>   cachedOnValue  ( true | false )   "false" >
> 
> There's an additional type: style. This is used in the 
> portlet customizer to
> determine whether a parameter should be rendered using a 
> specific parameter
> presentation style. I can make the change if you want.
> 
> Best regards,
> 
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: [EMAIL PROTECTED]
> web: http://www.ngsltd.com
> 
> 
> --
> To unsubscribe, e-mail:   

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




New Registry documentation

2002-11-15 Thread Luta, Raphael (VUN)
To prepare for the release of Jetspeed 1.4b2, I've created some
documentation for the Registry service and its XML implementation
which can be found at:

http://jakarta.apache.org/jetspeed/site/registry.html

I'd appreciate any feedback/issues on the content so that I can upgrade
it before the actual release.

Also coming soon are the docs on the request flow, layout engine principles
and the new client/media matching algorithm.

--
Raphaël Luta - [EMAIL PROTECTED]
Technology and New Initiatives
Vivendi Universal Networks - Paris

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: cvs commit: jakarta-jetspeed/docs/site registry.html registry_syntax.html

2002-11-15 Thread Mark Orciuch
Raphael,

I have one slight addition to the portlet parameter DTD:



There's an additional type: style. This is used in the portlet customizer to
determine whether a parameter should be rendered using a specific parameter
presentation style. I can make the change if you want.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-jetspeed/docs/site registry.html registry_syntax.html

2002-11-15 Thread raphael
raphael 2002/11/15 07:50:33

  Modified:docs/site registry.html registry_syntax.html
  Log:
  Update to registry documentation. Should now be complete
  
  Revision  ChangesPath
  1.2   +10 -11jakarta-jetspeed/docs/site/registry.html
  
  Index: registry.html
  ===
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/registry.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- registry.html 14 Nov 2002 22:47:17 -  1.1
  +++ registry.html 15 Nov 2002 15:50:33 -  1.2
  @@ -5,6 +5,7 @@
   
   
   
  +
   
   
   
  @@ -84,8 +85,6 @@
   
   Components
   
  -Registry
  -
   Security
   
   Syndication
  @@ -158,16 +157,16 @@
   
   
   
  -
  +
   
   Element
   
  -
  -
  +
  +
   
   Description
   
  -
  +
   
   
   
  @@ -203,7 +202,7 @@
  and provides access to the portal actions defined for the portlet, like 
customization.
  Only controls defined the Registry can be used in the user pages.
  
  - For more information on controls, check out the Jetspeed Layout 
overview.
  + For more information on controls, check out the Jetspeed Layout overview.
  

   
  @@ -226,7 +225,7 @@
  By default, all the controllers defined in the registry are available for 
users to customize
  their page layout.
  
  - For more information on controllers, check out the Jetspeed 
Layout overview.
  + For more information on controllers, check out the Jetspeed Layout overview.
  

   
  @@ -247,7 +246,7 @@
  The skins define the color schemes used by the portal on a specific user 
page (or part
  of a page)
  
  - For more information on skins, check out the Jetspeed Layout 
overview.
  + For more information on skins, check out the Jetspeed Layout overview.
  

   
  @@ -269,7 +268,7 @@
  this specific instance of Jetspeed. Working in cunjunction with the Clients 
defintion,
  it enables you to control how the different user-agents access your portal
  
  - For more information on client handling, check out the Client 
detection.
  + For more information on client handling, check out the Client detection.
  

   
  @@ -290,7 +289,7 @@
  The clients definitions entries are used to describe user agent capabilities 
and in
  cunjunction with Media types information define how the clients access the 
portal
  
  - For more information on client handling, check out the Client 
detection.
  + For more information on client handling, check out the Client detection.
  

   
  
  
  
  1.2   +583 -33   jakarta-jetspeed/docs/site/registry_syntax.html
  
  Index: registry_syntax.html
  ===
  RCS file: /home/cvs/jakarta-jetspeed/docs/site/registry_syntax.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- registry_syntax.html  14 Nov 2002 22:47:17 -  1.1
  +++ registry_syntax.html  15 Nov 2002 15:50:33 -  1.2
  @@ -5,6 +5,7 @@
   
   
   
  +
   
   
   
  @@ -84,8 +85,6 @@
   
   Components
   
  -Registry
  -
   Security
   
   Syndication
  @@ -148,6 +147,7 @@
 Media Types
 Clients
 Security entries
  +  Standard attributes
   
   
   
  @@ -376,28 +376,28 @@
 
   
   
  -
  +
   
   Name
   
  -
  -
  +
  +
   
   MinimumVersion
   
  -
  -
  +
  +
   
   Usage
   
  -
  +
   
   
  -
  +
   
   _showtitlebar
   
  -
  +
   
   
   1.4b1
  @@ -414,11 +414,11 @@
   

cvs commit: jakarta-jetspeed/xdocs registry.xml registry_syntax.xml

2002-11-15 Thread raphael
raphael 2002/11/15 07:44:33

  Modified:xdocsregistry.xml registry_syntax.xml
  Log:
  Update to registry documentation. Should now be complete
  
  Revision  ChangesPath
  1.2   +5 -5  jakarta-jetspeed/xdocs/registry.xml
  
  Index: registry.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/registry.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- registry.xml  13 Nov 2002 08:42:42 -  1.1
  +++ registry.xml  15 Nov 2002 15:44:33 -  1.2
  @@ -57,7 +57,7 @@
  and provides access to the portal actions defined for the portlet, like 
customization.
  Only controls defined the Registry can be used in the user pages.
  
  - For more information on controls, check out the Jetspeed Layout 
overview.
  + For more information on controls, check out the Jetspeed Layout overview.
  

 
  @@ -72,7 +72,7 @@
  By default, all the controllers defined in the registry are available for 
users to customize
  their page layout.
  
  - For more information on controllers, check out the Jetspeed 
Layout overview.
  + For more information on controllers, check out the Jetspeed Layout overview.
  

 
  @@ -85,7 +85,7 @@
  The skins define the color schemes used by the portal on a specific user 
page (or part
  of a page)
  
  - For more information on skins, check out the Jetspeed Layout 
overview.
  + For more information on skins, check out the Jetspeed Layout overview.
  

 
  @@ -99,7 +99,7 @@
  this specific instance of Jetspeed. Working in cunjunction with the Clients 
defintion,
  it enables you to control how the different user-agents access your portal
  
  - For more information on client handling, check out the Client 
detection.
  + For more information on client handling, check out the Client detection.
  

 
  @@ -112,7 +112,7 @@
  The clients definitions entries are used to describe user agent capabilities 
and in
  cunjunction with Media types information define how the clients access the 
portal
  
  - For more information on client handling, check out the Client 
detection.
  + For more information on client handling, check out the Client detection.
  

 
  
  
  
  1.3   +282 -11   jakarta-jetspeed/xdocs/registry_syntax.xml
  
  Index: registry_syntax.xml
  ===
  RCS file: /home/cvs/jakarta-jetspeed/xdocs/registry_syntax.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- registry_syntax.xml   13 Nov 2002 17:26:09 -  1.2
  +++ registry_syntax.xml   15 Nov 2002 15:44:33 -  1.3
  @@ -24,6 +24,7 @@
 Media Types
 Clients
 Security entries
  +  Standard attributes
   
 
 
  @@ -222,7 +223,13 @@
 
   
 
  -  The portlet-control-entry element defines 
  +The portlet-control-entry element defines the available
  +PortletControl available to decorate the different portlets.
  +  
  +  
  +The portlet-control-entry definition is nearly identical
  +to those of instance type portlet-entry, expect that there's
  +no category, url or caching related attributes.
 
   
   
  @@ -256,14 +263,35 @@
 ]]>
   
   
  + 
  + 
   
   
  +  
  +A typical control defintion will use the default 
VelocityPortletControl
  +and simply specify the associated template and working parameters.
  +  
  +  
   
 
 
   
 
  -  The portlet-controller-entry element 
  +  The portlet-controller-entry element defines the available 
  +  PortletController that are used to lay out a pane content.
  +  
  +  
  +The syntax and usage of this element is exactly the same as the 
portlet-control-entry
 
   
   
  @@ -285,19 +313,40 @@
 ]]>
   
   
  + 
  + 
   
   
  +  
  +A typical controller defintion will use the default 
VelocityPortletController
  +and simply specify the associated template and working parameters.
  +  
  +  
   
 
 
   
 
  -  The skin-entry element 
  + The skin-entry element defines the color scheme that can 
be used to decorate
  +the portal pages. It contists of a simple named list of properties that can 
be associated
  +to a portal or pane on a portal page.
 
   
   
 
   
   
  +  
  +The following properties are currently used by the

Re:ChangeLanguage Portlet

2002-11-15 Thread Massimiliano Dessì

Sorry for  my gaffes,

the code submitted is not a correct code if i wanted submitted.
As soon as possible i' ll  send you the cleaned code with a correct style.

(after a robust refactoring).

Massimiliano






-
Per te Blu American Express è gratis


patch for WebPagePortlet.java

2002-11-15 Thread Mamoru WATANABE
I created the patch to fix Bug#14464.
(BIt changes to use charset parameter in the Content-Type field which is
(Bsent from the Web server. But, when charset parameter isn't sent from
(Bthe Web server, it uses iso-8859-1.
(B
(BIf it seems that there is not a problem, please integrate this patch.
(B
(B
(BMamoru WATANABE
(B
(B
(B
(BIndex: WebPagePortlet.java
(B===
(BRCS file: 
(B/home/cvspublic/jakarta-jetspeed/src/java/org/apache/jetspeed/portal/portlets/WebPagePortlet.java,v
(Bretrieving revision 1.13
(Bdiff -u -r1.13 WebPagePortlet.java
(B--- WebPagePortlet.java 24 Oct 2002 14:59:25 - 1.13
(B+++ WebPagePortlet.java 15 Nov 2002 11:19:05 -
(B@@ -74,6 +74,7 @@
(B import java.io.Reader;
(B import java.net.URL;
(B import java.net.URLConnection;
(B+import java.util.StringTokenizer;
(B 
(B /**
(B  * A class that loads a web page and filters it to have certain features
(B@@ -169,15 +170,23 @@
(B }
(B 
(B long   pageExpiration = pageConn.getExpiration();
(B-String encoding = pageConn.getContentEncoding();
(B+String encoding = "iso-8859-1";
(B+String contentType = pageConn.getContentType();
(B String tempString = null;
(B String noCache = "no-cache";
(B 
(B-if(encoding == null)
(B-{
(B-// Standard HTTP encoding
(B-encoding = "iso-8859-1";
(B-}
(B+if (contentType != null) {
(B+StringTokenizer st = new StringTokenizer(contentType, "; =");
(B+while (st.hasMoreTokens()) {
(B+if (st.nextToken().equalsIgnoreCase("charset")) {
(B+try {
(B+encoding = st.nextToken();
(B+break;
(B+} catch (Exception e) {}
(B+}
(B+}
(B+st = null;
(B+ }
(B 
(B /*
(B  * Determing if content should be cached.
(B
(B--
(BTo unsubscribe, e-mail:   
(BFor additional commands, e-mail: