Re: [ANN] AjaxUpload : An ajax based upload component
here is a simple form, why the sizelimit and uploadText are not being used? < t:form t:id="form" > < input t:type="tawus/ajaxupload" t:id="uploads" t:maxFiles="1" sizeLimit="1000" t:uploadtext="here, please"/> < input t:type="submit" name="next" value="Save my photos"/> < /t:form> -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5437409.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Sorry, did not try. this is exactly what i need, thanks. is there a way to have some fields for every file uploaded (say a description, a checkbox,etc)? Taha Hafeez wrote > > Did you try maxFiles parameter of AjaxUpload ? > > > -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5064535.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Did you try maxFiles parameter of AjaxUpload ? On Dec 10, 2011, at 12:21 PM, angelochen wrote: > how to allow multiple file uploads? > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5063748.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
how to allow multiple file uploads? -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5063748.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
right, submit works, thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5062123.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
ohh.. i think you may be need to add Submit button? On Fri, Dec 9, 2011 at 4:14 PM, angelochen wrote: > onvalidate and onSuccess was never called. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061699.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
and what is the question with your code? On Fri, Dec 9, 2011 at 3:19 PM, angelochen wrote: > here is my code/tml: > > < t:form t:id="myForm" > > > < input t:type="tawus/ajaxupload" > t:id="uploads" type="file" / > >< /t:form > > > > > @Persist >@Property >private List uploads; > > > @OnEvent (value = EventConstants.VALIDATE, component = "myForm") >void validateUpload() { >System.out.println("validating..."); > } > >void onSuccess(){ >//Use uploads > >if (uploads.size() >0) { >System.out.println(uploads.get(0).getFileName()); > } >uploads.clear(); >} > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061557.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
here is my code/tml: < t:form t:id="myForm" > < input t:type="tawus/ajaxupload" t:id="uploads" type="file" / > < /t:form > @Persist @Property private List uploads; @OnEvent (value = EventConstants.VALIDATE, component = "myForm") void validateUpload() { System.out.println("validating..."); } void onSuccess(){ //Use uploads if (uploads.size() >0) { System.out.println(uploads.get(0).getFileName()); } uploads.clear(); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061557.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Regarding where file is store: public void onSuccess() { UploadedFile uploadedFile = uploaded.get(0); File file = new File("/where/i-want/file-to-save"); uploadedFile.write(file); } On Fri, Dec 9, 2011 at 3:11 PM, Dmitriy Vsekhvalnov wrote: > did you wrap to ? > > > > > > There is maxFiles parameter which you can specify for AjaxUpload. > Default is 1 :) > > > On Fri, Dec 9, 2011 at 2:58 PM, angelochen wrote: > >> Hi Dmitriy, >> >> you just turned a maven user into gradle today:) ok, it works. now, >> after click 'upload', where is the file uploaded? second, why only one >> file? >> and this seems not got called: >> >> @Persist >>@Property >>private List uploads; >>void onSuccess(){ >>//Use uploads >> >>if (uploads.size() >0) { >>System.out.println(uploads.get(0).getFileName()); >>} >>uploads.clear(); >>} >> >> thanks, >> >> >> Dmitriy Vsekhvalnov wrote >> > >> > this means, you didn't install ajaxupload to your local maven repo. >> > >> > Please do: gradle install. >> > >> > On Fri, Dec 9, 2011 at 2:01 PM, angelochen >> > wrote: >> > >> >> i added that to pom.xml but get this: >> >> >> >> Downloading: >> >> >> >> >> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/maven-metadata.xml >> >> Downloading: >> >> >> >> >> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.pom >> >> [WARNING] The POM for >> >> com.googlecode.tawus:tawus-ajaxupload:jar:0.1-SNAPSHOT >> >> is missing, no dependency information available >> >> Downloading: >> >> >> >> >> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.jar >> >> >> >> -- >> >> View this message in context: >> >> >> http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061396.html >> >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscribe@.apache >> >> For additional commands, e-mail: users-help@.apache >> >> >> >> >> > >> >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061512.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >
Re: [ANN] AjaxUpload : An ajax based upload component
did you wrap to ? There is maxFiles parameter which you can specify for AjaxUpload. Default is 1 :) On Fri, Dec 9, 2011 at 2:58 PM, angelochen wrote: > Hi Dmitriy, > > you just turned a maven user into gradle today:) ok, it works. now, > after click 'upload', where is the file uploaded? second, why only one > file? > and this seems not got called: > > @Persist >@Property >private List uploads; >void onSuccess(){ >//Use uploads > >if (uploads.size() >0) { >System.out.println(uploads.get(0).getFileName()); >} >uploads.clear(); >} > > thanks, > > > Dmitriy Vsekhvalnov wrote > > > > this means, you didn't install ajaxupload to your local maven repo. > > > > Please do: gradle install. > > > > On Fri, Dec 9, 2011 at 2:01 PM, angelochen > > wrote: > > > >> i added that to pom.xml but get this: > >> > >> Downloading: > >> > >> > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/maven-metadata.xml > >> Downloading: > >> > >> > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.pom > >> [WARNING] The POM for > >> com.googlecode.tawus:tawus-ajaxupload:jar:0.1-SNAPSHOT > >> is missing, no dependency information available > >> Downloading: > >> > >> > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.jar > >> > >> -- > >> View this message in context: > >> > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061396.html > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> - > >> To unsubscribe, e-mail: users-unsubscribe@.apache > >> For additional commands, e-mail: users-help@.apache > >> > >> > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061512.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
Hi Dmitriy, you just turned a maven user into gradle today:) ok, it works. now, after click 'upload', where is the file uploaded? second, why only one file? and this seems not got called: @Persist @Property private List uploads; void onSuccess(){ //Use uploads if (uploads.size() >0) { System.out.println(uploads.get(0).getFileName()); } uploads.clear(); } thanks, Dmitriy Vsekhvalnov wrote > > this means, you didn't install ajaxupload to your local maven repo. > > Please do: gradle install. > > On Fri, Dec 9, 2011 at 2:01 PM, angelochen > <angelochen960@.com>wrote: > >> i added that to pom.xml but get this: >> >> Downloading: >> >> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/maven-metadata.xml >> Downloading: >> >> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.pom >> [WARNING] The POM for >> com.googlecode.tawus:tawus-ajaxupload:jar:0.1-SNAPSHOT >> is missing, no dependency information available >> Downloading: >> >> https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.jar >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061396.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> - >> To unsubscribe, e-mail: users-unsubscribe@.apache >> For additional commands, e-mail: users-help@.apache >> >> > -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061512.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
this means, you didn't install ajaxupload to your local maven repo. Please do: gradle install. On Fri, Dec 9, 2011 at 2:01 PM, angelochen wrote: > i added that to pom.xml but get this: > > Downloading: > > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/maven-metadata.xml > Downloading: > > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.pom > [WARNING] The POM for > com.googlecode.tawus:tawus-ajaxupload:jar:0.1-SNAPSHOT > is missing, no dependency information available > Downloading: > > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.jar > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061396.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
i added that to pom.xml but get this: Downloading: https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/maven-metadata.xml Downloading: https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.pom [WARNING] The POM for com.googlecode.tawus:tawus-ajaxupload:jar:0.1-SNAPSHOT is missing, no dependency information available Downloading: https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload/0.1-SNAPSHOT/tawus-ajaxupload-0.1-SNAPSHOT.jar -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061396.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
if you did: gradle install successfully, you can include it to your maven project: com.googlecode.tawus tawus-ajaxupload 0.1-SNAPSHOT then use with .tml: On Fri, Dec 9, 2011 at 12:51 PM, angelochen wrote: > I know this is not tapestry5 related, i just want to try out that > ajaxupload, > i already did a gradile build, believe its fully compiled, now what's next? > > wish it's maven based. > > > Dragan Sahpaski wrote > > > > Just install gradle and do gradle install. This will install the ajax > > upload artifact in your local repo. > > > > Cheers, > > Dragan Sahpaski > > > > > > > > On Fri, Dec 9, 2011 at 9:17 AM, angelochen > > wrote: > > > >> how to use maven to compile this component? for T5.3. thanks. > >> > >> -- > >> View this message in context: > >> > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061023.html > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> - > >> To unsubscribe, e-mail: users-unsubscribe@.apache > >> For additional commands, e-mail: users-help@.apache > >> > >> > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061239.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
I know this is not tapestry5 related, i just want to try out that ajaxupload, i already did a gradile build, believe its fully compiled, now what's next? wish it's maven based. Dragan Sahpaski wrote > > Just install gradle and do gradle install. This will install the ajax > upload artifact in your local repo. > > Cheers, > Dragan Sahpaski > > > > On Fri, Dec 9, 2011 at 9:17 AM, angelochen > <angelochen960@.com>wrote: > >> how to use maven to compile this component? for T5.3. thanks. >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061023.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> - >> To unsubscribe, e-mail: users-unsubscribe@.apache >> For additional commands, e-mail: users-help@.apache >> >> > -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061239.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Hey, i got it working with some tweaks, but still experience some issues: 1. i've set @IncludeStylesheet("ajaxupload.css"), and it is not working. The stylesheet link generated on the page: /myapp/assets/classpath/2dc6971e4afe5b2f/com/googlecode/tawus/ajaxupload/components/ajaxupload.css but RegexAuthorizer blocks this. I don't know why. 2. When clicking 'remove' link, it fails with JS error: Client exception processing response: TypeError: Object # has no method 'call' 3. Does it support disabled attribute? 4. Is it possible to have event on the page when upload complete? I'd like to refresh zone with image immediately and do not wait for the form submission. 5. Is it possible to disable file section (and drag'n'drop) when file limit reached? I don't like js pop-up alerts.
Re: [ANN] AjaxUpload : An ajax based upload component
ok, i did that, it pulls down a lot of things, now stop at: Test method test_if_setup_render_sets_active_to_first_value_if_not_specified(com.googlecode.tawus.addons.components.TabPanelTest) PASSED Test method test_if_setup_render_throws_exception_if_no_tabs_are_specified(com.googlecode.tawus.addons.components.TabPanelTest) PASSED Test method test_setup_render_does_not_set_active_to_first_value_if_specified(com.googlecode.tawus.addons.components.TabPanelTest) PASSED > Building > :tawus-addons:test > 12 tests completed could be better if a pom.xml is provided, that's the way i use with his tapestry-facebook. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061217.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Just install gradle and do gradle install. This will install the ajax upload artifact in your local repo. Cheers, Dragan Sahpaski On Fri, Dec 9, 2011 at 9:17 AM, angelochen wrote: > how to use maven to compile this component? for T5.3. thanks. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061023.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
how to use maven to compile this component? for T5.3. thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061023.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
ok. cool, i got it compiled. let me see whether it's working on 5.1.0.8. On Thu, Dec 8, 2011 at 8:39 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > > On Dec 8, 2011, at 9:46 PM, Dmitriy Vsekhvalnov wrote: > > > yep. Here is quite long stack trace: > > > > > > [ant:javac] > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:23: > > cannot find symbol > > [ant:javac] symbol : class Import > > [ant:javac] location: package org.apache.tapestry5.annotations > > [ant:javac] import org.apache.tapestry5.annotations.Import; > > [ant:javac]^ > > [ant:javac] > > You can use @IncludeJavaScriptLibrary > > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:26: > > cannot find symbol > > [ant:javac] symbol : class RequestParameter > > [ant:javac] location: package org.apache.tapestry5.annotations > > [ant:javac] import org.apache.tapestry5.annotations.RequestParameter; > > [ant:javac]^ > > [ant:javac] > > You can use > > @Inject > private Request request; > > > request.getParameter("..."); > > > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:41: > > package org.apache.tapestry5.services.javascript does not exist > > [ant:javac] import > > org.apache.tapestry5.services.javascript.JavaScriptSupport; > > [ant:javac]^ > > [ant:javac] > > replace by RenderSupport > > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:55: > > cannot find symbol > > [ant:javac] symbol: class Import > > [ant:javac] @Import(library = "ajaxupload.js", stylesheet = > > "ajaxupload.css") > > [ant:javac] ^ > > [ant:javac] > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:64: > > cannot find symbol > > [ant:javac] symbol : class JavaScriptSupport > > [ant:javac] location: class > > com.googlecode.tawus.ajaxupload.components.AjaxUpload > > [ant:javac]private JavaScriptSupport javaScriptSupport; > > [ant:javac]^ > > [ant:javac] > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:135: > > cannot find symbol > > [ant:javac] symbol : class JavaScriptSupport > > [ant:javac] location: class > > com.googlecode.tawus.ajaxupload.components.AjaxUpload > > [ant:javac] FieldValidationSupport fieldValidationSupport, > > JavaScriptSupport javaScriptSupport) > > [ant:javac] ^ > > [ant:javac] > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/services/AjaxUploadModule.java:12: > > cannot find symbol > > [ant:javac] symbol : class Contribute > > [ant:javac] location: package org.apache.tapestry5.ioc.annotations > > [ant:javac] import org.apache.tapestry5.ioc.annotations.Contribute; > > [ant:javac]^ > > [ant:javac] > Use contribute"ServiceName"() instead > > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:382: > > cannot find symbol > > [ant:javac] symbol : class RequestParameter > > [ant:javac] location: class > > com.googlecode.tawus.ajaxupload.components.AjaxUpload > > [ant:javac]void onRemoveUpload(@RequestParameter("serverIndex") int > > serverIndex) > > [ant:javac] ^ > > [ant:javac] > > > > > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/services/AjaxUploadModule.java:36: > > cannot find symbol > > [ant:javac] symbol : class Contribute > > [ant:javac] location: class > > com.googlecode.tawus.ajaxupload.services.AjaxUploadModule > > [ant:javac]@Contribute(ComponentClassResolver.class) > > [ant:javac] ^ > > [ant:javac] 9 errors > > > > FAILURE: Build failed with an exception. > > > > > > > > On Thu, Dec 8, 2011 at 6:59 PM, Taha Hafeez Siddiqi < > > tawus.tapes...@gmail.com> wrote: > > > >> Hi Dmitriy > >> > >> That depends on the error :) > >> > >> Can you share it ? > >> > >> regards > >> Taha > >> > >> On Dec 8, 2011, at 9:26 PM, Dmitriy Vsekhvalnov wrote: > >> > >>> Is there is a way it can work on T5.1.0.8 ? > >>> > >>> i'm getting errors during gradle build and i'm wondering is it possible > >> to > >>> adopt to 5.1.0.8 or i should stop it now :) > >>> > >>> Thanks. > >> > >> > >> - > >> To unsubscribe, e
Re: [ANN] AjaxUpload : An ajax based upload component
On Dec 8, 2011, at 9:46 PM, Dmitriy Vsekhvalnov wrote: > yep. Here is quite long stack trace: > > > [ant:javac] > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:23: > cannot find symbol > [ant:javac] symbol : class Import > [ant:javac] location: package org.apache.tapestry5.annotations > [ant:javac] import org.apache.tapestry5.annotations.Import; > [ant:javac]^ > [ant:javac] You can use @IncludeJavaScriptLibrary > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:26: > cannot find symbol > [ant:javac] symbol : class RequestParameter > [ant:javac] location: package org.apache.tapestry5.annotations > [ant:javac] import org.apache.tapestry5.annotations.RequestParameter; > [ant:javac]^ > [ant:javac] You can use @Inject private Request request; request.getParameter("..."); > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:41: > package org.apache.tapestry5.services.javascript does not exist > [ant:javac] import > org.apache.tapestry5.services.javascript.JavaScriptSupport; > [ant:javac]^ > [ant:javac] replace by RenderSupport > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:55: > cannot find symbol > [ant:javac] symbol: class Import > [ant:javac] @Import(library = "ajaxupload.js", stylesheet = > "ajaxupload.css") > [ant:javac] ^ > [ant:javac] > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:64: > cannot find symbol > [ant:javac] symbol : class JavaScriptSupport > [ant:javac] location: class > com.googlecode.tawus.ajaxupload.components.AjaxUpload > [ant:javac]private JavaScriptSupport javaScriptSupport; > [ant:javac]^ > [ant:javac] > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:135: > cannot find symbol > [ant:javac] symbol : class JavaScriptSupport > [ant:javac] location: class > com.googlecode.tawus.ajaxupload.components.AjaxUpload > [ant:javac] FieldValidationSupport fieldValidationSupport, > JavaScriptSupport javaScriptSupport) > [ant:javac] ^ > [ant:javac] > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/services/AjaxUploadModule.java:12: > cannot find symbol > [ant:javac] symbol : class Contribute > [ant:javac] location: package org.apache.tapestry5.ioc.annotations > [ant:javac] import org.apache.tapestry5.ioc.annotations.Contribute; > [ant:javac]^ > [ant:javac] Use contribute"ServiceName"() instead > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:382: > cannot find symbol > [ant:javac] symbol : class RequestParameter > [ant:javac] location: class > com.googlecode.tawus.ajaxupload.components.AjaxUpload > [ant:javac]void onRemoveUpload(@RequestParameter("serverIndex") int > serverIndex) > [ant:javac] ^ > [ant:javac] > /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/services/AjaxUploadModule.java:36: > cannot find symbol > [ant:javac] symbol : class Contribute > [ant:javac] location: class > com.googlecode.tawus.ajaxupload.services.AjaxUploadModule > [ant:javac]@Contribute(ComponentClassResolver.class) > [ant:javac] ^ > [ant:javac] 9 errors > > FAILURE: Build failed with an exception. > > > > On Thu, Dec 8, 2011 at 6:59 PM, Taha Hafeez Siddiqi < > tawus.tapes...@gmail.com> wrote: > >> Hi Dmitriy >> >> That depends on the error :) >> >> Can you share it ? >> >> regards >> Taha >> >> On Dec 8, 2011, at 9:26 PM, Dmitriy Vsekhvalnov wrote: >> >>> Is there is a way it can work on T5.1.0.8 ? >>> >>> i'm getting errors during gradle build and i'm wondering is it possible >> to >>> adopt to 5.1.0.8 or i should stop it now :) >>> >>> Thanks. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> regards Taha - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
yep. Here is quite long stack trace: [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:23: cannot find symbol [ant:javac] symbol : class Import [ant:javac] location: package org.apache.tapestry5.annotations [ant:javac] import org.apache.tapestry5.annotations.Import; [ant:javac]^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:26: cannot find symbol [ant:javac] symbol : class RequestParameter [ant:javac] location: package org.apache.tapestry5.annotations [ant:javac] import org.apache.tapestry5.annotations.RequestParameter; [ant:javac]^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:41: package org.apache.tapestry5.services.javascript does not exist [ant:javac] import org.apache.tapestry5.services.javascript.JavaScriptSupport; [ant:javac]^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:55: cannot find symbol [ant:javac] symbol: class Import [ant:javac] @Import(library = "ajaxupload.js", stylesheet = "ajaxupload.css") [ant:javac] ^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:64: cannot find symbol [ant:javac] symbol : class JavaScriptSupport [ant:javac] location: class com.googlecode.tawus.ajaxupload.components.AjaxUpload [ant:javac]private JavaScriptSupport javaScriptSupport; [ant:javac]^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:135: cannot find symbol [ant:javac] symbol : class JavaScriptSupport [ant:javac] location: class com.googlecode.tawus.ajaxupload.components.AjaxUpload [ant:javac] FieldValidationSupport fieldValidationSupport, JavaScriptSupport javaScriptSupport) [ant:javac] ^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/services/AjaxUploadModule.java:12: cannot find symbol [ant:javac] symbol : class Contribute [ant:javac] location: package org.apache.tapestry5.ioc.annotations [ant:javac] import org.apache.tapestry5.ioc.annotations.Contribute; [ant:javac]^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/components/AjaxUpload.java:382: cannot find symbol [ant:javac] symbol : class RequestParameter [ant:javac] location: class com.googlecode.tawus.ajaxupload.components.AjaxUpload [ant:javac]void onRemoveUpload(@RequestParameter("serverIndex") int serverIndex) [ant:javac] ^ [ant:javac] /Users/dvsekhvalnov/Downloads/tawus-tawus-974196a/tawus-ajaxupload/src/main/java/com/googlecode/tawus/ajaxupload/services/AjaxUploadModule.java:36: cannot find symbol [ant:javac] symbol : class Contribute [ant:javac] location: class com.googlecode.tawus.ajaxupload.services.AjaxUploadModule [ant:javac]@Contribute(ComponentClassResolver.class) [ant:javac] ^ [ant:javac] 9 errors FAILURE: Build failed with an exception. On Thu, Dec 8, 2011 at 6:59 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > Hi Dmitriy > > That depends on the error :) > > Can you share it ? > > regards > Taha > > On Dec 8, 2011, at 9:26 PM, Dmitriy Vsekhvalnov wrote: > > > Is there is a way it can work on T5.1.0.8 ? > > > > i'm getting errors during gradle build and i'm wondering is it possible > to > > adopt to 5.1.0.8 or i should stop it now :) > > > > Thanks. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
Hi Dmitriy That depends on the error :) Can you share it ? regards Taha On Dec 8, 2011, at 9:26 PM, Dmitriy Vsekhvalnov wrote: > Is there is a way it can work on T5.1.0.8 ? > > i'm getting errors during gradle build and i'm wondering is it possible to > adopt to 5.1.0.8 or i should stop it now :) > > Thanks. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Is there is a way it can work on T5.1.0.8 ? i'm getting errors during gradle build and i'm wondering is it possible to adopt to 5.1.0.8 or i should stop it now :) Thanks.
Re: [ANN] AjaxUpload : An ajax based upload component
On Wed, Jun 29, 2011 at 10:57 AM, Taha Hafeez wrote: > Hi Massimo > > The one in javamagic is the one for the blog. So I don't change them after a > post. It is tawus-ajaxupload which I use/manage Thanks for the clarification... Cheers -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Hi Massimo The one in javamagic is the one for the blog. So I don't change them after a post. It is tawus-ajaxupload which I use/manage regards Taha On Wed, Jun 29, 2011 at 2:23 PM, Massimo Lusetti wrote: > On Mon, Jun 27, 2011 at 7:44 PM, Taha Hafeez > wrote: > > > Thanks, I also added localization messages and a javascript validation > > for maximum number of files > > (https://github.com/tawus/tawus/tree/master/tawus-ajaxupload) > > > > Just run gradle test to see integration tests > > Nice components indeed but I see the same component here > https://github.com/tawus/javamagic/tree/master/ajaxupload and here > https://github.com/tawus/tawus/tree/master/tawus-ajaxupload ... which > is the "last one" ? > > Cheers > -- > Massimo > http://meridio.blogspot.com > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
On Mon, Jun 27, 2011 at 7:44 PM, Taha Hafeez wrote: > Thanks, I also added localization messages and a javascript validation > for maximum number of files > (https://github.com/tawus/tawus/tree/master/tawus-ajaxupload) > > Just run gradle test to see integration tests Nice components indeed but I see the same component here https://github.com/tawus/javamagic/tree/master/ajaxupload and here https://github.com/tawus/tawus/tree/master/tawus-ajaxupload ... which is the "last one" ? Cheers -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Thanks, I also added localization messages and a javascript validation for maximum number of files (https://github.com/tawus/tawus/tree/master/tawus-ajaxupload) Just run gradle test to see integration tests regards Taha On Mon, Jun 27, 2011 at 6:50 PM, Nicolas Barrera wrote: > taha, > your component seems very cool!, thanks wish I had some time to test it :) > > cheers! > > Nicolás.- > > > On Sun, Jun 26, 2011 at 8:46 PM, Taha Hafeez wrote: > >> Works on ie6 too !! (I seldom happens that your script runs unaltered on >> ie6) >> >> regards >> Taha >> >> On Sun, Jun 26, 2011 at 8:19 PM, Taha Hafeez > >wrote: >> >> > I tested it on ie8, ie8 compatibility mode & ie7. I will try it on ie6 >> > tonight >> > >> > regards >> > Taha >> > >> > >> > On Sun, Jun 26, 2011 at 8:17 PM, Kalle Korhonen < >> > kalle.o.korho...@gmail.com> wrote: >> > >> >> Which version of ie? >> >> >> >> Kalle >> >> >> >> >> >> On Sun, Jun 26, 2011 at 4:13 AM, Taha Hafeez >> >> wrote: >> >> > Tested with ie, works well >> >> > >> >> > regards >> >> > Taha >> >> > >> >> > On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez < >> tawus.tapes...@gmail.com >> >> >wrote: >> >> > >> >> >> Hi >> >> >> >> >> >> AjaxUpload is an ajax based tapestry upload component based on >> >> >> https://github.com/valums/file-uploader. I have tested it on Opera >> 10, >> >> >> Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its >> >> >> implementation : >> >> >> http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ >> >> >> >> >> >> regards >> >> >> Taha >> >> >> >> >> > >> >> >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >> >> >> > >> > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
taha, your component seems very cool!, thanks wish I had some time to test it :) cheers! Nicolás.- On Sun, Jun 26, 2011 at 8:46 PM, Taha Hafeez wrote: > Works on ie6 too !! (I seldom happens that your script runs unaltered on > ie6) > > regards > Taha > > On Sun, Jun 26, 2011 at 8:19 PM, Taha Hafeez >wrote: > > > I tested it on ie8, ie8 compatibility mode & ie7. I will try it on ie6 > > tonight > > > > regards > > Taha > > > > > > On Sun, Jun 26, 2011 at 8:17 PM, Kalle Korhonen < > > kalle.o.korho...@gmail.com> wrote: > > > >> Which version of ie? > >> > >> Kalle > >> > >> > >> On Sun, Jun 26, 2011 at 4:13 AM, Taha Hafeez > >> wrote: > >> > Tested with ie, works well > >> > > >> > regards > >> > Taha > >> > > >> > On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez < > tawus.tapes...@gmail.com > >> >wrote: > >> > > >> >> Hi > >> >> > >> >> AjaxUpload is an ajax based tapestry upload component based on > >> >> https://github.com/valums/file-uploader. I have tested it on Opera > 10, > >> >> Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its > >> >> implementation : > >> >> http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ > >> >> > >> >> regards > >> >> Taha > >> >> > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > >
Re: [ANN] AjaxUpload : An ajax based upload component
Works on ie6 too !! (I seldom happens that your script runs unaltered on ie6) regards Taha On Sun, Jun 26, 2011 at 8:19 PM, Taha Hafeez wrote: > I tested it on ie8, ie8 compatibility mode & ie7. I will try it on ie6 > tonight > > regards > Taha > > > On Sun, Jun 26, 2011 at 8:17 PM, Kalle Korhonen < > kalle.o.korho...@gmail.com> wrote: > >> Which version of ie? >> >> Kalle >> >> >> On Sun, Jun 26, 2011 at 4:13 AM, Taha Hafeez >> wrote: >> > Tested with ie, works well >> > >> > regards >> > Taha >> > >> > On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez > >wrote: >> > >> >> Hi >> >> >> >> AjaxUpload is an ajax based tapestry upload component based on >> >> https://github.com/valums/file-uploader. I have tested it on Opera 10, >> >> Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its >> >> implementation : >> >> http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ >> >> >> >> regards >> >> Taha >> >> >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >
Re: [ANN] AjaxUpload : An ajax based upload component
I tested it on ie8, ie8 compatibility mode & ie7. I will try it on ie6 tonight regards Taha On Sun, Jun 26, 2011 at 8:17 PM, Kalle Korhonen wrote: > Which version of ie? > > Kalle > > > On Sun, Jun 26, 2011 at 4:13 AM, Taha Hafeez > wrote: > > Tested with ie, works well > > > > regards > > Taha > > > > On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez >wrote: > > > >> Hi > >> > >> AjaxUpload is an ajax based tapestry upload component based on > >> https://github.com/valums/file-uploader. I have tested it on Opera 10, > >> Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its > >> implementation : > >> http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ > >> > >> regards > >> Taha > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: [ANN] AjaxUpload : An ajax based upload component
Which version of ie? Kalle On Sun, Jun 26, 2011 at 4:13 AM, Taha Hafeez wrote: > Tested with ie, works well > > regards > Taha > > On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez wrote: > >> Hi >> >> AjaxUpload is an ajax based tapestry upload component based on >> https://github.com/valums/file-uploader. I have tested it on Opera 10, >> Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its >> implementation : >> http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ >> >> regards >> Taha >> > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] AjaxUpload : An ajax based upload component
Tested with ie, works well regards Taha On Sat, Jun 25, 2011 at 9:38 PM, Taha Hafeez wrote: > Hi > > AjaxUpload is an ajax based tapestry upload component based on > https://github.com/valums/file-uploader. I have tested it on Opera 10, > Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its > implementation : > http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ > > regards > Taha >
[ANN] AjaxUpload : An ajax based upload component
Hi AjaxUpload is an ajax based tapestry upload component based on https://github.com/valums/file-uploader. I have tested it on Opera 10, Firefox 3.5 & Chrome 12. Will test it on ie6. A blog about its implementation : http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ regards Taha