|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTagSupport
com.redhat.rhn.frontend.taglibs.AddressTag
public class AddressTag
AddressTag Displays a User's address information.
<rhn:address type=MAILING>
This outputs a table row tag containing a Header column, address info
and a link to edit the address.
Mailing: 444 Castro
Mountain View, CA 94043
Phone: 650-555-1212
Fax: 650-555-1212
Edit This Address (this is a link)
| Field Summary | |
|---|---|
static java.lang.String |
ACTION_MY
defines the action the address tag should forward to |
static java.lang.String |
ACTION_USER
public string representing the forward action type |
| Constructor Summary | |
|---|---|
AddressTag()
Constructor for Address tag. |
|
| Method Summary | |
|---|---|
int |
doStartTag()
|
java.lang.String |
getAction()
Returns the action used to determine where to forward the call too. |
Address |
getAddress()
Get the Address to be rendered |
java.lang.String |
getType()
Get the type of this address: MAILING, BILLING, SHIPPING |
User |
getUser()
Get the User associated with this Address |
void |
release()
|
void |
setAction(java.lang.String actionIn)
Sets the action used to determine where to forward the call too. |
void |
setAddress(Address addrIn)
Set the Address to be rendered |
void |
setType(java.lang.String typeIn)
Set the type of this address: MAILING, BILLING, SHIPPING |
void |
setUser(User userIn)
Set the User associated with this Address |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ACTION_MY
public static final java.lang.String ACTION_USER
| Constructor Detail |
|---|
public AddressTag()
| Method Detail |
|---|
public void setType(java.lang.String typeIn)
typeIn - the type of this address: MAILING, BILLING, SHIPPINGpublic java.lang.String getType()
public void setUser(User userIn)
userIn - the Userpublic User getUser()
public void setAddress(Address addrIn)
addrIn - the Address to renderpublic Address getAddress()
public void setAction(java.lang.String actionIn)
actionIn - the action used to determine where to forward the
call too.public java.lang.String getAction()
public int doStartTag()
throws JspException
JspExceptionpublic void release()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||