org.apache.myfaces.tobago.internal.taglib.component
Interface ScriptTagDeclaration

All Superinterfaces:
HasBinding, HasId, HasIdBindingAndRendered, IsRendered

public interface ScriptTagDeclaration
extends HasIdBindingAndRendered

This tag adds script files to include to the rendered page. Direct calls can also be registered via special attributes, This will be deprecated (because of CSP) in later versions.


Method Summary
 void setFile(String file)
           
 void setOnexit(String onexit)
          Deprecated. 
 void setOnload(String onload)
          Deprecated. 
 void setOnsubmit(String onsubmit)
          Deprecated. 
 void setOnunload(String onunload)
          Deprecated. 
 void setScript(String script)
          Deprecated. 
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.internal.taglib.declaration.IsRendered
setRendered
 

Method Detail

setFile

void setFile(String file)

setOnload

@Deprecated
void setOnload(String onload)
Deprecated. 

Alternatively include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.DOCUMENT_READY); or Tobago.registerListener(myFunction, Tobago.Phase.WINDOW_LOAD);


setOnunload

@Deprecated
void setOnunload(String onunload)
Deprecated. 

Alternatively include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_UNLOAD);


setOnexit

@Deprecated
void setOnexit(String onexit)
Deprecated. 

Alternatively include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_EXIT);


setOnsubmit

@Deprecated
void setOnsubmit(String onsubmit)
Deprecated. 

Alternatively include a custom script file via the file attribute and use Tobago.registerListener(myFunction, Tobago.Phase.BEFORE_SUBMIT);


setScript

@Deprecated
void setScript(String script)
Deprecated. 

Alternatively include a custom script file via the file attribute.



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.