UWL - add a refresh button to the header
Simon, Tom
Simon.Tom at aoins.com
Fri Feb 13 13:18:02 EST 2009
The refresh action on the pulldown menu in the UWL is quite small. The
header tray also has a pulldown menu for the refresh action. I read in
the FAQ's for the UWL that by adding the following action statement in
the Defautlview xml <Action reference="refresh"/> that a refresh button
would appear. I have tried it and it did not appear. Below is the DTD
of the Defaultview in High priorty redefined uwl.standard xml.
<View name="DefaultView" selectionMode="SINGLESELECT" width="98%"
supportedItemTypes="uwl.task" columnOrder="subject, isEscalated,
creatorId, createdDate, priority, attachmentCount, dueDate, status"
sortby="priority:descend, dueDate:ascend, createdDate:descend"
tableDesign="STANDARD" visibleRowCount="10" headerVisible="no"
queryRange="undefined" tableNavigationFooterVisible="yes"
tableNavigationType="CUSTOMNAV" actionRef="" refresh="300"
dueDateSevere="86400000" dueDateWarning="259200000"
emphasizedItems="new" displayOnlyDefinedAttributes="yes"
dynamicCreationAllowed="yes" actionPosition="bottom"
referenceBundle="tasks">
<DisplayAttributes>
<DisplayAttribute name="priority" type="string" width="10"
sortable="yes" format="default" referenceBundle="priority" hAlign="LEFT"
vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">
<Menu>
<MenuItem name="Low" actionRef="priorityLow"
referenceBundle="menu_priority_low"/>
<MenuItem name="Normal" actionRef="priorityNormal"
referenceBundle="menu_priority_normal"/>
<MenuItem name="High" actionRef="priorityHigh"
referenceBundle="menu_priority_high"/>
<MenuItem name="VeryHigh" actionRef="priorityVeryHigh"
referenceBundle="menu_priority_v_high"/>
</Menu>
</DisplayAttribute>
</DisplayAttributes>
<AllowedFilters>
<CompoundExpression logicalOperation="AND"
defaultViewFilter="yes" referenceBundle="filter_display_all"/>
<CompoundExpression logicalOperation="AND"
defaultViewFilter="no" referenceBundle="filter_new">
<Expression name="status" value="NEW" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND"
defaultViewFilter="no" referenceBundle="filter_inprogress">
<Expression name="status" value="INPROGRESS"
comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND"
defaultViewFilter="no" referenceBundle="filter_duetoday">
<Expression name="dueDate" value="Today" comparator="Equals"/>
</CompoundExpression>
<CompoundExpression logicalOperation="AND"
defaultViewFilter="no" referenceBundle="filter_overdue">
<Expression name="dueDate" value="Today"
comparator="LessThan"/>
</CompoundExpression>
</AllowedFilters>
<Actions>
<Action reference="defaultGlobalWizard"/>
<Action reference="addToNavigation"/>
<Action reference="removeFromNavigation"/>
<Action reference="refresh"/>
</Actions>
</View>
Any suggestions would be appreciated.
Thank you
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090213/0a9f324d/attachment.htm
More information about the SAP-WUG
mailing list