Author: chris.laprun(a)jboss.com
Date: 2007-11-12 13:28:53 -0500 (Mon, 12 Nov 2007)
New Revision: 8886
Modified:
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/test/wsrp/framework/TestProducerBehavior.java
Log:
- Fixed inverted modes and windowStates...
Modified:
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/test/wsrp/framework/TestProducerBehavior.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/test/wsrp/framework/TestProducerBehavior.java 2007-11-12
17:43:04 UTC (rev 8885)
+++
branches/JBoss_Portal_Branch_2_6/wsrp/src/main/org/jboss/portal/test/wsrp/framework/TestProducerBehavior.java 2007-11-12
18:28:53 UTC (rev 8886)
@@ -59,8 +59,8 @@
{
PortletDescription portletDesc = new PortletDescription();
portletDesc.setPortletHandle(portletHandle);
- portletDesc.setMarkupTypes(new MarkupType[]{new MarkupType("text/html",
new String[]{WSRPConstants.NORMAL_WINDOW_STATE},
- new String[]{WSRPConstants.VIEW_MODE}, WSRPConstants.DEFAULT_LOCALES, null)});
+ portletDesc.setMarkupTypes(new MarkupType[]{new MarkupType("text/html",
new String[]{WSRPConstants.VIEW_MODE},
+ new String[]{WSRPConstants.NORMAL_WINDOW_STATE}, WSRPConstants.DEFAULT_LOCALES,
null)});
String suffixString = suffix == null ? "" : suffix;
portletDesc.setDescription(ServiceObjectFactory.createLocalizedString(ServiceObjectFactory.SAMPLE_DESCRIPTION
+ suffixString));