Hi, Mark;

Mark Lundquist-2 wrote:
> 
>> and i should move to something else
>> (flow-script?)
> 
> Yes, flowscript + template block
> 
>> How shall i proceed ? I will try the flow-script way now, but i am
>> absolutely
>> unsure, it doesnt feel right ? Flowscript smells like client side,  
>> but i am
>> entirely
>> server side (well i thought i use dojo for interaction... hmm)
> 
> No, flowscript is entirely a server-side technology.  I find it a very  
> pleasant way to program Cocoon applications.
> 

well, i am now quite a few steps further. Sometimes when you dig and dig,
you miss
the obvious. Now i understood, that the flow-script is indeed javascript,
but it only
regulates the when which page will be called, yes server side, and no, thats
not where
the business logic is placed, tht is in the jx-templates served by the
JXTemplateGenerator
(this is what you mean by "template block"? ).  Well, it looks, like there
finally i get the 
bridge to my java stuff...

So i expect now, that i can feed my java based backend into the
JXTemplateGenerator and that is
almost where i want to get... The last bit i need is, how to introduce my
own classes.

I guess it is sufficient to pack them into a jar file and then simply adress
them out of the *.jx files ?
My classes already conform to beans, so they have getters and setters. is
that enough ?
or do i have to register my classes as beans to spring ? well... i will see
;-)

Anyways, the stormy wheather clears up by now and it looks like i can get
further towards my 
goals quite fast now ;-) 

Thanks again for all input and clearification!

regards, hussayn
-- 
View this message in context: 
http://www.nabble.com/How-can-i-activate-XSP-in-cocoon-2.2---tp19452293p19458245.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to