Are there any non-editable presentation?
11 answers
Hi Philippe,
I set readonly property of the presentation "true". But I can still edit the workitem.
I set readonly property of the presentation "true". But I can still edit the workitem.
<section id="javaDeployRequestPresentation.section.scripts">
<presentation attributeId="java_deploy_request.service_insertion_scripts" kind="com.ibm.team.workitem.kind.html" label="Service Insertion Scripts">
<property key="readonly" value="true"/>
<property key="labelVisible" value="true"/>
</presentation>
<presentation attributeId="java_deploy_request.exception_insertion_scripts" kind="com.ibm.team.workitem.kind.html" label="Exception Insertion Scripts">
<property key="readonly" value="true"/>
<property key="labelVisible" value="true"/>
</presentation>
<presentation attributeId="java_deploy_request.query_insertion_scripts" kind="com.ibm.team.workitem.kind.html" label="Query Insertion Scripts">
<property key="readonly" value="true"/>
<property key="labelVisible" value="true"/>
</presentation>
</section>
Baris,
Sorry I was wrong. readonly attribute in your case doesn't take any uppercase on the "o".
Checking your snipped xml I realized that you were trying to make "read only" and HTML field.
I have the feelinthat neither an HTML field or a Description field can be set to read only.
I have submitted a WI to understand the situation: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=155816
Sorry I was wrong. readonly attribute in your case doesn't take any uppercase on the "o".
Checking your snipped xml I realized that you were trying to make "read only" and HTML field.
I have the feelinthat neither an HTML field or a Description field can be set to read only.
I have submitted a WI to understand the situation: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=155816
It can be HTML, text area, string or anything. The only thing I need is a non-editable attribute by gui. I will write to it in AttributePart extension.
Thanks,
Add a Simple Text field. Give permission to no process role. When ever you want to edit this field, assign permission to the role you have (administrator for example) and modify the text
It can be HTML, text area, string or anything. The only thing I need is a non-editable attribute by gui. I will write to it in AttributePart extension.
Thanks,
Baris,
As it is mentioned in https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=155816 this problem seems to be resolved in RTC 3.0 regarding the HTML field.
Did you give a try?
page 1of 1 pagesof 2 pages