[ 3 posts ]

Sebastián Gurin

  • Offline
  • Profile

widget auto style

Post Posted: Sun Aug 12, 2012 9:31 am
+0-
First of all very good work for this widget. I integrated it on a new project YUIGWT http://code.google.com/p/yuigwt/ - A YUI Java API. The Accordion example is :

http://cancerbero.vacau.com/yuigwt/?test=accordion1

It work very good and it was easy to integrate in Java: however, the only bad detail I noticed is that the widget do not automatically style itself, like the other YUI widgets. Instead, I must explicitly load the accordion.css file (in my example using Y.get, see the example java sources).

So, I'm missing something here, like a accordion config or something for automatic style? (as a high level widget I expect that behavior when I say YUI.use("accordion"...).)

Regards

Iliyan Peychev

YUI Contributor

  • Username: peychevi
  • Joined: Tue Feb 24, 2009 12:38 pm
  • Posts: 136
  • Location: Varna, Bulgaria
  • Twitter: ipeychev
  • GitHub: ipeychev
  • Gists: ipeychev
  • Offline
  • Profile

Re: widget auto style

Post Posted: Mon Aug 13, 2012 12:01 pm
+0-
Cancerbero wrote:
First of all very good work for this widget. I integrated it on a new project YUIGWT http://code.google.com/p/yuigwt/ - A YUI Java API. The Accordion example is :

http://cancerbero.vacau.com/yuigwt/?test=accordion1


Nice work, looks awesome!

Cancerbero wrote:
It work very good and it was easy to integrate in Java: however, the only bad detail I noticed is that the widget do not automatically style itself, like the other YUI widgets. Instead, I must explicitly load the accordion.css file (in my example using Y.get, see the example java sources).

So, I'm missing something here, like a accordion config or something for automatic style? (as a high level widget I expect that behavior when I say YUI.use("accordion"...).)

Regards


What is probably missing is skinable:true. Maybe this is some regression, I will take a look.

Thanks for your report!

Iliyan Peychev

YUI Contributor

  • Username: peychevi
  • Joined: Tue Feb 24, 2009 12:38 pm
  • Posts: 136
  • Location: Varna, Bulgaria
  • Twitter: ipeychev
  • GitHub: ipeychev
  • Gists: ipeychev
  • Offline
  • Profile

Re: widget auto style

Post Posted: Wed Aug 15, 2012 7:50 am
+0-
Okay, I added this property, that should do the trick.

Iliyan
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum