戰地連結︰ Home My Flickr NBA.com About

2010年2月25日星期四

Viewing detailed Workflow history list (Hidden List)

Overview

When writing MOSS 2007 Workflow, you can log events (e.g. Log exceptions detail for debugging) to workflow history, which can be view in the task item page.

However, the task item page only shows simplified version of workflow history item. To view detailed workflow history list. You will have to enter the URL of the hidden list, in the format shown below:
http://[servername]/[sitename]/lists/Workflow%20History

For example if your site’s default page is:

http://servername/sites/sitename/default.aspx

then the detailed workflow history list URL will be:

http://servername/sites/sitename/lists/Workflow%20History

2010年2月3日星期三

Getting selected RadioButton value

Overview

Stephen Gray has a post about getting selected RadioButton value in Flex. It points out the use of RadioButtonGroup.

Reference

Flex getting selected RadioButton value

Steps

Source from Stephen Gray’s blog post:

  1. Create a “RadioButtonGroup” MXML tag and give a id to it.
  2. Assign the RadioButtons’ “groupName” attribute to point to the RadioButtonGroup at step 1 (remember to use “{}”)
    <mx:RadioButtonGroup id="myRadioButtonGroup" enabled="true" />
    <mx:RadioButton label="I like RadioButtons" groupName="{myRadioButtonGroup}" left="505" top="64" selected="true" value="true"/>
    <mx:RadioButton label="I don't like RadioButtons" groupName="{myRadioButtonGroup}" left="348" top="62" value="false"/>
  3. Access the selected value by the RadioButtonGroup
    Alert.show(myRadioButtonGroup.selectedValue.toString());