Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jcorporate.expresso.services.taglib: Javadoc index of package com.jcorporate.expresso.services.taglib.


Package Samples:

com.jcorporate.expresso.services.taglib

Classes:

FormActionTag: Use FormActionTag for the "action=" part of the <form> tag. The tag takes a transition and automatically maps it to the appropriate URL that should be used for the form. This tag's parameters mirror that of JSTL's <c:out/> tag with the only exception being that the 'escapeXML' attribute is not available. The tag parameters should evaluate to a string. The way to do this with a Transition is to evaluate to the transition and call getMapping() So an example would be:
ELTagSupport: ELTag support provides a wrapper around the actual JSTL-el parsers. Once the JSP APIs advance, we will basically be able to call the JSP system directly rather than rely on the Apache JSTL parser. The goal here will be to switch relatively painlessly. Typical usage: String myVal = (String)ELTagSupport.getInstance().evaluate("test",    "${controllerResponse.namedInputs[\"Test\"].defaultValue}",    java.lang.String.class,    this,    pageContext);
ButtonParams: Use ButtonParamsTag right after putting a button on a form that maps to a particular Transition. The ButtomParams tag will add a hidden form field that will contain all the appropriate parameters associated with the Transition. The only supported attribute is 'value', there is no default given, since it is critical that it maps to an existing transition. value parameter should map to a Transition. Example:
TransitionName: The TransitionName tag is what you insert at the value for the name of a submit button on a form where you wish for the transition to appear. This is necessary since a special button naming convention is used in Expresso. For the 'value' attribute supply a JSTL-EL expression that evaluates to a Transition object, and the tag will output the button name from that Be sure to add the appropriate button hidden parameters after your submit button by using the 'buttonparams' tag.
SelectOptions: SelectOptions tag goes inside a <select> tag. It outputs all the <option> values as specified by an Input's ValidValues, and provides the the default selected value based upon the 'defaultValue' of the Input. Set parameter 'value' to a JSTL expression that evaluates to an Input

Home | Contact Us | Privacy Policy | Terms of Service