Hi,

> > >
> > > You can use the ContentInterceptor class. Extend it, and 
> register the
> > > interceptor by adding a <content-interceptor class="Foo"/> in
> > > the namespace
> > > configuration element in Domain.xml.
> > >
> > > It allows to easily access all the metadata.
> > > I think here you would like to use the postStoreContent call
> > > and look at
> > > what is in the RevisionDescriptor.
> > >
> >

This is working great - can I use the preStoreContent method to do
validations, eg for a minimum set of metatags?

If so, is there a slide specific exception I can throw that will get passed
out to the client in a meaningful way?  

I tried raising a runtime exception - but this just comes out as a 500
Internal Server error.

Thanks in advance,
Chris

================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and 
are sent for the personal attention of the addressee. Although you may be the named 
recipient, it may become apparent that this email and its contents are not intended 
for you and an addressing error has been made. This email may include information that 
is legally privileged and exempt from disclosure. If you have received this email in 
error, please advise us immediately and delete this email and any attachments from 
your computer system.Rabobank International is the trading name of Co�peratieve 
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. 
Registered with the Registrar of Companies for England & Wales No. BR002630 and 
regulated by the SFA for the conduct of investment business in the UK.

The presence of this footnote also confirms that this email has been automatically 
checked by Rabobank International for the presence of computer viruses prior to it 
being sent, however, no guarantee is given or implied that this email is virus free 
upon delivery.


Reply via email to