Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » taglib » [javadoc | source]
org.jboss.net.taglib
public class: FlashParametersTag [javadoc | source]
java.lang.Object
   javax.servlet.jsp.tagext.TagSupport
      org.jboss.net.taglib.FlashParametersTag

All Implemented Interfaces:
    IterationTag, Serializable

JSP Tag class for FlashParameters JSP tag. The purpose is to pass information to a Flash program embedded in a web page so that needed initial data is available to it. Two types of information are passed, one set is the hostUrl and the serviceContext of the SOAP server. The second is a collection of variable name, value pairs that would also be useful to the Flash program. When a web page contains a Flash program (.swf) file, it specifies an <OBJECT> tag. Inside the <OBJECT> tag is a parameter such as:

<PARAM NAME=movie VALUE="HelloWorldForm.swf">

Using a Macromedia specified technique for passing parameters to Flash, we place at the end of the VALUE attribute, the FlashParameter tag:

...m.swf<flash:flashparms/>">

The instantiated tag becomes:

?hostUrl=http://www.yourhost.com:8080&rootContext=axis

The tag attribute mbeanName, if not specified, has a default value of "jboss.net:service=Axis"

As an added feature, by specifying a Bean, using the Tag "parms" attribute that implements the java.util.Map interface the set of key/value pairs are added to the Flash movie parameter list.
Field Summary
public static final  String DEFAULT_JBOSSNET_MBEAN_NAME     
Constructor:
 public FlashParametersTag() 
Method from org.jboss.net.taglib.FlashParametersTag Summary:
doStartTag,   getMbeanName,   getParms,   setMbeanName,   setParms
Methods from javax.servlet.jsp.tagext.TagSupport:
doAfterBody,   doEndTag,   doStartTag,   findAncestorWithClass,   getId,   getParent,   getValue,   getValues,   release,   removeValue,   setId,   setPageContext,   setParent,   setValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.net.taglib.FlashParametersTag Detail:
 public int doStartTag() throws JspTagException 
 public String getMbeanName() 
    Gets the Flash AxisService MBean name.
 public Map getParms() 
    Gets additional parameters for Flash Movie.
 public  void setMbeanName(String mbeanName) 
 public  void setParms(Map parms)