appearance="xxforms:menu" gives nullpointer exception with select1 control when placed inside a xforms:group with false conditi

Hi,
I have placed a xforms:select1 control inside a xforms:group as below. It is working fine in the condition is satisfied but if the polpltfmmn is not equal to 'PEL' (if false) it is giving null pointer exception. When the control is not appearance="xxforms:menu" it is working fine.

PLOICYINFO1
1

The error is
[No error message provided.]
oxf:/ops/pfc/xforms-epilogue.xpl
java.lang.NullPointerException
Exception Class java.lang.NullPointerException

I think there may be any problem using xxforms:menu inside any xforms:group ref ? But displaying the control if condition is true.
Can you provide any suggession to solve my problem?
I want to display the select1 if polpltfmnm = 'PEL' and I want to hide the select1 control it false.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Orbeon specific?

Hi,

This looks to be a problem related to the Orbeon processor. formsPlayer doesn't rely on Java or support the value of 'xxforms:menu' for control @appearance attribute, which is not in the Xforms specification.

Posting your issue on the Orbeon forums may help solve your problem.

problem solved using another method xforms:bind nodeset

Issue :
We want to display a menu based on a node condition. So we kept the xforms:select1 inside a xforms:group refering to a node value. If the value is statified it is displaying the control, if the value is not satisfied it is not displaying the control .But then the contrl is a select1 and its appearance="xxforms:menu" then it is displaying NullPointerException

Problem :
It is a problem of xforms itself and it arises when the condition is false. so i am using another different approach.
Solution :
The logic behind this is

Binding the groups using bind nodeset ids and using relevant condition we are disabling the groups at run time.

Step 1: create two node sets say ,
Step 2: create bind node sets for two nodes through which we will bind to two groups

Step 3: create two groups with select1(menu) containig in it. say
Group1 :

Select a Status

Status One
1

Group 2:

Select a Status

Status One
1

Subrahmanyam

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.