Tag name: <t:dojoInitializer>
UIComponent class: org.apache.myfaces.custom.dojo.DojoInitializer
Tag class: org.apache.myfaces.custom.dojo.DojoInitializerTag
Component type: org.apache.myfaces.DojoInitializer
Component family: javax.faces.Output
Renderer type: org.apache.myfaces.DojoInitializerRenderer
Renderer class: org.apache.myfaces.custom.dojo.DojoInitializerRenderer
Default component for the dojo intializer
This component is purely non visual, and serves for quick hacking, and prototyping the dojo toolkit within verbatimed html.
Dojo initializer helper tag for debugging and communication flags. This tag encapsules the Dojo DjConfig meta configuration and also adds the needed dojo required functionality.
<t:dojoInitializer > [rendered="true|false"] [allowQueryConfig="true|false"] [baseScriptUri="<some uri>"] [bindEncoding="utf8|iso8859-1|iso-8859-15|..."] [debug="true|false"] [debugAtAllCosts="true|false"] [debugConsole="true|false"] [debugContainerId="<some id of an existing defined container >"] [development="true|false"] [expanded="true|false"] [ignoreClassNames="true|false"] [ioSendTransport="xmlhttrequest"] [parseWidgets="true|false"] [preventBackButtonFix="true|false"] [provide="<dojo class with package>"] [require="<dojo class with package>"] [searchIds="<some id of an existing defined container >"] [development="true|false"] </t:dojoInitializer>
|allowQueryConfig||Boolean||Yes||Triggers a standard dojo allowQueryConfig as defined by the Dojo Toolkit. If someone has additional infos about this tag, please fill in here.|
|baseScriptUri||String||Yes||Triggers a standard dojo baseScriptUri as defined by the
Allows the alteration of the dojo loading root path used by require.
|bindEncoding||String||Yes||Triggers a standard dojo bindEncoding as defined by the Dojo Toolkit Although this control most of the times is not needed one usage in plain jsf applications can be thought of. The changing of the bind encodings, if you check the parameter list of the control ioSendTransport can be used to change this encoding to any encoding parameter needed. This can be used to change the internal ajax request encodings of various controls in a global manner.|
|binding||String||Only EL||Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.|
|debug||Boolean||Yes||Triggers a standard dojo debug as defined by the
Enables the dojo debugging framework. The usage of dojo.debug causes output to be displayed in either the current container or a target container, if one is set.
|debugAtAllCosts||Boolean||Yes||Triggers a standard dojo debugAtAllCosts as defined by the
Tries to enforce debugging even if the browser version does not allow it to work properlys
|debugConsole||Boolean||Yes||Triggers a standard dojo debugConsole as defined by the
This flag pops up a separate in frame floating window which receives the debugging output.
Note: This flag only works if debugging is enabled generally via the debug="true" flag set
|debugContainerId||String||Yes||Triggers a standard dojo debugContainerId as defined by the
This flag notifies the Dojo toolkit about the id which should receive the debug output. Dojo has a full debugging framework in it which allows to turn on debug output via a logging mechanism @see dojo.debug() for further references.
The debugging output is not limited to the current container triggering the debugging statement any container can receive the debugging output this flag is the flag which has to be set for setting a different target id for the debugging output.
|development||Boolean||Yes||Triggers a standard dojo development as defined by the Dojo Toolkit If this parameter is set to true. The expanded debuggable version of dojo is included if set to false the compressed one is included.|
|expanded||Boolean||Yes||Triggers a standard dojo development as defined by the Dojo Toolkit If you can find additional info about this attribute please fill in here|
|id||String||Yes||An identifier for this particular component instance within
a component view.
The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view
This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.
|ignoreClassNames||Boolean||Yes||Triggers a standard dojo ignoreClassNames as defined
This attribute turns on the case insensitive handling of classnames by require and other Dojo class loader mechanisms.
Case sensitivity is by default turned on.
|ioSendTransport||String||Yes||Dojo in its underlying architecture allows various options of server-client side communication. This setting allows the alteration of the communication layer to a different protocol. Currently only in usage is xmlhttprequest, hence setting this encoding will not change too much. But different encodings like iframe are planned for the future.|
|parseWidgets||Boolean||Yes||Triggers a standard dojo parseWidgets as defined by the
This parameter is used to turn on or off the dojo
widgeting parsing. The parsing is not used by
MyFaces for various reasons, but can be used by your
own html code.
For addititional information regarding the Dojo Toolkit widget parsing, visit the
Dojo Toolkit Homepage
|preventBackButtonFix||Boolean||Yes||Dojo uses internally back button blockers to avoid problems with ajax requests causing the back button, to move out of the back page navigation order. Sometimes this behavior is not wanted and can be turned off with this on a global scale;|
|provide||String||Yes||Triggers a standard dojo provide as defined by the Dojo Toolkit|
|rendered||boolean||Yes||A boolean value that indicates whether this component should be rendered. Default value: true.|
|require||String||Yes||Triggers a standard dojo provide as defined by the Dojo Toolkit|
|searchIds||String||Yes||Triggers a standard dojo development as defined by the Dojo Toolkit If you can find additional info about this attribute please fill in here|