You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Dr. Hans M. Rupp" <ha...@danet.de> on 2002/07/30 11:21:00 UTC

XSP implents Interface ?

Hallo!

Can a XSP implement an interface?
If yes, what would be the proper syntax?

Many thanks,

Hans


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: XSP implents Interface ?

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Dr. Hans M. Rupp [mailto:hans-michael.rupp@danet.de]
> 
> We have an architecture where a command puts objects into the request
or
> session and the XSP fetches those Objects. Since both the command and
the
> XSP need to know the attribute name of a particular object in the
> request, I thought it might be nice to have an interface where the
> attribute names are declared. Then both the XSP and the command could
> implement this interface.

I got your point.

If there is interest in adding this feature, and no developer will
object, it should not be too complex to implement this feature.

Vadim


> Thanks,
> 
> 
> Hans
> 
> Vadim Gritsenko wrote:
> 
> > > From: Dr. Hans M. Rupp [mailto:hans-michael.rupp@danet.de]
> > >
> > > Hallo!
> > >
> > > Can a XSP implement an interface?
> >
> > No.
> >
> > (why?)
> >
> > Vadim
> >
> > > If yes, what would be the proper syntax?
> > >
> > > Many thanks,
> > >
> > > Hans


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: XSP implents Interface ?

Posted by "Dr. Hans M. Rupp" <ha...@danet.de>.
We have an architecture where a command puts objects into the request or
session and the XSP fetches those Objects. Since both the command and the
XSP need to know the attribute name of a particular object in the
request, I thought it might be nice to have an interface where the
attribute names are declared. Then both the XSP and the command could
implement this interface.

Thanks,


Hans

Vadim Gritsenko wrote:

> > From: Dr. Hans M. Rupp [mailto:hans-michael.rupp@danet.de]
> >
> > Hallo!
> >
> > Can a XSP implement an interface?
>
> No.
>
> (why?)
>
> Vadim
>
> > If yes, what would be the proper syntax?
> >
> > Many thanks,
> >
> > Hans
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>

--
--------------------------------------------
Dr. Hans M. Rupp
danet Internet Solutions GmbH
Waldburgstr. 17-19
70563 Stuttgart
Germany

Fon +49 711 133 53 50
Fax +49 711 133 53 53

------------------------------------------



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: XSP implents Interface ?

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Dr. Hans M. Rupp [mailto:hans-michael.rupp@danet.de]
> 
> Hallo!
> 
> Can a XSP implement an interface?

No.

(why?)

Vadim


> If yes, what would be the proper syntax?
> 
> Many thanks,
> 
> Hans




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>