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
I bought Ultima but ...
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
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.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
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.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks for the update. Issue is resolved.
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests