You can call it in a similar way as for a model-level:
${class.getWebAppConfiguredProperty("<property name>")}
Vincent-Olivier Arsenault wrote:
I found out that in the "FacadeBase.vsl" template, the
domain.package.root property is hardcoded to "org.mdarad.global" and
when it is customized, of course, it won't compile.
I didn't fix it because I'm not sure how to get the properties from an
Entity-level template (I see how it's done on a model-level template,
though, but the $mainpackage variable is not in the entity scope).
Vincent
Vincent-Olivier Arsenault wrote:
Well,
like I said, I just did an update from the genapp CVS and the only
thing that is custom is the model, at this point. I have no
default.properties for the generated app build. Also, the
UnicityViolationException is a rather old outlet... And last, I did
chek in the default.properties and both the
"ignoreExceptionUnicityViolation" and the "ignoreDAOFactory"
properties are set to "false".
Vincent
François Eric wrote:
Please send your questions to the list so that we keep a trace of
the answers.
The files are probably not being generated because your
default.properties does not have the ignoreXXX=false for the new
outlets. Compare your default.properties with the one in
mdarad-genapp/templates/build
François
Vincent-Olivier Arsenault wrote:
Après avoir fait un update total de mdarad-genapp et fait un
genapp, en essayant de compiler mon modèle UP4C, j'ai les erreurs
suivantes....
1) pour une raison quelconque les ServiceLocator, DAOFactory, etc.
ne sont pas générés
2) les UnicityViolationException ne sont pas générés
weird?!!? saurais-tu pourquoi?
Vincent
[javac]
/Users/vincent/Desktop/up4/up4c/projects/dataisland.org/workspace/up4.com/output/cumul/src/java/com/up4/account/customer/delegates/MeasurementProfileDelegate.java:3:
cannot resolve symbol
[javac] symbol : class ServiceLocator [javac] location:
package up4
[javac] import com.up4.ServiceLocator;
...
[javac]
/Users/vincent/Desktop/up4/up4c/projects/dataisland.org/workspace/up4.com/output/cumul/src/java/com/up4/account/facades/TransactionalAccountBusinessObjectFacadeBase.java:13:
package org.mdarad.global.dao does not exist
[javac] import org.mdarad.global.dao.DAOFactory;
...
[javac]
/Users/vincent/Desktop/up4/up4c/projects/dataisland.org/workspace/up4.com/output/cumul/src/java/com/up4/account/trader/dao/StockKeepingUnitDAO.java:49:
cannot resolve symbol
[javac] symbol : class
StockKeepingUnitOrdernumberUnicityViolationException [javac]
location: class com.up4.account.trader.dao.StockKeepingUnitDAO
[javac] public StockKeepingUnit
saveStockKeepingUnit(StockKeepingUnit instance) throws
org.mdarad.framework.exception.ConcurrencyException, DAOException,
StockKeepingUnitOrdernumberUnicityViolationException {
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Mdarad-toolbox-devs mailing list
Mdarad-toolbox-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mdarad-toolbox-devs
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Mdarad-toolbox-devs mailing list
Mdarad-toolbox-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mdarad-toolbox-devs