{
success = false;
resultMap.put(REASON, "Failed to find fragment for portlet id: " + moveFragmentId );
return success;
}
Coordinate returnCoordinate = null;
float oldX = 0f, oldY = 0f, oldZ = 0f, oldWidth = 0f, oldHeight = 0f;
float x = -1f, y = -1f, z = -1f, width = -1f, height = -1f;
boolean absHeightChanged = false;
String posExtended = getActionParameter(requestContext, DESKTOP_EXTENDED);
if ( posExtended != null )
{
Map fragmentProperties = fragment.getProperties();
if ( fragmentProperties == null )
{
success = false;
resultMap.put(REASON, "Failed to acquire fragment properties map for portlet id: " + moveFragmentId );
return success;
}
String oldDeskExt = (String)fragmentProperties.get( DESKTOP_EXTENDED );
resultMap.put( OLD_DESKTOP_EXTENDED, ( (oldDeskExt != null) ? oldDeskExt : "" ) );
fragmentProperties.put( DESKTOP_EXTENDED, posExtended );
}
// Only required for moveabs
if (iMoveType == ABS)
{
Coordinate a_oCoordinate = getCoordinateFromParams(requestContext);
returnCoordinate = placement.moveAbsolute(fragment, a_oCoordinate);
String sHeight = getActionParameter(requestContext, HEIGHT);
if ( sHeight != null && sHeight.length() > 0 )
{
oldHeight = fragment.getLayoutHeight();