|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.data.bind.MailToBoundValue
A BoundValue class that creates "mailto:" URLs. This BoundValue supports creating URLs containing the following fields:
All of these values can be databound using the "binding" methods. Also, these values do not need any special URL encoding - MailToBoundValue and the rest of UIX will ensure that all characters are correctly encoded (including carriage-returns in the body). However, browsers and mail readers have extremely poor NLS support for the mailto: protocol. Developers that need to send correctly localized messages should use server-side SMTP mail code, not the mailto: protocol. Furthermore, mailto: messages are just as limited by URL length as any other protocol, so it is not possible to pre-fill the body of a mail message with even a moderate amount of text.
Constructor Summary | |
MailToBoundValue()
Creates a MailToBoundValue. |
Method Summary | |
java.lang.String |
getBody()
Returns the message body. |
java.lang.String |
getCc()
Returns the "cc" address. |
java.lang.String |
getSubject()
Returns the message subject. |
java.lang.String |
getTo()
Returns the "to" address. |
java.lang.Object |
getValue(RenderingContext context)
Returns the full URL. |
void |
setBody(java.lang.String body)
Sets the message body. |
void |
setBodyBinding(BoundValue bodyBinding)
Binds the message body to be dynamically computed. |
void |
setCc(java.lang.String cc)
Sets the "cc" address. |
void |
setCcBinding(BoundValue ccBinding)
Binds the "cc" address to be dynamically computed. |
void |
setSubject(java.lang.String subject)
Sets the message subject. |
void |
setSubjectBinding(BoundValue subjectBinding)
Binds the message subject to be dynamically computed. |
void |
setTo(java.lang.String to)
Sets the "to" address. |
void |
setToBinding(BoundValue toBinding)
Binds the "to" address to be dynamically computed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MailToBoundValue()
Method Detail |
public java.lang.String getTo()
public void setTo(java.lang.String to)
public void setToBinding(BoundValue toBinding)
public java.lang.String getCc()
public void setCc(java.lang.String cc)
public void setCcBinding(BoundValue ccBinding)
public java.lang.String getSubject()
public void setSubject(java.lang.String subject)
public void setSubjectBinding(BoundValue subjectBinding)
public java.lang.String getBody()
public void setBody(java.lang.String body)
public void setBodyBinding(BoundValue bodyBinding)
public java.lang.Object getValue(RenderingContext context)
getValue
in interface BoundValue
oracle.cabo.ui.data.BoundValue
context
- the rendering context
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |