Re: how i can invalide the session at outputlink

2007-07-09 Thread MPF
well i think u dont understood what i meant. problem: i have a bean at session scope which manage a form (input and save) after the submit of the form a user have to go back --- klick on outputlink to go to another application. and now i need to destroy the bean which manage the form - possible

Re: commandLink do not work properly after some time

2007-07-09 Thread Tomasz Grobel
I've read your solutions and: re 2) of course I have frames to not load menu each time re 3) I can not redesign it (it's a long story ;) ) re 4) yes, I tried do that but as you wrote it only delays problem I think that solution number one is the best, but I have a little problem whit

Re: buttons doesn't show in t:datascroller

2007-07-09 Thread Brummeline Braaten
I've tried that, but then I get this error instead: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: Client-id : bilde1 is duplicated in the faces tree. Component : innhold:_idJsp0:bilde1, path: {Component-Path : [Class:

Re: [Tobago] Exception when sorting on column with tc:link

2007-07-09 Thread Bernd Bohmann
Hello, should be fixed. See https://issues.apache.org/jira/browse/TOBAGO-437 the value is not instance of List or Object[] internal sorting can't be performed. Regards Bernd Helmut Swaczinna wrote: Hi, I have a tc:sheet with a sortable column which display a link: tc:column

Re: [Tobago] tc:in Form Submission when Enter key is Pressed

2007-07-09 Thread Bernd Bohmann
Hello, please set the default attribute of the button/link to true and set the required attribute of the tc:in to true. Unfortunately tobago has no client side validation support. Regards Bernd Ramarao Venkata wrote: Hi all, I used tc:in and its attribute suggestMethod. The input suggest

Kupu Editor and t:inputHtml

2007-07-09 Thread Titi Wangsa
according to the myfaces wiki http://wiki.apache.org/myfaces/WYSIWYG_Editor the kupu editor is buggy and does not play well with ie This page should help to integrate the TinyMCE Editor into your MyFaces Application. I have added this WIKI Page, because the t:inputHtml Kupu Editor doesn't work

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread Paul Iov
Hi Vladimir, I was also tired with this converter stuff in my day. Yes, surely, there is converter facility in JSF! But to make such statement is IMO the only useful way, how one can utilize it :( Take a look at topic Converter.getAsString not called? started by Toppac. I've studied source

Re: [ANNOUNCEMENT] New sandbox component -- roundedDiv

2007-07-09 Thread Gerald Müllan
Very nice stuff! The component is already deployed: http://example.irian.at/example-sandbox-20070709/home.jsf cheers, Gerald On 7/8/07, Andrew Robinson [EMAIL PROTECTED] wrote: New component available in SVN called roundedDiv. See the documentation for more information: http

[Orchestra] location of orchestra.xsd

2007-07-09 Thread Michael Marr
Hi, during startup I get the following warning WARN [main] (SimpleSaxErrorHandler.java:47) - Ignored XML validation warning org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document '/META-INF/orchestra.xsd' Somehow the orchestra.xsd is not found. It does not stop

Re: [Orchestra] location of orchestra.xsd

2007-07-09 Thread Mario Ivankovits
Hi Michael! Spring itself uses the following pattern for handling namespaces: xsi:schemaLocation=http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd; spring.schemas :

Re: commandLink do not work properly after some time

2007-07-09 Thread David Delbecq
Several possibilities 1) add a parameter named refresh=true to your link, add a life cycle listener that, upon view creation, refresh the backing bean if it find this parameter in request 2) do the refresh inside the backing bean, without intervention from the view, depending on the lifetime of

Re: buttons doesn't show in t:datascroller

2007-07-09 Thread Angel Miralles Arevalo
Here is my code, cut and modify it with your managed bean properties, it should work! t:dataTable styleClass=porcen100 vtop id=users_tab_PPR border=0 bgcolor=#AEB8D4 cellspacing=1 cellpadding=0 headerClass=list-header rowClasses=datos_impar_off,datos_par_off var=usersListPPR

[Trinidad] PPR + back button

2007-07-09 Thread Francisco Passos
Greetings. I've noticed with Trinidad 1.0.1 whenever I interact with elements that cause PPR, my browser's back history adds another entry. This way, when the user wants to navigate back, one might be surprised to remain in place, although the browser displays communication. Is this solved in

WARN: Invalid tag found: unexpected input while looking for attr name or '/' in ReducedHTMLParser.java

