Re: [skin][fluido] Operation not possible

2011-10-15 Thread Simone Tripodi
sorry again but something is not working properly again :(

my local copy of site.vm has r1183610 and still get

[ERROR] Left side ($decoration.bannerLeft.name) of '!=' operation
has null value. Operation not possible. META-INF/maven/site.vm [line
598, column 44]

Many thanks in advance for your help!
Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Oct 15, 2011 at 7:27 AM, Christian Grobmeier
grobme...@gmail.com wrote:
 On Fri, Oct 14, 2011 at 9:36 PM, Simone Tripodi
 simonetrip...@apache.org wrote:
 Hi all guys,
 after latest modifications, when generating the site, the site plugin
 reports the following error:

 [ERROR] Left side ($decoration.bannerLeft.name) of '!=' operation has
 null value. Operation not possible. META-INF/maven/site.vm [line 547,
 column 44]

 Does anyone has an idea how to fix it?

 Yes, and I fixed it already.

 It looks like you have defined a bannerLeft without a name. Usually
 the name will be taken as project name, but it seems this is not the
 case if you set a href or soemthing like that. Then the name property
 will be null. In vm null are bit more problematic, so I added if ...(
 $d.bannerLeft.name  ) and now it's working again.

 Cheers,
 Christian


 TIA!
 Simo

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





 --
 http://www.grobmeier.de

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [skin][fluido] Operation not possible

2011-10-15 Thread Simone Tripodi
it's the Apache DirectMemory site :)

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Oct 15, 2011 at 11:48 AM, Christian Grobmeier
grobme...@gmail.com wrote:
 Can you show me your bannerLeft/bannerRight elements in your site?

 On Sat, Oct 15, 2011 at 11:40 AM, Simone Tripodi
 simonetrip...@apache.org wrote:
 sorry again but something is not working properly again :(

 my local copy of site.vm has r1183610 and still get

    [ERROR] Left side ($decoration.bannerLeft.name) of '!=' operation
 has null value. Operation not possible. META-INF/maven/site.vm [line
 598, column 44]

 Many thanks in advance for your help!
 Simo

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/



 On Sat, Oct 15, 2011 at 7:27 AM, Christian Grobmeier
 grobme...@gmail.com wrote:
 On Fri, Oct 14, 2011 at 9:36 PM, Simone Tripodi
 simonetrip...@apache.org wrote:
 Hi all guys,
 after latest modifications, when generating the site, the site plugin
 reports the following error:

 [ERROR] Left side ($decoration.bannerLeft.name) of '!=' operation has
 null value. Operation not possible. META-INF/maven/site.vm [line 547,
 column 44]

 Does anyone has an idea how to fix it?

 Yes, and I fixed it already.

 It looks like you have defined a bannerLeft without a name. Usually
 the name will be taken as project name, but it seems this is not the
 case if you set a href or soemthing like that. Then the name property
 will be null. In vm null are bit more problematic, so I added if ...(
 $d.bannerLeft.name  ) and now it's working again.

 Cheers,
 Christian


 TIA!
 Simo

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





 --
 http://www.grobmeier.de

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





 --
 http://www.grobmeier.de

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



[skin][fluido] jdk5 proof?

2011-10-15 Thread Robert Scholte

I noticed this in the site.vm
 

 #if( $poweredBy.isEmpty() )
 a href=http://maven.apache.org/; title=$i18n.getString( site-renderer, 
$locale, template.builtby ) Maven class=poweredBy
 img class=poweredBy alt=$i18n.getString( site-renderer, $locale, 
template.builtby ) Maven src=$relativePath/images/logos/maven-feather.png 
/
 /a
 #end
 

String.isEmpty() is available since jdk6
http://download.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty()



I guess we want to support jdk5+, right?
 

-Robert   
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [skin][fluido] jdk5 proof?

2011-10-15 Thread Simone Tripodi
Hi Robert,
thanks for the notification, I'll fix it ASAP!
All the bets, have a nice WE!
Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Oct 15, 2011 at 12:50 PM, Robert Scholte rfscho...@codehaus.org wrote:

 I noticed this in the site.vm


  #if( $poweredBy.isEmpty() )
  a href=http://maven.apache.org/; title=$i18n.getString( site-renderer, 
 $locale, template.builtby ) Maven class=poweredBy
  img class=poweredBy alt=$i18n.getString( site-renderer, $locale, 
 template.builtby ) Maven 
 src=$relativePath/images/logos/maven-feather.png /
  /a
  #end


 String.isEmpty() is available since jdk6
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty()



 I guess we want to support jdk5+, right?


 -Robert
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Duplicate menu in Maven site

