Permalink
Browse files

IDE-825

  • Loading branch information...
1 parent 42244f1 commit 9e217fe4bcf80ecc83d33a6c71d88733db9a83e9 @cinnndy9 cinnndy9 committed with gamerson Feb 25, 2013
@@ -319,8 +319,11 @@ public IStatus updateLiferayPortletXML( IDOMDocument document, final IDataModel
}
}
- NodeUtil.appendChildElement(
- newPortletElement, "instanceable", Boolean.toString( model.getBooleanProperty( ALLOW_MULTIPLE ) ) ); //$NON-NLS-1$
+ if( model.getBooleanProperty( ALLOW_MULTIPLE ) )
+ {
+ NodeUtil.appendChildElement(
+ newPortletElement, "instanceable", Boolean.toString( model.getBooleanProperty( ALLOW_MULTIPLE ) ) ); //$NON-NLS-1$
+ }
NodeUtil.appendChildElement( newPortletElement, "header-portlet-css", model.getStringProperty( CSS_FILE ) ); //$NON-NLS-1$

0 comments on commit 9e217fe

Please sign in to comment.