org.jboss.net.taglib
Class FlashParametersTag

java.lang.Object
  extended byTagSupport
      extended byorg.jboss.net.taglib.FlashParametersTag

public class FlashParametersTag
extends TagSupport

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.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_JBOSSNET_MBEAN_NAME
           
 
Constructor Summary
FlashParametersTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getMbeanName()
          Gets the Flash AxisService MBean name.
 java.util.Map getParms()
          Gets additional parameters for Flash Movie.
 void setMbeanName(java.lang.String mbeanName)
           
 void setParms(java.util.Map parms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_JBOSSNET_MBEAN_NAME

public static final java.lang.String DEFAULT_JBOSSNET_MBEAN_NAME
See Also:
Constant Field Values (src)
Constructor Detail

FlashParametersTag

public FlashParametersTag()
Method Detail

getMbeanName

public java.lang.String getMbeanName()
Gets the Flash AxisService MBean name.


setMbeanName

public void setMbeanName(java.lang.String mbeanName)

getParms

public java.util.Map getParms()
Gets additional parameters for Flash Movie.


setParms

public void setParms(java.util.Map parms)

doStartTag

public int doStartTag()
               throws JspTagException
Throws:
JspTagException