Hi,

I'm creating Author action that should allow user to browse for an image
file and then insert appropriate DocBook fragment:

<figure xmlns="http://docbook.org/ns/docbook";>
   <title>${caret}</title>
   <mediaobject>
    <imageobject>
      <imagedata fileref="${ask('Choose image file', relative_url, '')}"/>
    </imageobject>
  </mediaobject>
</figure>

I'm using
ro.sync.ecss.extensions.commons.operations.InsertFragmentOperation
action for this.

This works as expected in desktop Autor. However in Web Author URL
chooser appears, I can choose file, filename shows in input box. But
when I press OK button to accept chosen filename, input box is cleared
and nothing happens. I can close URL chooser only by using Cancel button.

Many thanks in advance,

                                        Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: ji...@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
     Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to