[Trinidad] Changing content of form

2010-05-12 Thread Jozef Dropco
I have following form, and I need when I toggle checkbox change values of selectOneChoice. But inputText is first-time blank and selectOneChoice is first-time null, so when I toggle checkbox javascript validation stops rerendering, is it possible to change the value without validation. I

TrinidadFaceletViewHandler missing

2010-05-12 Thread Ayhan T
Hello, I am trying to use JSF 2 with Facelets and Trinidad (trinidad-api-2.0.0-alpha-2). With the latest Trinidad distribution (trinidad-api-2.0.0-alpha-2), I cannot find TrinidadFaceletViewHandler class in org.apache.myfaces.trinidadinternal.facelets. I am not quite sure how to implement Facelets

MyFaces Trinidad Class loading issue in WAS 7.0

2010-05-12 Thread Seema Richard (UST, IND)
Hi, I deployed a MyFaces Trinidad application (MyFaces 1.2.8 and Trinidad 1.2.13) with facelets in WebSphere 7.0. It was working fine, till I made a new change to use a class which in in one of the jar files packed in my ear. To fix the NoClassDefFoundError, I set the classloader policy to

Re: TrinidadFaceletViewHandler missing

2010-05-12 Thread Matthias Wessendorf
it has been removed since we moved our code to JSF2. http://svn.apache.org/viewvc?view=revisionrevision=824901 Note that Facelets is now part of JSF... -Matthias On Wed, May 12, 2010 at 12:01 AM, Ayhan T tekj...@gmail.com wrote: Hello, I am trying to use JSF 2 with Facelets and Trinidad

Re: [Trinidad] Changing content of form

2010-05-12 Thread Cédric Durmont
I won't say it's the ideal way, but my trick is to use a valueChangeListener on the tr:selectBooleanCheckbox, with immediate=true. When the ValueChangeListener is triggered, I update the list used by the tr:selectOneChoice, and the partialTrigger does the rest. Hope this helps. Regards, Cedric

Re: [Trinidad] Changing content of form

2010-05-12 Thread Jozef Dropco
Thanks Cedric, that made the trick but I got some warnings about FacesMessage, so is it possible to make it without them? INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed. sourceId=j_id29[severity=(ERROR 2), summary=(A value is required.), detail=(You must

Re: [Trinidad] Changing content of form

2010-05-12 Thread Cédric Durmont
Maybe it's a bit dirty, and maybe it won't work at all (I'm still quite new to the jsf/trinidad world), but you can try to remove all messages in the valuechangelistener. FacesContext.getCurrentInstance().getMessages() will give you an iterator on the message queue. Regards, Cedric 2010/5/12

Jsf 2.0, extval and Spring El

2010-05-12 Thread Simon Zambrovski
Hello, I'm trying to get ExtVal running and use it for bean validation in JSF 2.0. I'm using spring 3.0 EL resolver and get the error message from extval being unable to resolve the variables referenced from the jsf view. If I undeploy the extval, the el resolution works fine. Any ideas?

Re: Jsf 2.0, extval and Spring El

2010-05-12 Thread Gerhard Petracek
hi simon, can you provide a link to the source code of your demo application? regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/5/12 Simon Zambrovski szambrov...@gmail.com

Re: Jsf 2.0, extval and Spring El

2010-05-12 Thread Simon Zambrovski
Thanks for rapid response. I'll prepair and post it today in the evening. Kind regards Sent via iPhone Am 12.05.2010 um 16:58 schrieb Gerhard Petracek gerhard.petra...@gmail.com : hi simon, can you provide a link to the source code of your demo application? regards, gerhard

t:saveState and SpringBeanFacesELResolver

2010-05-12 Thread Quintin Kerby
I am using JSF RI 1.2 and Tomahawk for JSF 1.2 with built in facelets support. For some reason when I change the following in my faces-config: variable-resolverorg.springframework.web.jsf.DelegatingVariableResolver/variable-resolver to

Re: t:saveState and SpringBeanFacesELResolver

2010-05-12 Thread Leonardo Uribe
Hi It could be good if you create an issue on: https://issues.apache.org/jira/browse/TOMAHAWK and even better, provide an small example. It theory t:saveState should work without problem. regards, Leonardo Uribe 2010/5/12 Quintin Kerby qke...@caci.com I am using JSF RI 1.2 and Tomahawk for