You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Olexandr Zakordonskyy (JIRA)" <de...@myfaces.apache.org> on 2005/12/09 15:50:11 UTC

[jira] Created: (MYFACES-923) Script execution before action executing

Script execution before action executing
----------------------------------------

         Key: MYFACES-923
         URL: http://issues.apache.org/jira/browse/MYFACES-923
     Project: MyFaces
        Type: Bug
  Components: Tobago  
    Reporter: Olexandr Zakordonskyy


We need actionConstrols to support client script before executing submitAction.
For example if we want to execute action which depends on the data in other controls we need to tell user to do some action before submitAction function executes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (MYFACES-923) Script execution before action executing

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-923?page=all ]
     
Udo Schnurpfeil resolved MYFACES-923:
-------------------------------------

    Resolution: Won't Fix

> Script execution before action executing
> ----------------------------------------
>
>          Key: MYFACES-923
>          URL: http://issues.apache.org/jira/browse/MYFACES-923
>      Project: MyFaces
>         Type: Improvement
>   Components: Tobago
>     Reporter: Olexandr Zakordonskyy

>
> We need actionConstrols to support client script before executing submitAction.
> For example if we want to execute action which depends on the data in other controls we need to tell user to do some action before submitAction function executes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-923) Script execution before action executing

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-923?page=comments#action_12359921 ] 

Volker Weber commented on MYFACES-923:
--------------------------------------

You can use type="script" to execute client side logic instead of submitting the page. 
Inside your code you can check dependencies and then tell errors to the user or submit the form
by calling  submitAction('pageId', 'buttonId');

You can also add a confirmation facet to display a confirmation message before submitting the page.

> Script execution before action executing
> ----------------------------------------
>
>          Key: MYFACES-923
>          URL: http://issues.apache.org/jira/browse/MYFACES-923
>      Project: MyFaces
>         Type: Improvement
>   Components: Tobago
>     Reporter: Olexandr Zakordonskyy

>
> We need actionConstrols to support client script before executing submitAction.
> For example if we want to execute action which depends on the data in other controls we need to tell user to do some action before submitAction function executes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MYFACES-923) Script execution before action executing

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-923?page=all ]

Volker Weber updated MYFACES-923:
---------------------------------

    type: Improvement  (was: Bug)

Change IssueType to Improvement

> Script execution before action executing
> ----------------------------------------
>
>          Key: MYFACES-923
>          URL: http://issues.apache.org/jira/browse/MYFACES-923
>      Project: MyFaces
>         Type: Improvement
>   Components: Tobago
>     Reporter: Olexandr Zakordonskyy

>
> We need actionConstrols to support client script before executing submitAction.
> For example if we want to execute action which depends on the data in other controls we need to tell user to do some action before submitAction function executes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MYFACES-923) Script execution before action executing

Posted by "Volker Weber (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-923?page=all ]
     
Volker Weber closed MYFACES-923:
--------------------------------


> Script execution before action executing
> ----------------------------------------
>
>          Key: MYFACES-923
>          URL: http://issues.apache.org/jira/browse/MYFACES-923
>      Project: MyFaces
>         Type: Improvement
>   Components: Tobago
>     Reporter: Olexandr Zakordonskyy

>
> We need actionConstrols to support client script before executing submitAction.
> For example if we want to execute action which depends on the data in other controls we need to tell user to do some action before submitAction function executes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MYFACES-923) Script execution before action executing

Posted by "Olexandr Zakordonskyy (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-923?page=comments#action_12359886 ] 

Olexandr Zakordonskyy commented on MYFACES-923:
-----------------------------------------------

Sorry it's enhancement

> Script execution before action executing
> ----------------------------------------
>
>          Key: MYFACES-923
>          URL: http://issues.apache.org/jira/browse/MYFACES-923
>      Project: MyFaces
>         Type: Bug
>   Components: Tobago
>     Reporter: Olexandr Zakordonskyy

>
> We need actionConstrols to support client script before executing submitAction.
> For example if we want to execute action which depends on the data in other controls we need to tell user to do some action before submitAction function executes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira