Page 1 of 1
Fallback text not showing in <ul> element
Posted: Fri Jun 26, 2015 6:04 pm
by wbrisett
We're using Oxygen Author 16.1.0v2014100 within Ixiasoft and eclipse. I'm seeing a very strange behavior. In DITA, when I have fallback text inside a conkeyref element it shows as expect with one exception; inside the <ul> element.
For example if I have <p conkeyref="xxx/my.key">this is static text</p>, I see the static text. Displayed. However, if I have:
Code: Select all
<ul conkeyref="xxx/new.key">
<li>static text</li>
<li>more static text</li>
</ul>
I don't see my fallback list items. Why?
Re: Fallback text not showing in <ul> element
Posted: Mon Jun 29, 2015 10:40 am
by Radu
Dear Wayne,
By default in Oxygen 17 the following rendering behavior should take place in the Author visual editing mode:
1) If the conkeyref attribute properly resolves to a target element, the fallback content will be hidden from the end user.
2) If the conkeyref fails to resolve to a target element, the fallback content is shown to the end user.
Our users wanted this behavior because they needed to see the document closer to its publishing form.
In Oxygen 16.1 this behavior we wanted to achieve does not work for cases like <p conkeyref="xxx/my.key">this is static text</p>.
So when you will upgrade to Oxygen 17, both cases will be consistent and will hide the fallback content if the conref or conkeyref is properly resolved.
But from what I understand you seem to want the other approach, of always showing the fallback content.
If so, I could direct you to making some CSS changes in the CSS stylesheet used to render the DITA content.
Regards,
Radu
Re: Fallback text not showing in <ul> element
Posted: Mon Jun 29, 2015 3:45 pm
by wbrisett
Thanks Radu:
I don't always want to show fallback. I do want to do exactly what you have planned in v17. In v16, I get both, which isn't great, but I can live with it. It's the <ul> element that is problematic, if the key doesn't resolve, there's no fallback text being shown in the editor. Open Toolkit does handle it OK, just not the editor.
Has this behavior been changed for v17?
-Wayne
Re: Fallback text not showing in <ul> element
Posted: Mon Jun 29, 2015 3:53 pm
by Radu
Hi Wayne,
Oxygen 17.0 was released about one or two months ago. And it should present the ul with conkeyref exactly as the published output does, when the conkeyref fails the fallback content is presented and when the conkeyref is successful the fallback elements are hidden.
Regards,
Radu
Re: Fallback text not showing in <ul> element
Posted: Mon Jun 29, 2015 4:32 pm
by wbrisett
Perfect. I own a personal copy of 17, but at work since we're working inside eclipse with Ixiasoft, we're a bit behind. Good to know this will change when we upgrade things.
Thanks again!