Re: CSS file
Re: CSS file
- Subject: Re: CSS file
- From: Theodore Petrosky <email@hidden>
- Date: Thu, 5 Oct 2017 09:56:25 -0400
Please do yourself a favor and start using Wonder. There is a right way to use
it, but if you follow the wiki, it basically means that you use git to clone
the repository, import the frameworks in the Eclipse.Then when you create a new
app, it is a Wonder Application, D2W, or Framework.
Creating a wonder application gives you so much! you are currently missing out
on half the fun!
Ted
> On Oct 5, 2017, at 9:34 AM, Andre Rothe <email@hidden>
> wrote:
>
> Yes, I have downloaded and installed it. But have not used yet.
> Andre
>
> Von: Theodore Petrosky <email@hidden>
> An: André Rothe <email@hidden>
> Kopie: WebObjects Development <email@hidden>
> Gesendet: 05.10.2017 13:43
> Betreff: Re: CSS file
>
> Yes, but that is too much typing for me. I will quote the great uses that
> have always said to me, “You are working too hard!”
>
> have you downloaded and are you using Project Wonder?
>
>
> > On Oct 5, 2017, at 6:05 AM, André Rothe <email@hidden> wrote:
> >
> > Hi Theodore,
> >
> > It seems that it also works with a WOString within the <head> tag:
> >
> > <head>
> > <webobject name = "cssLink"/>
> > </head>
> >
> > cssLink : WOString {
> > value = cssLink;
> > escapeHTML = false;
> > }
> >
> > public String getCssLink() {
> > WOResourceManager res = application().resourceManager();
> > return "<link rel=\"stylesheet\" href=\"" +
> > res.urlForResourceNamed("Messages.css", null, null, getRequest()) + "\"
> > type=\"text/css\" />";
> > }
> >
> > It should be possible too, to read the content of Messages.css with the
> > WOResourceManager and put the bytes into the WOString value together with a
> > <style> tag. Webobjects seems to be pretty cool :-)
> >
> > Best regards
> > Andre
> >
> >
> > Am 2017-10-04 15:35, schrieb Theodore Petrosky:
> >> here is a complete example:
> >> <wo:ERXStyleSheet filename = "calendarFix.css" framework = "app"
> >> media = "screen" />
> >>> On Oct 4, 2017, at 9:13 AM, André Rothe <email@hidden>
> >>> wrote:
> >>> Hi,
> >>> I have created a CSS file within the WebServerResources folder of my
> >>> project. How I can add it as a static link to the <head> tag of my
> >>> component page? How is the relative path, or should I use the
> >>> WOResourceManager to set the path for a WOxyz component?
> >>> <head>
> >>> <link rel="stylesheet" type="text/css" href="messages.css">
> >>> </head>
> >>> Best regards
> >>> Andre
> >>> --
> >>> UNIVERSITÄT LEIPZIG
> >>> Medizinische Fakultät
> >>> Zentrum für Klinische Studien Leipzig – KKS
> >>> André Rothe
> >>> CIO
> >>> Härtelstr. 16-18, 04107 Leipzig
> >>> Tel: 0341/ 97 16118
> >>> Fax: 0341/ 97 16189
> >>> WWW: http://www.zks.uni-leipzig.de
> >>> _______________________________________________
> >>> Do not post admin requests to the list. They will be ignored.
> >>> Webobjects-dev mailing list (email@hidden)
> >>> Help/Unsubscribe/Update your Subscription:
> >>> This email sent to email@hidden
> >> .
> >> _______________________________________________
> >> Do not post admin requests to the list. They will be ignored.
> >> Webobjects-dev mailing list (email@hidden)
> >> Help/Unsubscribe/Update your Subscription:
> >> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden