Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Re: How to dynamically set view as default in View Set

$
0
0

Hello,

 

if you have viewset with more views in viewareas, you can redefine method "DO_REPLACE_INITIAL_VIEW" on controller. In this method you can define, which view should be loaded for specific viewarea.

 

Or you can change logic in HTML and in some condition you can define, which vieware should be loaded. For example you have 3 viewarea, but only one with name "Load1" should be loaded:

add condition and this code:

<bsp:call comp_id = "<%= controller->GET_VIEWAREA_CONTENT_ID( 'Load1' ) %>"

          url     = "<%= controller->GET_VIEWAREA_CONTENT_URL( 'Load1' ) %>" />

 

With regards,

 

Jiri


Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>