Wizard orientation in primefaces - jsf

I am using PF 5.0 and I wonder whether there is a possibility to have the Wizard component work like the tabView component : I would like to have the orientation set to "left".
Is a feature like this planned or is there any other way to achieve this ?
Best regards,
Daniel

I think this could be possible with some CSS skills. Have a look at the relevant style classes provided in the PrimeFaces 5.0 documentation:
.ui-wizard
.ui-wizard-content
.ui-wizard-step-titles
.ui-wizard-step-title
.ui-wizard-navbar
.ui-wizard-nav-next
.ui-wizard-nav-back
You can download the pdf here
I hope this helps you. Good luck and tell me whether you were succesfull.

Related

Can I skin the Activity Dialog to have a custom animation?

as explained in the title I would like to know if I can set a custom animation and/or background for the Activity Dialog. I don't find in your documentation any information regarding this... and further than that I have problems setting the Theme... it doesn't matter which theme I set, always see the same.
All this look the same:
DialogTheme.DEVICE_DEFAULT_LIGHT, DialogTheme.MATERIAL_LIGHT, DialogTheme.DEVICE_DEFAULT_DARK...
I use the following code:
_activityDialog = Dialog.service.create(
new ActivityBuilder()
.setTheme( new DialogTheme( DialogTheme.DEVICE_DEFAULT_LIGHT))
.build()
);
Thanks in advance for any help
There is no way to control the animations of native dialogs at this point.
The themes are applicable only to Android and depend on the version of Android you are using.
If you are looking for an enhancement to the ANE feel free to drop an enhancement request into github: (http://github.com/distriqt/ANE-Dialog/issues)
Or add a request to our suggestion site: http://distriqt.uservoice.com

Netbeans JSF Palette

Ok, I have been trying to find answer for two days now. I created new Web Application and added JSF framework to it. But when I opened a palette I can see only few tags to be dragged and dropped. I can see HTML, HTML Forms and JSF categories with only about five tags in each. Do I have to add some library or something? Thank you for help.
You better get rid of Netbeans JSF palette when adding components to your page. Writing directly on the page you will be more productive because you have code completion assistance. If you look at the JSF palette it is like a set of squeleton generators more than an exhaustive components set. So basically I would use, perhaps, only the JSF Data Table [From Entity] palette item.

Arrow and tab navigation on Primefaces Tree Component

To make our application WAI-ARIA conformant, i would like to enable the users to be able to navigate, expand, close nodes on a Primefaces tree compoponent using the arrows, tabs and enter keys. On the PF showcase, I see that the tree is navigable using these keys but when I implement my own, I cant. Could anybody enlighten me how I could achieve this.
Can someone also confirm to me that this feature is only available in the Elite version of Primefaces 5.1.X? If so does anyone know when it would be available on the community version?
I am using the PF 5.1 community version on tomcat 7 container.
Easy to find in the PF issuelist and blog
Answer: Yes, since 5.1.3,
Answer 2: So it will be in a community version for 5.2
How to do this yourself? I'd try to download the tree.js source from PrimeFaces SVN from 5.1 and trunk, compare and try to patch the existing code

Desktop-like jsf-web-application

I want to create a desktop-like application with JSF 2.0 and Primefaces 2.2.1
I created a main Layout with two divs, the upper div containing a menubar with several submenus. When the user chooses a menuitem, I want to show the spezifyed xhtml page in the bottom div of my main layout, without loading the full page. So I am thinking of Ajax to do it. But I don't know how to realize it.
And by the way, is there a chance to change a p:menubar or a p:submenu by javascript?
Can someone help me?
At the risk of being down-voted, may I suggest that since it sounds like you're at the beginning of your project, you should consider a framework other than JSF 2.0 because it sounds like you're shoe-horning. GWT is the most obvious candidate. If you're used to desktop app development (especially in Java), Vaadin is another great candidate.

Java - RichFaces - RTL

I'm looking for Java "Faces" that supports RTL (Right To Left) user interfaces. The only library that I've checked so far is RichFaces. It seems that it doesn't support it natively.
What is a good resource that talks about this issue?
What other "Faces" can be recommend that natively support RTL user interfaces?
RichFaces components support the dir attribute.
The JSF standard components already do it since ages. They just supports all of the HTML attribues, including the dir attribute, which you can set to "rtl". I would be surprised if any of the 3rd party component libraries didn't inherit it.
In richfaces, it does support dir="rtl" in all components, yep it does not say you can not set the attribute dir but when you put it on, it will not display correct. To do so, in richfaces you need override its style, replacing left with right and right with left, i have checked it for simple components but for others like tree, like menu it would not be easy as i say. I have no idea what other components would support that.
btw i speak for 3.1.5. GA.
I didn't used it on my own, but was just googling about it and wikipedia states it might be candidate:
http://myfaces.apache.org/trinidad/

Resources