portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya A. Izergin (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Created: (JS2-921) Portal Site Manager portlet not save "unhidden" state for PSML
Date Sun, 04 Jan 2009 12:08:44 GMT
Portal Site Manager portlet not save "unhidden" state for PSML

                 Key: JS2-921
                 URL: https://issues.apache.org/jira/browse/JS2-921
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Admin Portlets
    Affects Versions: 2.1.3
         Environment: Jetspeed 2.1.3, Tomcat 5.5.27, Mozilla Fierfox 3.0.5 or IE 7.0.5730.13,
Windows XP
            Reporter: Ilya A. Izergin

Portal Site Manager / PSML / Information if "hidden" checkbox checked - uncheck state not
save after click "save" button. 

components/portal/src/java/org.apache.jetspeed.layout.impl.UpdatePageAction.java (updateInformation
line 380)

            String hidden = getActionParameter(requestContext, "hidden");
            if (hidden != null && isBooleanModified(hidden, page.isHidden()))

any browsers return null for "unchecked" checkbox. I think replace it to

            boolean hidden = "true".equalsIgnoreCase(getActionParameter(requestContext, "hidden"));
            if( page.isHidden() != hidden)
            	page.setHidden( hidden );

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message