Posted 01/20/2010 - 18:17 by MiMi Levine
Presto.ServiceMashlets are the particular type of mashlet published by Presto MashletMaker when exposing a Presto published Service with a web UI. This mashlet type is designed to allow mashlets to be configured with specific, primitive, input parameter data, which is required to invoke the underlying Presto Published Service.
Primitive data types supported by Presto.ServiceMashlet are numbers, strings and dates, generally anything that can be represented in the form of a character string. Complex data types, where the parameter is composed of multiple properties are not supported by Presto.ServiceMashlet.
If a Presto.ServiceMashlet type is being configured and if that mashlet supports input parameters then these input parameters can also be included in the mashlet URL. For example, a Stock Quote Mashlet, called MyQuotes, might be configured to accept a single string parameter, named "Symbol" which is a comma separated list of Stock symbols, so we might have a URL such as:
http://72.32.185.92:8080/mashlets/uwa-view.jsp?mid=MyQuotes&height=300&Symbol=ORCL,JAVA,IBM,MSFT
- Login or register to post comments
- Email this page

