Dear Hussein,

> 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.

Thank you very much for your generous offer!

I`m sure, you`ll fix the problem (up to now the namespaces didn`t resolve
it).

I will come back to you with a presentable version.

So long

Thanks

Stefan

__ Dienst __________________________________

Prof. Dr. med. Stefan Klatt MPH
Public Health / FB Elektrotechnik - Informatik
Fachhochschule Stralsund
Zur Schwedenschanze 15
18435 Stralsund
Fon: +49 (0) 3831 45 69 66
Fax:?+49 (0) 3831 45 71 1966
Mail: stefan.klatt at fh-stralsund.de 






-----Urspr?ngliche Nachricht-----
Von: Hussein Shafie [mailto:hussein at xmlmind.com] 
Gesendet: Montag, 1. Februar 2010 11:07
An: Stefan Klatt
Cc: xmleditor-support at xmlmind.com
Betreff: Re: [XXE] GenericTableSupport - Men? Options not active

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