• last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Renamed ManagedBean.checkNameValidity to checkValidity as it's more correct.

- JBPORTAL-2427:

+ PreferenceBean now validates value in setValue

+ inject beanContext in PortletManagerBean and InstanceManagerBean so that it can be made available to PreferenceBean via PreferencesBean

+ added error reporting in editPreferences.xhtml and fixed typo

  1. … 8 more files in changeset.
- Use bean context to output messages in PortalObjectManagerBean, improving localization.

- Made getErrorSeverity, getInfoSeverity and createLocalizedMessage methods public on BeanContext.

  1. … 3 more files in changeset.
- Added isTargetResolved to BeanContext to be able to check that a given target String can be used to display error message.

- JBPORTAL-2419:

+ DisplayNameAction now switches the error target as it varies on context (defaults to status if cannot be resolved)

+ Added missing message in displayNameObject.xhtml

  1. … 3 more files in changeset.
JBPORTAL-2413: Fixed issue with predefined properties. Values should also be properly validated now.
- JBPORTAL-2409: Properly use the correct constructors (somehow this didn't make it in the last commit)
- JBPORTAL-2409:

+ Properly inject bean context in PropertyBean and subclasses.

+ ManagedBean.PropertyValidator can now provide error message key to checkNameValidity for better error reporting.

  1. … 1 more file in changeset.
minor typo
- JBEPP-83:

+ Added forgotten bean context to dashboardmgr instance

+ MessageValidationHandler instances can choose which error message to use

+ PropertyValidator implementations can provide their own ValidationErrorHandler for more flexibility

+ ControlPropertyBean now provides better error message

  1. … 1 more file in changeset.
- JBEPP-83: Relax validation for ControlPropertyBean to allow / and . in paths.
- JBPORTAL-2393:

+ PropertyValidator now provides doSimpleChecks method to validate properties after checking for null but

before checking for XSS or duplicates. In particular, we now forbid names containing . or /

+ Made ManagedBean.DefaultPropertyValidator an inner class so that we can reuse more code

+ Updated localization resources

  1. … 10 more files in changeset.
- JBEPP-84: Use proper messageTarget for addPageAction so that error message is properly displayed.

- JBEPP-83: PropertyBeans now extend ManagedBean so that they can validate their values before saving them.

- Now inject bean context in PortalObjectManagerBean so that it can be made available to children beans.

- Extracted checking for default status to PortalObjectUtil so that it can be reused elsewhere.
  1. … 1 more file in changeset.
- Made error message more precise.
  1. … 4 more files in changeset.
Some changes to Brazilian Portuguese Translation
  1. … 3 more files in changeset.
- JBEPP-65: Use onclick instead of onchange as IE does not register an 'OnChange' event until the mouse is clicked somewhere else on the page after having changed your radio/checkbox selection. This resulted in incorrect behavior for some immediate elements of forms.
  1. … 2 more files in changeset.
make portlet instance meta-info corners square until ie6 bug is solved
    • -4
    • +2
    ./src/bin/portal-admin-war/css/boxes.css
- JBPORTAL-2365: Make several beans serializable and mark as much state as possible as transient.
Should really be pt-BR (instead of pt_BR) but a bug is preventing me from doing it
Put br flag back
    • binary
    ./src/bin/portal-admin-war/img/locales/br.gif
- JBPORTAL-2365: make injected services transient as they shouldn't be serialized... A better analysis of the situation is still required.
- Oops, committed too fast, forgot import!
- Make AuthorizationBean subclasses Serializable directly to be sure...
- Make AuthorizationBean and subclasses serializable.
Changes/Updates to accommodate Brazilian Translation

Put encoding="UTF-8" explicit in portlet-instance.xml

    • binary
    ./src/bin/portal-admin-war/img/locales/br.gif
  1. … 33 more files in changeset.
new italian i18n updates
  1. … 5 more files in changeset.
Brazilian Translation
  1. … 4 more files in changeset.
translation of properties files for Brazilian Portuguese
This attribute doesn't validate per w3c, thanks for the header though!
- JBPORTAL-2226:

+ Reverted most changes from revision 12868

+ dnd-handle div now has height so that we can drag from the whole title bar (needs testing on IE)

- Properly close divs in DynaDecorationRenderer.

  1. … 4 more files in changeset.