Wish: New widget

Wish: New widget

Rather than having to create an expression to handle:ordered <.ol.>, unordered <.ul.> and list item <.li.> tags .

It be good if there was a widget that can be placed onto the web screen, and configured via the property panel -- this would make things alot easier and more presentable.
Hi Robert,

Have you considered using a List Records widget for this matter?
André Vieira
Thanks André

However UL/LI tags are used for specialised purpose, will use expression widgets for now.


A listrecord creates a table instead of UL/IL combination


+1 vote! It would be a nice addition.

Actually, a ListRecords widget IS your 'custom list widget', and a very resourceful tool to use on your webpages. Whenever you need to create those type of custom widgets (based on lists), you should use a ListRecords with the desired properties, and  Unescaped Content Expressions inside. You can even place these kind of 'custom list' ListRecords inside webblocks and reuse them.

Hi Joop,

When you configure the list record widget (not the table records widget) to use bullets as the line separator you get an UL/LI combination.

What do you do if you want to insert the following html code?

<li id="developer" class="sub"><a href="#nogo">Developers Resource</a>
<li><a href="#nogo">Item1</a></li>
         <li><a href="#nogo">Item2</a></li>
                <li><a href="#nogo">Item3</a></li>

Hi Robert,

What you have there is a nested list. In order to do this you'll need to have two ListRecords widgets.
In your webscreen you put a ListRecord widget that will give you the outmost list. Inside the ListRecord you put the link and a webblock. the webblock will have the second ListRecord. This is the way to nest ListRecords.

I've attached an untested example. Hope it helps you.

There is still a small glich in the listrecord.
When it renders to HTML it creates a SPAN tag around it.
I want to use it in conjunction with jQTouch and the SPAN will mess up the functionallity.

Still would be nice to have an unsorted list widget without any SPAN's

I've seen some other topics talking about the same issue, most of the time OutSystems advice is to create an expression ...