2007-07-09 Thread Bhagwat, Vinit (Vinit)
Hi, I am using Tomahawk tree component in our application for navigation page. While expanding or collapsing the tree I am getting following error: WARN: Invalid tag found: unexpected input while looking for attr name or '/' in ReducedHTMLParser.java After debugging I found that as we are

How i can destroy a bean without destroying the session

2007-07-09 Thread MPF
Hi! Is it possible to destroy a managed bean (scope=session) which will be new instantiated the next time? -- View this message in context: http://www.nabble.com/How-i-can-destroy-a-bean-without-destroying-the-session-tf4049678.html#a11502745 Sent from the MyFaces - Users mailing list archive

Re: How i can destroy a bean without destroying the session

2007-07-09 Thread Anton Gavazuk
Hi Markus! You can do de-provisioning for fields in the bean or just simply set null value for instance of this bean 2007/7/9, MPF [EMAIL PROTECTED]: Hi! Is it possible to destroy a managed bean (scope=session) which will be new instantiated the next time? -- View this message in context:

Re: how i can invalide the session at outputlink

2007-07-09 Thread Andrew Robinson
use commandLink that uses an action that invalidates the user's session. Then use a redirect navigation rule to the new page. On 7/9/07, MPF [EMAIL PROTECTED] wrote: well i think u dont understood what i meant. problem: i have a bean at session scope which manage a form (input and save) after

Re: [ANNOUNCEMENT] New sandbox component -- roundedDiv

2007-07-09 Thread Andrew Robinson
Great, Thanks for getting the example updated and running. On 7/9/07, Gerald Müllan [EMAIL PROTECTED] wrote: Very nice stuff! The component is already deployed: http://example.irian.at/example-sandbox-20070709/home.jsf cheers, Gerald On 7/8/07, Andrew Robinson [EMAIL PROTECTED] wrote

Re: Kupu Editor and t:inputHtml

