org.apache.myfaces.tobago.taglib.decl
Interface HasResource

All Known Subinterfaces:
AbstractCommandTagDeclaration, ButtonTagDeclaration, CommandTagDeclaration, LinkTagDeclaration, MenuCheckboxTagDeclaration, MenuCommandTagDeclaration, MenuRadioTagDeclaration, MenuSelectBooleanTagDeclaration, MenuSelectOneTagDeclaration, ToolBarCommandTagDeclaration, ToolBarSelectBooleanTagDeclaration, ToolBarSelectOneTagDeclaration
All Known Implementing Classes:
AbstractCommandTag, ButtonTag, CommandTag, DatePickerTag, LinkTag, MenuCheckboxExtensionTag, MenuCheckboxTag, MenuCommandTag, MenuRadioExtensionTag, MenuRadioTag, MenuSelectBooleanTag, MenuSelectOneTag, SelectBooleanCommandTag, SelectOneCommandTag, ToolBarCommandTag, ToolBarSelectBooleanTag, ToolBarSelectOneTag

public interface HasResource


Method Summary
 void setJsfResource(String jsfResource)
          Flag indicating that the resource referenced by the resource attribute is a jsf resource.
 void setResource(String resource)
          Link to an internal resource.
 

Method Detail

setResource

void setResource(String resource)
Link to an internal resource. Resources will be processed by the resource management. E. g. define help.html and it will be served help_es.html or help_de.html if available. For JSF-Pages you have to set the jsfResource attribute.

Parameters:
resource - The internal resource.
See Also:
setJsfResource(String)

setJsfResource

void setJsfResource(String jsfResource)
Flag indicating that the resource referenced by the resource attribute is a jsf resource. That means that the url has to be processed to change the prefix or suffix (e. g. *.jsf or /faces/*). Default is false.

Parameters:
jsfResource - Is the Resource a JSF page or not?


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.