portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21324] New: - [PATCH] - Unable to add Pane when entering customizer from top level
Date Thu, 03 Jul 2003 18:30:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21324>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21324

[PATCH] - Unable to add Pane when entering customizer from top level

           Summary: [PATCH] - Unable to add Pane when entering customizer
                    from top level
           Product: Jetspeed
           Version: 1.4b5-dev / CVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Customizer
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: john@animalsinneed.net


When trying to add a pane when entering the customizer from the top level (The
customize html link at the top of the page in a default jetspeed deploy) the add
Pane button will never enable. If you enter the customizer from the pane level,
tab level, or portlet level, the button to add a pane is enabled. Below is a
patch to CustomizeSetAction that fixes this problem. Apparently, when entering
the customizer from the pane level or below, the pane name was being returned as
null. The name was then set to "*" and this was being used to enable the add
pane button in the template. If you enter at the top level and then drill down,
a pane name would be returned and would not match "*".

Index: src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeSetAction.java
===================================================================
RCS file:
/home/cvspublic/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeSetAction.java,v
retrieving revision 1.42
diff -u -r1.42 CustomizeSetAction.java
---
src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeSetAction.java  
    27 May 2003 23:58:41 -0000      1.42
+++
src/java/org/apache/jetspeed/modules/actions/portlets/CustomizeSetAction.java  
    3 Jul 2003 18:14:10 -0000
@@ -258,7 +258,7 @@
         // do not allow panes for wml profiles
         if ((!mediaType.equalsIgnoreCase("wml")) && (set.getController()
instanceof PortletSetController))
         {
-          if (customizedPaneName.equalsIgnoreCase("*"))
+          if (customizedPaneName != null)
           {
             context.put("allowpane", "true");
           }

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message