Questions tagged [outputstylesheet]
9 questions
25
votes
1 answer
background-image: url("") in CSS h:outputStylesheet is not loading
Sorry if question is not properly asked. Image is showing fine in struts project but not in JSF2 project. All the css and buttons are rendering fine except image that has url in css.
Folder structure
resources -> css -> bootstrap.min.css
resources…

Pirzada
- 4,685
- 18
- 60
- 113
10
votes
1 answer
How to link external CSS resource with JSF h:outputStylesheet?
I was wondering if I can use to link CSS from an external resources. I want to link the Yahoo Grids. Using the following code, I got a RES_NOT_FOUND:

Sydney
- 11,964
- 19
- 90
- 142
4
votes
1 answer
Wildfly 10 issue with css file

Sreeram
- 67
- 6
3
votes
1 answer
Unable to find or serve localized resource from jsf-resource-library
I am trying to replicate an example from a book,
The structure can be visualized from the image attached below-
UPDATED
The view for which the library will be used is as simple as this given below-

Farhan stands with Palestine
- 13,890
- 13
- 58
- 105
3
votes
1 answer
In NetBeans, Mojarra 2.2 outputStyleSheet doesn't have media attribute
I'm using NetBeans 8.0.2 and Mojarra 2.2 where according to the docs there's a media attribute and this is not the case, I get the following message:
The attribute media is not defined in the component outputStyleSheet
So the problem I know is…

Esteban Rincon
- 2,040
- 3
- 27
- 44
1
vote
0 answers
media attribute is missing in MyFaces h:outputStylesheet
I am working with JSF2.0 – myfaces implementation. Our target runtime environment is WAS8.5. We are loading CSS using h:outputStylesheet
I want to print part of my page content in one of my page. To do that overriding css media attribute with…

user1594895
- 587
- 1
- 10
- 31
1
vote
1 answer
h:outputStylesheet inside ui:repeat
I'm trying to use to output a stylesheet link for every element of an ArrayList. This code produces no result:
However, if i change the…

lmerry213
- 409
- 6
- 16
0
votes
0 answers
JSF ajax update CSS
I have a template xhtml :

Paladice
- 247
- 4
- 19
0
votes
0 answers
Openshift server not able to pick up CSS in subfolder
I have placed css files in sub folder which are not loaded.
application
--resource
---bootstrap
----css
-----bootstrap.min.css
The tag used is
This is rendered…

Kumar Jeyaprakasam
- 11
- 2