RE: Howto xsp process in C2 ?

2002-05-01 Thread Graaf, Edgar de (fin)
Title: Howto xsp process in C2 ?



1) I 
never worked with C1. But that is a problem, because C2 chooses the right 
logicsheet with that namespace. Wait a minute..ah the 'wrong way' as described 
in earlier examples does work...it didn't work in earlier versions of C2 or I 
did something wrong then (months ago). Okay then you could do as 
follow:

This: 
        
 
     
     
          
Has to 
be:
    
     
     

 

    
          

2) This should also be solved with the answer given in 
1)
Regards,
Edgar
    [Graaf, Edgar de 
(fin)] 
 -Oorspronkelijk bericht-Van: 
Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]Verzonden: maandag 
29 april 2002 15:48Aan: 
'[EMAIL PROTECTED]'Onderwerp: RE: Howto xsp process in C2 
?

  Hi 
  Edgar, thanks for your answer. I tried this and it works, but I have another 
  problems:
   
  1) I 
  don't want to define a namespace for this logicsheet, because I have my site 
  done and already running under C1 without using a namespace and now I 
  want to migrate it to C2. How can I do this ?
   
  2) 
  Under C1, the logicsheet was applied before compilation time, so the .java 
  generated had the logicsheet code in it. I saw that under C2 this doesn't 
  happen and it's a problem for me, because I use variables and other stuff 
  declared in the logicsheet. Any solutions ?
   
  Thanks again.
  
-Mensaje original-De: Graaf, Edgar de (fin) 
[mailto:[EMAIL PROTECTED]]Enviado el: Lunes 29 de Abril de 
2002 4:50 AMPara: '[EMAIL PROTECTED]'Asunto: 
RE: Howto xsp process in C2 ?
Yeah cocoon:/cotizacion_xsp.xsl. If I understand 
you correctly But don't you want to use logicsheets a configured in 
cocoon.xconf? (builtin-logicsheet)
 
(the wrong way) You have to make a 
pipeline:

     
  
 
     
And:
        
 
     
     
          
The 
hard part is that when I tried it cocoon:/ could not be used in generate. So 
if that is still true you have to make a inbetween.xsl that transforms index 
to what you want.
(the 
right way) !!!BUT the best way to do this is to make a builtin-logicsheet. 
That goes like this:!!!
1. 
you have a data file ( a xml)
2. 
You insert a tag for example: 
3. 
You construct a xsl that replaces this with logic
4. 
You add to cocoon.xconf:
   
5. 
Add the namespace http://www.holland.nl/queensday/whatever 
to your data.xml
6. 
By the way your data.xml is a XSP page..

 -Oorspronkelijk bericht-Van: 
Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]Verzonden: 
donderdag 25 april 2002 17:18Aan: 
    '[EMAIL PROTECTED]'Onderwerp: Howto xsp process in C2 
?

  Hi, I'm migrating from C1 to C2, and I guess I've get the 
  idea but I still can't make it work. 
  How can I do if I want to define a pipeline where I have a 
  source file wich is a XSP page, after generating it I have to transform it 
  by a logicsheet (XSL), then by the XSP processor and finally a stylesheet 
  (XSL).
  I did this: 
                               
   
  but it didn't work. Is there any whay to do shomething 
  like     
       
  ? 
  thanks in advance 
  Alejandro D. Raiczyk Desarrollo de 
  Proyectos Technisys Informática S.R.L. 
  Tel./Fax: +54(11)4322-7100 int 133 [EMAIL PROTECTED] 



RE: Howto xsp process in C2 ?

2002-04-29 Thread Alejandro Raiczyk
Title: Howto xsp process in C2 ?



Hi 
Edgar, thanks for your answer. I tried this and it works, but I have another 
problems:
 
1) I 
don't want to define a namespace for this logicsheet, because I have my site 
done and already running under C1 without using a namespace and now I want 
to migrate it to C2. How can I do this ?
 
2) 
Under C1, the logicsheet was applied before compilation time, so the .java 
generated had the logicsheet code in it. I saw that under C2 this doesn't happen 
and it's a problem for me, because I use variables and other stuff declared in 
the logicsheet. Any solutions ?
 
Thanks 
again.

  -Mensaje original-De: Graaf, Edgar de (fin) 
  [mailto:[EMAIL PROTECTED]]Enviado el: Lunes 29 de Abril de 
  2002 4:50 AMPara: '[EMAIL PROTECTED]'Asunto: 
  RE: Howto xsp process in C2 ?
  Yeah 
  cocoon:/cotizacion_xsp.xsl. If I understand you correctly But don't you 
  want to use logicsheets a configured in cocoon.xconf? 
  (builtin-logicsheet)
   
  (the 
  wrong way) You have to make a pipeline:
  
       
    
   
       
  And:
          
   
       
       
            
  The 
  hard part is that when I tried it cocoon:/ could not be used in generate. So 
  if that is still true you have to make a inbetween.xsl that transforms index 
  to what you want.
  (the 
  right way) !!!BUT the best way to do this is to make a builtin-logicsheet. 
  That goes like this:!!!
  1. you 
  have a data file ( a xml)
  2. You 
  insert a tag for example: 
  3. You 
  construct a xsl that replaces this with logic
  4. You 
  add to cocoon.xconf:
     
  5. Add 
  the namespace http://www.holland.nl/queensday/whatever 
  to your data.xml
  6. By 
  the way your data.xml is a XSP page..
  
   -Oorspronkelijk bericht-Van: 
  Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]Verzonden: 
  donderdag 25 april 2002 17:18Aan: 
  '[EMAIL PROTECTED]'Onderwerp: Howto xsp process in C2 
  ?
  
