[ANNOUNCE] MyFaces Core 1.2.0 Release

2007-07-18 Thread Matthias Wessendorf
The Apache MyFaces team is pleased to announce the release of MyFaces Core 1.2.0. MyFaces Core 1.2.x is a JavaServer(tm) Faces 1.2 implementation as specified by JSR-252. MyFaces Core has passed Sun's JSR-252 TCK and is 100% compliant with the JSR-252 specification. MyFaces Core 1.2.0 is

Re: [TRINIDAD] panelAccordion sizing

2007-07-18 Thread Carsten Pieper
Hi Matt, thanks for the insight. Well, it seems we have to accept this behaviour then. Coming from a framework that heavily depended on iframes I'm having a hard time getting used to these things ;-} Best regards, Carsten -- View this message in context:

Re: Database Message

2007-07-18 Thread David Delbecq
Nope, the string as user will see it. http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/application/FacesMessage.html#FacesMessage(java.lang.String,%20java.lang.String) En l'instant précis du 16/07/07 07:19, Arch_Bytes s'exprimait en ces termes: David Delbecq-2 wrote:

Re: reRender on click of RadioButton shows Blank Page

2007-07-18 Thread David Delbecq
several remarks: 1) each of your radio buttons will be in separated groups, because their id will be different (something like form:deviceDetailTable:x:interfaceId) where x is row number. You'd better have a f:selectItems value=#{someBean.somePropertyThatGenerateList} and remove that datatable.

custom converter and BooleanCheckbox doens´t work together

2007-07-18 Thread David Steinkopff
Hello, I try to set up a custom converter for a BooleanCheckbox, because I need custom boolean values in my bean. public class BooleanConverter implements Converter { public BooleanConverter() {} public Object getAsObject(FacesContext facesContext, UIComponent uIComponent, String

How to savestate Spring service bean?

2007-07-18 Thread 101questionjsf
Currently I'm using the JSF bean as Session scoped, so everything ok. But when i change to request scoped, and make the Spring bean transient in my JSF bean, nullpointer because Spring bean is not saved when serialized. Any of you have any work around for this, headache... -- View this message

Re: [ANNOUNCE] MyFaces Core 1.2.0 Release

2007-07-18 Thread Francisco Passos
Excellent news! Thank you. On 7/18/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: The Apache MyFaces team is pleased to announce the release of MyFaces Core 1.2.0. MyFaces Core 1.2.x is a JavaServer(tm) Faces 1.2 implementation as specified by JSR-252. MyFaces Core has passed Sun's

Re: custom converter and BooleanCheckbox doens´t w ork together

2007-07-18 Thread David Delbecq
Hello, unfortunately, selectBooleanCheckbox does not give converters any chance to be called and assume backing property is of type boolean or java.lang.Boolean. From HtmlCheckboxRendererBase, around line 300: public Object getConvertedValue(FacesContext facesContext, UIComponent

Re: [ANNOUNCE] MyFaces Core 1.2.0 Release

2007-07-18 Thread Erlend Hamnaberg
Matthias Wessendorf wrote: The Apache MyFaces team is pleased to announce the release of MyFaces Core 1.2.0. MyFaces Core 1.2.x is a JavaServer(tm) Faces 1.2 implementation as specified by JSR-252. MyFaces Core has passed Sun's JSR-252 TCK and is 100% compliant with the JSR-252 specification.

Tomahawk and MyFaces 1.2

2007-07-18 Thread NABA
Hi... When can we expect a Tomahawk version that works with MyFaces 1.2 ? Thanks in advance, naba

RE: does anyone use Spell Checker for JSF?

2007-07-18 Thread Wong, Emmanuel (Sam)
Do IE browser has it? From: Shane Petroff [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 1:01 PM To: MyFaces Discussion Subject: Re: does anyone use Spell Checker for JSF? Wong, Emmanuel (Sam) wrote: Does anyone use any Spell checker for

Re: Getting contents for Tree2 component

2007-07-18 Thread kewldude
something like loading the tree2 component with data from database... kewldude wrote: What if I want to build the tree model all at once? I just need a tip/advice on how to do the fetching from the database and load it up into the TreeNodeBase object. Andrew Robinson-5 wrote: Do

Re: does anyone use Spell Checker for JSF?

2007-07-18 Thread Matthias Wessendorf
http://software.techrepublic.com.com/download.aspx?docid=276126 perhaps there is something similar in dojo, looks like you have to implement it on your own. Perhaps Werner/Martin know more -M On 7/18/07, Wong, Emmanuel (Sam) [EMAIL PROTECTED] wrote: Do IE browser has it?

Re: does anyone use Spell Checker for JSF?

2007-07-18 Thread Werner Punz
Martin Marinschek schrieb: Werner Punz had built a spell-checker for Tomahawk. It has never made it into the sandbox, though. More of a time problem than anything else, the code still is lingering around, but it is very complex (basically 4 components in one) which still has gpled code in it

MyFaces 1.2

2007-07-18 Thread Keuller Magalhaes
Hi Folks, I would like to know whether Tomahawk 1.1.6 is compatible with MyFaces 1.2 ? We're have many applications at my company that uses MyFaces 1.1.5 and Tomahawk 1.1.6 and we're interested to migrate towards MyFaces 1.2. Do your advice us to make it ? Regards, Keuller A. Magalhães

Re: [Trinidad] xhtml compiant in-line javascript

2007-07-18 Thread Wesley Hales
Help me out here - when you say escaping th js, is there an easy way to do this in the renderer (i guess you could do it by hand or create a method for escaping)? I guess I was looking for the easy approach with CDATA, but I will let you guys figure it out. I will create an request for this to be

Re: MyFaces 1.2

2007-07-18 Thread Werner Punz
Keuller Magalhaes schrieb: Hi Folks, I would like to know whether Tomahawk 1.1.6 is compatible with MyFaces 1.2 ? Tomahawk should work since JSF 1.2 is backward compatible if things do not work then this is a bug to report ;-) Same goes for Tobago. The APIs in those libs do not have yet

Re: [ANNOUNCE] MyFaces Core 1.2.0 Release

2007-07-18 Thread Alexander Wallace
Can this be used with portlets out of the box by any chance? On Jul 18, 2007, at 1:16 AM, Matthias Wessendorf wrote: The Apache MyFaces team is pleased to announce the release of MyFaces Core 1.2.0. MyFaces Core 1.2.x is a JavaServer(tm) Faces 1.2 implementation as specified by JSR-252.

Re: MyFaces 1.2

2007-07-18 Thread Alexander Wallace
I wonder if this would work with tomahawk bridge .91 as 1.1.5 didn't.. On Jul 18, 2007, at 9:40 AM, Werner Punz wrote: Keuller Magalhaes schrieb: Hi Folks, I would like to know whether Tomahawk 1.1.6 is compatible with MyFaces 1.2 ? Tomahawk should work since JSF 1.2 is backward

Re: Tomahawk and MyFaces 1.2

2007-07-18 Thread Werner Punz
NABA schrieb: Hi... When can we expect a Tomahawk version that works with MyFaces 1.2 ? Thanks in advance, naba Tomahawk should work since JSF 1.2 is backward compatible, same goes for Tobago, if things do not work in one component then this is a bug, and please report. The APIs however do

[Trinidad]a4j:command button in tr:table (seam managed environment)

2007-07-18 Thread Ulath (AKA: Murat HAZER)
hi, used libs: seam 1.2.1GA, trinidad 1.2.1, jsf 1.2-b19, a4jsf 1.1.1 , a4j-trinidad 1.0.5 and ajax4jsf filter configured first i have a tr:table with DataModel and DataModelSelection (seam annotations), when I use standard h:commandLink in this table, DataModelSelection value is set wrong

Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-07-18 Thread mraible
I had the following BasePageTestCase class that I've been using to test my JSF 1.1 pages. Unfortunately, after upgrading to JSF 1.2, it no longer works. Here's the stack trace: ERROR - DefaultFacesInitializer.initFaces(126) | Error initializing MyFaces: null java.lang.NullPointerException

Tomahawk validateRegExpr - problem with message from resourcebundle?

2007-07-18 Thread Elmar Kretzer
Hi everyone, seems like i have a small problem with the validateRegExpr component. i have a selectBooleanCheckbox which must be checked, so the jsp looks like: h:selectBooleanCheckbox id=id required=true value=#{bean.accepted} t:validateRegExpr pattern=true message=g.l.needed /

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-07-18 Thread Gary VanMatre
From: mraible [EMAIL PROTECTED] I had the following BasePageTestCase class that I've been using to test my JSF 1.1 pages. Unfortunately, after upgrading to JSF 1.2, it no longer works. Here's the stack trace: Sorta looks like there is not a mock implementation for the JspFactory. Just

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-18 Thread Andrew Robinson
Performance problems are hard to diagnose, because so much can cause them. Remember, that to re-render the page, A4J needs to decode the entire page, and (I think) re-render the entire page. It takes chunks out of the response and sends those down. Performance will be improved by using

Re: does anyone use Spell Checker for JSF?

2007-07-18 Thread Andrew Robinson
I can't resist... Firefox has a spellchecker built in, so no need to code one if your users use a real browser. -Andrew On 7/17/07, Wong, Emmanuel (Sam) [EMAIL PROTECTED] wrote: Hi: Does anyone use any Spell checker for the JSF? I tried to do a search and nothing much about using

Re: Testing JSF 1.2 Managed Beans vs. JSF 1.1

2007-07-18 Thread Werner Punz
Ok Matt I ran into a similar problem in a testmigration of an old project to myfaces 1.2. Following, make sure that you are on a current container version implementing the newest jsp and servlet apis (in my case tomcat running on java 5) then remove all traces to the jsp-api and any

Re: null EL expression - ELResolver cannot handle a null base Object with identifier 'nullValue'

2007-07-18 Thread noah
Sorry for reviving a 2 week old thread, but I haven't had a chance to try this again. I've added the exclusions you have below and I'm still getting the same error on Jetty. jetty:run-exploded shows that commons-el isn't in WEB-INF/lib If I try the war in Tomcat 6 I get NoClassDefFoundError:

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-18 Thread daniel ccss
Paul another thing, I made a binding variable of the dataTable and I erased the dropScroller method and instead i made dataTable.setFirst(0) on my bean and works great :) I only need to do that on the erase method :) On 7/17/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, sorry I don´t

Re: null EL expression - ELResolver cannot handle a null base Object with identifier 'nullValue'

2007-07-18 Thread Bruno Aranda
Ah yes, actually the problem was not commons-el (which is necessary for tomahawk to work) but a bug in jetty which I think it has already been addressed. Cheers, Bruno On 18/07/07, noah [EMAIL PROTECTED] wrote: Sorry for reviving a 2 week old thread, but I haven't had a chance to try this

Re: null EL expression - ELResolver cannot handle a null base Object with identifier 'nullValue'

2007-07-18 Thread Matthias Wessendorf
are you talking about this one h:outputText value=#{nullValue} / ? I don't see it (in JSP) On 7/18/07, Bruno Aranda [EMAIL PROTECTED] wrote: Ah yes, actually the problem was not commons-el (which is necessary for tomahawk to work) but a bug in jetty which I think it has already been

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Adam Winer
BTW, one thing I thought of recently is that it could be reallyhandy for JSF debugging to support attaching component-level phase listeners (render, and other phases), so you could set a breakpoint at, for instance, Before my table renders. Or After this input field validates. That'd be a

Re: [Trinidad] xhtml compiant in-line javascript

2007-07-18 Thread Adam Winer
As long as the renderer uses ResponseWriter.writeText(), swapping in a different ResponseWriter is all you need. One thing is for certain: there should be zero lines of code in the Renderers themselves that have to care about HTML vs. XHTML. -- Adam On 7/18/07, Wesley Hales [EMAIL PROTECTED]

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Simon Lessard
Yes, that would be awesome. I actually made a wrapper component doing just that in a project. JSF 1.2 also allows that on f:view which is better than nothing, but support on most component would be more useful and interesting to trap evil components not acting like expected. On 7/18/07, Adam

Re: h:commandButton/a4j:commandButton does Page Refresh ???

2007-07-18 Thread bansi
The scope of updateDeviceBean is Session bean Andrew Robinson-5 wrote: Performance problems are hard to diagnose, because so much can cause them. Remember, that to re-render the page, A4J needs to decode the entire page, and (I think) re-render the entire page. It takes chunks out of

Re: [Trinidad]a4j:command button in tr:table (seam managed environment)

2007-07-18 Thread Adam Winer
Out of curiosity, why do you want to use a4j:commandLink?tr:commandLink supports PPR, so what's the gain? -- Adam On 7/18/07, Ulath (AKA: Murat HAZER) [EMAIL PROTECTED] wrote: hi, used libs: seam 1.2.1GA, trinidad 1.2.1, jsf 1.2-b19, a4jsf 1.1.1 , a4j-trinidad 1.0.5 and ajax4jsf filter

aliasBean and binding=

2007-07-18 Thread Michał 'Gandalf' Stawicki
Hi all, is it possible to put some component with binding= inside subview, and then use it with aliasBean? Ex: repeat.jsp f:subview id=foo t:tree2 ... binding=#{alias.treeBind} /tree2 /f:subview otherPage.jsp ... t:aliasBean alias=#{alias} value=#{someBean} jsp:include page=repeat.jsp /

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Gary VanMatre
From: Simon Lessard [EMAIL PROTECTED] Yes, that would be awesome. I actually made a wrapper component doing just that in a project. JSF 1.2 also allows that on f:view which is better than nothing, but support on most component would be more useful and interesting to trap evil components not

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Adam Winer
I'd like to see this as a javax.faces.component.UIComponent feature, not anything specific to one library. -- Adam On 7/18/07, Gary VanMatre [EMAIL PROTECTED] wrote: From: Simon Lessard [EMAIL PROTECTED] Yes, that would be awesome. I actually made a wrapper component doing just that in a

Re: [Trinidad] Renderer Listeners

2007-07-18 Thread Gary VanMatre
From: Adam Winer [EMAIL PROTECTED] I'd like to see this as a javax.faces.component.UIComponent feature, not anything specific to one library. +1 That would be the place for it (JSF 2.0) -- Adam On 7/18/07, Gary VanMatre wrote: From: Simon Lessard Yes, that would be

[Trinidad] How to set the tree rowKey to my entity's primary id?

2007-07-18 Thread Tong Wang
I have my EJB3 entity with a one-to-many (parent-to-children) relationship with itself. I can construct a tree model from the entity. But I like to know how I can set the tree rowKey so that it uses my entity's primary ID. Thanks.