You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dmitriy Vsekhvalnov <dv...@gmail.com> on 2011/12/10 20:10:03 UTC

AjaxUpload : Questions

Taha, specifically for you :)   want to start separate thread with my
outstanding questions:


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: AjaxUpload : Questions

Posted by Dmitriy Vsekhvalnov <dv...@gmail.com>.
i'm not insist someone do work on sunday :)

if you want my changes for 5.1.0.x  let me know, i'll send you.

On Sat, Dec 10, 2011 at 11:13 PM, Taha Hafeez Siddiqi <
tawus.tapestry@gmail.com> wrote:

> Hi
>
> Tomorrow is Sunday and I will try to find some spare time to look into
> that, or may be come up with a new implementation :)
>
>
> regards
> Taha
>
> On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote:
>
> > Taha, specifically for you :)   want to start separate thread with my
> > outstanding questions:
> >
> >
> > 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.
> >
> I don't think it is related to AjaxUpload
>
> > 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: AjaxUpload : Questions

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
Hi

Tomorrow is Sunday and I will try to find some spare time to look into that, or may be come up with a new implementation :)


regards
Taha

On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote:

> Taha, specifically for you :)   want to start separate thread with my
> outstanding questions:
> 
> 
> 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.
> 
I don't think it is related to AjaxUpload

> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: AjaxUpload : Questions

Posted by Dmitriy Vsekhvalnov <dv...@gmail.com>.
<input t:type="tawus/ajaxupload" t:value="personalPhotos"
t:id="personalPhotos" type="file" />


But i don't think it's very representative though :)   May be it's
difference in prototype.js or whatever between 5.3.x and 5.1? i'm on
Prototype 1.7

On Tue, Dec 13, 2011 at 7:06 PM, Taha Hafeez Siddiqi <
tawus.tapestry@gmail.com> wrote:

> Code where remove link is not working, it works for me.
>
>
> On Dec 13, 2011, at 9:29 PM, Dmitriy Vsekhvalnov wrote:
>
> > Example of what?
> >
> > On Tue, Dec 13, 2011 at 6:56 PM, Taha Hafeez Siddiqi <
> > tawus.tapestry@gmail.com> wrote:
> >
> >> Hi
> >>
> >> Can you provide an example ? That would help
> >>
> >> Also, there is a disabled option and it works only to prevent execution
> of
> >> processSubmission() (in AbstractField). It does not effect the UI.
> >>
> >> There is no remove option in the actual script. I added it for my use
> >> case, so yes if you can read the script you can do all kind of stuff
> with
> >> it :)
> >> (Of course that is the challenge :))
> >>
> >> regards
> >> Taha
> >>
> >>
> >>
> >> On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote:
> >>
> >>> Taha, specifically for you :)   want to start separate thread with my
> >>> outstanding questions:
> >>>
> >>>
> >>> 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.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: AjaxUpload : Questions

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
Code where remove link is not working, it works for me.


On Dec 13, 2011, at 9:29 PM, Dmitriy Vsekhvalnov wrote:

> Example of what?
> 
> On Tue, Dec 13, 2011 at 6:56 PM, Taha Hafeez Siddiqi <
> tawus.tapestry@gmail.com> wrote:
> 
>> Hi
>> 
>> Can you provide an example ? That would help
>> 
>> Also, there is a disabled option and it works only to prevent execution of
>> processSubmission() (in AbstractField). It does not effect the UI.
>> 
>> There is no remove option in the actual script. I added it for my use
>> case, so yes if you can read the script you can do all kind of stuff with
>> it :)
>> (Of course that is the challenge :))
>> 
>> regards
>> Taha
>> 
>> 
>> 
>> On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote:
>> 
>>> Taha, specifically for you :)   want to start separate thread with my
>>> outstanding questions:
>>> 
>>> 
>>> 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.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: AjaxUpload : Questions

Posted by Dmitriy Vsekhvalnov <dv...@gmail.com>.
Example of what?

On Tue, Dec 13, 2011 at 6:56 PM, Taha Hafeez Siddiqi <
tawus.tapestry@gmail.com> wrote:

> Hi
>
> Can you provide an example ? That would help
>
> Also, there is a disabled option and it works only to prevent execution of
> processSubmission() (in AbstractField). It does not effect the UI.
>
> There is no remove option in the actual script. I added it for my use
> case, so yes if you can read the script you can do all kind of stuff with
> it :)
> (Of course that is the challenge :))
>
> regards
> Taha
>
>
>
> On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote:
>
> > Taha, specifically for you :)   want to start separate thread with my
> > outstanding questions:
> >
> >
> > 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: AjaxUpload : Questions

Posted by Taha Hafeez Siddiqi <ta...@gmail.com>.
Hi

Can you provide an example ? That would help

Also, there is a disabled option and it works only to prevent execution of processSubmission() (in AbstractField). It does not effect the UI.

There is no remove option in the actual script. I added it for my use case, so yes if you can read the script you can do all kind of stuff with it :)
(Of course that is the challenge :))

regards
Taha



On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote:

> Taha, specifically for you :)   want to start separate thread with my
> outstanding questions:
> 
> 
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org