You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ayub Khan <ay...@gmail.com> on 2008/09/19 10:35:19 UTC
FileUpload component in portal
Hi,
I read online article and also in ibm red book that FileUpload component and
any binary data transfer is not supported in the Portal environment. Could
any suggest an alternate approach for achieving the fileUpload in websphere
portal ?
Thanks and RegardsAyub
--
-- "Two roads diverged in a wood
And I took the one less traveled by
And that has made all the difference.
Robert Frost....."
Re: FileUpload component in portal
Posted by Leonardo Uribe <lu...@gmail.com>.
On Fri, Sep 19, 2008 at 5:33 PM, Leonardo Uribe <lu...@gmail.com> wrote:
>
>
> On Fri, Sep 19, 2008 at 3:31 PM, Hazem Saleh <ha...@apache.org> wrote:
>
>> Till Tomahawk 1.1.7 release, we still did not apply the fileupload portlet
>> support.
>>
>>
> I have a prototype working, that uses TomahawkFacesContextWrapper to do it,
> but still needs some work (portlet api should be carefully used to avoid
> ClassNotFoundException or ClassCastException on non portlet environments).
> I'll propose it soon, so other people can review it, so stay tuned!.
>
>
Done (committed on trunk)
>
>> On Fri, Sep 19, 2008 at 6:45 PM, Scott O'Bryan <da...@gmail.com>wrote:
>>
>>> I would be very suprised if this is the case. The ActionRequest has a
>>> getFileInputStream which is what most renderkit implemementations use to
>>> handle file-uploads. My guess is that they are basically saying that if you
>>> have binary data in your request, you are on your own as far as processing
>>> it (ie. submitted parameters and whatnot won't show up). Still, I don't
>>> know why fileuploads in trinidad (for instance) wouldn't work. I also think
>>> Tomahawk has added portlet support to their fileupload component but
>>> Leonardo might be able to clairfy that.
>>>
>>> Scott
>>>
>>>
>>> Nutulapati, Krishna wrote:
>>>
>>>> If Binary transfer is not supported, try using java script to implement
>>>> this functionality.
>>>> Here is the good link, that might help you.
>>>> http://4umi.com/web/javascript/filewrite.php
>>>> Krishna
>>>> ------------------------------------------------------------------------
>>>> *From:* Ayub Khan [mailto:ayub.hp@gmail.com]
>>>> *Sent:* Friday, September 19, 2008 3:35 AM
>>>> *To:* users@myfaces.apache.org
>>>> *Subject:* FileUpload component in portal
>>>>
>>>> Hi,
>>>>
>>>> I read online article and also in ibm red book that FileUpload component
>>>> and any binary data transfer is not supported in the Portal environment.
>>>> Could any suggest an alternate approach for achieving the fileUpload in
>>>> websphere portal ?
>>>>
>>>> Thanks and Regards
>>>> Ayub
>>>> --
>>>> -- "Two roads diverged in a wood
>>>> And I took the one less traveled by
>>>> And that has made all the difference.
>>>>
>>>> Robert Frost....."
>>>>
>>>
>>>
>>
>>
>> --
>> Hazem Ahmed Saleh Ahmed
>>
>> Web blog: http://www.jroller.com/page/HazemBlog
>>
>> [Web 2.0] GMaps Integration with JSF + Apache Tomahawk + JBoss a4j:
>> http://code.google.com/p/gmaps4jsf/
>>
>
>
Re: FileUpload component in portal
Posted by Leonardo Uribe <lu...@gmail.com>.
On Fri, Sep 19, 2008 at 3:31 PM, Hazem Saleh <ha...@apache.org> wrote:
> Till Tomahawk 1.1.7 release, we still did not apply the fileupload portlet
> support.
>
>
I have a prototype working, that uses TomahawkFacesContextWrapper to do it,
but still needs some work (portlet api should be carefully used to avoid
ClassNotFoundException or ClassCastException on non portlet environments).
I'll propose it soon, so other people can review it, so stay tuned!.
>
> On Fri, Sep 19, 2008 at 6:45 PM, Scott O'Bryan <da...@gmail.com>wrote:
>
>> I would be very suprised if this is the case. The ActionRequest has a
>> getFileInputStream which is what most renderkit implemementations use to
>> handle file-uploads. My guess is that they are basically saying that if you
>> have binary data in your request, you are on your own as far as processing
>> it (ie. submitted parameters and whatnot won't show up). Still, I don't
>> know why fileuploads in trinidad (for instance) wouldn't work. I also think
>> Tomahawk has added portlet support to their fileupload component but
>> Leonardo might be able to clairfy that.
>>
>> Scott
>>
>>
>> Nutulapati, Krishna wrote:
>>
>>> If Binary transfer is not supported, try using java script to implement
>>> this functionality.
>>> Here is the good link, that might help you.
>>> http://4umi.com/web/javascript/filewrite.php
>>> Krishna
>>> ------------------------------------------------------------------------
>>> *From:* Ayub Khan [mailto:ayub.hp@gmail.com]
>>> *Sent:* Friday, September 19, 2008 3:35 AM
>>> *To:* users@myfaces.apache.org
>>> *Subject:* FileUpload component in portal
>>>
>>> Hi,
>>>
>>> I read online article and also in ibm red book that FileUpload component
>>> and any binary data transfer is not supported in the Portal environment.
>>> Could any suggest an alternate approach for achieving the fileUpload in
>>> websphere portal ?
>>>
>>> Thanks and Regards
>>> Ayub
>>> --
>>> -- "Two roads diverged in a wood
>>> And I took the one less traveled by
>>> And that has made all the difference.
>>>
>>> Robert Frost....."
>>>
>>
>>
>
>
> --
> Hazem Ahmed Saleh Ahmed
>
> Web blog: http://www.jroller.com/page/HazemBlog
>
> [Web 2.0] GMaps Integration with JSF + Apache Tomahawk + JBoss a4j:
> http://code.google.com/p/gmaps4jsf/
>
Re: FileUpload component in portal
Posted by Hazem Saleh <ha...@apache.org>.
Till Tomahawk 1.1.7 release, we still did not apply the fileupload portlet
support.
On Fri, Sep 19, 2008 at 6:45 PM, Scott O'Bryan <da...@gmail.com> wrote:
> I would be very suprised if this is the case. The ActionRequest has a
> getFileInputStream which is what most renderkit implemementations use to
> handle file-uploads. My guess is that they are basically saying that if you
> have binary data in your request, you are on your own as far as processing
> it (ie. submitted parameters and whatnot won't show up). Still, I don't
> know why fileuploads in trinidad (for instance) wouldn't work. I also think
> Tomahawk has added portlet support to their fileupload component but
> Leonardo might be able to clairfy that.
>
> Scott
>
>
> Nutulapati, Krishna wrote:
>
>> If Binary transfer is not supported, try using java script to implement
>> this functionality.
>> Here is the good link, that might help you.
>> http://4umi.com/web/javascript/filewrite.php
>> Krishna
>> ------------------------------------------------------------------------
>> *From:* Ayub Khan [mailto:ayub.hp@gmail.com]
>> *Sent:* Friday, September 19, 2008 3:35 AM
>> *To:* users@myfaces.apache.org
>> *Subject:* FileUpload component in portal
>>
>> Hi,
>>
>> I read online article and also in ibm red book that FileUpload component
>> and any binary data transfer is not supported in the Portal environment.
>> Could any suggest an alternate approach for achieving the fileUpload in
>> websphere portal ?
>>
>> Thanks and Regards
>> Ayub
>> --
>> -- "Two roads diverged in a wood
>> And I took the one less traveled by
>> And that has made all the difference.
>>
>> Robert Frost....."
>>
>
>
--
Hazem Ahmed Saleh Ahmed
Web blog: http://www.jroller.com/page/HazemBlog
[Web 2.0] GMaps Integration with JSF + Apache Tomahawk + JBoss a4j:
http://code.google.com/p/gmaps4jsf/
Re: FileUpload component in portal
Posted by Scott O'Bryan <da...@gmail.com>.
I would be very suprised if this is the case. The ActionRequest has a
getFileInputStream which is what most renderkit implemementations use to
handle file-uploads. My guess is that they are basically saying that if
you have binary data in your request, you are on your own as far as
processing it (ie. submitted parameters and whatnot won't show up).
Still, I don't know why fileuploads in trinidad (for instance) wouldn't
work. I also think Tomahawk has added portlet support to their
fileupload component but Leonardo might be able to clairfy that.
Scott
Nutulapati, Krishna wrote:
> If Binary transfer is not supported, try using java script to
> implement this functionality.
> Here is the good link, that might help you.
> http://4umi.com/web/javascript/filewrite.php
> Krishna
> ------------------------------------------------------------------------
> *From:* Ayub Khan [mailto:ayub.hp@gmail.com]
> *Sent:* Friday, September 19, 2008 3:35 AM
> *To:* users@myfaces.apache.org
> *Subject:* FileUpload component in portal
>
> Hi,
>
> I read online article and also in ibm red book that FileUpload
> component and any binary data transfer is not supported in the Portal
> environment. Could any suggest an alternate approach for achieving the
> fileUpload in websphere portal ?
>
> Thanks and Regards
> Ayub
> --
> -- "Two roads diverged in a wood
> And I took the one less traveled by
> And that has made all the difference.
>
> Robert Frost....."
RE: FileUpload component in portal
Posted by "Nutulapati, Krishna" <KN...@ussco.com>.
If Binary transfer is not supported, try using java script to implement
this functionality.
Here is the good link, that might help you.
http://4umi.com/web/javascript/filewrite.php
Krishna
________________________________
From: Ayub Khan [mailto:ayub.hp@gmail.com]
Sent: Friday, September 19, 2008 3:35 AM
To: users@myfaces.apache.org
Subject: FileUpload component in portal
Hi,
I read online article and also in ibm red book that FileUpload component
and any binary data transfer is not supported in the Portal environment.
Could any suggest an alternate approach for achieving the fileUpload in
websphere portal ?
Thanks and Regards
Ayub
--
-- "Two roads diverged in a wood
And I took the one less traveled by
And that has made all the difference.
Robert Frost....."