Hi all, This was accomplished successfully by,
Sandboxing render method of jagg.jag + routing all ajax calls to block layer via router.jag by means of a url mapping. Lot of thanks to SameeraM & Ruchira. On Wed, Mar 18, 2015 at 2:13 AM, Ruchira Wageesha <[email protected]> wrote: > > > On Tue, Mar 17, 2015 at 6:23 PM, Mahesh Chinthaka <[email protected]> > wrote: > >> Hi all, >> >> This is what I have tried up to now, >> >> I tried with Method 1 explained by Ruchira, which is to add a router.jag >> and intercept incoming requests and route them after doing tenant/context >> initialization stuff. >> Problem with that was : all the files other than .jag files(ex: .css , >> font files .jpeg etc) are coming to this and when trying to include those >> it gives a compilation error. >> > You need to include only *.jag files, content of the other files can be > piped to the client. Issue with that is, you might need to send proper > caching headers etc. from your end. > >> >> -- *Mahesh Chinthaka Vidanagama* | Software Engineer WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 63 63 083 | Work: +94 112 145 345 Email: [email protected] | Web: www.wso2.com
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
