|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.PartialMarkupDocumentLinker
public class PartialMarkupDocumentLinker
| Constructor Summary | |
|---|---|
PartialMarkupDocumentLinker()
|
|
| Method Summary | |
|---|---|
void |
addScript(String script)
Adds JavaScript code. |
void |
addScriptLink(String scriptURL)
Adds a link to load a script. |
void |
addStylesheetLink(String styleURL,
String media)
Adds a link to load a CSS stylesheet. |
void |
commit(JSONObject reply)
Commits changes, adding one or more keys to the reply. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PartialMarkupDocumentLinker()
| Method Detail |
|---|
public void addScriptLink(String scriptURL)
DocumentLinker
addScriptLink in interface DocumentLinker
public void addStylesheetLink(String styleURL,
String media)
DocumentLinker
addStylesheetLink in interface DocumentLinkerstyleURL - URL of stylesheet to loadmedia - media value (or null to omit the media attribute)public void addScript(String script)
DocumentLinker
addScript in interface DocumentLinkerscript - statement to add to the block (a newline will be appended as well)public void commit(JSONObject reply)
reply - JSON Object to be sent to client
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||