I am the core deveper of my portal. I have commited the changed and everything
work fine.
For more detail.
In the JSP page, you should have a form like :
input type=file ..
In the portlet corresponding .java
public void processAction(JBossActionRequest aReq, JBossActionResponse aRes)
you can read the code for JBos portal 2.2 source code
\jboss-portal-2.2.0-src\core\src\main\org\jboss\portal\core\portlet\cms\admin\CMSAdminPortlet.java
Method processAction() for op=UPLOAD_CONTENT
you can also see cms in the portal interface in the IE
In the JSP, use actioNURL instead of
andytsoy wrote : you can read the code for JBos portal 2.2 source code
|
|
\jboss-portal-2.2.0-src\core\src\main\org\jboss\portal\core\portlet\cms\admin\CMSAdminPortlet.java
| Method processAction() for op=UPLOAD_CONTENT
|
| you can also see cms in the portal interface in the IE
|
ilangocal wrote : andytsoy wrote : I have fixed the problem.
| | In JBoss Portal 2.2 . It has implement the commons-fileupload.jar.
| | The only thing is to call u .
| | In the jsp, Use ActionURL
| | In the portlet core, it will call processAction method.
| | You can take a
andytsoy wrote : I have fixed the problem.
| In JBoss Portal 2.2 . It has implement the commons-fileupload.jar.
| The only thing is to call u .
| In the jsp, Use ActionURL
| In the portlet core, it will call processAction method.
| You can take a reference of the code in JBoss portal
I have fixed the problem.
In JBoss Portal 2.2 . It has implement the commons-fileupload.jar.
The only thing is to call u .
In the jsp, Use ActionURL
In the portlet core, it will call processAction method.
You can take a reference of the code in JBoss portal 2.2 cms portlet.
Thx!
View the