I am creating dynamic HTML using a java agent. I want to access my style sheet, but it doesn’t seem to be working. Is this supported? If so, what is the command?
Subject: RE: Is it possible to access my CSS using dynamic html in java?
Stan, you should have called me! I just figured it out and was getting ready to write up what teh mistake was I don’t know where the heck I got the slash from. I was using it to literal my quotes and I must have deleted a quote and not the slash.
But, I think this is a post that will benefit more people who will be doing this sort of thing. Thanks.
In the meantime, I used ?OpenCSSResource, in my efforts to find the problem and it worked. How come I can’t find it documented anywhere?
Subject: RE: Is it possible to access my CSS using dynamic html in java?
I think you’ll find that if you put the CSS Resource into a form/page HTML Head using the Create>Resource method, Domino will generate a reference tag using ?OpenCSSResource. Why there’s a specialized call, I don’t know, but the CSS resource is also a file resource. Maybe it had to do with getting the service MIME type correct early in the ND6 development cycle. Frankly, the query string isn’t necessary anyway, so I never use it for static files.