-
1. Re: CDK and SVG
sergeysmirnov Apr 20, 2007 6:18 PM (in response to mrnice)we do not see any restriction on the level we understand you task. If you can say more, we can discuss it it more details.
-
2. Re: CDK and SVG
mrnice Apr 23, 2007 2:56 AM (in response to mrnice)
Ok let me clarify again what I have:
1) In the Component i have a property of the type "org.wc3.dom.Element"
2) I have a backing Bean with a Field of the same type
3) I connect them with "svgdoc="#{modelBean.svgdoc}" in my jsp File.
So the problem I have is:
a) If i only sewt this property, my Backing Bean is not getting instanciiated
b) that the getsvgDoc() Method of the backing Bean is never called if the Backing Bean is instanciated by also setting another Property of the Component.
-> What could be the reason for this property not working? The type or that I did something wrong?
Regards Jan -
3. Re: CDK and SVG
mrnice Apr 23, 2007 3:25 AM (in response to mrnice)Hi,
this is a the setProperties() Function from the componentprotected void setProperties(UIComponent component) { // TODO Auto-generated method stub super.setProperties(component); // TODO - setup properties for other cases. // name svgdoc with type org.w3c.dom.Element setStringProperty(component, "svg",this._svg); }
It looks like the Porperty svgdoc is not set.
Could this be the reason for my problems?
And if yes, how could i resolve them?
Regards Jan -
-
-
6. Re: CDK and SVG
mrnice May 3, 2007 4:37 AM (in response to mrnice)sorry but this problem is still very urgent to me ...
is there a way to directly write a org.wc3.dom.document to a component or would you prefer to use an outputstream or something similar for this?
I do have to write the data to the component and later read it the svg data again into my bean.
Thanks a lot (even for small hints) -
7. Re: CDK and SVG
sergeysmirnov May 3, 2007 10:30 AM (in response to mrnice)If you can have or able to create a small application where the problem is reproduced, we can look at it and give recommendations. Otherwise, it is hard to imagine the whole picture you have on your side.