|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.cms.ui.ContentSectionContainer.URLTableCellRenderer
Generates the correct URL to the public pages for a content section.
Field Summary |
Fields inherited from interface com.arsdigita.bebop.table.TableCellRenderer |
versionId |
Constructor Summary | |
ContentSectionContainer.URLTableCellRenderer()
|
Method Summary | |
protected String |
generateURL(String prefix)
Generates the url for the specified prefix. |
protected String |
getBaseURL()
Returns the current url stub from the webapp context and the requested site node. |
com.arsdigita.bebop.Component |
getComponent(com.arsdigita.bebop.Table table,
com.arsdigita.bebop.PageState state,
Object value,
boolean isSelected,
Object key,
int row,
int column)
The object passed in is the current content section. |
protected String |
trimSlashes(String string)
Trims leading slashes, if any, on the specified string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContentSectionContainer.URLTableCellRenderer()
Method Detail |
public com.arsdigita.bebop.Component getComponent(com.arsdigita.bebop.Table table, com.arsdigita.bebop.PageState state, Object value, boolean isSelected, Object key, int row, int column)
getComponent
in interface com.arsdigita.bebop.table.TableCellRenderer
protected String trimSlashes(String string)
string
- The string for which we want to remove
leading slashesprotected String generateURL(String prefix)
prefix
- The prefix of the URLprotected String getBaseURL()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |