RE: [T5] upload component validate issue

2008-11-05 Thread Henry Chen
Great! Problem solved. For some weird reason, maven didn't want to update
the core file from today. I had to download the file manually...

-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 05, 2008 6:53 PM
To: Tapestry users; [EMAIL PROTECTED]
Subject: Re: [T5] upload component validate issue

Make sure you have refreshed from Maven, *all* the Tapestry JARs.
Looks like you are using the latest tapestry-upload.jar with a
slightly out-of-date tapestry-core.jar.  You're seeing changes I made
yesterday.

On Wed, Nov 5, 2008 at 4:42 PM, Henry Chen <[EMAIL PROTECTED]> wrote:
> I found my code was broken today where I have " t:id="logofile" value="logofile"/>". This worked well before but not any
> more. After I added validate="require" it worked again. Is this a bug?
>
>
>
> Below is the error:
>
>
>
>
>
> java.lang.NoSuchMethodError
>
>
org.apache.tapestry5.services.ComponentDefaultProvider.defaultValidatorBindi
>
ng(Ljava/lang/String;Lorg/apache/tapestry5/ComponentResources;)Lorg/apache/t
> apestry5/Binding;
>
> Stack trace
>
> *
>
org.apache.tapestry5.upload.components.Upload.defaultValidate(Upload.java:97
> )
>
> *
>
org.apache.tapestry5.upload.components.Upload.containingPageDidLoad(Upload.j
> ava)
>
> *
>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl$4.run(Compo
> nentPageElementImpl.java:96)
>
> *
>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(Comp
> onentPageElementImpl.java:920)
>
> *
>
org.apache.tapestry5.internal.structure.ComponentPageElementImpl.containingP
> ageDidLoad(ComponentPageElementImpl.java:774)
>
> *
> org.apache.tapestry5.internal.structure.PageImpl.loaded(PageImpl.java:143)
>
> *
>
org.apache.tapestry5.internal.services.PageLoaderProcessor.loadPage(PageLoad
> erProcessor.java:405)
>
> *
>
org.apache.tapestry5.internal.services.PageLoaderImpl.loadPage(PageLoaderImp
> l.java:59)
>
> *
>
org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.
> java:210)
>
> *
>
org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.ja
> va:99)
>
> *
>
org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageC
> acheImpl.java:51)
>
> *
>
org.apache.tapestry5.internal.services.ComponentSourceImpl.getPage(Component
> SourceImpl.java:79)
>
> *
>
com.qintelligentsia.hpc.pages.Participants._$read_inject_page_editUB(Partici
> pants.java)
>
> *
>
com.qintelligentsia.hpc.pages.Participants.onActionFromEdit(Participants.jav
> a:172)
>
>
>
>
>
>
>
>
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] upload component validate issue

2008-11-05 Thread Howard Lewis Ship
Make sure you have refreshed from Maven, *all* the Tapestry JARs.
Looks like you are using the latest tapestry-upload.jar with a
slightly out-of-date tapestry-core.jar.  You're seeing changes I made
yesterday.

On Wed, Nov 5, 2008 at 4:42 PM, Henry Chen <[EMAIL PROTECTED]> wrote:
> I found my code was broken today where I have " t:id="logofile" value="logofile"/>". This worked well before but not any
> more. After I added validate="require" it worked again. Is this a bug?
>
>
>
> Below is the error:
>
>
>
>
>
> java.lang.NoSuchMethodError
>
> org.apache.tapestry5.services.ComponentDefaultProvider.defaultValidatorBindi
> ng(Ljava/lang/String;Lorg/apache/tapestry5/ComponentResources;)Lorg/apache/t
> apestry5/Binding;
>
> Stack trace
>
> *
> org.apache.tapestry5.upload.components.Upload.defaultValidate(Upload.java:97
> )
>
> *
> org.apache.tapestry5.upload.components.Upload.containingPageDidLoad(Upload.j
> ava)
>
> *
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl$4.run(Compo
> nentPageElementImpl.java:96)
>
> *
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.invoke(Comp
> onentPageElementImpl.java:920)
>
> *
> org.apache.tapestry5.internal.structure.ComponentPageElementImpl.containingP
> ageDidLoad(ComponentPageElementImpl.java:774)
>
> *
> org.apache.tapestry5.internal.structure.PageImpl.loaded(PageImpl.java:143)
>
> *
> org.apache.tapestry5.internal.services.PageLoaderProcessor.loadPage(PageLoad
> erProcessor.java:405)
>
> *
> org.apache.tapestry5.internal.services.PageLoaderImpl.loadPage(PageLoaderImp
> l.java:59)
>
> *
> org.apache.tapestry5.internal.services.PagePoolCache.checkout(PagePoolCache.
> java:210)
>
> *
> org.apache.tapestry5.internal.services.PagePoolImpl.checkout(PagePoolImpl.ja
> va:99)
>
> *
> org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(RequestPageC
> acheImpl.java:51)
>
> *
> org.apache.tapestry5.internal.services.ComponentSourceImpl.getPage(Component
> SourceImpl.java:79)
>
> *
> com.qintelligentsia.hpc.pages.Participants._$read_inject_page_editUB(Partici
> pants.java)
>
> *
> com.qintelligentsia.hpc.pages.Participants.onActionFromEdit(Participants.jav
> a:172)
>
>
>
>
>
>
>
>
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Upload component?

2007-04-08 Thread Bill Holloway

Yep, quite cool.  Here's a "style" component:

public class Style
{

@Parameter (required = true)
private Asset _stylesheet;

void beginRender (MarkupWriter writer)
{
Document doc = writer.getDocument();
Element head = doc.find("html/head");
head.element("link", "rel", "stylesheet", "type", "text/css",
"href", _stylesheet.toClientURL());
}
}

On 4/6/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> PS: And may I also say that the new DOM based markup writer is
> very cool.  I was struggling for a while how to add an enctype
> attribute to the enclosing form without needing to patch the core
> code (my head was still stuck in t4 mode).  Then the penny dropped
> & I realised I could just follow the parent elements up & add the
> attribute from within the upload component. Nifty!!

Wow ... I hadn't even thought about that approach. I was going to
replicate the T4 approach, but now I'm not so sure.


>
> > -Original Message-----
> > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 6 April 2007 4:55 AM
> > To: Tapestry users
> > Subject: Re: T5 Upload component?
> >
> > I'll take a peek when I get a chance.
> >
> > My intention is for there to be a small tapestry-upload
> > project for the Upload component. The (majority of)
> > applications that don't use upload will not be burdened with
> > the many extra dependencies Upload will bring.
> >
> > On 4/4/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:
> > > FYI - I just submitted an implementation of a file upload
> > component to
> > > JIRA.
> > > It can be downloaded from
> > > https://issues.apache.org/jira/browse/TAPESTRY-1354
> > >
> > > You'll have to build it yourself, but it should "just work" using
> > > maven.
> > >
> > > If anyone tries it out, please let me know if you have any
> > problems or
> > > other feedback.
> > >
> > > regards,
> > > Ben
> > >
> > >
> > > > -Original Message-
> > > > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, 16 March 2007 12:09 PM
> > > > To: Tapestry users
> > > > Subject: Re: T5 Upload component?
> > > >
> > > > There's a pipeline of RequestFilters associated with the
> > > > RequestHandler service.
> > > >
> > > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > > Sorry, i forgot to wrote that the forms blows because it
> > > > doesn't get the
> > > > > parameter values, because it's not prepared to recieve a
> > > > multipart request.
> > > > > To "prepare" the multipar request so it seems like a
> > > > regular one, in tap4
> > > > > has MultipartDecoderFilter. I just want to know what is the
> > > > best way to
> > > > > reproduce this behaviour in tap5.
> > > > >
> > > > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I have a problem building the upload component.
> > > > > > Form doesn't have support for setting the enctype, so i
> > > > have to pass
> > > > > > enctype='multipart/form-data' as an informal parameter.
> > > > > > Then the forms just blows up whenever i submit it.
> > > > > > In Tap4, there was a filter that creates a fake request
> > > > with the values.
> > > > > > How should I implement this logic in tap5 ?
> > > > > >
> > > > > >
> > > > > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > I'm going to need it soon as well, but haven't looked
> > > > into it at all. Go
> > > > > > > for
> > > > > > > it!
> > > > > > >
> > > > > > >
> > > > > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Does anyone implemented this Upload component ?
> > > > > > > > I need it, so if nobody has gone there yet, i'll give
> > > > it a try.
> > > > > >

Re: T5 Upload component?

2007-04-06 Thread Howard Lewis Ship

PS: And may I also say that the new DOM based markup writer is
very cool.  I was struggling for a while how to add an enctype
attribute to the enclosing form without needing to patch the core
code (my head was still stuck in t4 mode).  Then the penny dropped
& I realised I could just follow the parent elements up & add the
attribute from within the upload component. Nifty!!


Wow ... I hadn't even thought about that approach. I was going to
replicate the T4 approach, but now I'm not so sure.




> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Friday, 6 April 2007 4:55 AM
> To: Tapestry users
> Subject: Re: T5 Upload component?
>
> I'll take a peek when I get a chance.
>
> My intention is for there to be a small tapestry-upload
> project for the Upload component. The (majority of)
> applications that don't use upload will not be burdened with
> the many extra dependencies Upload will bring.
>
> On 4/4/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:
> > FYI - I just submitted an implementation of a file upload
> component to
> > JIRA.
> > It can be downloaded from
> > https://issues.apache.org/jira/browse/TAPESTRY-1354
> >
> > You'll have to build it yourself, but it should "just work" using
> > maven.
> >
> > If anyone tries it out, please let me know if you have any
> problems or
> > other feedback.
> >
> > regards,
> > Ben
> >
> >
> > > -Original Message-
> > > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, 16 March 2007 12:09 PM
> > > To: Tapestry users
> > > Subject: Re: T5 Upload component?
> > >
> > > There's a pipeline of RequestFilters associated with the
> > > RequestHandler service.
> > >
> > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > Sorry, i forgot to wrote that the forms blows because it
> > > doesn't get the
> > > > parameter values, because it's not prepared to recieve a
> > > multipart request.
> > > > To "prepare" the multipar request so it seems like a
> > > regular one, in tap4
> > > > has MultipartDecoderFilter. I just want to know what is the
> > > best way to
> > > > reproduce this behaviour in tap5.
> > > >
> > > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I have a problem building the upload component.
> > > > > Form doesn't have support for setting the enctype, so i
> > > have to pass
> > > > > enctype='multipart/form-data' as an informal parameter.
> > > > > Then the forms just blows up whenever i submit it.
> > > > > In Tap4, there was a filter that creates a fake request
> > > with the values.
> > > > > How should I implement this logic in tap5 ?
> > > > >
> > > > >
> > > > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I'm going to need it soon as well, but haven't looked
> > > into it at all. Go
> > > > > > for
> > > > > > it!
> > > > > >
> > > > > >
> > > > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Does anyone implemented this Upload component ?
> > > > > > > I need it, so if nobody has gone there yet, i'll give
> > > it a try.
> > > > > > >
> > > > > > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Yep, not yet implemented.
> > > > > > > >
> > > > > > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > > > > > > I can't see any upload component here
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > http://tapestry.apache.org/tapestry5/tapestry-core/component-p
> > > arameters.html
> > > > > > > > > so i guess that means it's still not implemented.
> > > > > > > > >
> > > > > > > > > Peter Beshai wrote:
> > > > > > > > > > How do we use input type="file" in T5? Is thi

RE: T5 Upload component?

2007-04-06 Thread Ben Sommerville
It will be there waiting, no urgency :)

My email was more for any other T5 users who have an urgent need
(and a willingess to trial new code).  There seemed to be at least
a couple of people expressing interest previously.

BTW - the component is implemented as a separate library/project.

cheers
Ben

PS: And may I also say that the new DOM based markup writer is
very cool.  I was struggling for a while how to add an enctype 
attribute to the enclosing form without needing to patch the core
code (my head was still stuck in t4 mode).  Then the penny dropped
& I realised I could just follow the parent elements up & add the
attribute from within the upload component. Nifty!!

> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 6 April 2007 4:55 AM
> To: Tapestry users
> Subject: Re: T5 Upload component?
> 
> I'll take a peek when I get a chance.
> 
> My intention is for there to be a small tapestry-upload 
> project for the Upload component. The (majority of) 
> applications that don't use upload will not be burdened with 
> the many extra dependencies Upload will bring.
> 
> On 4/4/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:
> > FYI - I just submitted an implementation of a file upload 
> component to 
> > JIRA.
> > It can be downloaded from
> > https://issues.apache.org/jira/browse/TAPESTRY-1354
> >
> > You'll have to build it yourself, but it should "just work" using 
> > maven.
> >
> > If anyone tries it out, please let me know if you have any 
> problems or 
> > other feedback.
> >
> > regards,
> > Ben
> >
> >
> > > -----Original Message-
> > > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, 16 March 2007 12:09 PM
> > > To: Tapestry users
> > > Subject: Re: T5 Upload component?
> > >
> > > There's a pipeline of RequestFilters associated with the 
> > > RequestHandler service.
> > >
> > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > Sorry, i forgot to wrote that the forms blows because it
> > > doesn't get the
> > > > parameter values, because it's not prepared to recieve a
> > > multipart request.
> > > > To "prepare" the multipar request so it seems like a
> > > regular one, in tap4
> > > > has MultipartDecoderFilter. I just want to know what is the
> > > best way to
> > > > reproduce this behaviour in tap5.
> > > >
> > > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I have a problem building the upload component.
> > > > > Form doesn't have support for setting the enctype, so i
> > > have to pass
> > > > > enctype='multipart/form-data' as an informal parameter.
> > > > > Then the forms just blows up whenever i submit it.
> > > > > In Tap4, there was a filter that creates a fake request
> > > with the values.
> > > > > How should I implement this logic in tap5 ?
> > > > >
> > > > >
> > > > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I'm going to need it soon as well, but haven't looked
> > > into it at all. Go
> > > > > > for
> > > > > > it!
> > > > > >
> > > > > >
> > > > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Does anyone implemented this Upload component ?
> > > > > > > I need it, so if nobody has gone there yet, i'll give
> > > it a try.
> > > > > > >
> > > > > > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Yep, not yet implemented.
> > > > > > > >
> > > > > > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > > > > > > I can't see any upload component here
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > http://tapestry.apache.org/tapestry5/tapestry-core/component-p
> > > arameters.html
> > > > > > > > > so i guess that means it's still not implemented.
> > > > > > > > >
> > > > > > > > > Peter Beshai wrote:
> > > > > > > > > > How do we use input type="file" in T5? Is this
> > > functionality
> > > > > > > > implemented
> > > > > > > > > > yet?
> > > > > > > > > >
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant Creator and 
> PMC Chair, Apache Tapestry Creator, Apache HiveMind
> 
> Professional Tapestry training, mentoring, support and 
> project work.  http://howardlewisship.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Upload component?

2007-04-05 Thread Howard Lewis Ship

Haven't had a chance; I'm working full time and I am having a bad
allergy problem, so I haven't had the energy to work through the
patches. Probably be this weekend.

On 4/5/07, Robert Zeigler <[EMAIL PROTECTED]> wrote:

Maybe I deal with a different class of webapps than you. :) The
majority of webapps that I've written have required an upload
component.  That said, I think putting it in a separate project with
it's own dependencies is a great idea.

Robert

PS Have you had a chance to look at the newest patch I submitted for
TAPESTRY-1264?  I wasn't sure if you wanted the complete patch with
new files, or just a patch for new files, but I attached the former.


On Apr 5, 2007, at 4/51:54 PM , Howard Lewis Ship wrote:

> I'll take a peek when I get a chance.
>
> My intention is for there to be a small tapestry-upload project for
> the Upload component. The (majority of) applications that don't use
> upload will not be burdened with the many extra dependencies Upload
> will bring.
>
> On 4/4/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:
>> FYI - I just submitted an implementation of a file upload component
>> to JIRA.
>> It can be downloaded from
>> https://issues.apache.org/jira/browse/TAPESTRY-1354
>>
>> You'll have to build it yourself, but it should "just work" using
>> maven.
>>
>> If anyone tries it out, please let me know if you have any problems
>> or other feedback.
>>
>> regards,
>> Ben
>>
>>
>> > -Original Message-
>> > From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
>> > Sent: Friday, 16 March 2007 12:09 PM
>> > To: Tapestry users
>> > Subject: Re: T5 Upload component?
>> >
>> > There's a pipeline of RequestFilters associated with the
>> > RequestHandler service.
>> >
>> > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>> > > Sorry, i forgot to wrote that the forms blows because it
>> > doesn't get the
>> > > parameter values, because it's not prepared to recieve a
>> > multipart request.
>> > > To "prepare" the multipar request so it seems like a
>> > regular one, in tap4
>> > > has MultipartDecoderFilter. I just want to know what is the
>> > best way to
>> > > reproduce this behaviour in tap5.
>> > >
>> > > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>> > > >
>> > > > I have a problem building the upload component.
>> > > > Form doesn't have support for setting the enctype, so i
>> > have to pass
>> > > > enctype='multipart/form-data' as an informal parameter.
>> > > > Then the forms just blows up whenever i submit it.
>> > > > In Tap4, there was a filter that creates a fake request
>> > with the values.
>> > > > How should I implement this logic in tap5 ?
>> > > >
>> > > >
>> > > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
>> > > > >
>> > > > > I'm going to need it soon as well, but haven't looked
>> > into it at all. Go
>> > > > > for
>> > > > > it!
>> > > > >
>> > > > >
>> > > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>> > > > > >
>> > > > > > Does anyone implemented this Upload component ?
>> > > > > > I need it, so if nobody has gone there yet, i'll give
>> > it a try.
>> > > > > >
>> > > > > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>> > > > > > >
>> > > > > > > Yep, not yet implemented.
>> > > > > > >
>> > > > > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
>> > > > > > > > I can't see any upload component here
>> > > > > > > >
>> > > > > > >
>> > > > > >
>> > > > >
>> > http://tapestry.apache.org/tapestry5/tapestry-core/component-p
>> > arameters.html
>> > > > > > > > so i guess that means it's still not implemented.
>> > > > > > > >
>> > > > > > > > Peter Beshai wrote:
>> > > > > > > > > How do we use input type="file" in T5? Is this
>> > functionality
&g

Re: T5 Upload component?

2007-04-05 Thread Robert Zeigler
Maybe I deal with a different class of webapps than you. :) The  
majority of webapps that I've written have required an upload  
component.  That said, I think putting it in a separate project with  
it's own dependencies is a great idea.


Robert

PS Have you had a chance to look at the newest patch I submitted for  
TAPESTRY-1264?  I wasn't sure if you wanted the complete patch with  
new files, or just a patch for new files, but I attached the former.



On Apr 5, 2007, at 4/51:54 PM , Howard Lewis Ship wrote:


I'll take a peek when I get a chance.

My intention is for there to be a small tapestry-upload project for
the Upload component. The (majority of) applications that don't use
upload will not be burdened with the many extra dependencies Upload
will bring.

On 4/4/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:

FYI - I just submitted an implementation of a file upload component
to JIRA.
It can be downloaded from
https://issues.apache.org/jira/browse/TAPESTRY-1354

You'll have to build it yourself, but it should "just work" using
maven.

If anyone tries it out, please let me know if you have any problems
or other feedback.

regards,
Ben


> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Friday, 16 March 2007 12:09 PM
> To: Tapestry users
> Subject: Re: T5 Upload component?
>
> There's a pipeline of RequestFilters associated with the
> RequestHandler service.
>
> On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > Sorry, i forgot to wrote that the forms blows because it
> doesn't get the
> > parameter values, because it's not prepared to recieve a
> multipart request.
> > To "prepare" the multipar request so it seems like a
> regular one, in tap4
> > has MultipartDecoderFilter. I just want to know what is the
> best way to
> > reproduce this behaviour in tap5.
> >
> > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > >
> > > I have a problem building the upload component.
> > > Form doesn't have support for setting the enctype, so i
> have to pass
> > > enctype='multipart/form-data' as an informal parameter.
> > > Then the forms just blows up whenever i submit it.
> > > In Tap4, there was a filter that creates a fake request
> with the values.
> > > How should I implement this logic in tap5 ?
> > >
> > >
> > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> > > >
> > > > I'm going to need it soon as well, but haven't looked
> into it at all. Go
> > > > for
> > > > it!
> > > >
> > > >
> > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Does anyone implemented this Upload component ?
> > > > > I need it, so if nobody has gone there yet, i'll give
> it a try.
> > > > >
> > > > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Yep, not yet implemented.
> > > > > >
> > > > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > > > > I can't see any upload component here
> > > > > > >
> > > > > >
> > > > >
> > > >
> http://tapestry.apache.org/tapestry5/tapestry-core/component-p
> arameters.html
> > > > > > > so i guess that means it's still not implemented.
> > > > > > >
> > > > > > > Peter Beshai wrote:
> > > > > > > > How do we use input type="file" in T5? Is this
> functionality
> > > > > > implemented
> > > > > > > > yet?
> > > > > > > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Upload component?

2007-04-05 Thread Howard Lewis Ship

I'll take a peek when I get a chance.

My intention is for there to be a small tapestry-upload project for
the Upload component. The (majority of) applications that don't use
upload will not be burdened with the many extra dependencies Upload
will bring.

On 4/4/07, Ben Sommerville <[EMAIL PROTECTED]> wrote:

FYI - I just submitted an implementation of a file upload component
to JIRA.
It can be downloaded from
https://issues.apache.org/jira/browse/TAPESTRY-1354

You'll have to build it yourself, but it should "just work" using
maven.

If anyone tries it out, please let me know if you have any problems
or other feedback.

regards,
Ben


> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Friday, 16 March 2007 12:09 PM
> To: Tapestry users
> Subject: Re: T5 Upload component?
>
> There's a pipeline of RequestFilters associated with the
> RequestHandler service.
>
> On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > Sorry, i forgot to wrote that the forms blows because it
> doesn't get the
> > parameter values, because it's not prepared to recieve a
> multipart request.
> > To "prepare" the multipar request so it seems like a
> regular one, in tap4
> > has MultipartDecoderFilter. I just want to know what is the
> best way to
> > reproduce this behaviour in tap5.
> >
> > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > >
> > > I have a problem building the upload component.
> > > Form doesn't have support for setting the enctype, so i
> have to pass
> > > enctype='multipart/form-data' as an informal parameter.
> > > Then the forms just blows up whenever i submit it.
> > > In Tap4, there was a filter that creates a fake request
> with the values.
> > > How should I implement this logic in tap5 ?
> > >
> > >
> > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> > > >
> > > > I'm going to need it soon as well, but haven't looked
> into it at all. Go
> > > > for
> > > > it!
> > > >
> > > >
> > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Does anyone implemented this Upload component ?
> > > > > I need it, so if nobody has gone there yet, i'll give
> it a try.
> > > > >
> > > > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Yep, not yet implemented.
> > > > > >
> > > > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > > > > I can't see any upload component here
> > > > > > >
> > > > > >
> > > > >
> > > >
> http://tapestry.apache.org/tapestry5/tapestry-core/component-p
> arameters.html
> > > > > > > so i guess that means it's still not implemented.
> > > > > > >
> > > > > > > Peter Beshai wrote:
> > > > > > > > How do we use input type="file" in T5? Is this
> functionality
> > > > > > implemented
> > > > > > > > yet?
> > > > > > > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: T5 Upload component?

2007-04-04 Thread Ben Sommerville
FYI - I just submitted an implementation of a file upload component
to JIRA.
It can be downloaded from
https://issues.apache.org/jira/browse/TAPESTRY-1354

You'll have to build it yourself, but it should "just work" using
maven.

If anyone tries it out, please let me know if you have any problems
or other feedback.

regards,
Ben


> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
> Sent: Friday, 16 March 2007 12:09 PM
> To: Tapestry users
> Subject: Re: T5 Upload component?
> 
> There's a pipeline of RequestFilters associated with the 
> RequestHandler service.
> 
> On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > Sorry, i forgot to wrote that the forms blows because it 
> doesn't get the
> > parameter values, because it's not prepared to recieve a 
> multipart request.
> > To "prepare" the multipar request so it seems like a 
> regular one, in tap4
> > has MultipartDecoderFilter. I just want to know what is the 
> best way to
> > reproduce this behaviour in tap5.
> >
> > On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > >
> > > I have a problem building the upload component.
> > > Form doesn't have support for setting the enctype, so i 
> have to pass
> > > enctype='multipart/form-data' as an informal parameter.
> > > Then the forms just blows up whenever i submit it.
> > > In Tap4, there was a filter that creates a fake request 
> with the values.
> > > How should I implement this logic in tap5 ?
> > >
> > >
> > > On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> > > >
> > > > I'm going to need it soon as well, but haven't looked 
> into it at all. Go
> > > > for
> > > > it!
> > > >
> > > >
> > > > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Does anyone implemented this Upload component ?
> > > > > I need it, so if nobody has gone there yet, i'll give 
> it a try.
> > > > >
> > > > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Yep, not yet implemented.
> > > > > >
> > > > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > > > > I can't see any upload component here
> > > > > > >
> > > > > >
> > > > >
> > > > 
> http://tapestry.apache.org/tapestry5/tapestry-core/component-p
> arameters.html
> > > > > > > so i guess that means it's still not implemented.
> > > > > > >
> > > > > > > Peter Beshai wrote:
> > > > > > > > How do we use input type="file" in T5? Is this 
> functionality
> > > > > > implemented
> > > > > > > > yet?
> > > > > > > >


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Upload component?

2007-03-15 Thread Howard Lewis Ship

There's a pipeline of RequestFilters associated with the RequestHandler service.

On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:

Sorry, i forgot to wrote that the forms blows because it doesn't get the
parameter values, because it's not prepared to recieve a multipart request.
To "prepare" the multipar request so it seems like a regular one, in tap4
has MultipartDecoderFilter. I just want to know what is the best way to
reproduce this behaviour in tap5.

On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>
> I have a problem building the upload component.
> Form doesn't have support for setting the enctype, so i have to pass
> enctype='multipart/form-data' as an informal parameter.
> Then the forms just blows up whenever i submit it.
> In Tap4, there was a filter that creates a fake request with the values.
> How should I implement this logic in tap5 ?
>
>
> On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
> >
> > I'm going to need it soon as well, but haven't looked into it at all. Go
> > for
> > it!
> >
> >
> > On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> > >
> > > Does anyone implemented this Upload component ?
> > > I need it, so if nobody has gone there yet, i'll give it a try.
> > >
> > > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Yep, not yet implemented.
> > > >
> > > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > > I can't see any upload component here
> > > > >
> > > >
> > >
> > http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
> > > > > so i guess that means it's still not implemented.
> > > > >
> > > > > Peter Beshai wrote:
> > > > > > How do we use input type="file" in T5? Is this functionality
> > > > implemented
> > > > > > yet?
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Howard M. Lewis Ship
> > > > TWD Consulting, Inc.
> > > > Independent J2EE / Open-Source Java Consultant
> > > > Creator and PMC Chair, Apache Tapestry
> > > > Creator, Apache HiveMind
> > > >
> > > > Professional Tapestry training, mentoring, support
> > > > and project work.   http://howardlewisship.com
> > > >
> > > >
> > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
>
>




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Upload component?

2007-03-14 Thread Pablo Ruggia

Sorry, i forgot to wrote that the forms blows because it doesn't get the
parameter values, because it's not prepared to recieve a multipart request.
To "prepare" the multipar request so it seems like a regular one, in tap4
has MultipartDecoderFilter. I just want to know what is the best way to
reproduce this behaviour in tap5.

On 3/14/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:


I have a problem building the upload component.
Form doesn't have support for setting the enctype, so i have to pass
enctype='multipart/form-data' as an informal parameter.
Then the forms just blows up whenever i submit it.
In Tap4, there was a filter that creates a fake request with the values.
How should I implement this logic in tap5 ?


On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:
>
> I'm going to need it soon as well, but haven't looked into it at all. Go
> for
> it!
>
>
> On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
> >
> > Does anyone implemented this Upload component ?
> > I need it, so if nobody has gone there yet, i'll give it a try.
> >
> > On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > >
> > > Yep, not yet implemented.
> > >
> > > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > > I can't see any upload component here
> > > >
> > >
> >
> http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
> > > > so i guess that means it's still not implemented.
> > > >
> > > > Peter Beshai wrote:
> > > > > How do we use input type="file" in T5? Is this functionality
> > > implemented
> > > > > yet?
> > > > >
> > > >
> > >
> > >
> > > --
> > > Howard M. Lewis Ship
> > > TWD Consulting, Inc.
> > > Independent J2EE / Open-Source Java Consultant
> > > Creator and PMC Chair, Apache Tapestry
> > > Creator, Apache HiveMind
> > >
> > > Professional Tapestry training, mentoring, support
> > > and project work.   http://howardlewisship.com
> > >
> > >
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>




Re: T5 Upload component?

2007-03-14 Thread Pablo Ruggia

I have a problem building the upload component.
Form doesn't have support for setting the enctype, so i have to pass
enctype='multipart/form-data' as an informal parameter.
Then the forms just blows up whenever i submit it.
In Tap4, there was a filter that creates a fake request with the values. How
should I implement this logic in tap5 ?


On 3/12/07, D&J Gredler < [EMAIL PROTECTED]> wrote:


I'm going to need it soon as well, but haven't looked into it at all. Go
for
it!


On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:
>
> Does anyone implemented this Upload component ?
> I need it, so if nobody has gone there yet, i'll give it a try.
>
> On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> >
> > Yep, not yet implemented.
> >
> > On 3/9/07, Hugo Palma < [EMAIL PROTECTED]> wrote:
> > > I can't see any upload component here
> > >
> >
>
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
> > > so i guess that means it's still not implemented.
> > >
> > > Peter Beshai wrote:
> > > > How do we use input type="file" in T5? Is this functionality
> > implemented
> > > > yet?
> > > >
> > >
> >
> >
> > --
> > Howard M. Lewis Ship
> > TWD Consulting, Inc.
> > Independent J2EE / Open-Source Java Consultant
> > Creator and PMC Chair, Apache Tapestry
> > Creator, Apache HiveMind
> >
> > Professional Tapestry training, mentoring, support
> > and project work.   http://howardlewisship.com
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



Re: T5 Upload component?

2007-03-12 Thread D&J Gredler

I'm going to need it soon as well, but haven't looked into it at all. Go for
it!


On 3/12/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote:


Does anyone implemented this Upload component ?
I need it, so if nobody has gone there yet, i'll give it a try.

On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> Yep, not yet implemented.
>
> On 3/9/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
> > I can't see any upload component here
> >
>
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
> > so i guess that means it's still not implemented.
> >
> > Peter Beshai wrote:
> > > How do we use input type="file" in T5? Is this functionality
> implemented
> > > yet?
> > >
> >
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



Re: T5 Upload component?

2007-03-12 Thread Pablo Ruggia

Does anyone implemented this Upload component ?
I need it, so if nobody has gone there yet, i'll give it a try.

On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:


Yep, not yet implemented.

On 3/9/07, Hugo Palma <[EMAIL PROTECTED]> wrote:
> I can't see any upload component here
>
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
> so i guess that means it's still not implemented.
>
> Peter Beshai wrote:
> > How do we use input type="file" in T5? Is this functionality
implemented
> > yet?
> >
>


--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: T5 Upload component?

2007-03-09 Thread Howard Lewis Ship

Yep, not yet implemented.

On 3/9/07, Hugo Palma <[EMAIL PROTECTED]> wrote:

I can't see any upload component here
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html
so i guess that means it's still not implemented.

Peter Beshai wrote:
> How do we use input type="file" in T5? Is this functionality implemented
> yet?
>




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Upload component?

2007-03-09 Thread Hugo Palma
I can't see any upload component here 
http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html 
so i guess that means it's still not implemented.


Peter Beshai wrote:

How do we use input type="file" in T5? Is this functionality implemented
yet?