Custom UIViewRoot

2007-09-15 Thread Manfred K.
Hi all, I implemented a custom UIViewRoot because I need to override the encodeBegin and encodeEnd methods. Unfortunately my methods never get called!? I declared my UIViewRoot class in faces-config as new component: component component-typejavax.faces.ViewRoot/component-type

Re: How do I know My JSF Version?

2007-09-15 Thread Vadim Dmitriev
Hello, Michael. Your JSF version is basically defined by JSF implementation you use in your project. If you use one that ships with RAD7, i guess it would be 1.1. At least, web-facesconfig.dtd version has nothing to do with JSF impl version. If you use myfaces: 1. jar file naming should tell you

deploying demo of trinidad

2007-09-15 Thread aj1m
hi; i am trying to deploy trinidad demo; so i succeed to deploy the version (trinidad-blank-1.0.2.war and trinidad-demo-1.0.2.war) but when i tried to deloy the (trinidad-demo-1.2.2.war) i found many problem like : 2007-09-15 15:29:09,403 ERROR

Re: deploying demo of trinidad

2007-09-15 Thread Vadim Dmitriev
Hi. What is the server/version you are trying to deploy 1.2.x demo to? Does it support JSF 1.2 (JSP2.1) ? aj1m wrote: hi; i am trying to deploy trinidad demo; so i succeed to deploy the version (trinidad-blank-1.0.2.war and trinidad-demo-1.0.2.war) but when i tried to deloy the

Re: deploying demo of trinidad

2007-09-15 Thread aj1m
i tried many server like tomcat 5 and jboss 4.0.5.GA but i always get error. and i dont know how it can support or not JSF 1.2 (JSP2.1) -- View this message in context: http://www.nabble.com/deploying-demo-of-trinidad-tf4447751.html#a12690521 Sent from the MyFaces - Users mailing list archive

Re: deploying demo of trinidad

2007-09-15 Thread Vadim Dmitriev
JSF1.2 support was added in tomcat 6. If I'm not mistaken, JBoss = 4.2.0 is tomcat 6 based. So you should try upgrading to at least 4.2 if you want to use JSF 1.2. Hope it helps. aj1m wrote: i tried many server like tomcat 5 and jboss 4.0.5.GA but i always get error. and i dont know how it can

Re: deploying demo of trinidad

2007-09-15 Thread aj1m
i tried it in tomcat 6. but it didnt work. -- View this message in context: http://www.nabble.com/deploying-demo-of-trinidad-tf4447751.html#a12690629 Sent from the MyFaces - Users mailing list archive at Nabble.com.

RE: [JSF1.2] JspViewHandlerImpl flushing issue (was Re: [Trinidad] tr:table PPR failing)

2007-09-15 Thread Timothy M. Braun
Not sure if this will work for you. Tried using eclipse to create the patch, but with the way I changed the source it didn't seem to like it very much. Basically I moved lines 321 and 322 so they were after line 336. This way the flush is called after the endDocument method is called. Hope

Re: deploying demo of trinidad

2007-09-15 Thread Vadim Dmitriev
I have just downloaded JBoss AS 4.2.1 and successfully ran trinidad examples 1.2.1 on it. Should you try the same - don't forget to remove myfaces JSF1.2 from war and accordingly remove startup listener from web.xml. aj1m wrote: i tried it in tomcat 6. but it didnt work.

Re: deploying demo of trinidad

2007-09-15 Thread aj1m
thank u; me too i downloaded (jboss-4.2.1.GA) is it the same. can u try exemple of trinidad 1.2.2 bcuz i couldnt run them . and thank you very much for ur help -- View this message in context: http://www.nabble.com/deploying-demo-of-trinidad-tf4447751.html#a12691458 Sent from the MyFaces -

Re: deploying demo of trinidad

