tlaverty ha scritto: > Andrea, > > Thanks very much, your advice was super-helpful for a newb to the geoserver > internals like me. > > The final challenge I have is getting the fid of a newly inserted feature. > In my non-plugin version I'm able to access the TransactionResponseType > result var and get the fid after an insert. Is that same information > available anywhere to a plugin?
Hum, good question. Does the the feature collection attached to the event contains feature with the updated fid? (haven't checked). If not, I guess we need to amend the TransactionPlugin interface and turn: void afterTransaction(TransactionType request, boolean committed); into void afterTransaction(TransactionType request, TransactionResponseType response, boolean committed); If the latter is what you need, please open a improvement report on jira.codehaus.org, I'll handle it as time allows. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
