com.mikeblanton.paypal.taglib
Class FormFieldTag

com.mikeblanton.paypal.taglib.FormFieldTag

public class FormFieldTag

The PayPalFormField JSP tag is a nested tag for the PayPalForm JSP tag. The name parameter is used to specify the field name. The field value can either be specified using the value parameter of the tag, or as the body of the tag.

Examples:

 <PayPalFormField name="item_name" value="Test Item"/>
<PayPalFormField name="amount">15.35 </PayPalFormField>
<PayPalFormField name="memo"> <%= memo %></PayPalFormField>

Version:
$Revision: 1.2 $
Author:
Michael Blanton
See Also:
FormTag

Constructor Summary
FormFieldTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getName()
           
 java.lang.String getValue()
           
 void setName(java.lang.String string)
           
 void setValue(java.lang.String string)
           
 

Constructor Detail

FormFieldTag

public FormFieldTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException

doStartTag

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

getName

public java.lang.String getName()
Returns:
 

getValue

public java.lang.String getValue()
Returns:
 

setName

public void setName(java.lang.String string)
Parameters:
string -  

setValue

public void setValue(java.lang.String string)
Parameters:
string -