Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24385/xdoclet-plugins/plugin-tapestry/src/main/java/org/xdoclet/plugin/tapestry/qtags

Added Files:
        TapestryFormTag.java 
Log Message:
Added tag for the "Form" component

--- NEW FILE: TapestryFormTag.java ---
/*
 * Copyright (c) 2003-2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.tapestry.qtags;

/**
 * Used to implement an HTML form.
 *
 * @author Paolo Dona
 * @qtags.location class
 */
public interface TapestryFormTag extends com.thoughtworks.qdox.model.DocletTag {

    /**
     * The id of the component
     *
     * @qtags.required
     */
    String getId();

    /**
     * The method used by the form when it is submitted, defaults to 
"literal:post".
     */
    String getMethod();

    /**
     * Object invoked when the form is submitted normally (not a cancel or a 
refresh)
     * and the validation delegate contains no errors.
     */
    String getSuccess();

    /**
     * Object invoked when the form is cancelled (a special type of form 
submission).
     * The cancel listener (if any) overrides the standard listener. Other 
properties
     * will not be affected by the rewind.
     */
    String getCancel();

    /**
     * Object invoked when the form is refreshed (a special type of form 
submission).
     * The refresh listener (if any) overrides the standard listener.
     * Other properties managed by enclosed components will be updated.
     */
    String getRefresh();

    /**
     * Default listener used when no other listener is invoked.
     */
    String getListener();

    /**
     * If true (the default), then an active session is required when the
     * form is submitted, if there was an active session when the
     * form was rendered.
     */
    String getStateful();

    /**
     * If true (the default), then the more efficient direct service is used.
     * If false, then the action service is used.
     */
    String getDirect();

    /**
     * Specifies the delegate to be used by fields to track input errors. If 
not specified, the
     * Form provides a default instance of 
org.apache.tapestry.valid.ValidationDelegate.
     */
    String getDelegate();

    /**
     * If true (the default) then client-side validation will be generated upon 
render for any
     * required or validating fields.
     */
    String getClientValidationEnabled();

    /**
     * If true (the default), then the form will attempt to get field focus on 
the first
     * field in error (or first required field, or just first field) within the 
form.
     * Set to false to allow a different Form on the same page to claim field 
focus.
     */
    String getFocus();
}


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to