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"/>
> 
> ???????????..
> 

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 .




> 
> 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";
> 

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



>  
> 
> Another phaenomenon: When I modify the structure oft he menu by
> inserting an *icon-attribute*, XXE reports an invalid attribute.

Make sure that the URL of the icon is correct and that it points to an
existing 16x16 image file.




>  
> 
> Surely, I did something wrong?
> 
>  
> 

Probably, yes. Do not hesitate to send us your prototype configuration
(all configuration files + a sample document packaged in a .zip or
.tar.gz archive). If you do this, we should be able to return you a
working (prototype) configuration.


Reply via email to