Hi, I'm migrating from C1 to C2, and I guess I've get the 
idea but I still can't make it work. 
How can I do if I want to define a pipeline where I have a 
source file wich is a XSP page, after generating it I have to transform it 
by a logicsheet (XSL), then by the XSP processor and finally a stylesheet 
(XSL).
I did this: 
     
                        
 
but it didn't work. Is there any whay to do shomething 
like     
     
? 
thanks in advance 
Alejandro D. Raiczyk Desarrollo de 
Proyectos Technisys Informática S.R.L. 
Tel./Fax: +54(11)4322-7100 int 133 [EMAIL PROTECTED] 



RE: Howto xsp process in C2 ?

2002-04-29 Thread Graaf, Edgar de (fin)
Title: Howto xsp process in C2 ?



Yeah 
cocoon:/cotizacion_xsp.xsl. If I understand you correctly But don't you want 
to use logicsheets a configured in cocoon.xconf? 
(builtin-logicsheet)
 
(the 
wrong way) You have to make a pipeline:

     
  
 
     
And:
        
 
     
     
          
The hard 
part is that when I tried it cocoon:/ could not be used in generate. So if that 
is still true you have to make a inbetween.xsl that transforms index to what you 
want.
(the 
right way) !!!BUT the best way to do this is to make a builtin-logicsheet. That 
goes like this:!!!
1. you 
have a data file ( a xml)
2. You 
insert a tag for example: 
3. You 
construct a xsl that replaces this with logic
4. You 
add to cocoon.xconf:
   
5. Add 
the namespace http://www.holland.nl/queensday/whatever 
to your data.xml
6. By 
the way your data.xml is a XSP page..

 -Oorspronkelijk bericht-Van: 
Alejandro Raiczyk [mailto:[EMAIL PROTECTED]]Verzonden: 
donderdag 25 april 2002 17:18Aan: 
'[EMAIL PROTECTED]'Onderwerp: Howto xsp process in C2 
?

  Hi, I'm migrating from C1 to C2, and I guess I've get the idea 
  but I still can't make it work. 
  How can I do if I want to define a pipeline where I have a 
  source file wich is a XSP page, after generating it I have to transform it by 
  a logicsheet (XSL), then by the XSP processor and finally a stylesheet 
  (XSL).
  I did this: 
       
                          
   
  but it didn't work. Is there any whay to do shomething 
  like     
       
  ? 
  thanks in advance 
  Alejandro D. Raiczyk Desarrollo de 
  Proyectos Technisys Informática S.R.L. 
  Tel./Fax: +54(11)4322-7100 int 133 [EMAIL PROTECTED] 


RE: Howto xsp process in C2 ?

2002-04-26 Thread Lai, Harry
Title: Howto xsp process in C2 ?



Hi 
Alejandro,
 
Here's 
a previous post that might be helpful:
 
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg06914.html
 
Basically, you need to do three things:
1) 
"Register" your logicsheet in the cocoon.xconf file (as described in the above 
post).
2) Add 
the logicsheet's namespace to your xsp doc (in the xsp:page 
element).
3) In your pipeline below, remove the transform step that references 
your logicsheet; by having done the previous two steps, your logicsheet will be 
processed during the generate step.
 
Hope that helps!
 
Harry
 

  -Original Message-From: Alejandro Raiczyk 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 25, 2002 
  10:18 AMTo: '[EMAIL PROTECTED]'Subject: Howto 
  xsp process in C2 ?
  Hi, I'm migrating from C1 to C2, and I guess I've get the idea 
  but I still can't make it work. 
  How can I do if I want to define a pipeline where I have a 
  source file wich is a XSP page, after generating it I have to transform it by 
  a logicsheet (XSL), then by the XSP processor and finally a stylesheet 
  (XSL).
  I did this: 
       
                          
   
  but it didn't work. Is there any whay to do shomething 
  like     
       
  ? 
  thanks in advance 
  Alejandro D. Raiczyk Desarrollo de 
  Proyectos Technisys Informática S.R.L. 
  Tel./Fax: +54(11)4322-7100 int 133 [EMAIL PROTECTED] 


Howto xsp process in C2 ?

2002-04-26 Thread Alejandro Raiczyk
Title: Howto xsp process in C2 ?





Hi, I'm migrating from C1 to C2, and I guess I've get the idea but I still can't make it work.


How can I do if I want to define a pipeline where I have a source file wich is a XSP page, after generating it I have to transform it by a logicsheet (XSL), then by the XSP processor and finally a stylesheet (XSL).

I did this:


    
    
    
    
    
    


but it didn't work. Is there any whay to do shomething like
    
    


? 


thanks in advance


Alejandro D. Raiczyk
Desarrollo de Proyectos
Technisys Informática S.R.L.
Tel./Fax: +54(11)4322-7100 int 133
[EMAIL PROTECTED]