List Info

Thread: Re: listcms lastlevel




Re: listcms lastlevel
country flaguser name
Italy
2007-06-27 10:16:22
On Wed, 27 Jun 2007 18:04:43 +0300
"Arieh Skliarouk" <skliariehgmail.com> wrote:

> On third one, meshcms showed the links with top-most
entry missing.

Send me more details on this item so we can work it out: I
don't fully
understand the issue.

> On a related note, I want the links to be inside of
unordered list.
> Thus I made an hairy hack:
>  <cms:links path="/tkoshebrew/expertise"
welcome="false"
> pre="<ul><li>"
separator="</li><li>"
post="</li></ul>" />
> 
> Is there a way to print links as unordered list using
an built-in tag?

No, there isn't. With the tag as it is now, you can't do
better than
you did ;)

It should be converted to something like:

<cms:links path="...">
  <ul>
    <cms:item>
      <li>
        <cms:value />
      </li>
    </cms:item>
  </ul>
</cms:links>

where cms:item and cms:value should be generic tags that can
be used
inside other tags too. I have this change in the wishlist,
but it would
require the creation of a new taglib to skip backwards
compatibility
issues.

Luciano


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
MeshCMS-Discussion mailing list
MeshCMS-Discussionlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesh
cms-discussion

Re: listcms lastlevel
user name
2007-06-27 11:17:14
Hi,

Send me more details on this item so we can work it out: I don't fully understand the issue.

I have following menu (items that end with "_hebrew" consist from hebrew letters):

topmenu1
&nbsp;   - sub11_hebrew
 &nbsp;  - sub12
&nbsp; &nbsp; - sub13
topmenu2_hebrew
 &nbsp;  - sub21_hebrew
   ; - sub22_hebrew
   ; - sub23

And I have following in main.jsp
&nbsp;<cms:links path=";/topmenu1&quot; welcome=&quot;false&quot; />
...
 <cms:links path=";/topmenu2&quot; welcome=&quot;false&quot; />

The first <cms:links...> tag works perfectly, printing out "sub11_hebrew,sub12,sub13. The second one prints only "sub22_hebrew&quot; and "sub23", but no "sub21_hebrew&quot;.

If I go to the /topmenu2_hebrew page, then the same main.jsp template prints menu items for both tags correctly.

--
Arieh
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )