cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] problems with xsp-request logicsheet
Date Wed, 02 May 2001 05:05:41 GMT


On Tue, 1 May 2001, Donald Ball wrote:

> (boy, the list has been awfully quiet today. makes me suspicious.)

Europe celebrates Labor Day.

> several of the methods in the xsp-request logicsheet make no sense. for
> instance, get-parameter-names. one would think that this template would
> resolve to an Enumeration expression which i could then use in my xsp
> logic. but no, instead it spits data out onto the SAX stream and returns
> nothing:
>
>   public static void getParameterNames(
>     Map objectModel,
>     ContentHandler contentHandler
>   )
>     throws SAXException
>   {
>     Request request = (Request)objectModel.get(Constants.REQUEST_OBJECT);
>     start(contentHandler, "parameter-names");
>
>     Enumeration e = request.getParameterNames();
>     while (e.hasMoreElements()) {
>       String name = (String) e.nextElement();
>       elementData(contentHandler, "name", name);
>     }
>
>     end(contentHandler, "parameter-names");
>   }
>
> um? this isn't how logicsheets were designed to work. anyone mind if i go
> through and rework the standard logicsheets to eliminate things like this?

Go ahead please, and thanks.

Giacomo



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message