[opencms-dev] access rendered content which is not yet published

M Butcher mbutcher at grcomputing.net
Thu Jan 22 19:10:02 CET 2004


I think you'd have to log in, and make sure that that user has its 
default project set to offline.

Sam Razialruh wrote:
> hello,
> 
> how can i access content within java-code, which is not yet published.
> using 
>    URL url = new URL("/example/example.html");
>    InputStream stream = url.openStream();
>    .....
>    .....
>    stream.close();
> gives me only the published content of the url.
> what i want is somehow receive the rendered content, which is not yet
> published.
> 
> i also tried, with the same effect:
>   URL url = new
> URL(http://localhost:8280/opencms/opencms/system/workplace/action/explor
> erShowResource.html?url=/example/example.html");
> .....
> 
> can someone please help me out?
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list