Hi,

        I'm using Domify and a valueobject organized like a simple
resultset. Thus it contains complex Java type, java.sql.Date for example.
        When Domify transforms my valueObject into XML structure, I've this
error :
        java.lang.RuntimeException: InvocationTargetException when invoking
public int java.sql.Date.getHours():  java.lang.IllegalArgumentException
        here the stack :
                at
org.infohazard.domify.ElementAdapter$MethodNodeListAdapter.item(ElementAdapt
er.java:116)
                at
org.infohazard.domify.ElementAdapter.getFirstChild(ElementAdapter.java:426)
                at
org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:169)
                at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerId
entityImpl.java:325)
                at
org.infohazard.maverick.flow.LastStep.go(LastStep.java:110)
                at
org.infohazard.maverick.opt.view.DomifyViewFactory$DomifyView.go(DomifyViewF
actory.java:109)
                at
org.infohazard.maverick.flow.ViewWithTransforms.go(ViewWithTransforms.java:3
9)
                at
org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:50)
                at
org.infohazard.maverick.Dispatcher.service(Dispatcher.java:179)

        In fact, to translate java.sql.Date, domify uses getHours() getter. 
        The alternative consists in converting all the complex java type
into String type.

        Is there something else to do ? Do you have noticed that ?

        Best regards
Oliver


**********************************************************************
Ce message et ses �ventuels fichiers attach�s sont confidentiels
et sont uniquement � l'attention de la personne physique ou morale
destinatrice. Si vous avez re�u ce message par erreur, merci d'en
avertir l'exp�diteur.

Ce bas de page assure �galement que ce message a �t� v�rifi� par un anti-virus
**********************************************************************


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user
Archives are available at http://www.mail-archive.com/

Reply via email to