[JBoss JIRA] (GTNPORTAL-2327) Portal page width is hard-coded and doesn't adapt to layout change
by Michal Vanco (JIRA)
Michal Vanco created GTNPORTAL-2327:
---------------------------------------
Summary: Portal page width is hard-coded and doesn't adapt to layout change
Key: GTNPORTAL-2327
URL: https://issues.jboss.org/browse/GTNPORTAL-2327
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.2.0-Beta01
Environment: EPP5.2
Reporter: Michal Vanco
Fix For: 3.2.0-GA
See screenshot at forum question: https://community.jboss.org/message/646741
my reply:
I found out that only way to change portal page width is changing one stylesheet class at
gatein.ear/01eXoResources.war/skin/DefaultSkin/portal/webui/component/control/UIWorkspace/Stylesheet.css
There is a hardcoded width at
.UIWorkingWorkspace .UIPageBody {
...
width: 978px; (same width as width of background image at home page template)
}
Let's change this value to 100% for example and then the page will adapt your layout (for example what you are expecting at your screenshot)...
I think this can be common scenario and page width should adapt current layout.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 12 months
[JBoss JIRA] Created: (GTNPORTAL-1940) calender doesnt disappear if tab is used for navigation
by Gary Hu (JIRA)
calender doesnt disappear if tab is used for navigation
-------------------------------------------------------
Key: GTNPORTAL-1940
URL: https://issues.jboss.org/browse/GTNPORTAL-1940
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Gary Hu
Attachments: tab_error.JPG
We have a calendar field in the dialog template. Whenever that field has focus, a calendar is shown to select the date.
But when the user moves out of calendar field using tab key from keyboard to another field, the calendar is still displayed. Th user has to explicitly CLICK to remove the Calendar from display.
Please see the attached screen shot.
The cause is that there is no javascript onblur event defined on the date/time field:
http://anonsvn.jboss.org/repos/gatein/epp/portal/branches/EPP_5_1_Branch/...
The following fix should help to address this issue:
Index: core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
===================================================================
--- core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java (revision 6667)
+++ core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java (working copy)
@@ -234,6 +234,6 @@
w.write(value_.toString());
w.write('\'');
}
- w.write(" onclick='event.cancelBubble = true'/>");
+ w.write(" onclick='event.cancelBubble = true' onblur='eXo.webui.UICalendar.hide();'/>");
}
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years