<p:inplace>: no style is applied

UI Components for JSF
Post Reply
veit1989
Posts: 30
Joined: 31 Aug 2010, 13:04

18 Oct 2010, 09:16

Hy guys,
I want to use the "inplace"-tag but it seems that there is no style applied. I made everything according to the documentation - but it doesn't work.

This is the code for my inplace-tag:

Code: Select all

<p:inplace label="#{text.label1}" disabled="#{text.disabled}">
	<p:dataGrid id="test1" var="ta" value="#{test.values}" columns="1" rows="5" paginator="true" paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}" paginatorAlwaysVisible="false">
	</p:dataGrid>
</p:inplace>
This code is always rendered as "ugly" Times New Roman :cry: :cry: Please help...

I'm using Primefaces 2.1, Sun Mojarra 2.0.3 (JSF 2.0), Glassfish v3 - any ideas?

Thx & Rgds

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Oct 2010, 11:25

Not sure where you have defined your style and what you want to style.

veit1989
Posts: 30
Joined: 31 Aug 2010, 13:04

18 Oct 2010, 13:49

Oh - sorry - sure - the info:

I use a primefaces skin (bluesky) which is embedded between the <h:head>- and </h:head>-tags:

Code: Select all

<h:head>
	<title>Example-page</title>
	<link type="text/css" rel="StyleSheet" href="#{request.contextPath}/resources/styles/bluesky/skin.css" />
</h:head>
And I want to style the label of the "inplace". So to say - the value of "#{text.label1}...

I thought, I have written this information...

Thx & Rgds

healeyb
Posts: 365
Joined: 07 Apr 2010, 16:05

18 Oct 2010, 18:49

See if this post helps - I don't know if you can put <link ... stylesheet>
outside of the header but you could always use <h:outputStylesheet instead.
Worth a try. I've only had this problem pre 2.1 so maybe this is no longer
relevant, in which case, apologies.

http://primefaces.prime.com.tr/forum/vi ... 583#p22583

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 40 guests