sorry, I forgot that SimpleFileItem was used to "carry" the HTTP parameter. It's been a long time, but here's my code. Hope it helps.
public static class SimpleFileItem implements FileItem...
Type: Posts; User: rwanou; Keyword(s):
sorry, I forgot that SimpleFileItem was used to "carry" the HTTP parameter. It's been a long time, but here's my code. Hope it helps.
public static class SimpleFileItem implements FileItem...
OK, let's get back to the start.
1) you implemented the MyMultipartResolver and registered it in your web application context. that means that every time a file is uploaded, this resolver will...
OK, I think I found the key to my problem. In order to prevent Spring to have a look inside the system to determine a locale, here's the resource bundle we have to use:
<!-- Settings for LOCALE...
I guess we'll never know... I sent a PM to Dabasov, and he still didn't answer yet. I left the problem aside for a while, but I should get back to eat before the end of the year. Let's stay in touch...
Ok, I think I found something to fill my needs.
First, let's analyze the problem. Using the multipart resolver, and defining a max size leads to this: the multipart resolver will intercept the...
Hi all,
I'm having in my application (SWF 2.0.7) a File Upload feature, and I configured the CommonsMultipartResolver to have a max file upload.
As found in this trhead...
Hi there,
I think I have exactly the same problem. Did you fix it somehow?
Thanks in advance for your help
well, onloading() is just a simple javascript that puts a "loading..." gif on top of the page so the user can't click. There is no submit done in this function.
Submitting your form "onchange" is...
hum, that's weird, the onchange works well for me, here's the code again:
<form:select path="originalNotificationType" cssErrorClass="error" id="notificationTypeSelect" cssClass="wait"...
Nope, no answer at all. It's not the only question which remained unanswered. I don't know if it's my questions that are stupid or the community that doesn't have time. It's comforting to know we're...
@dmt
I noticed the same code as you, and found it surprising that the candidate method of validation, it's arguments MUST match exactly the arguments from the webflow (class of the object, and class...
Hi all,
I have an issue with my Validator component.
When I started implementing my flow, I wrote a validator that worked fine, validating an object of type "Notification". But I had to change...
Hi all,
I have 2 issues, one is Weblogic related I think, the other is AJAX.
I'm implementing a file upload feature on a system. I looked in the doc and got something working, BUT:
I cannot...
Hi all,
Sorry if this was posted already, but I'm in a hurry.
I wanted to check the type of a parameter from my form, knowing that the parameter IS NOT in the model. To force the type check, I...
I found a workaround which I don't like much, but it works.
The main idea is to wrap my command object with a bean containing java arrays (MemberState[]). Thus, the MemberStateConverter is...
here's the code:
public class Distribution implements Serializable {
private ArrayList<MemberState> msDistribution = new ArrayList<MemberState>();
private...
Hi all,
I'm trying to bind a list from a command object using an HTML multi-select input. I really can't get it work, despite the threads I saw, I can't get no valuable information on how to do...
Hi there,
I've noticed that file upload doesn't seem to work when submitting for through Ajax request (see post here http://forum.springsource.org/showthread.php?t=72025). Maybe it's the problem...
Hi all,
I'm trying to upload a file from a SWF 2.0.7 popup, and I'm facing a weird behaviour.
If ever I submit my form with a "simple" submit button, no javascript, then the file is submitted...
Hi all,
I have a quite specific need for taglibs, so I was wandering if community had the same as me.
I have a complex form to handle a big command object. The thing is that this object changes...
Hi there,
Well, I started with 2.0.5, and had the problem. I thought about the workaround of the "toString()", but upgrading to 2.0.6 solved the problem, still working with 2.0.7.
Are you sure...
Hi all,
I'm using Spring MVC 2.5.6 and SWF 2.0, I'm facing a quite comical issue.
One of the attributes of my command object is named "method". So quite logically I bind it using '<form:input...
Hi all,
I cannot find on the web any info about the javascript method "submitFormFromLink". Can anybody explain the community how does it work? If ever there is something in the sample app, could...
Ok, I finally solved my problem, after a few days of staling and lots of hair less.
I should remind that I use JSP, and not JSF, so it makes the sample application kind of useless, since the...
Since I'm using JSPs (and not JSF), the booking sample app doesn't illustrate the fragment rendering.
I posted a question a few days ago about fragment rendering inside a form, and still didn't get...