2011-10-15 Thread Simone Tripodi
Hi all guys,
just to let you know that the left menu in the site maven has
duplicate entries, the ASF menu item is rendered twice.
Have a look at the screenshot[1]
All the best,
Simo

[1] http://imageshack.us/photo/my-images/651/screenshot20111015at145.png/

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



[skin][fluido] Menu location

2011-10-15 Thread Ivan Habunek

Hi guys.

The way it is now in sanbox, the menu from site.xml is rendered in the 
side bar and in the top bar. Additionaly links are rendered in the 
right part of the top bar.


I think there's no reason to have menu rendered in two places. I can 
see several options here:


1. Render the links in the top bar, and menu in the side bar.

The problem is that currently, item nodes in links cannot have 
children, like they can in menu. See difference between LinkItem and 
MenuItem in the XSD [1].


This means that the links in the top bar cannot have drop-down lists 
like it is implemented now. For me this is not a big problem, but it 
does limit the available functionality offered by bootstrap.


2. Render both the menu and links in top bar, remove the sidebar.

This is the way it is now, but minus the sidebar. Personally, i don't 
want to remove the sidebar, it is much more appropreate for larger menus.


What do you think? Should we go with 1.? Any other ideas?

Regards,
Ivan

[1] http://maven.apache.org/xsd/decoration-1.1.0.xsd

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Duplicate menu in Maven site

2011-10-15 Thread Olivier Lamy
Maybe because we really want thanks asf :-)

--
Olivier
Le 15 oct. 2011 13:48, Simone Tripodi simonetrip...@apache.org a écrit :

 Hi all guys,
 just to let you know that the left menu in the site maven has
 duplicate entries, the ASF menu item is rendered twice.
 Have a look at the screenshot[1]
 All the best,
 Simo

 [1] http://imageshack.us/photo/my-images/651/screenshot20111015at145.png/

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




Re: [skin][fluido] Menu location

2011-10-15 Thread Simone Tripodi
Hi Ivan!
the reason why I started adding menus in 2 places is that while the
sidebar is fixed in the page, the topbar is always available while
scrolling the pages; immagine the skin applied to the Apache Commons
Digester guide[1], once reached the bottom page, users have the
commodity to avoid scrolling up to open a new guide page.

My proposal is to keep it ATM to experiment and collect feedbacks from
users too, maybe if we are lucky enough we attract more users to
express their opinion :)
WDYT?

Have a nice WE!
Simo

[1] http://commons.apache.org/digester/guide/binder.html

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



2011/10/15 Ivan Habunek ivan.habu...@gmail.com:
 Hi guys.

 The way it is now in sanbox, the menu from site.xml is rendered in the
 side bar and in the top bar. Additionaly links are rendered in the right
 part of the top bar.

 I think there's no reason to have menu rendered in two places. I can see
 several options here:

 1. Render the links in the top bar, and menu in the side bar.

 The problem is that currently, item nodes in links cannot have children,
 like they can in menu. See difference between LinkItem and MenuItem in the
 XSD [1].

 This means that the links in the top bar cannot have drop-down lists like it
 is implemented now. For me this is not a big problem, but it does limit the
 available functionality offered by bootstrap.

 2. Render both the menu and links in top bar, remove the sidebar.

 This is the way it is now, but minus the sidebar. Personally, i don't want
 to remove the sidebar, it is much more appropreate for larger menus.

 What do you think? Should we go with 1.? Any other ideas?

 Regards,
 Ivan

 [1] http://maven.apache.org/xsd/decoration-1.1.0.xsd

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Duplicate menu in Maven site

