Mobile: Logic of id attribute of a container

Mobile: Logic of id attribute of a container

  

Hi all,

What algorithm does Outsystems use to add an extension to the id attribute value?

Some of the container names I set in Service Studio are preserved and some get an extension in front of it.

cheers,

Roeland


Hi Roeland,

From my experience, it will add extension to the ids when those containers are "generated at runtime" and it does not know how many of those containers will be there on the screen. E.g., the items of a list.

I'm putting "generated at runtime" in double quotes because all html is generated at runtime...

Cheers,

José

José,

Thanks. 

This actually makes sense (could have figured that out myself  ).

Can we consider this to be the difference between static and non static content?


cheers,

Roeland

Hi Roeland,

Yep, maybe that is a better wording: static vs non-static. :)

But as I said, this is not an official answer. It's just my experience.

Cheers,

José