Re: WOFileUpload component of WO 5.4.3 version
I remember having issues with uploading files and getting them fixed after setting the encoding everywhere to UTF-8. If you are using Wonder then add this to your Properties file: er.extensions.ERXApplication.DefaultEncoding=UTF-8 Then make sure the components are all using UTF-8. You can check that in the .woo file. That fixed it for me a while back. On Oct 19, 2009, at 8:18 AM, Raghavender wrote: We have an issue with WOFileUpload component of WO 5.4.3 version, if there is a WOFileUpload component in a page then the Form encType should be "multipart/form-data", then in this case the form data is not submitting to the Server. When we remove the WOFileUpload then the form data is submitting. Does anyone know a way to resolve this or a work-around? I have followed accordingly specified in the below mentioned URL: http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00727.html but still the issue exist, and following are the logs:- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = == aMethod -> POST aURL -> /cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/ 5.0.7.1.15.1.3 anHTTPVersion ->HTTP/1.1 someHeaders ->{referer = [http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2 ]; accept-encoding = [gzip, deflate]; cookie = [ojhWnnt5cVNtxYlL66ORsM="GLOBAL adm...@172.16.4.116:55615"]; content- type = [multipart/form-data; boundary= WebKitFormBoundaryMyCt9X7guHzqi1xL]; origin = [http://172.16.4.116:55615 ]; user-agent = [Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/ 531.9]; accept = [application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5]; content-length = [3628]; host = [172.16.4.116:55615]; accept-language = [en-us]; connection = [keep-alive]; } aContent ->com.webobjects.appserver._private.WOInputStreamData (stream com.webobjects.appserver ._private.wonocopypushbackinputstr...@2c21840d of length 3628), has NOT been accessed> someInfo ->null DispatchRequest -> {accept=[application/xml,application/xhtml+xml,text/html;q=0.9,text/ plain;q=0.8,image/png,*/*;q=0.5], accept-encoding=[gzip, deflate], accept-language=[en-us], connection=[keep-alive], content-length= [3628], content-type=[multipart/form-data; boundary= WebKitFormBoundaryMyCt9X7guHzqi1xL], cookie= [ojhWnnt5cVNtxYlL66ORsM="GLOBAL adm...@172.16.4.116:55615"], host= [172.16.4.116:55615], origin=[http://172.16.4.116:55615], referer= [http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2], user-agent=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9]} content-length=0 cookies=null userInfo={} storePageInBacktrackCache=true >) method=POST uri=/cgi-bin/WebObjects/Solar.woa/wo/ ojhWnnt5cVNtxYlL66ORsM/5.0.7.1.15.1.3 defaultFormValueEncoding=UTF-8 formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8 formValues={0.7.1.15.1.3.0 = (com.webobjects.appserver._private.WOInputStreamData (stream com.webobjects.appserver.WOMultipartIterator$WOFormData $_woformdatainputstr...@1299ee0b of length 0), has NOT been accessed>); 0.7.1.15.1.3.0.mimetype = ("image/gif"); 0.7.1.15.1.3.0.filename = ("InchesRulerHoriz.gif"); } > 57415 [WorkerThread9] INFO NSLog - Did not specify a -Config option. Will default to Solar. 57416 [WorkerThread9] INFO NSLog - Did not specify a -Config option. Will default to Solar. takeValuesFromRequest -> headers={accept=[application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5], accept-encoding= [gzip, deflate], accept-language=[en-us], connection=[keep-alive], content-length=[3628], content-type=[multipart/form-data; boundary=WebKitFormBoundaryMyCt9X7guHzqi1xL], cookie= [ojhWnnt5cVNtxYlL66ORsM="GLOBAL adm...@172.16.4.116:55615"], host= [172.16.4.116:55615], origin=[http://172.16.4.116:55615], original_context_id=[5], referer=[http://172.16.4.116:55615/cgi-bin/ WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2], user- agent=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9]} content-length=0 cookies=null userInfo={} storePageInBacktrackCache=true >) method=POST uri=/cgi-bin/ WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/5.0.7.1.15.1.3 defaultFormValueEncoding=UTF-8 formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8 formValues={0.7.1.15.1.3.0 = (com.webobjects.appserver._private.WOInputStreamData (stream com.webobjects.appserver.WOMultipartIterator$WOFormData
WOFileUpload component of WO 5.4.3 version
We have an issue with WOFileUpload component of WO 5.4.3 version, if there is a WOFileUpload component in a page then the Form encType should be "multipart/form-data", then in this case the form data is not submitting to the Server. When we remove the WOFileUpload then the form data is submitting. Does anyone know a way to resolve this or a work-around? I have followed accordingly specified in the below mentioned URL: http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00727.html but still the issue exist, and following are the logs:- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = aMethod -> POST aURL -> /cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/ 5.0.7.1.15.1.3 anHTTPVersion ->HTTP/1.1 someHeaders ->{referer = [http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2 ]; accept-encoding = [gzip, deflate]; cookie = [ojhWnnt5cVNtxYlL66ORsM="GLOBAL adm...@172.16.4.116:55615"]; content- type = [multipart/form-data; boundary= WebKitFormBoundaryMyCt9X7guHzqi1xL]; origin = [http:// 172.16.4.116:55615]; user-agent = [Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/ 4.0.3 Safari/531.9]; accept = [application/xml,application/xhtml +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5]; content- length = [3628]; host = [172.16.4.116:55615]; accept-language = [en- us]; connection = [keep-alive]; } aContent ->(stream com.webobjects.appserver._private.wonocopypushbackinputstr...@2c21840d of length 3628), has NOT been accessed> someInfo ->null DispatchRequest -> headers={accept=[application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5], accept- encoding=[gzip, deflate], accept-language=[en-us], connection=[keep- alive], content-length=[3628], content-type=[multipart/form-data; boundary=WebKitFormBoundaryMyCt9X7guHzqi1xL], cookie=[ojhWnnt5cVNtxYlL66ORsM="GLOBAL adm...@172.16.4.116:55615"], host=[172.16.4.116:55615], origin=[http://172.16.4.116:55615], referer=[http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2 ], user-agent=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en- us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9]} content-length=0 cookies=null userInfo={} storePageInBacktrackCache=true >) method=POST uri=/cgi-bin/WebObjects/ Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/5.0.7.1.15.1.3 defaultFormValueEncoding=UTF-8 formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8 formValues={0.7.1.15.1.3.0 = (com.webobjects.appserver._private.WOInputStreamData (stream com.webobjects.appserver.WOMultipartIterator$WOFormData $_woformdatainputstr...@1299ee0b of length 0), has NOT been accessed>); 0.7.1.15.1.3.0.mimetype = ("image/gif"); 0.7.1.15.1.3.0.filename = ("InchesRulerHoriz.gif"); } > 57415 [WorkerThread9] INFO NSLog - Did not specify a -Config option. Will default to Solar. 57416 [WorkerThread9] INFO NSLog - Did not specify a -Config option. Will default to Solar. takeValuesFromRequest -> headers={accept=[application/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5], accept- encoding=[gzip, deflate], accept-language=[en-us], connection=[keep- alive], content-length=[3628], content-type=[multipart/form-data; boundary=WebKitFormBoundaryMyCt9X7guHzqi1xL], cookie=[ojhWnnt5cVNtxYlL66ORsM="GLOBAL adm...@172.16.4.116:55615"], host=[172.16.4.116:55615], origin=[http://172.16.4.116:55615], original_context_id=[5], referer=[http://172.16.4.116:55615/cgi-bin/WebObjects/Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/4.0.7.1.15.2 ], user-agent=[Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en- us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9]} content-length=0 cookies=null userInfo={} storePageInBacktrackCache=true >) method=POST uri=/cgi-bin/WebObjects/ Solar.woa/wo/ojhWnnt5cVNtxYlL66ORsM/5.0.7.1.15.1.3 defaultFormValueEncoding=UTF-8 formValueEncodingDetectionEnabled=NO formValueEncoding=UTF-8 formValues={0.7.1.15.1.3.0 = (com.webobjects.appserver._private.WOInputStreamData (stream com.webobjects.appserver.WOMultipartIterator$WOFormData $_woformdatainputstr...@1299ee0b of length 0), has NOT been accessed>); 0.7.1.15.1.3.0.mimetype = ("image/gif"); 0.7.1.15.1.3.0.filename = ("InchesRulerHoriz.gif"); } > takeValuesFromRequest WOContext -> requestSenderID=0.7.1.15.1.3 elementID=null sessionID=ojhWnnt5cVNtxYlL66ORsM request=httpVersion=HTTP/1.1 headers={accept=[application/xml,application/xhtml +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5], accept- encodi
Re: WOFileUpload component of WO 5.4.3 version
Hello Ms. Miller, Just trying to see if this thread helps solves your problem: http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00727.html Thank you, Shravan Kumar. M --- Forwarded Message: WOFileUpload component of WO 5.4.3 version WOFileUpload component of WO 5.4.3 version Monday, October 5, 2009 7:09 PM From: "Vicky C. Miller" To: webobjects-dep...@lists.apple.com We have an issue with WOFileUpload component of WO 5.4.3 version, if there is a WOFileUpload component in a page then the Form encType should be "multipart/form-data", then in this case the form data is not submitting to the Server. When we remove the WOFileUpload then the form data is submitting. Does anyone know a way to resolve this or a work-around? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com