cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wermus Fernando <>
Subject RE: my first xsp page
Date Wed, 24 Sep 2003 14:13:00 GMT
            The problem was that I forgot to make a new in a variable. I
only have a one more question. I can see the new nodes, but when I apply the
stylesheet, it doesn´t appear the html related to these nodes. I can´t
figure it out because we are doing an off-line version of the program with
xml-xsl an javascript and woks fine. So the problem isn´t in the
The only difference between the off-line code an the online code is the
registry line where appears xmlns:xsp and xmlns:xsp-request attributes
<?xml version="1.0" encoding="UTF-8" ?> 
 <> - <registry
 <> - <field>
Any idea?
-----Mensaje original-----
De: Simon Bretin [] 
Enviado el: miércoles, 24 de septiembre de 2003 3:29
Asunto: Re: my first xsp page

I think the problem is that you have your java code within <![CDATA[
Another thing, is that right before the <field> line, you should add an
<xsp:content> tag. Basically everything within an <xsp:logic> tag should be
some Java code, except for the one being present between <xsp:content> tags.

See the correction inlined if I was not clear enough !


Wermus Fernando wrote:

I have a client class that it has its own names and values´ attributes in a
Properties class. I need to convert this in a xml with the tags
for each class
attribute. I get some errors and I don't know what´s up. Some
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- CVS: $Id: simple.xsp,v 1.3 2002/02/09 06:21:57 vgritsenko Exp $ -->
<xsp:page language="java" xmlns:xsp= <>
xmlns:xsp-request= <>
xmlns:log= <> ""
xmlns:capture= <>

                 miCliente.Cliente cliente=new miCliente.Cliente(5);
                 java.util.Properties prop=cliente.getProperties();
                 String propName="hola";
                 String property="hola";
                 while (propNames.hasMoreElements() ){
                         propName=(String) propNames.nextElement();

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message