Problem getting value from "Checkbox group value prompt"
        Posted  
        
            by Veer
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Veer
        
        
        
        Published on 2010-03-19T10:30:33Z
        Indexed on 
            2010/03/19
            11:11 UTC
        
        
        Read the original article
        Hit count: 297
        
cognos
Hi,
I've value prompt with ui:checkbox group
parameter: p_IsLastMonth
Name: Prompt_IsLastMonth
ItemCount: 1; UseValue:Yes, DisplayValue: LastMonth?
and two Date Prompts.
Whenever the checkbox is checked, the UseValue 'Yes' is passed to the parameter 'p_IsLastMonth'. But whenever the checkbox is left as it is, it results in an error.
Element 'selectOptions' is not valid for content model: 'All(style,defaultSelections,conditionalStyles,conditionalRender,XMLAttributes)' 
I also tried giving a default value. But the default value has to be in the collection. But i want only one checkbox to be displayed.
I tried with html checkbox. But i'm not able to send the value 'either yes or no' to the parameter through javascript because however the finish button overrides the value.
Any help?
© Stack Overflow or respective owner