Actually, you're right, looking at the source (
https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/components/Superfish.java),
it *is* a boolean. Docs may be out of date.

There's a Google Group --
https://groups.google.com/forum/#!forum/tapestry5-jquery -- that might be
the best avenue for an authoritative answer.


On Sun, Nov 18, 2012 at 8:01 AM, John <[email protected]> wrote:

> That's the component I'm talking about yes. I understand the
> supersubsParams that takes the config but not the supersubs  paramter
> itself. To me it should be a boolean?
>
> John
>   ----- Original Message -----
>   From: Bob Harner
>   To: Tapestry users
>   Sent: Sunday, November 18, 2012 12:14 PM
>   Subject: Re: superfish comp
>
>
>   I guess you're referring to the supersubs parameter of the superfish
>   component in the Tapestry5-jquery module, right?
>
>   Just a wild guess (haven't used it), but upon looking at the "with
>   Supersubs" tab at http://users.tpg.com.au/j_birch/plugins/superfish/ I
>   would guess the supersubs parameter is how you pass the supersubs
>   configuration settings. So it would be a JSON string containing something
>   like this:
>
>   {
>       minWidth:    12, // minimum width of sub-menus in em units
>       maxWidth:    27, // maximum width of sub-menus in em units
>       extraWidth:  1   // extra width can ensure lines don't sometimes
> turn or
>                        // due to slight rounding differences and
> font-family
>   }
>
>
>
>   On Sun, Nov 18, 2012 at 6:29 AM, John <[email protected]> wrote:
>
>   > Has anyone got an example of the JSONObject provided by the supersubs
> prop
>   > for the superfish component please? I expected this to be a Boolean
>   > literal, not a JSONObject property?
>   >
>   > John
>

Reply via email to