Wizard and uploadForm, javascript error with IE
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 05:30 AM
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.
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.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 05:46 AM
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 ?
Someone have an idea if there is way to do upload form in a wizard ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 03:35 AM
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.
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.
