cancel
Showing results for 
Search instead for 
Did you mean: 

Wizard and uploadForm, javascript error with IE

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

im making a wizard, on first step user can upload a file.
All it's working fine with firefox, but with Internet Explorer i have a javascript error.
I did same code than add-content-dialog.jsp for upload part.
I use <r:uploadForm> tag. If in code i delete this tag, no javascript errors in IE. I don't understand why this tag its working for IE in add content dialog and not in my wizard…

Someone have an idea ?

Thx in advance.

Best regards.
2 REPLIES 2

ribz33
Champ on-the-rise
Champ on-the-rise
Problem seems to come from that i have one <h:form> inside another. All it's ok for Firefox but, this make errors in IE.

Someone have an idea if there is way to do upload form in a wizard ?

gavinc
Champ in-the-making
Champ in-the-making
You're right, you can't have one form inside another.

As the web client supports running inside a portal server we have to have to use our uploadForm tag, the downside of this is that you have to have separate forms in the page for uploading files.

Due to the way the dialog and wizard frameworks function it is not possible to achieve this. If you look at add-content-dialog.jsp you'll notice it's a 'full' JSP page and not the normal 'snippet' JSP most dialogs/wizards use.

Our wizards in WCM handle form uploads using a hidden iframe and JavaScript so this is probably your best option if you want to do uploads in a wizard. Have a look at /jsp/wcm/create-form-wizard/details.jsp & configure-rendering-engines.jsp

Hope that helps.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.