Stefan Klatt wrote _________________________________________________________

> 

> Current problem: Trying to configure the GenericTableSupport, the menu

> remains inactive all the time (even if rows/Cols are selected)

> 

> I simply modified the example from the Documentation:

> 

>   <property name="hygf.simpleTableEdit.tableSpecification">

> 

>             table=stable

> 

>             row=str

> 

>             cell=std KommentarZelle StatusZelle

> 

>             rowspan=rowspan

> 

>             columnspan=colspan

> 

> </property>

> 

>  <command name="hygf.simpleTableEdit">

> 

>     <class>com.xmlmind.xmledit.cmd.table.GenericTableEdit</class>

> 

>   </command>

> 

>   <menu label="_HyGF">

> 

>     <menu label="C_olumn">

> 

>       <item label="_Insert Before"

> 

>             command="hygf.simpleTableEdit"
parameter="insertColumnBefore"/>

> 

>       <item label="I_nsert After"

> 

>             command="hygf.simpleTableEdit" parameter="insertColumnAfter"/>

> 

> 










..

> 

 

Hussein Shaffie wrote ____________________________________________________

 

>This looks OK.

> 

>However if your schema makes use of namespaces, <property

>name="hygf.simpleTableEdit.tableSpecification"> is incorrect.

> 

>It should like like:

> 

>---

><property name="hygf.simpleTableEdit.tableSpecification">

> table={my_namespace_URI}stable

> 

> row={my_namespace_URI}str

> 

>cell={my_namespace_URI}std {my_namespace_URI}KommentarZelle

>{my_namespace_URI}StatusZelle

> 

>  rowspan=rowspan

>  columnspan=colspan

></property>

>---

 

>See .

 

Stefan Klatt wrote _________________________________________________________

> 

> I also tried to insert an (neccessary?) @extension statement into the

> css (according to the DITA example). The problem remains!

> 

> @extension "com.xmlmind.xmledit.cmd.table.GenericTableEdit

> hygf.simpleTableEdit.tableSpecification";

> 

 

Hussein Shaffie wrote ____________________________________________________

 

>Please remove the @extension line. It's incorrect because

>GenericTableEdit is not a CSS stylesheet extension. GenericTableEdit is

>a command.

> 

> 

> 

> 

>                 stable {

> 

>                                display: table;

> 

>                                border: 1 solid black;

> 

>                                padding: 2;

> 

>                                border-spacing: 2;

> 

>                                background-color: silver;

> 

>                 }

> 

>                 str {

> 

>                                display: table-row;

> 

>                 }

> 

 

> Do not forget to declare some elements with display:table-cell

 

 

Stefan Klatt wrote _________________________________________________________

>  

> 

> Another phaenomenon: When I modify the structure oft he menu by

> inserting an *icon-attribute*, XXE reports an invalid attribute.

 

Hussein Shaffie wrote ____________________________________________________

 

>Make sure that the URL of the icon is correct and that it points to an

>existing 16x16 image file.

 

 

Stefan Klatt wrote _________________________________________________________

 

Thanks Hussein,

 

now anything works fine. Inserting the Namespaces {my_namespace_URI} and
some thoroughtness fixed the problem.

 

All the best

 

Stefan Klatt

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20100221/a1abd93e/attachment-0001.htm
 

Reply via email to