[Seaside] /files application

Mariano Martinez Peck marianopeck at gmail.com
Tue Nov 27 19:35:48 UTC 2018


On Tue, Nov 27, 2018 at 4:29 PM Bernhard Pieber <bernhard at pieber.com> wrote:

> Hi Mariano,
>
> Thanks for the tip. I will give that a try. I assume that WAAdmin clearAll
> removes the /files application as well, and that I would have to serve
> JQuery statically as well for it to work, right?
>

Yes. You can use #deployFiles to export all your file libraries into .js or
.css that then server via external webserver


>
> Cheers,
> Bernhard
>
> > Am 27.11.2018 um 13:40 schrieb Mariano Martinez Peck <
> marianopeck at gmail.com>:
> >
> >
> >
> > On Mon, Nov 26, 2018 at 2:13 PM Bernhard Pieber <bernhard at pieber.com>
> wrote:
> > Hi,
> >
> > I am using a file library (JQDeploymentLibrary) in a deployed image. If
> I enter /files I get a listing of all flle libraries under the heading of
> "Index of /files". I would like to remove that functionality in the
> deployed application. It seems I cannot just remove the /files application
> itself because if I do JQuery stops working. I'd appreciate any tips on how
> to solve that.
> >
> >
> > Usually, when I am deploying in production and I serve static files from
> an external web server what I do is:
> >
> > WAAdmin disableDevelopmentTools.
> > WAAdmin clearAll.
> > self registerMyApps.
> >
> > There, just change "self registerMyApps." to whatever code you use to
> register your own apps....so basically I unregister everything and then
> just register my apps...
> >
> >
> > --
> > Mariano
> > https://twitter.com/MartinezPeck
> > http://marianopeck.wordpress.com
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


-- 
Mariano
https://twitter.com/MartinezPeck
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20181127/3d3f9810/attachment.html>


More information about the seaside mailing list