Hide Forgot
project_key: JBEPP When you try to change the portlet width or height in the edit page/edit portlet window, without proper knowledge of the format you ussually type in only single number like "400", if you want to have it width of 400px. After clicking the save button, you got the error message: You must enter a pixel value in field "Width:". which i don't think is clear enough, since it doesn't help you to correct the problem. Adding a sentence "The value must end with the unit definition string, which can be "px" or "%"." I'm not sure if the "%" could be used anywhere, but in the cases, where only single unit can be used, which is usually the case (and px is the unit) for most of portlets, i believe that both "500" and "500px" values should be considered valid.
Release Notes Docs Status: Added: Documented as Known Issue Release Notes Text: Added: When you attempt to change a portlet's width or height by specifying a number only (for example, "400"), the following error message is displayed: "You must enter a pixel value in field "Width:"". To workaround the issue, ensure the valid unit of measurement is included with the value. For example, "400px".
Primary SME: Added: theute
Labels: Added: EPP_5_2_1_Candidate
Labels: Removed: EPP_5_2_1_Candidate
Solution ported form https://issues.jboss.org/browse/GTNPORTAL-2356: The ExpressionValidator's regular expression was changed to accept also 'px'-less inputs and the save handler was modified to append 'px' if it is not there in width or height parameters. As a result, portlet width and height inputs of both forms 100px and 100 are accepted as correct and have the same meaning.
Boleslaw Dawidowicz <boleslaw.dawidowicz> updated the status of jira GTNPORTAL-2356 to Resolved
Verified again in 5.2.2.CR01.