2007-07-09 Thread Werner Punz
Titi Wangsa schrieb: so questions are 1. is the t:inputHtml Kupu Component stable enough for Firefox/IE 6 and IE7? 2. if it is not, then is TinyMCE or Dojo (sandbox) the preferred method for HTML input ? (the page http://wiki.apache.org/myfaces/WYSIWYG_Editor ) showed 2 examples. I have

Re: [ANNOUNCEMENT] New sandbox component -- roundedDiv

2007-07-09 Thread Werner Punz
Andrew Robinson schrieb: New component available in SVN called roundedDiv. See the documentation for more information: http://myfaces.apache.org/sandbox/roundedDiv.html TinyURL: http://tinyurl.com/38nrk9 -Andrew first bug.. it has some small corner rendering issues in ie6 probably

Re: [ANNOUNCEMENT] New sandbox component -- roundedDiv

2007-07-09 Thread Andrew Robinson
Read the documentation. On IE6 you have to set the background color. I am working on the code for the Alpha transformation in IE6, but for some reason it isn't working, the image doesn't show up at all. On 7/9/07, Werner Punz [EMAIL PROTECTED] wrote: Andrew Robinson schrieb: New component

Re: [ANNOUNCEMENT] New sandbox component -- roundedDiv

2007-07-09 Thread Werner Punz
Andrew Robinson schrieb: Read the documentation. On IE6 you have to set the background color. I am working on the code for the Alpha transformation in IE6, but for some reason it isn't working, the image doesn't show up at all. I noticed it after posting the message, to my knowledge the

Captcha

2007-07-09 Thread Stefano Panero
Hi, how could I implement a captcha with jsf? Does anybody integrated something like jcaptcha? Thanks.

Re: Captcha

2007-07-09 Thread Alexander Wallace
We did, I guess you could say using jsf cuz it is shown in a jsf form... We used a servlet, that uses a session variable to store the captcha text and generates the image, in jsf we used a graphicImage component... (h:graphicImage url=/Captcha.jpg / ) The managed ben reads the text

[Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread mike . sauer
I am trying to use Ajax4Jsf with Trinidad, Facelets, and JSF 1.2. (I am considering using the RichRaces components as well) In my demo I have a required text field, a check box and a set of fields that are enabled if the checkbox is selected. I am trying to use ajax on the checkbox and only

Re: Tree2: Serverside-Tree rerendering is very slow in with Tiles. Pls help

2007-07-09 Thread Novin
Hi Andrew, When I compare my code with your blog Currently wht I m doing: I m using treebean which contanins a rootnode and when user click on any node I found the selected node and make an db call and add child node to that node programatically. and there is no role of treeModel in my bean I

Re: Captcha

2007-07-09 Thread Andrew Robinson
JBoss-Seam has built in support for captcha in 1.2.1 On 7/9/07, Alexander Wallace [EMAIL PROTECTED] wrote: We did, I guess you could say using jsf cuz it is shown in a jsf form... We used a servlet, that uses a session variable to store the captcha text and generates the image, in jsf we used

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread Matthias Wessendorf
have u checked this page http://wiki.apache.org/myfaces/TrinidadSeamAjax4Jsf On 7/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am trying to use Ajax4Jsf with Trinidad, Facelets, and JSF 1.2. (I am considering using the RichRaces components as well) In my demo I have a required text

Re: Tree2: Serverside-Tree rerendering is very slow in with Tiles. Pls help

2007-07-09 Thread Andrew Robinson
In my approach, I used lazy loading of the model because we didn't have the nodes up front like you do. Getting the children of each folder was a database call with a lot of children, so getting the tree all up front would have been really bad for us. Slow rendering cannot be fixed if the tree

Re: Captcha

2007-07-09 Thread Stefano Panero
Thanks. 2007/7/9, Andrew Robinson [EMAIL PROTECTED]: JBoss-Seam has built in support for captcha in 1.2.1 On 7/9/07, Alexander Wallace [EMAIL PROTECTED] wrote: We did, I guess you could say using jsf cuz it is shown in a jsf form... We used a servlet, that uses a session variable to store

Re: can we change the arrow icon of sortable coloumn of table.

2007-07-09 Thread eric . jung
IIRC, that does not work if you use t:column/... only if you use t:columns/ Cagatay Civici [EMAIL PROTECTED] 07/06/2007 03:45 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: can we change the arrow icon of

Re: Tree2: Serverside-Tree rerendering is very slow in with Tiles. Pls help

2007-07-09 Thread Novin
Hi, Thanks for such prompt reply. Andrew even in my case i m not creating tree's all levels upfront. Onece page is loaded first time I create only the first level and on click of any node of any level I make DB call create the child nodes and append it to the parentnode. So you are suggesting

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread mike . sauer
Yes, I did. I followed all of the non-seam directions (since I am not using seam). [EMAIL PROTECTED] wrote on 07/09/2007 11:57:46 AM: have u checked this page http://wiki.apache.org/myfaces/TrinidadSeamAjax4Jsf On 7/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am trying to use

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread Matthias Wessendorf
I asked, because I noticed on your stack there is only this ViewHandler AjaxViewHandler (for ajax4jsf) On 7/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Yes, I did. I followed all of the non-seam directions (since I am not using seam). [EMAIL PROTECTED] wrote on 07/09/2007 11:57:46 AM:

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread Adam Winer
Hrm, true, but somehow there definitely is a RenderingContext; theissue is that the FormData did not get created. To solve this, some bit of Ajax4JSF code would need a hook point that could be subclassed/plugged-in to that would let Trinidad set up a FormData object. -- Adam On 7/9/07,

Re: [Trinidad] PPR + back button

2007-07-09 Thread Adam Winer
On 7/9/07, Francisco Passos [EMAIL PROTECTED] wrote: Greetings. I've noticed with Trinidad 1.0.1 whenever I interact with elements that cause PPR, my browser's back history adds another entry. This way, when the user wants to navigate back, one might be surprised to remain in place, although

Re: Tree2: Serverside-Tree rerendering is very slow in with Tiles. Pls help

2007-07-09 Thread Andrew Robinson
The code is proprietary, so I cannot give it to you, but I didn't have to do much to get it working out of the box. So, the best place to look is at the rich faces demo on exadel's site for the tree. http://livedemo.exadel.com/richfaces-demo/ If you don't want to use A4J, the trinidad and

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread Vladimir Isakovich
Hi Daniel, I think this logic should do: if(rowIndex = dataSize [list.size()==0]) - I mean the page came empty rowIndex = rowIndex - pageSize; if(rowIndex 0) rowIndex = 0; call DB for getting records (or what it was some wrapping method) vlad On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote:

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
where says appear read appears, where says alse read also :P On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: Exactly Vladimir, that is what i was doing, BUT the following happens (see images) On 7/9/07, Vladimir Isakovich [EMAIL PROTECTED] wrote: Hi Daniel, I think this logic should do:

Position of popup

2007-07-09 Thread Trumml
I have a problem with the position of the popup! The popup is within a div element which is positioned relative. So the origin coordinate of the popup is the popups parent div. The problem is, that I can not use the displayAtDistanceX or displayAtDistanceY tag, because the content before the

Re: Tree2: Serverside-Tree rerendering is very slow in with Tiles. Pls help

2007-07-09 Thread Novin
Hi Andrew, Ya I m already working with rechfaces demo tree. I will stick to Ajax only. Thanks for all of your response. You are a nice chap. Have a great day! will bother you again if i will face any pronlem. :); Regards, Novin Andrew Robinson-5 wrote: The code is proprietary, so I

Re: [Trinidad] tr:inputText required=true silently blocks submission

2007-07-09 Thread noah
On 7/6/07, Adam Winer [EMAIL PROTECTED] wrote: If you remove simple=true from the inputText, what happens? Or, if you set an id on the tr:inputText and add a tr:message component, what happens? Removing it and clicking the link prints a nice message next to the form field. Also, adding

Re: [Trinidad] PPR duplicating transient components

2007-07-09 Thread noah
On 7/6/07, Adam Winer [EMAIL PROTECTED] wrote: On 7/6/07, noah [EMAIL PROTECTED] wrote: On 7/6/07, Gary VanMatre [EMAIL PROTECTED] wrote: From: noah [EMAIL PROTECTED] On 7/6/07, Gary VanMatre wrote: From: noah Thought I'd post this before creating a JIRA issue, in

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread Vladimir Isakovich
Did you call that method Paul sent few days ago for updating dataModel something like getDataModel(0), I just could not find it quick. On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: where says appear read appears, where says alse read also :P On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote:

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread mike . sauer
I assume then that this should be considered a problem with Ajax4JSF and not something to be addressed in Trinidad? Adam Winer [EMAIL PROTECTED] wrote on 07/09/2007 12:44:50 PM: Hrm, true, but somehow there definitely is a RenderingContext; the issue is that the FormData did not get

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
public DataModel getDataModel() { if (dataModel == null) { dataModel = new LocalDataModel(_PageSize); } return dataModel; } Yes in my bean I have this method. I have another question, that may help me with this, also, How in my bean I can access the

Ajax-DataTable

2007-07-09 Thread daniel ccss
Hi all, Where I can found the jar that have the DataTable that use Ajax: a4j:DataTable ... ?? Thanks!!!

Re: Ajax-DataTable

2007-07-09 Thread Andrew Robinson
a4j is the ajax4jsf library, not a myfaces library. also it is a4j:dataTable , not a4j:DataTable The jar will be: ajax4jsf-version.jar -Andrew On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, Where I can found the jar that have the DataTable that use Ajax: a4j:DataTable ... ??

Re: Converter.getAsString not called?

2007-07-09 Thread Toppac
The only problem with this approach is I already have a domain model that i have written a custom resolver for, so I can bind directly to it. Going this approach I would have to copy the value from the backing bean to my domain model. I don't want to have to maintain a copy like that. Scott

Re: Converter.getAsString not called?

2007-07-09 Thread Scott O'Bryan
Yeah, I've tried doing that for some jsf projects as well. Ultimately I've found though that putting this stuff on top of sheer business logic cuts down on flexibility. Still, I'm not sure as you would need to replicate the entire bean. You can bind a managed bean which retrieves the

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
Paul where are you :P On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: public DataModel getDataModel() { if (dataModel == null) { dataModel = new LocalDataModel(_PageSize); } return dataModel; } Yes in my bean I have this method. I have another

Re: Ajax-DataTable

2007-07-09 Thread daniel ccss
I have ajax4jsf-1.1.1.jar, I´m using JDeveloper, but in my componnet palette I don´t see the datatable. On 7/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: a4j is the ajax4jsf library, not a myfaces library. also it is a4j:dataTable , not a4j:DataTable The jar will be: ajax4jsf-version.jar

Re: Converter.getAsString not called?

2007-07-09 Thread Andrew Robinson
Perhaps you could leverage custom converters with the ValueChangeEvent The process is, convert, validate, clear submitted value, queue event. The event will be fired at the end of the phase, before the update phase. At that time, you can clear the local value, and re-set the submitted value.

Re: Ajax-DataTable

2007-07-09 Thread Andrew Robinson
Oops, sorry, the JBoss data table is in RichFaces, not A4J. They put all their controls in RichFaces and all the AJAX framework stuff in A4J. On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: I have ajax4jsf-1.1.1.jar, I´m using JDeveloper, but in my componnet palette I don´t see the datatable.

Re: Ajax-DataTable

2007-07-09 Thread daniel ccss
Could you pass me that jar, or send my the url? Thanks :) On 7/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: Oops, sorry, the JBoss data table is in RichFaces, not A4J. They put all their controls in RichFaces and all the AJAX framework stuff in A4J. On 7/9/07, daniel ccss [EMAIL PROTECTED]

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread Paul Iov
Hi Daniel, I'm fighting against Nabble :) I'm not at work now and can't post from my address subscribed to maillist. The only you need now is to call .setFirst() with apropriative item index (the first item of page2, calculate as currentIndex - yourPageSize). It's the bug of DataModel. daniel

