Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #4586

Re: Dealing with application names in a JEE web app

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Dealing with application names in a JEE web app
Date Wed, 25 May 2011 16:40:28 -0700
Organization A noiseless patient Spider
Lines 34
Message-ID <irk41o$u8u$1@dont-email.me> (permalink)
References <irebhd$16t$1@dont-email.me> <alpine.DEB.2.00.1105241802310.27717@urchin.earth.li> <irjkiq$ocr$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Wed, 25 May 2011 23:40:40 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="ZFoxg+QHOpdaPHOgSsdGSA"; logging-data="31006"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18F6kg3joq7sfc/L3z/EoCb4mr130ey10w="
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
In-Reply-To <irjkiq$ocr$1@dont-email.me>
Cancel-Lock sha1:HDX6a2AtELGBYgIhO2718bM/LjA=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4586

Show key headers only | View raw


On 5/25/2011 12:16 PM, markspace wrote:

> Thanks for replying Tom, but this doesn't appear to be quite correct.
> According to some sources on the 'net, you CAN put EL expressions in
> static CSS resources:
>
> background:url("#{resource['sunny:images/header.png']}")


And what's more is those resources from the CSS file will themselves be 
fetched through the Faces servlet.  This:

body  {
	background:url("#{resource['img/bbg.jpg']}") left top repeat;
	color:#555555;
	font-size:11px;
	font-family:Tahoma, Arial;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
}


gets transmorgified to this:


body  {
	background:url("/TechDarwinia/faces/javax.faces.resource/img/bbg.jpg") 
left top repeat;
	color:#555555;
	font-size:11px;
	font-family:Tahoma, Arial;
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
}

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Dealing with application names in a JEE web app markspace <-@.> - 2011-05-23 12:11 -0700
  Re: Dealing with application names in a JEE web app Lew <noone@lewscanon.com> - 2011-05-23 15:30 -0400
    Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-23 12:41 -0700
    Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-23 13:10 -0700
      Re: Dealing with application names in a JEE web app Lew <noone@lewscanon.com> - 2011-05-23 17:02 -0400
        Re: Dealing with application names in a JEE web app jebblue <n@n.nnn> - 2011-05-23 19:30 -0500
          Re: Dealing with application names in a JEE web app Lew <noone@lewscanon.com> - 2011-05-23 21:13 -0400
        Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-24 09:32 -0700
  Re: Dealing with application names in a JEE web app Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-05-23 19:01 -0300
  Re: Dealing with application names in a JEE web app Owen Jacobson <angrybaldguy@gmail.com> - 2011-05-23 23:20 -0400
  Re: Dealing with application names in a JEE web app Tom Anderson <twic@urchin.earth.li> - 2011-05-24 18:16 +0100
    Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-25 12:16 -0700
      Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-25 16:40 -0700
      Re: Dealing with application names in a JEE web app Tom Anderson <twic@urchin.earth.li> - 2011-05-26 18:07 +0100
        Re: Dealing with application names in a JEE web app Lew <noone@lewscanon.com> - 2011-05-26 13:25 -0400
          Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-26 12:57 -0700
            Re: Dealing with application names in a JEE web app Lew <noone@lewscanon.com> - 2011-05-26 19:39 -0400
              Re: Dealing with application names in a JEE web app Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-05-27 07:31 -0300
                Re: Dealing with application names in a JEE web app Lew <noone@lewscanon.com> - 2011-05-27 10:14 -0400
        Re: Dealing with application names in a JEE web app markspace <-@.> - 2011-05-26 12:51 -0700
        Re: Dealing with application names in a JEE web app Steve Sobol <sjsobol@JustThe.net> - 2011-05-26 14:51 -0700

csiph-web