[OutSystems UI Web] Tabs Load On Click

Forge Component
(20)
Published on 5 Feb (2 weeks ago) by OutSystems R&D
20 votes
Published on 5 Feb (2 weeks ago) by OutSystems R&D

Hi 

The TabControl in OutSystems UI doesn't have the input parameter LoadOnClick.

is that still an feature in production or will that be obsolete?


now all preparations of all webblocks will be hit inside the tab control. and that was causing problems when migration applications from Silk UI to OutSystems UI.


we have a workaround for now, but that isn't a perfect solution. 


Thnx

Best Regards



Hi Paul,


You can still use the old tabs (with the LoadOnClick option). You can add it in Manage Dependencies, select it in WebPatterns:

Hope this can help you.


Regards,

Ricardo

Hello Paul,

Have you tried using an IF widget to toggle the correct tab content, or is it not an acceptable way to achieve the result you need?

Ricardo Pereira wrote:

Hi Paul,


You can still use the old tabs (with the LoadOnClick option). You can add it in Manage Dependencies, select it in WebPatterns:

Hope this can help you.


Regards,

Ricardo

then you are using Silk UI and OutSystems UI together, don't know about that working properly.  

our decision was to completely remove silk UI because of that. 


Dinis Carvalho wrote:

Hello Paul,

Have you tried using an IF widget to toggle the correct tab content, or is it not an acceptable way to achieve the result you need?

Thnx for the respond. 


what we now use is: 

HeaderItem Container OnClick to ScreenAction, where we refresh the  TabContent.

ps. the Tabs Entitie is not from WebPatterns Module ( its a new static entity) 


PrepareTab ScreenAction


It works, but we are wondering if this was the way to do it now, or is it still in development.

before we implement it everywhere.


Best Regards


Paul Geven




Hi Paul,

Thx for sharing your solution. I was also wondering if this is something that will change on OutsystemsUI. Tabs having some kind of lazy load.

Regards,

Marcelo

Hi!

Yes, this is something we'll consider to release as an improvement to the pattern, as it seems to be a common use case.