portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FRAGOSO ruben <ruben.FRAG...@gemalto.com>
Subject RE: Problem with portlet forms in IE
Date Wed, 10 Mar 2010 15:36:01 GMT
try

 
to use this

http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en

to see the HTML in IE, but anyway IE does have a button to view the source, right click in
the middle of the page and you will see "view source" in the options. Hope this will help
you.


cheers


 

 


-----Original Message-----
From: Daniel Wilberger [mailto:dwilberger@technicacorp.com] 
Sent: 10. března 2010 16:32
To: jetspeed-dev@portals.apache.org
Subject: Problem with portlet forms in IE

I am developing a jsr168 portlet to communicate with a document
management system in order to provide a front-end for the user so they
do not have to directly interact with the system.  The portlet allows
users to browse, upload, download, add folders, etc.  The problem is
coming from "add folder."  A button is clicked to Get form html which is
thrown inside of form tags.  The form is used to Post the folder name to
the doc management system so it can create a folder in the current
directory location of browse..   In IE when I click the Post button
nothing happens, no portlet action or anything it just sits there.  In
Firefox it works fine.  Below is the rendered HTML (pulled from Firefox
because IE won't allow the source to be viewed).  The first set is when
the "Add Folder" Get has been clicked, the second set is when "Upload
Folder" Get has been clicked.. as you can see the HTML is similar for
both forms.

 

First:

                    <form method="post"
action="javascript:jetspeed.doNothingNav()"
enctype="multipart/form-data">

            

                                </form>

 

                                <form method="post"
action="javascript:jetspeed.doNothingNav()"
enctype="multipart/form-data">

                                    Name:<input name="name"
type="text"><input name="submit" value="Add Folder" type="submit">

<input name="node"
value="workspace://SpacesStore/ebb07678-456b-4b6c-b5c2-ed9fe13fe1ab"
type="hidden">

                                </form>

 

 

Second:

                    <form method="post"
action="https://broomfield:8446/jetspeed/action/_ns:YlAtMTI3M2VkNzJmMTAt
MTAwMDF8YzB8ZDB8ZUFMRl9maWxlVXBsb2FkPTE9ZmlsZVVwbG9hZA__/default-page.ps
ml?entity=P-1273ed72f10-10001&amp;portlet=AlfPortlet::AlfrescoPortlet&am
p;encoder=desktop&amp;jsdajax=false" enctype="multipart/form-data">

            File:<input name="file" type="file"><input name="submit"
value="Upload" type="submit">

<input name="nodeRef"
value="workspace://SpacesStore/ebb07678-456b-4b6c-b5c2-ed9fe13fe1ab"
type="hidden">

 

                                </form>

 

                                <form method="post"
action="javascript:jetspeed.doNothingNav()"
enctype="multipart/form-data">

                                    

                                </form>

 

In the second set the action is a legit actionURL to the portlet,
however in the first set the action is this "javascript:doNothingNav()"
when in the JSP file for the page it is defined as an actionURL.  Can
anyone provide insight into what this doNothingNav() is and why it gets
filled in?  It's also strange how this portlet is fully functional in
Firefox yet in IE it has issues with certain functions.  There is a
navigation bar at the top of every page.  In the JSP's the nav bar form
actions are actionURL's but they again get rendered as
"javascript:doNothingNav()" yet they work just fine in both IE and
Firefox while the "Add Folder" Post does not.

 

Thanks for any help!

 

The information contained in this transmission may contain privileged and confidential information.

It is intended only for the use of the person(s) named above. 
If you are not the intended recipient, you are hereby notified that any review, dissemination,
distribution or duplication of this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message. 
Technica Corporation does not represent this e-mail to be free from any virus, fault or defect
and it is therefore the responsibility of the recipient to first scan it for viruses, faults
and defects. 
To reply to our e-mail administrator directly, please send an e-mail to postmaster@technicacorp.com.
Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message