User Tools

Site Tools


mantisbt:combo_edit_requirements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mantisbt:combo_edit_requirements [2007/05/21 23:44]
vboctor created
mantisbt:combo_edit_requirements [2008/10/29 04:25] (current)
Line 42: Line 42:
     */     */
    function comboedit_insert( $p_name, $p_results_function, $p_error_div, $p_context, $p_allow_new_entries );    function comboedit_insert( $p_name, $p_results_function, $p_error_div, $p_context, $p_allow_new_entries );
 +</code>
 +
 +   * The functions that calculate the results and are called by Javascript using XMLHttpRequest will be implemented in core/xmlhttprequest_api.php.
  
 +<code php>
    /**    /**
-    * A function that returns the list of reporter names based on a context and a prefix.+    * A function that returns the list of reporter names based on a context and a prefix.  This will
     *     *
     * @param $p_context - The context to be used by the function.  For example, the project id.     * @param $p_context - The context to be used by the function.  For example, the project id.
Line 53: Line 57:
     *          Returns a localized string in case of an error that should be displayed to the user (will only be visible if div was supplied)     *          Returns a localized string in case of an error that should be displayed to the user (will only be visible if div was supplied)
     */     */
-   function sample_reporter_result_handler( $p_context, $p_prefix );+   function xmlhttprequest_reporter_comboedit_results( $p_context, $p_prefix );
 </code> </code>
  
    * Use the Javascript libraries that are already shipped with 1.1.0a3 (i.e. prototype, scripticulous).  We don't want to end up with 100 different Javascript libraries.    * Use the Javascript libraries that are already shipped with 1.1.0a3 (i.e. prototype, scripticulous).  We don't want to end up with 100 different Javascript libraries.
    * Make it dead simple to migrate from standard controls to this control.    * Make it dead simple to migrate from standard controls to this control.
 +   * In the case where the javascript configuration option is OFF, the implementation should map to a normal text box or combobox.
 +   * Shouldn't depend on PHP 5 features and show work with all well known browsers (e.g. Internet Explorer, Firefox, Opera, Safari).
 +
 +====== Usage in Mantis ======
 +
 +   * As part of the implementation
 +     * Platform (report/update pages)
 +     * OS (report/update pages)
 +     * OS Version (report/update pages)
 +     * Reporter Name (update issue page)
 +   * Followed by:
 +     * Filters (reporter, assigned to, etc)
 +     * and other as appropriate.
  
 ====== Feedback ====== ====== Feedback ======
  
 Please provide feedback in this section. Please provide feedback in this section.
mantisbt/combo_edit_requirements.1179805454.txt.gz ยท Last modified: 2008/10/29 04:31 (external edit)