Re: Ajax-DataTable

2007-07-09 Thread Andrew Robinson
Demo: http://livedemo.exadel.com/richfaces-demo/ Project home page: http://labs.jboss.com/jbossrichfaces/ Google is your friend :-) -Andrew On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: Could you pass me that jar, or send my the url? Thanks :) On 7/9/07, Andrew Robinson [EMAIL

Re: Ajax-DataTable

2007-07-09 Thread daniel ccss
Jajajaja yes I already do it, sorry I don´t know why I ask for them if google is my friend :P Thanks On 7/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: Demo: http://livedemo.exadel.com/richfaces-demo/ Project home page: http://labs.jboss.com/jbossrichfaces/ Google is your friend :-)

[Trinidad] Setting the document type

2007-07-09 Thread D. Cardon
How do I set the DOCTYPE declaration, when using a tr:document? Currently, Trinidad appears to render out the HTML as: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/loose.dtd; ... Is there any way to change this? Thanks, --David

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
IT WORKS I have to debug to see the correct id of the datatable, and I found that was: _id0:data:8 wh?? Obviously I don´t get the dropScroller to work because I sent the true Id of the DataTable: data t:dataTable id=data styleClass=scrollerTable When I send this id it works fine,

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
I mean I had to debug... Sorry I wrote that quickly I´m happy now! THANKS PAUL On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: IT WORKS I have to debug to see the correct id of the datatable, and I found that was: _id0:data:8 wh?? Obviously I don´t get the dropScroller to work

