Skip to Content
0
Former Member
Jul 26, 2007 at 03:22 PM

BEx WAD: CHANGE_TEMPLATE dynamically

23 Views

Hi,

I want to change the web template by clicking on a table row. So far this is not a problem: I have configured the selection property "SINGLE_WITH_COMMAND" for the relevant Analysis_Item. But the relevant Change-To-Web Template is static. What do I have to do when I want to switch to different web templates by clicking on different rows.

For example:

click on row number 1 -> change to web template number 1

click on row number 2 -> change to web template number 2

...

The XHTML in the web template:

<bi:SELECT_ROWS type="CHOICE" value="SINGLE_WITH_COMMAND" >

<bi:SINGLE_WITH_COMMAND type="COMPOSITE" >

<bi:ACTIVATION_ACTION type="CHOICE" value="INSTRUCTION" >

<bi:INSTRUCTION >

<bi:SET_TEMPLATE >

<bi:TEMPLATE value="ZZ_WT01" text="Web Template 1" />

</bi:SET_TEMPLATE>

</bi:INSTRUCTION>

</bi:ACTIVATION_ACTION>

</bi:SINGLE_WITH_COMMAND>

</bi:SELECT_ROWS>

I think that I have to change the value in <bi:TEMPLATE value="ZZ_WT01" text="Web Template 1" /> dynamically. But how can I do that?

Best regards

Christophe