2011-10-15 Thread Simone Tripodi
sure, a big 'thank you' to the ASF is never enough :)

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Oct 15, 2011 at 2:11 PM, Olivier Lamy ol...@apache.org wrote:
 Maybe because we really want thanks asf :-)

 --
 Olivier
 Le 15 oct. 2011 13:48, Simone Tripodi simonetrip...@apache.org a écrit :

 Hi all guys,
 just to let you know that the left menu in the site maven has
 duplicate entries, the ASF menu item is rendered twice.
 Have a look at the screenshot[1]
 All the best,
 Simo

 [1] http://imageshack.us/photo/my-images/651/screenshot20111015at145.png/

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



RE: [skin][fluido] Menu location

2011-10-15 Thread Robert Scholte

I like the idea.

 

But we might improve the top-nav a bit.

Suppose you have a lot of links (or just a small browser) then the top-nav will 
claim another row.

I think we need some sort of fancy horizontal scrolling support here.

 

-Robert


 Date: Sat, 15 Oct 2011 14:17:55 +0200
 Subject: Re: [skin][fluido] Menu location
 From: simonetrip...@apache.org
 To: dev@maven.apache.org

 Hi Ivan!
 the reason why I started adding menus in 2 places is that while the
 sidebar is fixed in the page, the topbar is always available while
 scrolling the pages; immagine the skin applied to the Apache Commons
 Digester guide[1], once reached the bottom page, users have the
 commodity to avoid scrolling up to open a new guide page.

 My proposal is to keep it ATM to experiment and collect feedbacks from
 users too, maybe if we are lucky enough we attract more users to
 express their opinion :)
 WDYT?

 Have a nice WE!
 Simo

 [1] http://commons.apache.org/digester/guide/binder.html

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/



 2011/10/15 Ivan Habunek ivan.habu...@gmail.com:
  Hi guys.
 
  The way it is now in sanbox, the menu from site.xml is rendered in the
  side bar and in the top bar. Additionaly links are rendered in the right
  part of the top bar.
 
  I think there's no reason to have menu rendered in two places. I can see
  several options here:
 
  1. Render the links in the top bar, and menu in the side bar.
 
  The problem is that currently, item nodes in links cannot have children,
  like they can in menu. See difference between LinkItem and MenuItem in the
  XSD [1].
 
  This means that the links in the top bar cannot have drop-down lists like it
  is implemented now. For me this is not a big problem, but it does limit the
  available functionality offered by bootstrap.
 
  2. Render both the menu and links in top bar, remove the sidebar.
 
  This is the way it is now, but minus the sidebar. Personally, i don't want
  to remove the sidebar, it is much more appropreate for larger menus.
 
  What do you think? Should we go with 1.? Any other ideas?
 
  Regards,
  Ivan
 
  [1] http://maven.apache.org/xsd/decoration-1.1.0.xsd
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
 
 

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [skin][fluido] Menu location

2011-10-15 Thread Simone Tripodi
Hi Robert!
+1 to your suggestion, I'm playing with another site and just found
the issue you described :)
Thanks for your help!
Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Oct 15, 2011 at 2:32 PM, Robert Scholte rfscho...@codehaus.org wrote:

 I like the idea.



 But we might improve the top-nav a bit.

 Suppose you have a lot of links (or just a small browser) then the top-nav 
 will claim another row.

 I think we need some sort of fancy horizontal scrolling support here.



 -Robert

 
 Date: Sat, 15 Oct 2011 14:17:55 +0200
 Subject: Re: [skin][fluido] Menu location
 From: simonetrip...@apache.org
 To: dev@maven.apache.org

 Hi Ivan!
 the reason why I started adding menus in 2 places is that while the
 sidebar is fixed in the page, the topbar is always available while
 scrolling the pages; immagine the skin applied to the Apache Commons
 Digester guide[1], once reached the bottom page, users have the
 commodity to avoid scrolling up to open a new guide page.

 My proposal is to keep it ATM to experiment and collect feedbacks from
 users too, maybe if we are lucky enough we attract more users to
 express their opinion :)
 WDYT?

 Have a nice WE!
 Simo

 [1] http://commons.apache.org/digester/guide/binder.html

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/



 2011/10/15 Ivan Habunek ivan.habu...@gmail.com:
  Hi guys.
 
  The way it is now in sanbox, the menu from site.xml is rendered in the
  side bar and in the top bar. Additionaly links are rendered in the right
  part of the top bar.
 
  I think there's no reason to have menu rendered in two places. I can see
  several options here:
 
  1. Render the links in the top bar, and menu in the side bar.
 
  The problem is that currently, item nodes in links cannot have 
  children,
  like they can in menu. See difference between LinkItem and MenuItem in 
  the
  XSD [1].
 
  This means that the links in the top bar cannot have drop-down lists like 
  it
  is implemented now. For me this is not a big problem, but it does limit the
  available functionality offered by bootstrap.
 
  2. Render both the menu and links in top bar, remove the sidebar.
 
  This is the way it is now, but minus the sidebar. Personally, i don't want
  to remove the sidebar, it is much more appropreate for larger menus.
 
  What do you think? Should we go with 1.? Any other ideas?
 
  Regards,
  Ivan
 
  [1] http://maven.apache.org/xsd/decoration-1.1.0.xsd
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
 
 

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [skin][fluido] Menu location

