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


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

Re: Dealing with application names in a JEE web app

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!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 Tue, 24 May 2011 09:32:55 -0700
Organization A noiseless patient Spider
Lines 30
Message-ID <irgmk1$kt9$1@dont-email.me> (permalink)
References <irebhd$16t$1@dont-email.me> <ireckt$6bv$1@news.albasani.net> <iref03$qdc$1@dont-email.me> <irei1d$j8a$1@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 24 May 2011 16:33:06 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="8FmyTa30jaHydmbsw/NXBQ"; logging-data="21417"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198Isn/cKg2yhnf9YplruVtZPo+qjqxjWk="
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 <irei1d$j8a$1@news.albasani.net>
Cancel-Lock sha1:GeP9n0Ah0fiQDH6niiieCkkzUsM=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4540

Show key headers only | View raw


On 5/23/2011 2:02 PM, Lew wrote:

> <h:outputStylesheet name="/css/purrtones.css" />


Thanks for pointing this out.  I was using a regular <link> attribute. 
Those don't seem to be translated or affected by the JSF processing at 
all, and just emit their HTML literally.  The h:outputStylesheet looks 
more sophisticated.

I found a website which explains a bit more:

<http://blogs.oracle.com/rlubke/entry/jsf_2_0_new_feature4>

I've got _Java Server Faces 2.0_, by Ed Burns et al, pub. McGraw-Hill. 
Ed Burns was apparently the spec co-lead for JSF 2.0, and I have to say 
I'm not impressed by his book.  His section on templates uses raw HTML 
<link> attributes just like I did, and the whole book barely mentions 
h:outputStylesheet.  It's only touched on once in the listing of the 
entire component library, which is a pretty unpedagogical way of 
presenting it.

The Burns book also says that h:outputStylesheet looks for its resources 
under the /resources directory in the application root.  Since you're 
plainly specifying a different location, I'm going to have to explore 
resource resolution here a bit more to figure out what the full story is.

Thanks again for getting me pointed in the right direction.

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