add docs and fix a logic error. We should only throw widget not found if we pass a widget id.
add docs and fix a logic error. We should only throw widget not found if we pass a widget id.

svn commit r44741

silverorange/swat,silverorange/swat