You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by brian janaszek <bj...@collaborativefusion.com> on 2003/06/12 20:46:46 UTC

Intake -- Getting more Field values

Hi

I'm trying to implement some changelog functionality into our Turbine
app, and it seems that everything I need for a changelog entry is
contained within our intake.xml file.  Most of the information I can
access via either the Group of Field objects, but I'd really like to be
able to get at the mapToProperty and dataType attributes within the
Field element.  I'm assuming that I'd have to hack the Intake code to
make these attributes public (or write public accessor methods for the
attributes) since there aren't public attributes for those fields in the
Javadocs.  Has anyone else done anything similiar?  Is there another to
way to access those fields without modifying the Intake codebase?

TIA
bmj


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Intake -- Getting more Field values

Posted by brian janaszek <bj...@collaborativefusion.com>.
Eric--

> You could just load the intake.xml file as a Document in DOM4J and do 
> whatever you want.

Thanks.  I think I'll just hack at the Intake code -- it's a pretty
quick fix.

Does anyone know if there was a good reason that some intake.xml Field
attributes aren't visible outside the scope of the Field class methods?

bmj



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: Intake -- Getting more Field values

Posted by Eric Emminger <er...@ericemminger.com>.
Brian

brian janaszek wrote:
> Hi
> 
> I'm trying to implement some changelog functionality into our Turbine
> app, and it seems that everything I need for a changelog entry is
> contained within our intake.xml file.  Most of the information I can
> access via either the Group of Field objects, but I'd really like to be
> able to get at the mapToProperty and dataType attributes within the
> Field element.  I'm assuming that I'd have to hack the Intake code to
> make these attributes public (or write public accessor methods for the
> attributes) since there aren't public attributes for those fields in the
> Javadocs.  Has anyone else done anything similiar?  Is there another to
> way to access those fields without modifying the Intake codebase?

You could just load the intake.xml file as a Document in DOM4J and do 
whatever you want.

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org