I bought Ultima but ...

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
bigzidane
Posts: 58
Joined: 21 Jan 2015, 22:16

06 Oct 2016, 14:59

Hello Support Team,

I have just bought Ultima license and it doesn't work for me. Below is my step list.

1. Unzip ultima-1.0.4.zip
2. Copy ultima-theme-1.0.4.jar to lib folder of my web application. (My application is maven based but I don't know how to ultima-theme in pom.xml)
3. Copy ultima-layout to resources folder of my web application. (The full path is src/main/webapp/resources/ultima-layout)
4. Copy landing.xhtml to webapp folder.
5. web.xml
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>ultima-indigo</param-value>
</context-param>

<welcome-file-list>
<welcome-file>landing.xhtml</welcome-file>
</welcome-file-list>

Then I launch http://localhost:8080/ and landing.xhtml displays but it appears like plain page without any theme or layout applied.

Please advice what I missing.

Nghia

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

06 Oct 2016, 15:34

Hi,

1) Correct
2) I'd suggest doing mvn install file to install the jar to your repo.

https://maven.apache.org/guides/mini/gu ... local.html

Then you can reference it in your pom.

3) Correct but it is not the folder from tag right? Should be resources/ultima-layout folder in ultima-layout.zip not in tag.

Also copy the footer.xhtml, menu.xhtml, template.xhtml, topbar.xhtml files under your WEBAPP/WEB_INF folder.

bigzidane
Posts: 58
Joined: 21 Jan 2015, 22:16

06 Oct 2016, 15:42

Yes for all your comments. But landing page till not display properly.

Please let me know any information you need. I will provide right away.

Thanks for your support.
Nghia

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

06 Oct 2016, 18:40

How about the main application page, have you tried migrating your app to template.xhtml? Also please post a screenshot of landing page. In addition, check the network tab of your browser to see if there are any 404 errors for missing resources.

bigzidane
Posts: 58
Joined: 21 Jan 2015, 22:16

06 Oct 2016, 19:13

It is because of guestPreferences which I don't have it.

Could you please advice the proper way to inject guestPreferences bean?

Or we just simply copy source code?

Thanks,
Nghia

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

06 Oct 2016, 20:45

It is a sample bean for demo purposes, you may just copy it or create a similar one specific to your application. It is GuestPreferences.java in tag file.

bigzidane
Posts: 58
Joined: 21 Jan 2015, 22:16

06 Oct 2016, 23:38

Yeah thanks for your support. It is working fine.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

12 Oct 2016, 10:29

Thanks for the update. Issue is resolved.

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests