You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Raj Saini <ra...@gmail.com> on 2006/04/04 09:47:57 UTC

Problem uploading files with Myfaces portlet

Hi,

I am using myfaces portlet for developing JSR-168 portlets with
Jetspeed-2. I am facing problems while submitting a form for file
uploading with enctype="multipart/form-data". With this encoding
action method is not called. However, same application works fine, if
I run it as standalone. This seems to be a bug in the portlet bridge.

Is this a known problem?

Regards,

Raj

Re: Problem uploading files with Myfaces portlet

Posted by Sébastien Marin <th...@free.fr>.
We stay with jetspeed but we are going to try the JBoss portal. Because thera
are problem with upload file, open popup, display pdf in a window browser, etc.
So there are to many problem !

I get a solution temporaly but not very nice because other parameter of the form
are not submitted. I use a multipart wrapper of cocoon. So i don't like that
solution... It would be very nice to assigned the bug to solve it. So in the
myfacesGenericPortlet, it is notice that the multipart aren't process.

if( !isMultipart...)
   process...

I use cocoon., And put the file in the session scope to process it.
BAD..BAD...BAD ... lol

-> Sébastien,
->
-> What do you use for JSF portlets? I also tried the Apache Portal's JSF
-> brdige and it has same problem.
->
-> Regards,
->
-> Raj
->
->
->
-> On 4/4/06, Sébastien Marin <th...@free.fr> wrote:
-> > We don't use the bridge and we have the same problem.
-> > So you can see the bug : http://issues.apache.org/jira/browse/TOMAHAWK-168
-> > We have just to wait...
-> >
-> >
-> > Selon Raj Saini <ra...@gmail.com>:
-> >
-> > -> Hi,
-> > ->
-> > -> I am using myfaces portlet for developing JSR-168 portlets with
-> > -> Jetspeed-2. I am facing problems while submitting a form for file
-> > -> uploading with enctype="multipart/form-data". With this encoding
-> > -> action method is not called. However, same application works fine, if
-> > -> I run it as standalone. This seems to be a bug in the portlet bridge.
-> > ->
-> > -> Is this a known problem?
-> > ->
-> > -> Regards,
-> > ->
-> > -> Raj

Re: Problem uploading files with Myfaces portlet

Posted by Raj Saini <ra...@gmail.com>.
Sébastien,

What do you use for JSF portlets? I also tried the Apache Portal's JSF
brdige and it has same problem.

Regards,

Raj



On 4/4/06, Sébastien Marin <th...@free.fr> wrote:
> We don't use the bridge and we have the same problem.
> So you can see the bug : http://issues.apache.org/jira/browse/TOMAHAWK-168
> We have just to wait...
>
>
> Selon Raj Saini <ra...@gmail.com>:
>
> -> Hi,
> ->
> -> I am using myfaces portlet for developing JSR-168 portlets with
> -> Jetspeed-2. I am facing problems while submitting a form for file
> -> uploading with enctype="multipart/form-data". With this encoding
> -> action method is not called. However, same application works fine, if
> -> I run it as standalone. This seems to be a bug in the portlet bridge.
> ->
> -> Is this a known problem?
> ->
> -> Regards,
> ->
> -> Raj
> ->
>
>
> |Cordialement, Sébastien MARIN.|
> |------------------------------|
> |->  http://www.marin-s.com  <-|
> |------------------------------|
>

Re: Problem uploading files with Myfaces portlet

Posted by Sébastien Marin <th...@free.fr>.
We don't use the bridge and we have the same problem.
So you can see the bug : http://issues.apache.org/jira/browse/TOMAHAWK-168
We have just to wait...


Selon Raj Saini <ra...@gmail.com>:

-> Hi,
->
-> I am using myfaces portlet for developing JSR-168 portlets with
-> Jetspeed-2. I am facing problems while submitting a form for file
-> uploading with enctype="multipart/form-data". With this encoding
-> action method is not called. However, same application works fine, if
-> I run it as standalone. This seems to be a bug in the portlet bridge.
->
-> Is this a known problem?
->
-> Regards,
->
-> Raj
->


|Cordialement, Sébastien MARIN.|
|------------------------------|
|->  http://www.marin-s.com  <-|
|------------------------------|