Touchfaces theme not getting loaded

UI Components for JSF
Post Reply
kvrans
Posts: 3
Joined: 25 Jan 2010, 06:14

25 Jan 2010, 06:19

Hi,

When I try to run the demo in my local server (using source code given online), the page is coming up with HTML style controls. I am not able to get the iPhone style controls. Is this related to any setup? I am using primefaces-1.0.0.RC and myfaces-1.2.7.

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

25 Jan 2010, 19:02

Maybe, how do you define your PrimeFaces resource servlet?

kvrans
Posts: 3
Joined: 25 Jan 2010, 06:14

26 Jan 2010, 05:32

Hi Cagatay,

I have given exactly the same as given in the reference document. The URL pattern is /primefaces_resource/*.

Thanks

kvrans
Posts: 3
Joined: 25 Jan 2010, 06:14

26 Jan 2010, 06:08

Hi,

I checked the page in IE and I got the js error as 'PrimeFace' is undefined. It is throwing the error in the below line

<script type="text/javascript"><!--
TouchFaces = new PrimeFaces.touch.Application({themePath:'/primefaces_resource/1.0.0.RC/jquery/plugins/jqtouch/themes/default'});

Thanks

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

28 Jan 2010, 15:38

Can you post your resource servlet configuration in web.xml?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests