Than you very much Ricardo,

I appreciate your inputs.

> Must I been able to edit the description for already attached files?

Yes, you should be able to edit it.

> I've not been able to get the description edited. The ModalBox opens
> curretly, it allows enter a new description, but the OK button add only
> two new attachment releases, but the description remains untouched.

I tested the application on the xwiki of our company and it works. I am
going to test it on a clean installation of xwiki to trobleshoot that issue.

> Check this and feel free to test it:
>
http://epecnetcore.environmentalchange.net:8080/xwiki/bin/view/ICT/HasAttachment<http://epecnetcore.environmentalchange.net:8080/xwiki/bin/view/ICT/HasAttachment>

The application is not working for me. I get "Failed to execute the [groovy]
macro" error.

> I think it would help to understand how attachments work and it will be
> easy to propose to add the possibility of adding a description to each
> attached file in the new structure.

Do you now the official procedure to propose a new feature on xwiki?

I am going to work in the things you mentioned (I need to figure out how to
use the LightBox component). And after that I am going to create an xwiki
page for the macro. Hopefully it can be usefull for somebody else.

On Fri, Nov 5, 2010 at 3:05 AM, [Ricardo Rodriguez] eBioTIC. <
[email protected]> wrote:

> Just one more tip...
>
> You must be aware of this discussion and some other initiated by Caleb...
>
> http://markmail.org/thread/kexhs7bmww3i35ng
>
> I think it would help to understand how attachments work and it will be
> easy to propose to add the possibility of adding a description to each
> attached file in the new structure.
>
> Hope this helps!
>
> Ricardo
>
> Abel Solórzano Astorga wrote:
> > Hi Ricardo,
> >
> > To use the application you should put the following code on your XWiki
> page:
> >
> > {{FileStorage/}}
> >
> > I tested on XWiki 2.3, 2.4 and 2.5 versions until now and is working
> fine.
> > The application let you add a description to an attachment. It presents
> the
> > user a textarea to write the description and a file input component to
> > choose the file to attach. To attach the file with the description the
> user
> > should click the "Attach" button. There is some kind of validation when
> the
> > user try to attach the file. It is not posible to attach a file with an
> > empty description or a description that is more than 255 characters.
> > Below the component that let you attach files, there is a table that has
> two
> > columns: File Name and Description of File. Next to each row there are
> two
> > icons a pencil and a red cross (XWiki icons). If you click the pencil you
> > can edit the description for the corresponding attachment (A modal box
> > appears). If you click the red cross the attachment is deleted.
> > The application use the same logic as the "Attach files to this document"
> > components on the Attachments section at the bottom of the xwiki pages.
> So
> > the attachment are also shown in the Attachments section.
> > I had some problems uploading files bigger than 16M. So I follow the
> > suggestions on the following page
> > http://www.mail-archive.com/[email protected]/msg04047.html.
> >
> > You can find an image of the application at
> > http://dl.dropbox.com/u/3688604/file-storage.PNG.
> >
> > About the LightBox, I would preffer to use it instead of the ModalBox.
> But
> > until now I couldn't find an example of how to use it. Somebody knows if
> > there is some documentation regarding the LightBox component? Somebody
> knows
> > which is the component that is used on the pop up dialog that is shown
> when
> > you want to add a new user. Is that the LightBox component?
> >
> > Let me know if you need something else.
> >
> > Regards,
> >
> > Abel
> >
> > On Thu, Nov 4, 2010 at 2:02 AM, [Ricardo Rodriguez] eBioTIC. <
> > [email protected]> wrote:
> >
> >
> >> Abel Solórzano Astorga wrote:
> >>
> >>> Hi, I finally finish a little application that let you attach files to
> an
> >>> XWiki page and add, edit or delete a comment for the attachment. I
> didn't
> >>> have much time to create a page for the app on the xwiki server. Maybe
> in
> >>> the future. But I want to put the application online in case someone
> need
> >>> that functionality (I know Ricardo need it :) ).
> >>>
> >> Thanks! Please, Abel, even though you have no time to create now that
> >> page, could you provide some guideline about how to use your application
> >> and how we do must expect?
> >>
> >> I've downloaded it a imported in a XE 2.6-SNAPSHOT.32286 installation.
> >> ModalBox seems to work fine, but I'm not able to understand how to use
> >> your application.
> >>
> >> As for the use of ModalBox. Taking into account that XWiki is making
> >> extensive use of LightBox
> >> (http://www.lokeshdhakar.com/projects/lightbox2/), has you considered
> to
> >> use it to get a more consistent appearance? Thanks again!
> >>
> >> I would like to collaborate by creating a XWiki page for such an
> >> application once I understand how to use it!
> >>
> >>
> >>>  The xar file of the File
> >>> Storage application (I called like that) is at
> >>> http://dl.dropbox.com/u/3688604/file-storage.xar. By the way you need
> to
> >>> have the ModalBox Application installed. The ModalBox application can
> be
> >>> found at
> >>> http://code.xwiki.org/xwiki/bin/view/Applications/ModalBoxApplication.
> >>>
> >> Let
> >>
> >>> me know if you have any doubt or comment.
> >>>
> >>>
> >>
> >>> On Fri, Aug 20, 2010 at 12:20 AM, Abel Solórzano Astorga <
> >>> [email protected]> wrote:
> >>>
> >>>
> >>>
> >>>> Hi,
> >>>>
> >>>> I have the application almost working :). I just need to figure out
> one
> >>>> thing that I asked in here. I 'll be glad to share the code with the
> >>>> community and with you once it is finish.
> >>>>
> >>>> Regards,
> >>>>
> >>>>
> >>>> On Tue, Aug 10, 2010 at 1:14 PM, [Ricardo Rodriguez] eBioTIC. <
> >>>> [email protected]> wrote:
> >>>>
> >>>>
> >>>>
> >>>>> Hi!
> >>>>>
> >>>>> Abel Solórzano Astorga wrote:
> >>>>>
> >>>>>
> >>>>>> I appreciate you take the time to answer my question. You gave me
> part
> >>>>>>
> >>>>>>
> >>>>> of
> >>>>>
> >>>>>
> >>>>>> the solution :). The other part is in here
> >>>>>> http://www.mail-archive.com/[email protected]/msg02301.html, in case
> >>>>>>
> >>>>>>
> >>>>> someone
> >>>>>
> >>>>>
> >>>>>> need to do a similar XWiki application.
> >>>>>>
> >>>>>>
> >>>>> Great to know I've been of any help! :-)
> >>>>>
> >>>>> BTW, have you then manage to get this application working? Are you
> >>>>> planning to share it with the community? At least it will be helpful
> >>>>>
> >> for
> >>
> >>>>> me to get fileUploadPlugin or an application allowing to add
> >>>>> descriptions to the uploaded files. Thanks!
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Ricardo
> >>>>>
> >>>>> --
> >>>>> Ricardo Rodríguez
> >>>>> CTO
> >>>>> eBioTIC.
> >>>>> Life Sciences, Data Modeling and Information Management Systems
> >>>>>
> >>>>> _______________________________________________
> >>>>> users mailing list
> >>>>> [email protected]
> >>>>> http://lists.xwiki.org/mailman/listinfo/users
> >>>>>
> >>>>>
> >>>>>
> >>> _______________________________________________
> >>> users mailing list
> >>> [email protected]
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>>
> >>>
> >> --
> >> Ricardo Rodríguez
> >> CTO
> >> eBioTIC.
> >> Life Sciences, Data Modeling and Information Management Systems
> >>
> >> _______________________________________________
> >> users mailing list
> >> [email protected]
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> > _______________________________________________
> > users mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> Ricardo Rodríguez
> CTO
> eBioTIC.
> Life Sciences, Data Modeling and Information Management Systems
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to