Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
asile elisa
the uses of UploadPortletRequest
May 22, 2010 1:34 AM
Answer

asile elisa

Rank: Regular Member

Posts: 126

Join Date: February 17, 2010

Recent Posts

hi everyone,

what is the diffrence between these two codes:
1
2UploadPortletRequest uploadReq = PortalUtil.getUploadPortletRequest((ActionRequest)req);
3String cmd = uploadReq.getParameter(Constants.CMD);

1
2String cmd = ParamUtil.getString(req, Constants.CMD);


thanks in advance.
Mazhar Anwar
RE: the uses of UploadPortletRequest
May 24, 2010 2:03 AM
Answer

Mazhar Anwar

Rank: Regular Member

Posts: 125

Join Date: February 5, 2010

Recent Posts

If your HTML Form's enctype is "multipart/form-data" then you need to use UploadPortletRequest and if your from is just a simple html form you can use ParamUtil. emoticon
mohiden abdul kader
RE: the uses of UploadPortletRequest
January 9, 2013 11:37 PM
Answer

mohiden abdul kader

Rank: Junior Member

Posts: 38

Join Date: August 8, 2012

Recent Posts

thank u ,I help me lot