2011-10-15 Thread Ivan Habunek

On 15.10.2011. 14:17, Simone Tripodi wrote:

Hi Ivan!
the reason why I started adding menus in 2 places is that while the
sidebar is fixed in the page, the topbar is always available while
scrolling the pages; immagine the skin applied to the Apache Commons
Digester guide[1], once reached the bottom page, users have the
commodity to avoid scrolling up to open a new guide page.

My proposal is to keep it ATM to experiment and collect feedbacks from
users too, maybe if we are lucky enough we attract more users to
express their opinion :)
WDYT?


I can understand your reasoning, but personally I don't like it. 
Especially since I spent the last month rearranging log4php maual so the 
pages would be smaller. :)


That said, let's leave it for now and see what others think. I can 
always override the template to suit my own needs.


Regards,
Ivan



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



[site] custom elements in site.xml not merged

2011-10-15 Thread Simone Tripodi
Hi again guys
I just figured out that if project B pom inherits from project A pom
which has attached the site descriptor with custom elements, in
project B the declared custom elements are just ignored...
Is it a known bug or it is an issue to be filled?
Many thanks in advance, all the best!
Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [skin][fluido] Operation not possible

2011-10-15 Thread Christian Grobmeier
My fault, it seems my commit did not go through.
Please update and try again. I have tested with DM site and it works
well for me now.

Cheers!

 Sat, Oct 15, 2011 at 12:33 PM, Simone Tripodi simonetrip...@apache.org wrote:
 it's the Apache DirectMemory site :)

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/



 On Sat, Oct 15, 2011 at 11:48 AM, Christian Grobmeier
 grobme...@gmail.com wrote:
 Can you show me your bannerLeft/bannerRight elements in your site?

 On Sat, Oct 15, 2011 at 11:40 AM, Simone Tripodi
 simonetrip...@apache.org wrote:
 sorry again but something is not working properly again :(

 my local copy of site.vm has r1183610 and still get

    [ERROR] Left side ($decoration.bannerLeft.name) of '!=' operation
 has null value. Operation not possible. META-INF/maven/site.vm [line
 598, column 44]

 Many thanks in advance for your help!
 Simo

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/



 On Sat, Oct 15, 2011 at 7:27 AM, Christian Grobmeier
 grobme...@gmail.com wrote:
 On Fri, Oct 14, 2011 at 9:36 PM, Simone Tripodi
 simonetrip...@apache.org wrote:
 Hi all guys,
 after latest modifications, when generating the site, the site plugin
 reports the following error:

 [ERROR] Left side ($decoration.bannerLeft.name) of '!=' operation has
 null value. Operation not possible. META-INF/maven/site.vm [line 547,
 column 44]

 Does anyone has an idea how to fix it?

 Yes, and I fixed it already.

 It looks like you have defined a bannerLeft without a name. Usually
 the name will be taken as project name, but it seems this is not the
 case if you set a href or soemthing like that. Then the name property
 will be null. In vm null are bit more problematic, so I added if ...(
 $d.bannerLeft.name  ) and now it's working again.

 Cheers,
 Christian


 TIA!
 Simo

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





 --
 http://www.grobmeier.de

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





 --
 http://www.grobmeier.de

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org





-- 
http://www.grobmeier.de

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [site] custom elements in site.xml not merged

2011-10-15 Thread Lukas Theussl


Looking at the source code of doxia's 
DefaultDecorationModelInheritanceAssembler, I would expect this to work. 
Can you provide a test project?


-Lukas


Simone Tripodi wrote:

Hi again guys
I just figured out that if project B pom inherits from project A pom
which has attached the site descriptor withcustom  elements, in
project B the declaredcustom  elements are just ignored...
Is it a known bug or it is an issue to be filled?
Many thanks in advance, all the best!
Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



RE: [skin][fluido] Menu location

2011-10-15 Thread Robert Scholte

I think something like tn3gallery did would be very nice.

Although they've done it for images, the same technic should also work for 
menubuttons.

I couldn't find a clean basic jquery-script to mimic this.

 

-Robert

 

[1] http://www.tn3gallery.com/


 Date: Sat, 15 Oct 2011 14:44:51 +0200
 Subject: Re: [skin][fluido] Menu location
 From: simonetrip...@apache.org
 To: dev@maven.apache.org

 Hi Robert!
 +1 to your suggestion, I'm playing with another site and just found
 the issue you described :)
 Thanks for your help!
 Simo

 http://people.apache.org/~simonetripodi/
 http://simonetripodi.livejournal.com/
 http://twitter.com/simonetripodi
 http://www.99soft.org/



 On Sat, Oct 15, 2011 at 2:32 PM, Robert Scholte rfscho...@codehaus.org 
 wrote:
 
  I like the idea.
 
 
 
  But we might improve the top-nav a bit.
 
  Suppose you have a lot of links (or just a small browser) then the top-nav 
  will claim another row.
 
  I think we need some sort of fancy horizontal scrolling support here.
 
 
 
  -Robert
 
  
  Date: Sat, 15 Oct 2011 14:17:55 +0200
  Subject: Re: [skin][fluido] Menu location
  From: simonetrip...@apache.org
  To: dev@maven.apache.org
 
  Hi Ivan!
  the reason why I started adding menus in 2 places is that while the
  sidebar is fixed in the page, the topbar is always available while
  scrolling the pages; immagine the skin applied to the Apache Commons
  Digester guide[1], once reached the bottom page, users have the
  commodity to avoid scrolling up to open a new guide page.
 
  My proposal is to keep it ATM to experiment and collect feedbacks from
  users too, maybe if we are lucky enough we attract more users to
  express their opinion :)
  WDYT?
 
  Have a nice WE!
  Simo
 
  [1] http://commons.apache.org/digester/guide/binder.html
 
  http://people.apache.org/~simonetripodi/
  http://simonetripodi.livejournal.com/
  http://twitter.com/simonetripodi
  http://www.99soft.org/
 
 
 
  2011/10/15 Ivan Habunek ivan.habu...@gmail.com:
   Hi guys.
  
   The way it is now in sanbox, the menu from site.xml is rendered in the
   side bar and in the top bar. Additionaly links are rendered in the 
   right
   part of the top bar.
  
   I think there's no reason to have menu rendered in two places. I can 
   see
   several options here:
  
   1. Render the links in the top bar, and menu in the side bar.
  
   The problem is that currently, item nodes in links cannot have 
   children,
   like they can in menu. See difference between LinkItem and MenuItem in 
   the
   XSD [1].
  
   This means that the links in the top bar cannot have drop-down lists 
   like it
   is implemented now. For me this is not a big problem, but it does limit 
   the
   available functionality offered by bootstrap.
  
   2. Render both the menu and links in top bar, remove the sidebar.
  
   This is the way it is now, but minus the sidebar. Personally, i don't 
   want
   to remove the sidebar, it is much more appropreate for larger menus.
  
   What do you think? Should we go with 1.? Any other ideas?
  
   Regards,
   Ivan
  
   [1] http://maven.apache.org/xsd/decoration-1.1.0.xsd
  
   -
   To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
   For additional commands, e-mail: dev-h...@maven.apache.org
  
  
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
  For additional commands, e-mail: dev-h...@maven.apache.org
 
 

 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org
 
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org