Hi all,

could anybody give me a hint about the Javascript file handling in
Tapestry?

Thanks a lot.


Best regards,
Leon

--- Leon Pu <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> it seems the javascript .js file has to be treated as xml in Tapestry
> 3.0.3.
> 
> But sine my .js file has been writen into xml and all javascript
> functions are inside <![CDATA[]], the .js file becomes unavailable
> for
> html impression edit and view.
> 
> I don't want to maintain two copies of .js file, one for html edit
> and
> view which is the typical javascript file, another one is for
> Tapestry
> which writen in xml format.
> 
> I tried to use xml external entity to include the plain .js file to a
> xml which used by Tapestry. But it seems I cannot put the xml
> external
> entity to <![CDATA[]> since the .js file is not a xml file, there are
> some special characters inside likes &.
> 
> So how can I handle javascript file in Tapestry application? Is it
> possible to only keep on javascript file copy which can be used for
> both hml edit and Tapestry?
> 
> 
> Best regards,
> Leon
> 
> 
>               
> __________________________________________ 
> Yahoo! DSL – Something to write home about. 
> Just $16.99/mo. or less. 
> dsl.yahoo.com 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to