Skip to Content
0
Mar 05, 2006 at 05:40 PM

CHECKBOX - Condition

343 Views

Hi Forum,

It is Sunday and I has a problem 😔

I have a stateful BSP with a tabStrip and 2 tabStripItems.

In the tabStripItem 1 is a check box.

I mark this check box.

Now I change to tabStripItem 2.

Afterwards I change again to tabStripItem 1.

The check box is now marked no more.

How do I create it, which always possesses

the check box the correct condition?

Thanks in advanced, regards.

RoBu di AQu

That is my Coding. (you can test it with drag and drop)

Filed MARK TYPE STRING

-


<%@page            language            =        "ABAP"%>
<%@extension       name                =        "HTMLB"
                   prefix              =        "HTMLB"%>
<%@extension       name                =        "XHTMLB"
                   prefix              =        "XHTMLB"%>
<HTMLB:content     design              =        "DESIGN2003"
                   controlRendering    =        "SAP">
<HTMLB:document>
<HTMLB:documentHead/>
<HTMLB:documentBody>
<HTMLB:form        id                  =        "Test">
<XHTMLB:tabStrip   id                  =        "Test">
<XHTMLB:tabStripItem
                   title               =        "Strip_1"
                   name                =        "Strip1">
<HTMLB:checkbox    id                  =        "MARK"
                   text                =        "MARK"
                   key                 =        "X"/>
<br>
<HTMLB:textView    text                =        "MARK<%=MARK%>"/>
</XHTMLB:tabStripItem>
<XHTMLB:tabStripItem
                   title               =        "Strip_2"
                   name                =        "Strip2">
<br>
<HTMLB:textView    text                =        "MARK<%=MARK%>"/>
</XHTMLB:tabStripItem>
</XHTMLB:tabStrip>
</HTMLB:form>
</HTMLB:documentBody>
</HTMLB:document>
</HTMLB:content>