Pages: 1
Print
Author Topic: Problem with Conditional Conrefs  (Read 2714 times)
bzebian
Member

Posts: 27


« on: January 13, 2010, 01:54:53 PM »

This is with XMetaL 5.1. I've just seen this occur today & have not seen it before.

I insert a conref into a doc, then select the <ph> tag to apply a condition. On the Apply Condition Dialog I get a message saying that I can't apply a condition because the conref is read-only. But if I select the conref, then select Element Properties, I can apply the condition that way. It "unresolves" the conref reference and I have to do an Update References to restore it, but the condition is applied.

We use conditional conrefs for product names, so the same topic can be used in different product lines. Like I said, I have never seen this behavior before today.  I have been able to apply conditions to conrefs normally through the reuse dialog (I think).
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: January 13, 2010, 05:00:32 PM »

This is the expected behavior for our 5.1 and later releases. When you insert a "reusable component" (your <ph> with the conref attribute set in this case) and XMetaL Author Enterprise is showing the "referenced content" which it does by default (ie: the content contained in the external file) then the <ph> is read only because it does not make sense to allow you to modify what you are seeing. This is because what you are seeing is contained within another file and if you wish to make changes to that content you should open that file.

In order to make changes to the <ph> (the <ph> that has the conref attribute set in your current document) including its attributes, you need to be showing the "local content" (ie: the content for the <ph> that is actually present in the current document). To do this, right click on the <ph> and select "Show Local Content". After you have made changes, if you wish to see the "Referenced Content" again, you can either "Refresh All References" (which updates all references in the document), or right click on that particular <ph> again and select "Show Referenced Content".
« Last Edit: January 13, 2010, 05:03:04 PM by Derek Read » Logged
Pages: 1
Print
Jump to:  

email us