ArticlesTutorialsInterview Questions & AnswersCertificationsFree Books & Sample ChaptersTechnical Discussions  Your Account | Advertise with us | Feedback |
Tomahawk DojoInitializer

 t:documentHead Tomahawk Tag Home t:graphicImage 



  1. Introduction
  2. Tag Attributes
  3. Example


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.

Tag Attributes

AttributeDescription   Type    
allowQueryConfigTriggers a standard dojo allowQueryConfig as defined by the Dojo Toolkit String
baseScriptUriTriggers a standard dojo baseScriptUri as defined by the Dojo Toolkit String
bindEncodingTriggers 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.String
binding Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression. String
debugTriggers a standard dojo debug as defined by the Dojo Toolkit String
debugAtAllCostsTriggers a standard dojo debugAtAllCosts as defined by the Dojo Toolkit Tries to enforce debugging even if the browser version does not allow it to work properlysString
debugConsoleTriggers a standard dojo debugConsole as defined by the Dojo Toolkit String
debugContainerIdTriggers a standard dojo debugContainerId as defined by the Dojo Toolkit. 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 String
developmentIf this parameter is set to true. The expanded debuggable version of dojo is included if set to false the compressed one is included.String
expandedTriggers a standard dojo expanded as defined by the Dojo Toolkit String
id The developer-assigned ID of this component. The ID must be unique within the scope of the tag's enclosing naming container (e.g. h:form or f:subview). This value must be a static value. String
ignoreClassNamesTriggers a standard dojo ignoreClassNames as defined by the Dojo Toolkit String
ioSendTransportDojo 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.String
parseWidgetsTriggers a standard dojo parseWidgets as defined by the Dojo Toolkit 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.String
preventBackButtonFixDojo 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;String
provideTriggers a standard dojo provide as defined by the Dojo ToolkitString
rendered A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. String
requireTriggers a standard dojo require as defined by the Dojo ToolkitString
searchIdsTriggers a standard dojo searchIds as defined by the Dojo ToolkitString


<t:dojoInitializer require="dojo.widget.Editor"></t:dojoInitializer>

 t:documentHead Tomahawk Tag Home t:graphicImage 


About Us | Our Mission | Terms of use | Author Terms |    Search        | Contact Us | Advertise With Us | Link to Us | Sitemap
Copyright © 2016 developersBOOK.COM. All rights reserved.