New component pe:statusBar
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Prime style!
Hi Cagatay,
Any news here for tooltip on p:progressBar?
Also this issue is not solved viewtopic.php?f=3&t=22439 What we need is a "toogle button" changing text on toogle. <p:toogleButton ... like a normal button ... + firstLabel="..." secondLabel="..."/> I would take p:selectBooleanButton, but it looks different for both (yes / no) states. An additional attr. for styling p:selectBooleanButton as a normal button would be great.
Any news here for tooltip on p:progressBar?
Also this issue is not solved viewtopic.php?f=3&t=22439 What we need is a "toogle button" changing text on toogle. <p:toogleButton ... like a normal button ... + firstLabel="..." secondLabel="..."/> I would take p:selectBooleanButton, but it looks different for both (yes / no) states. An additional attr. for styling p:selectBooleanButton as a normal button would be great.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I couldn't work on these due to lack of time, in my todo/review list.
So you don't want the active style visuals when yes is clicked?
So you don't want the active style visuals when yes is clicked?
Sorry for my impatience. Ok.I couldn't work on these due to lack of time, in my todo/review list.
Yes, exactly. No other requirements.So you don't want the active style visuals when yes is clicked?
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I think you need to override client side api like;
Original code adds ui-state-active as well. This is one way, maybe there is an easier way.
Code: Select all
PrimeFaces.widget.SelectBooleanButton.prototype.check = function() {
if(!this.disabled) {
this.input.attr('checked', 'checked');
this.jq.children('.ui-button-text').html(this.cfg.onLabel);
if(this.icon.length > 0) {
this.icon.removeClass(this.cfg.offIcon).addClass(this.cfg.onIcon);
}
this.input.change();
}
}
I wouldn't like to overwrite it globally. But ok, thanks.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Posts: 10
- Joined: 16 Aug 2012, 10:39
Are these new properties of progressbar already available in Primefaces ? If so in which version ?
I see the options in showcase labs, but not in the normal showcase.
by the way, whats the primefaces version used for the labs ?
thanks.
I see the options in showcase labs, but not in the normal showcase.
by the way, whats the primefaces version used for the labs ?
thanks.
I think you should ask this question in the core forum. PF Ext. doesn't have Progress- / StatusBar.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 21 guests