cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonpday <jonathan....@blastradius.com>
Subject Re: Can jx:import just import some element in a file?
Date Fri, 30 Mar 2007 18:27:13 GMT


Rice Yeh wrote:
> 
> Hi,
>   Can jx:import just import some element in a file? I find all examples
> import the whole file specified in the uri. Can I just import some element
> in a file?
> 
> Rice
> 
> 

One way of doing it (bit hacky) is to call another pipeline
(uri="http://{request.ServerName}:{request.ServerPort}/cocoon/otherPipeline#fragment")
and configure that pipeline to return the fragments that you are looking
for.  Otherwise, I dont think it can be done reading a file from disk.  

HTH, 
JD
-- 
View this message in context: http://www.nabble.com/Can-jx%3Aimport-just-import-some-element-in-a-file--tf3491393.html#a9758532
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message