0

We are not yet ready to move to 6.2, but don't want to add unnecessary barriers. In the alloyui upgrade from 1.5 to 2.0, many widgets disappear :

excerpt from Reintroducing AlloyUI (or meet Alloy 2.0):

Fewer Components

The last version of AlloyUI had 73 components, but for this first release of AlloyUI 2.0, we're going to have 20 components

One of the disappearing components is AutoComplete. To prepare for our future migration, I would much rather use the 'standard' YUI Autocomplete instead of the one in AlloyUI 1.5.

Hence my question:

Is it possible to use YUI separately from AUI in liferay 6.1 (We are on 6.1.2 ga3) ?

Alain

Community
  • 1
  • 1
Alain Dresse
  • 673
  • 8
  • 24

2 Answers2

0

I think not, It's not possible. AUI is strongly based on YUI 3.3, i think it's a way full of pains to change the YUI version.

You could use jQuery if AUI doesn't fits your needs now.

Daniele Baggio
  • 2,157
  • 1
  • 14
  • 21
  • Thanks for your reply... I wasn't thinking about replacing the version of YUI behind AUI, but more about using YUI separately, having both YUI() and AUI() global objects... – Alain Dresse Oct 16 '13 at 09:53
  • Using multiple versions of YUI on the same page indeed doesn't work. More on this [here](http://stackoverflow.com/questions/7726261/yui-version-conflict-issue-in-portlet). – Alain Dresse Oct 16 '13 at 23:48
0

Yes, you can use both without problems. You can use ALL YUI widgets you see on their page. Not only that, but you can use any of the widgets in YUI Gallery!

Hope that helps!

Iliyan Peychev
  • 130
  • 1
  • 10