SV: is there any way I can tell clay parser to print a block of html code as it is without any changes?

2007-05-14 Thread Hermod Opstvedt
Hi

Try using the outputText with the escape=false attribute.

Hermod

-Opprinnelig melding-
Fra: AM101 [mailto:[EMAIL PROTECTED] 
Sendt: 14. mai 2007 22:35
Til: user@shale.apache.org
Emne: is there any way I can tell clay parser to print a block of html code
as it is without any changes?


I am using a flash slide show in my html page. This slide show uses a xml
file (images.xml) to configure images that needs to be displayed in the
slide show.

It works fine as a static html page (without clay) but when i use it with
clay, clay throws NullPointerException during parsing. is there any way I
can tell clay parser to print a block of html code as it is without any
changes?

Thanks,
AM
--
View this message in context:
http://www.nabble.com/is-there-any-way-I-can-tell-clay-parser-to-print-a-blo
ck-of-html-code-as-it-is-without-any-changes--tf3754736.html#a10611556
Sent from the Shale - User mailing list archive at Nabble.com.




Re: is there any way I can tell clay parser to print a block of html code as it is without any changes?

2007-05-14 Thread Gary VanMatre
From: AM101 [EMAIL PROTECTED] 

 
 I am using a flash slide show in my html page. This slide show uses a xml 
 file (images.xml) to configure images that needs to be displayed in the 
 slide show. 
 
 It works fine as a static html page (without clay) but when i use it with 
 clay, clay throws NullPointerException during parsing. is there any way I 
 can tell clay parser to print a block of html code as it is without any 
 changes? 


What is the message of the NullPointerException?  

Clay has eleven implicitly mapped HTML elements to JSF components [1].
a/a 
form/form 
input type=text 
input type=checkbox 
input type=radio 
input type=submit 
label/label 
select/select 
select multiple/select 
option 
textarea/textarea 

If you want to ignore this mapping, you can wrapper the html block with an 
ignore jsfid.  
span jsfid=ignore
  form method=POST action=j_security_check
  Username:input type=text name=j_usernamebr
  Password:input type=password name=j_password
  input type=submit value=submit
  /form
/span

[1]  http://shale.apache.org/shale-clay/index.html#clay-view-options

 Thanks, 
 AM 

Gary


 -- 
 View this message in context: 
 http://www.nabble.com/is-there-any-way-I-can-tell-clay-parser-to-print-a-block-o
  
 f-html-code-as-it-is-without-any-changes--tf3754736.html#a10611556 
 Sent from the Shale - User mailing list archive at Nabble.com.