It's all about the answers!

Ask a question

hideIfInState property


Ivan Bogovic (931311) | asked Jan 11 '10, 4:08 a.m.
When i populate attribute property "hideIfInState" with one value(only one ID) presentation behave OK, when i try like discribed in http://jazz.net/library/article/130 to use comma-separated list of workflow states ID's to hide attribute, presentation behave wrong, attribute is visible in all states.

Can somebody please test this behavior, or provide XML example of using "hideIfInState" property with multiple ID's.

Web app server: WAS 6.1.0.27
version: RTCz 2.0.0.1
Server: z/OS 1.10

Thanks,
Ivan

4 answers



permanent link
Patrick Streule (4.9k21) | answered Jan 11 '10, 5:08 a.m.
JAZZ DEVELOPER
When i populate attribute property "hideIfInState" with one
value(only one ID) presentation behave OK, when i try like discribed
in http://jazz.net/library/article/130 to use comma-separated list of
workflow states ID's to hide attribute, presentation behave wrong,
attribute is visible in all states.

Can somebody please test this behavior, or provide XML example of
using "hideIfInState" property with multiple ID's.

The following works for me. Please note that the space between the comma
and the next state id seems to be required (I have created work item
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/102716).

<property>

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Ivan Bogovic (931311) | answered Jan 11 '10, 6:46 a.m.
Thank you,
inserting space solved the problem.

Regards,
Ivan

permanent link
Jan Šťastný (1212147) | answered Jun 09 '10, 1:05 p.m.
Hi,

I'm in the same situation -- I want to hide certain attributes in some state (hiding the whole tab would be better, but does not seem to be possible...).

If I use the "comma-space-separated" list of state IDs, it works as expected only in Eclipse.
The Web UI only accepts the single value configuration.

We use RTC 2.0.0.2 iFix2.

permanent link
Peter Vilhelmsen (32) | answered Dec 02 '13, 8:26 a.m.
edited Dec 02 '13, 8:28 a.m.
For me, this works only when I remove commas between the states in the property key definition of hideIfInState.  

I use version 4.0.3

Your answer


Register or to post your answer.