站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 .net API Documentation 英文版文档

FlashParametersTag (JBoss.Net API) - JBoss 4.0.1 sp1 .net API Documentation 英文版文档


org.jboss.net.taglib
Class FlashParametersTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.jboss.net.taglib.FlashParametersTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, Serializable, javax.servlet.jsp.tagext.Tag

public class FlashParametersTag
extends javax.servlet.jsp.tagext.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.

Version:
$Revision: 1.8 $
Author:
Frederick N. Brier
See Also:
Serialized Form

Field Summary
static String DEFAULT_JBOSSNET_MBEAN_NAME
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
FlashParametersTag()
           
 
Method Summary
 int doStartTag()
           
 String getMbeanName()
          Gets the Flash AxisService MBean name.
 Map getParms()
          Gets additional parameters for Flash Movie.
 void setMbeanName(String mbeanName)
           
 void setParms(Map parms)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
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 String DEFAULT_JBOSSNET_MBEAN_NAME
See Also:
Constant Field Values
Constructor Detail

FlashParametersTag

public FlashParametersTag()
Method Detail

getMbeanName

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


setMbeanName

public void setMbeanName(String mbeanName)

getParms

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


setParms

public void setParms(Map parms)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Throws:
javax.servlet.jsp.JspTagException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.