Fixed Masthead rendering bug (was missing a ).
Fixed GlassFish IT #: 10945. This required that all cookie names be
RFC 2109 compliant (no ':' or '/' characters... plus a few more).
Changes added in 4.0.2.5
- Source code cleanup.
- Changed version page style to use 100% of the width. This was the
design intent, but was only enforced in the past by having text that
required more than the window width. It now works with shorter text
as well.
- Checked in a new non-S-shaped version of the version page background
image.
- Fixed bug preventing HTML to be used in the version page
copyrightString property. It is important to be able to insert br's,
b's and other important html tags for formatting purposes. This
property is expected to originate from the developer and should not
require escaping by default. IF the developer expects user-created
content to be inserted here, it is now the developer's responsibility
to escape this text.
- Fixed a couple 508-related alt text messages that were not I18N'd.
Changes added in 4.0.2.4
- If no Woodstock-supported locales are specified, the locales supported
by JSF (i.e. Application.getSupportedLocales()) are now used.
Changes added in 4.0.2.3
- TabSet component now renders it's 'id', making JS easier --
particularly JSF2 Ajax.
- ant targets added to the build files to publish maven artifacts.
Changes added in 4.0.2.2
- A security fix related to the ThemeServlet serving 404 pages was fixed.
- 508 messages were added on some images that were not labeled causing
their client-id's to be read by screen readers, which significantly
impacted usuability.
IE7 Button width issue
When displayed in IE7, the button component might be rendered
with an incorrect width. This problem occurs when the button is placed
using absolute positioning.For example, Netbeans with
Visual Web Pack, uses absolute positioning to place components in Grid
Layout
Mode, and in such situation this problem could occur.
IE7 expects a value to be specified for the width of buttons. If
a width attribute is not specified, the width is set to width:auto,
which results in the button's width being set to the entire available
width of the button's container element. For example, if the
button
style has left=130px then the button will start at 130px left and will
expand to the width of the <body>.
Workarounds
There are several workarounds that can be used in the
developer's code to solve the problem.
- Specify the width attribute for the button, or resize
the button in the IDE to make the IDE assign a width to the button.
- Use relative positioning instead of absolute positioning on
the button component. For example:
<input name="Button2" style="position:relative; left:72px;top:18px" type="button" value="Button" />
- Enclose the button inside a div or span element to
restrict the available width to the div/span element's width. Remember
to
set the positioning for the div/span element.
- HTML Example 1: Button inside a div tag
<div style="position:absolute; left:72px; top:68px"> <input name="Button1" type="button" value="button" /> </div>
- HTML Example 2: Button inside span tag
<span style="position:absolute; left:72px; top:68px"> <input name="Button1" type="button" value="button" /> </span>
- In VWP IDE, drop the button into a Group Panel to put the
button inside a span tag. In this case no need to set the
positioning as IDE
sets the positioning for Group Panel.
- JSP Example: Button inside Group Panel component
<webuijsf:panelGroup binding="#{Page1.groupPanel1}" id="groupPanel1" style="position:absolute; left:240px; top:168px"> <webuijsf:button binding="#{Page1.button1}" id="button1" text="Button"/> </webuijsf:panelGroup>
|