facestrace question

2007-07-09 Thread Steve Sweet
I'm using facestrace 0.8.1. It indicates that there is a problem in the Apply Request phase of the life cycle but I get no indication what the problem might be. Does anyone have experience with this or a suggestion on how to narrow the field?

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread Paul Iov
daniel ccss wrote: On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: IT WORKS Congratulation ! daniel ccss wrote: I have to debug to see the correct id of the datatable, and I found that was: _id0:data:8 wh?? Obviously I don´t get the dropScroller to work because I sent the

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread Paul Iov
Hi Vladimir, I have no experience with MySQL as DB storage, but I thought this kind of problem should be solved rather at ORM level (Hybernate? driver?). To my understanding, MySQL hase really flexible NLS/collation facility. I'm wondering if it's not just a minor configuration issue. What if

Re: [Trinidad] tr:inputText required=true silently blocks submission

2007-07-09 Thread Adam Winer
Now http://issues.apache.org/jira/browse/TRINIDAD-94 Thanks, Adam On 7/9/07, noah [EMAIL PROTECTED] wrote: On 7/6/07, Adam Winer [EMAIL PROTECTED] wrote: If you remove simple=true from the inputText, what happens? Or, if you set an id on the tr:inputText and add a tr:message component,

Re: [Trinidad] PPR duplicating transient components

2007-07-09 Thread Adam Winer
A testcase would be great! I suspect a Facelets bug here, though it's kind of a corner case. -- Adam On 7/9/07, noah [EMAIL PROTECTED] wrote: On 7/6/07, Adam Winer [EMAIL PROTECTED] wrote: On 7/6/07, noah [EMAIL PROTECTED] wrote: On 7/6/07, Gary VanMatre [EMAIL PROTECTED] wrote:

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread Adam Winer
It's a problem that has to be handled in some bit of code integrating the two libraries. I'm curious in this case how the RenderingContext actually got created at all, since there's apparently no Trinidad ViewHandler on the stack... If someone could track *that* down, we might have a good idea

Re: [Trinidad] Problems working with Ajax4JSF

2007-07-09 Thread Adam Winer
But if that doesn't bear fruit, it wouldn't be that hard to solve this entirely in Trinidad - in each component that requires a FormData, use a hook that will initialize it if it hasn't been rendered yet. However, you'll still have some problems. Since the FormRenderer isn't involved, and

Re: [Trinidad] Setting the document type

2007-07-09 Thread Adam Winer
No, there isn't currently. What DTD are you looking for? -- Adam On 7/9/07, D. Cardon [EMAIL PROTECTED] wrote: How do I set the DOCTYPE declaration, when using a tr:document? Currently, Trinidad appears to render out the HTML as: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN