I'm trying to inject the visit object in a component specification using the following declaration:

<inject-state property="visit" object="visit"/>


My IDE validates ok with the DTD and i checked the DTD myself just to make sure and it's correct. But when i run the application i get an exception:


Unable to read classpath:/pt/digitalis/siges/view/components/border/Border.jwc: Element type "inject-state" must be declared.


In the documentation it says that we should use:

<inject name="visit" type="state" object="visit"/>

but i also get an error on this because the inject element doesn't have a type attribute(i again checked the DTD and this it is right, it doesn't have the attribute)



Any ideas on this ? Is it a bug ?


Cheers

Hugo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to