Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

Integrating Javascript / Namespaces

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


dilino at dilino

Jan 12, 2008, 7:41 AM

Post #1 of 4 (146 views)
Permalink
Integrating Javascript / Namespaces

Hi,

I got two questions:

1) Is there a recommended way for integrating javascript with forrest. I
know that I can insert <script> tags and that they get interpreted. But
I'm not happy with the fact that the document is no longer valid then.

2) Is it possible to "merge" other namespaces into a document V2.0
namespace?

Many thanks in advance & cheers
Dieter


thorsten at apache

Jan 14, 2008, 3:31 PM

Post #2 of 4 (141 views)
Permalink
Re: Integrating Javascript / Namespaces [In reply to]

On Sat, 2008-01-12 at 16:41 +0100, Dieter Schicker wrote:
> Hi,
>
> I got two questions:
>
> 1) Is there a recommended way for integrating javascript with forrest. I
> know that I can insert <script> tags and that they get interpreted. But
> I'm not happy with the fact that the document is no longer valid then.

The "normal" way to integrate jscript into forrest would be via a custom
skin since the script tags makes only sense in html. However, this is
quite cumbersome.

There is the dispatcher in the whiteboard that solves this problem very
nice since you add this script tags to the final output via a custom
contract. However details about the dispatcher we will answer on the dev
list.

>
> 2) Is it possible to "merge" other namespaces into a document V2.0
> namespace?

You can define your own dtd, yes that is possible.

You can as well provide your own implementation via the locationmap:
<!-- ================================== -->
<!-- Forrest files -->
<!-- ================================== -->
<match pattern="forrest.schema.document-v20">
<location src="{YOUR_LOCATION}/document-v20.dtd" />
</match>

salu2

>
> Many thanks in advance & cheers
> Dieter
>
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions


dilino at dilino

Jan 18, 2008, 1:25 AM

Post #3 of 4 (141 views)
Permalink
Re: Integrating Javascript / Namespaces [In reply to]

Thanks a lot for your valuable answers!

>
> There is the dispatcher in the whiteboard that solves this problem very
> nice since you add this script tags to the final output via a custom
> contract. However details about the dispatcher we will answer on the dev
> list.
>
Is there some information/documentation out there about this issue?

TIA
Dilino


crossley at apache

Jan 18, 2008, 5:42 PM

Post #4 of 4 (140 views)
Permalink
Re: Integrating Javascript / Namespaces [In reply to]

Dieter Schicker wrote:
> Thanks a lot for your valuable answers!
>
> > There is the dispatcher in the whiteboard that solves this problem very
> > nice since you add this script tags to the final output via a custom
> > contract. However details about the dispatcher we will answer on the dev
> > list.
>
> Is there some information/documentation out there about this issue?

Each of Forrest's plugins are described here:
http://forrest.apache.org/pluginDocs/

Follow the links to each plugin's documentation website.

As already mentioned, we can only discuss stuff that is
in development on the dev mail list.

-David

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.