2007-09-15 Thread aj1m
because while trying exemple of trinidad 1.2.2 on jboss 4.2.1 i get this error: ( WARN [org.jboss.web.jsf.integration.config.JBossJSFConfigureListener] MyFaces JSF implementation found! This version of JBoss AS ships with the java.net implementation of JSF. There are known issues when mixing

Re: deploying demo of trinidad

2007-09-15 Thread Vadim Dmitriev
As I already wrote: Should you try the same - don't forget to remove myfaces JSF1.2 from war and accordingly remove startup listener from web.xml. JSF 1.2 spec requires JSF impl to be generally server-provided, if there are both project- and server-level JSF implementations then server's take

Re: deploying demo of trinidad

2007-09-15 Thread aj1m
thank u alot for ur presieus help; i found another solution that consist to add this code : context-param param-nameorg.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL/param-name param-valuetrue/param-value /context-param in order that igonre the jsf implementation integrate by jboss and that i

Re: Custom UIViewRoot

2007-09-15 Thread Volker Weber
Hi, Did you use RI or myfaces? RI 1.1 did not support replacing the UIViewRoot component. Than you need to replace the ViewHandler like we did in tobago. Regards, Volker 2007/9/15, Manfred K. [EMAIL PROTECTED]: Hi all, I implemented a custom UIViewRoot because I need to override the

tr:inputDate

2007-09-15 Thread andymorton
Hi, I am using the trinidad component tr:inputDate, and dont know if im doing something completely stupid. Whenever i click on the popup, it appears ok. I also have a tr:validateDateRange element with it, which takes the limit from a managed bean through some el. If, for example, i set the

Re: Custom UIViewRoot

2007-09-15 Thread Manfred K.
Thank you for your reply! We are using myfaces (1.1.5). I just had a look at the standard ViewHandler implementation, but I don't think that this is the right place for our needs. We have to modify the generated html output of the UIViewRoot (e.g. remove html, head, body tags if present, add

Re: tr:inputDate

2007-09-15 Thread Leonardo Uribe
and also if i click the first available date (in this case 16/09/2007), it populates the field with 15/09/2007. I remember this issue. Are you using java.sql.Date as the type for the property in the bean? I just changed it for java.util.Date and all works well for me. Regards Leonardo

Re: tr:inputDate

2007-09-15 Thread andymorton
just double checked there- i am using java.util.Date... Regards, Andy - Original Message From: Leonardo Uribe [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Sunday, 16 September, 2007 12:00:19 AM Subject: Re: tr:inputDate and also if i click the first

Re: [Trinidad] Understanding Trinidad Skinning?

2007-09-15 Thread Andrew Robinson
It is working for me with the new configuration name and 1.0.3-SNAPSHOT On 9/14/07, md10024 [EMAIL PROTECTED] wrote: Hi Andrew, et. al., I'm having the same problem when running Trinidad 1.0.1. Was there any resolution to this? thanks, Mark Andrew Robinson-5 wrote: As I mentioned,

Re: Custom UIViewRoot

2007-09-15 Thread Andrew Robinson
You could replace the responsewriter and have full control over the output On 9/15/07, Manfred K. [EMAIL PROTECTED] wrote: Thank you for your reply! We are using myfaces (1.1.5). I just had a look at the standard ViewHandler implementation, but I don't think that this is the right place for

Problems with JS CookMenu

2007-09-15 Thread Marcos Sousa
Hello Community, I'm using MyFaces 1.1.5, Tomahawk 1.1.6 and Rich Faces 3.0.1. When I use JSCookMenu + rich:tabPanel, the JS CookMenu be under the tab panel.What could I do to bring the js cookmenu to front? Thanks, Marcos Sousa www.marcossousa.com Enjoy it!

[Trinidad] integrating maven-faces-plugin into maven war project

2007-09-15 Thread Andrew Robinson
I have been making a war project. It is currently just one maven2 project. Up to now, my components have been hand built. Since I am using Trinidad, I have been either extending UIX/Core components or creating my own with Type support. Since maven-faces-plugin was available, I though I would try

Re: [Trinidad] integrating maven-faces-plugin into maven war project

2007-09-15 Thread Adam Winer
On 9/15/07, Andrew Robinson [EMAIL PROTECTED] wrote: I have been making a war project. It is currently just one maven2 project. Up to now, my components have been hand built. Since I am using Trinidad, I have been either extending UIX/Core components or creating my own with Type support. Since