Then I have to write a service after all, so do you know which interface
I have to use (or define) to put in the invoke factory and service tags?
Kevin Menard escribió:
Jorge Quiroga wrote:
I has a doubt about the create-instance part because commons-logging
has its own LogFactory, and other doubt is about how I can set the
properties file maybe (follow the example) <create-instance
class="org.apache.commons.logging.Log,
log4j.configuration=/WEB-INF/classes/log4jproperties.xml"/>?
If you need to do some configuration, I'd recommend using a
StateObjectFactory and using <invoke-factory> rather than
<create-instance> in your HiveMind registry.
My .java parent page
@InjectState("Logger")
protected abstract Log getLogger();
But now, my app complaint and show this message on the child page
(even if I inject directly on MainForm.java)
Error at context:/WEB-INF/MainForm.page, line 5, column 50: Method
'protected abstract org.apache.commons.logging.Log
com.pct.SIG.MainPadre.getLogger()' (declared in class
com.pct.SIG.MainPadre) has no implementation in class
com.pct.SIG.MainForm (or enhanced subclass $MainForm_22).
I think only public abstract methods get enhanced. Try changing the
access modifier.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]