[LIKELY JUNK]UWL - add a refresh button to the header

Dart, Jocelyn jocelyn.dart at sap.com
Mon Feb 16 18:14:35 EST 2009


Hi Tom, 
Don't just grab the action reference as this is already preset to be in
the context menu. 
What you need to do is grab the whole original action tag for refresh
from the uwl.standard file, 
Include it in the default view, 
and change it to a button or link. 
Regards,
Jocelyn

________________________________

From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Simon, Tom
Sent: Saturday, 14 February 2009 5:18 AM
To: sap-wug at mit.edu
Subject: [LIKELY JUNK]UWL - add a refresh button to the header


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/20090217/89c71f5d/attachment.htm


More information about the SAP-WUG mailing list