You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Stephan Koops (JIRA)" <ji...@apache.org> on 2006/09/26 23:08:31 UTC

[jira] Created: (STR-2950) Check values of a form via AJAX without changing JSP

Check values of a form via AJAX without changing JSP
----------------------------------------------------

                 Key: STR-2950
                 URL: http://issues.apache.org/struts/browse/STR-2950
             Project: Struts 1
          Issue Type: New Feature
          Components: Taglibs
            Reporter: Stephan Koops


Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.

The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

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

        

[jira] Commented: (STR-2950) Check values of a form via AJAX without changing JSP

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/STR-2950?page=comments#action_38281 ] 
            
Paul Benedict commented on STR-2950:
------------------------------------

Perhaps you want to do it then. But please first look into Struts 2.

> Check values of a form via AJAX without changing JSP
> ----------------------------------------------------
>
>                 Key: STR-2950
>                 URL: http://issues.apache.org/struts/browse/STR-2950
>             Project: Struts 1
>          Issue Type: New Feature
>          Components: Taglibs
>            Reporter: Stephan Koops
>
> Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.
> The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

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

        

[jira] Commented: (STR-2950) Check values of a form via AJAX without changing JSP

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/STR-2950?page=comments#action_38274 ] 
            
Paul Benedict commented on STR-2950:
------------------------------------

Struts 1 does not have any built-in ajax support. It's not so much of a question whether you can validate on the server side, but producing the XHR that contains the validation errors. Struts 2 may be able to do this; and you should check if it can.

> Check values of a form via AJAX without changing JSP
> ----------------------------------------------------
>
>                 Key: STR-2950
>                 URL: http://issues.apache.org/struts/browse/STR-2950
>             Project: Struts 1
>          Issue Type: New Feature
>          Components: Taglibs
>            Reporter: Stephan Koops
>
> Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.
> The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

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

        

[jira] Commented: (STR-2950) Check values of a form via AJAX without changing JSP

Posted by "Michael Jouravlev (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/STR-2950?page=comments#action_38346 ] 
            
Michael Jouravlev commented on STR-2950:
----------------------------------------

Check HTML2 tag library first:   http://www.rabago.net/struts/html2/ 

> Check values of a form via AJAX without changing JSP
> ----------------------------------------------------
>
>                 Key: STR-2950
>                 URL: http://issues.apache.org/struts/browse/STR-2950
>             Project: Struts 1
>          Issue Type: New Feature
>          Components: Taglibs
>            Reporter: Stephan Koops
>
> Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.
> The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

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

        

[jira] Updated: (STR-2950) Check values of a form via AJAX without changing JSP

Posted by "Paul Benedict (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-2950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-2950:
-------------------------------

    Fix Version/s: Future

> Check values of a form via AJAX without changing JSP
> ----------------------------------------------------
>
>                 Key: STR-2950
>                 URL: https://issues.apache.org/struts/browse/STR-2950
>             Project: Struts 1
>          Issue Type: New Feature
>          Components: Taglibs
>            Reporter: Stephan Koops
>             Fix For: Future
>
>
> Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.
> The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-2950) Check values of a form via AJAX without changing JSP

Posted by "Stephan Koops (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/STR-2950?page=comments#action_38280 ] 
            
Stephan Koops commented on STR-2950:
------------------------------------

My question was, if you (the struts development team) ever thought about implement that.
If yes, why you didn't implement it. Perhaps I will do it.

> Check values of a form via AJAX without changing JSP
> ----------------------------------------------------
>
>                 Key: STR-2950
>                 URL: http://issues.apache.org/struts/browse/STR-2950
>             Project: Struts 1
>          Issue Type: New Feature
>          Components: Taglibs
>            Reporter: Stephan Koops
>
> Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.
> The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

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

        

[jira] Commented: (STR-2950) Check values of a form via AJAX without changing JSP

Posted by "Stephan Koops (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/STR-2950?page=comments#action_38284 ] 
            
Stephan Koops commented on STR-2950:
------------------------------------

But the developer migrates to Struts 2, then he has to change the JSP files.

> Check values of a form via AJAX without changing JSP
> ----------------------------------------------------
>
>                 Key: STR-2950
>                 URL: http://issues.apache.org/struts/browse/STR-2950
>             Project: Struts 1
>          Issue Type: New Feature
>          Components: Taglibs
>            Reporter: Stephan Koops
>
> Did you ever thought about the idea, that the browser can use AJAX to send changes in the text fields, checkboxes and so on to the server. So the server can check the actual data and retrieve or remove error messages. They would be displayed on the place which the JSP designer has planed.
> The idea is, that the developer will not need to change the JSP files but only the logic (the action classes and perhaps the underlying Model, i.e. the EJB session beans).

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