You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dakota Jack <da...@gmail.com> on 2005/03/12 16:47:22 UTC

Error in ConfigHelper

In ConfigHelper ll. 237-246 you will find:

    /**
     * The multipart object for this request.
     */
    public MultipartRequestWrapper getMultipartRequestWrapper() {

        if (this.request == null) {
            return null;
        }
        return (MultipartRequestWrapper)
this.request.getAttribute(Globals.MULTIPART_KEY);
    }

This code is mistaken and should be excized completely.  First, it
cannot be used, since the Globals.MULITPART_KEY returns a different
class completely.  Second, all this does is tie down different
multipart solutions and make the framework unnecessarily rigid.  I
have mentioned this before but it seems to just never go away.

Jack

-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Problem with submit target popup and serverside validation????

Posted by Jason Long <su...@sbcglobal.net>.
I am attempting to set up a popup so that the user can see the information
on the underlying page and complete a popup form.  The form requires server
side validation, but when the form is submitted and errors are present they
are sent to the main page.  This is not the behavior I desire.  I need the
errors to be displayed on the popup and once validation is completed the
window will close and the main window will be redirected.  This works
perfectly except for the validation problem.

Thank you for your time, 

Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Error in ConfigHelper

Posted by Joe Germuska <Jo...@Germuska.com>.
Thank you.

Please see http://struts.apache.org/using.html#Bugs for the preferred 
approach to reporting bugs.

Joe

At 7:47 AM -0800 3/12/05, Dakota Jack wrote:
>In ConfigHelper ll. 237-246 you will find:
>
>     /**
>      * The multipart object for this request.
>      */
>     public MultipartRequestWrapper getMultipartRequestWrapper() {
>
>         if (this.request == null) {
>             return null;
>         }
>         return (MultipartRequestWrapper)
>this.request.getAttribute(Globals.MULTIPART_KEY);
>     }
>
>This code is mistaken and should be excized completely.  First, it
>cannot be used, since the Globals.MULITPART_KEY returns a different
>class completely.  Second, all this does is tie down different
>multipart solutions and make the framework unnecessarily rigid.  I
>have mentioned this before but it seems to just never go away.
>
>Jack
>
>--
>"You can lead a horse to water but you cannot make it float on its back."
>~Dakota Jack~
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org


-- 
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
"Narrow minds are weapons made for mass destruction"  -The Ex

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org