[WebApp] Define sub-topics of a topic read-only
Posted: Tue Jan 26, 2016 11:05 am
Hi,
I have the following use case, which I want to accomplish with the oxygen webapp:
The user opens a topic to edit some parts of it. In the middle of the topic is a subtopic, which he does not have to edit.
We are using processing instructions to define, which subtopic is read only.
Here is an example:
In the oxygen eclipse application we are accomplish this behaviour with the StylesFilter. The WebApp doesn't support the StylesFilter. We have also tried the https://www.oxygenxml.com/doc/versions/ ... ector.html, but unfortunately these won't work for processing instructions, yet.
Do you have any further ideas how we could accomplish this requirement for the webapp?
Thanks
Denis
I have the following use case, which I want to accomplish with the oxygen webapp:
The user opens a topic to edit some parts of it. In the middle of the topic is a subtopic, which he does not have to edit.
We are using processing instructions to define, which subtopic is read only.
Here is an example:
Code: Select all
...
<task id="task_fz4_b2h_55"> <--- this task should be editable
<title>Lorem ipsum</title>
<shortdesc>Lorem ipsum dolor sit amet</shortdesc>
<taskbody>
...
</taskbody>
<task id="task_gwp_r3h_55"> <--- this task should be read only
<? read-only ?> <--- read only pi
<title>sub title 1</title>
<taskbody>
<context>about</context>
<steps id="steps_p15_s3h_55">
<step>
<cmd>cmd</cmd>
</step>
</steps>
</taskbody>
</task>
<task id="task_s3q_t3h_55"> <--- this task should be editable
<title>sub title 2</title>
<taskbody>
<context>about</context>
<example>example</example>
</taskbody>
</task>
</task>
Do you have any further ideas how we could accomplish this requirement for the webapp?
Thanks
Denis