Any comment on that ? I would go ahead and swap absolute links to
relative links but I'm unsure about the consequences.
On 10/19/2010 11:02 AM, Thomas Heute wrote:
We embed some demo widgets ToDo, Calendar...
Some have absolute links such as:
http://localhost:8080/eXoGadgets...
Some have relative links:
/eXoGadgets
The problem with absolute links is that when someone changes the port or
the binding, it stops working.
So I propose that we use relative links everywhere since even if they
are imported in a 3rd party container the links wouldn't work.
Maybe there are reasons why some have absolute links, I don't know much
about gadgets.
See the absolute links used here:
Calculator/Calculator.xml:
thumbnail="http://localhost:8080/eXoGadgets/skin/DefaultSkin/portletIcons/Calculator.png"
Calendar/Calendar.xml:
thumbnail="http://localhost:8080/eXoGadgets/skin/DefaultSkin/portletIcons/Calendar.png"
Todo/Todo.xml:
thumbnail="http://localhost:8080/eXoGadgets/skin/DefaultSkin/portletIcons/Todo.png"
Todo/Todo.xml:<Locale
messages="http://localhost:8080/eXoGadgets/locale/Todo/ALL_ALL.xml" />
Todo/Todo.xml:<Locale lang="ar"
messages="http://localhost:8080/eXoGadgets/locale/Todo/ar_ALL.xml"
language_direction="rtl"/>
Todo/Todo.xml:<Locale lang="fr"
messages="http://localhost:8080/eXoGadgets/locale/Todo/fr_ALL.xml" />
Todo/Todo.xml:<Locale lang="vi"
messages="http://localhost:8080/eXoGadgets/locale/Todo/vi_ALL.xml" />
Thomas.
_______________________________________________
gatein-dev mailing list
gatein-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev