Michael Klauss
Posts: 0
Joined: Thu Mar 15, 2012 3:55 pm

MAPPING REST PARAMETER

Hi Max, It's me again!

First of all ... I have searched in "forum satisfaction" about my questions.

I have read all about tiggzi tutorials.

But i did not found any information about what can i have the to to solve my problem.

My question:

In my Home page, i have put the list and each element have a text label. This text label i have wrote for each element. It's beaultiful.

But ... My second page have a list. This list is populated by my rest service.

The tutorial say: Put this list in a grid and put a label for each element to show the text. I did it.

All my services return a "name" parameter. I have mapped the name to the label. Worked ... BUT .....

The list looks do not like my first list, Which i did not put in the grid ... and i have direct wrote the text in a text field.

What can i to have the map to the "Attribute name" from text field to rest in service "MobileListItem"?

More And one question. :-)

What can i have to to the limit to show the character lenght for each ITEMLIST?

For example ...

Label for each element in the list have the string too long. "The Grace of Mary Hospital of the Brook."

I want the lenght limit. This character string have 40 ...

And i want show: "The Lady of Grace Hospital .." With about 26 characters (for example)

With 3 points in the final string of ...

Did You Understand?

Sorry ... my english is not so good.

I'm sending the email to support with the printscreen.

Thank you again Max!

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

MAPPING REST PARAMETER

If I understand your question correctly, you don't need a grid to iterate over a list of values. You can also use a List or Collapsible Block - for example.

If you need to limit the length of a label - just use some basic JavaScript to check the length and then shorten it and adding ... if needed.

Michael Klauss
Posts: 0
Joined: Thu Mar 15, 2012 3:55 pm

MAPPING REST PARAMETER

Thank ́s Max!

I ́m trying set the text direct in text(No label) of ItemList(Mapping from my service). But it isn ́t the most important to now.

Michael Klauss
Posts: 0
Joined: Thu Mar 15, 2012 3:55 pm

MAPPING REST PARAMETER

It ́s ok now.

I ́m using the component "COLLAPSIBLE BLOCK"

Thank you!

I am very satisfied with Tiggzi!

Return to “Issues”