Content Object

See source of ~/www/content. This object can be used to contruct a refrence to a Gadget.

This object dispatches requests to the various gadgets in the framework. The usage is:

/control/gadget name/format/state/param name/ param value /

  • gadget name is the name of the Gadget without “Gadget” attached to it (e.g. AWRiverGadget is AWRiver)
  • state is gadget state (rarely used, can be blank in that case)
  • format is the format you wish to see the data in. This is left off for HTML.
  • param name is a regular paremeter to the gadget
  • param value is the value to that parameter

so to initiate view state on the AWRiverGadget object with parmeters state=NC you use:

/content/AWRiver/view/state/NC

to get the RSS version

/content/AWRiver/!rss/view/state/NC
Join AW and support river stewardship nationwide!