MyFaces - Spring integration problems

2006-04-02 Thread Philippe Lamote
Hi List, I'm getting unexplainable MyFaces-Spring integration problems, I was hoping someone could give a hint. 1/ First some setup info: I followed the Sping JSF doc and did this to integrate the two: (I will try to be being extensive as big errors often small roots...) 1.1 Libs were

panelTabbedPane panelTab.

2006-04-02 Thread Hagay Avisar
Hi All, I am trying to use panelTabbedPane panelTab components. The problem is that the component does not render simple tags (html tags). For example: x:panelTabbedPane x:panelTab id=tab1 label=LbLTab1 title=TitleTab1 h:outputText value=Tab1/h:inputText id=txttab1

Re: MyFaces - Spring integration problems

2006-04-02 Thread Marco Mistroni
Hello, you might want to try jsf-spring project (it's a sourceforge project), it integrates the two framework just finei m currently using it, and it work just finehthmarco On 4/2/06, Philippe Lamote [EMAIL PROTECTED] wrote: Hi List,I'm getting unexplainable MyFaces-Spring integration problems, I

Re: flat calendar problem?!

2006-04-02 Thread Martin Marinschek
well, that's the old date-converter problem again. oh, yes, we know that. It's a spec problem, IMHO. use an s:dateTimeConverter to work around this, or your own custom converter. regards, Martin On 3/31/06, Dennis Byrne [EMAIL PROTECTED] wrote: Can you please open a JIRA issue on this? I

Re: MyFaces - Spring integration problems

2006-04-02 Thread Philippe Lamote
Hi Marco, I have quickly looked at it, but the exampe-ZIP provided with it, issues such a bunch of configuration files that my initial enthusiasm quickly cooled off. :-(So, 1/ What would it take to use this (apart from adding the lib in web-inf/lib :-) (if you don't mind, could you make a summary

Re: Rumba - MyFaces-based application framework

2006-04-02 Thread Martin Marinschek
I really like the idea. It shows that with JSF and Hibernate, you can start reduce boilerplate code to the max. What is left to do is defining the design, and that's it. You don't show in your tutorials how to customize the action methods if need be, though. How are you handling hibernate

Re: MyFaces - Spring integration problems

2006-04-02 Thread Marco Mistroni
Hello, here's the config file that i am using- i have a bunch of 'spring-only' xml file that configures some background spring tasks that i am using (for quartz, acegi, hibernate and my persistence layer)- i have 1 jsf-spring config file which contains spring-managed-bean that i am using ALSO as

What is the best way to access portlet preferences in a backing bean?

2006-04-02 Thread Marcio E Miranda
Hi, What is the best way to access the portlet preferences in a backing bean? Through FacesContext-ExternalContext-PortletRequest, or maybe My Faces provides a utility class or method for that? Is there any problem if I keep a reference to the PortletPreferences in my backing Bean?

Re: f:numberConverter/ not needed in 1.1.1?

2006-04-02 Thread Martin Marinschek
Hi Matt, We had to get rid of some automatic coercion we were doing in 1.1.0 as the TCK would fail with it in place. I suppose you're seeing the results of this change. If you take out the convertNumber converter, the inputHidden will automatically convert dependent on the type of the backing

Re: h:inputHidden vs t:saveState explained

2006-04-02 Thread Martin Marinschek
Hi Bill, the rendered attribute is actually checked for more often - at the beginning of every lifecycle phase. It's very dangerous to make it an expensive operation - as well as letting it change it s value out of an action method. regards, Martin On 4/2/06, Bill Schneider [EMAIL PROTECTED]

Re: f:numberConverter/ not needed in 1.1.1?

2006-04-02 Thread Matt Raible
I was hoping this was the case - a bug in past releases, not in the latest. ;-) Matt On 4/2/06, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Matt, We had to get rid of some automatic coercion we were doing in 1.1.0 as the TCK would fail with it in place. I suppose you're seeing the results

Re: binding --alias bean

2006-04-02 Thread Martin Marinschek
Nightly version or 1.1.1? I fixed aliasBean and component bindings in nightly. regards, Martin On 4/2/06, Dave [EMAIL PROTECTED] wrote: Can binding use an alias bean? I got an error: bean is null. h:collapsiblePanel binding=#{aliasBean.collapsiblePanel} ... During view

Something similar to Struts nested:iterate tag?

2006-04-02 Thread Bjørn T Johansen
Does there exist something similar to nested:iterate tag in myfaces/jsf? Or should one use a datatable with just one row and and one column and populate this cell with html components? Or is there another way? Regards, BTJ --

Re: Extensions filter and Ajax

2006-04-02 Thread Martin Marinschek
Tobago has something in place to solve this problem, I think. Maybe we could port the solution over to tomahawk? regards, Martin On 4/1/06, Andrew Robinson [EMAIL PROTECTED] wrote: I am using AjaxAnywhere and Myfaces 1.1.1 and am having a problem with Tomahawk components with AJAX.

Re: linkDummyForm js error

2006-04-02 Thread Martin Marinschek
Do you properly configure the ExtensionsFilter? regards, Martin On 4/1/06, Furer Alexander [EMAIL PROTECTED] wrote: Hi all I upgrated myfaces from 1.1.1 to 1.1.3 and started to get js error Object expected (linkDummyForm) for links that are not under form tag. it seems like linkDummyForm

Re: [OT]Problem with accessing form Element using javaScript

2006-04-02 Thread Martin Marinschek
Co-ol! Martin tries to learn one thing a day, thanks Gerald for helping him out with today. style.cssText, a-ha. regards, Martin On 4/1/06, Gerald Müllan [EMAIL PROTECTED] wrote: I believe you can also access the style attribute over: elem.style.cssText = ...; this should also work.

Re: [OT]Problem with accessing form Element using javaScript

2006-04-02 Thread Gerald Müllan
Martin tries to learn one thing a day, thanks Gerald for helping him out with today. style.cssText, a-ha. I hope it`s a trueness a-ha session-learned for today :) cheers, Gerald regards, Martin On 4/1/06, Gerald Müllan [EMAIL PROTECTED] wrote: I believe you can also access the style

Re: MyFaces - Spring integration problems

2006-04-02 Thread Martin Marinschek
Hi Philippe, let me try to shed some light onto the problem: 1) jsf-spring (the library) is nice, but not necessary. Spring's JSF variable resolver is good enough. 2) We used jsf-spring (the library) on a large project, and ran into class-loader issues under Websphere. Use it on your own risk.

Re: MyFaces - Spring integration problems

2006-04-02 Thread Cagatay Civici
Hi,Maybe you should try to run the loggers of spring and faces.I don't think jsf-spring is necessary, it only makes things more complex. The delegating variable resolver is enough in many ways.I have injected spring beans to JSF managed beans many times with no problem using delegating variable

Re: Rumba - MyFaces-based application framework

2006-04-02 Thread Alexey Maslov
wrote: I really like the idea. It shows that with JSF and Hibernate, you can start reduce boilerplate code to the max. What is left to do is defining the design, and that's it. Thank you. We were tired of writing boring code over and over again. And JSF+Hibernate seemed like a killing

Re: Rumba - MyFaces-based application framework

2006-04-02 Thread Alexey Maslov
Sorry, pressed the wrong button - Send instead of Save :) We will provide API for developers to support custom type passing via a request as a string. We already have to do it for JodaTime ourselves. I expect this feature in one of the next builds. Werner, Martin and all the MyFaces developers,

Re: [OT]Problem with accessing form Element using javaScript

2006-04-02 Thread Legolas Woodland
Martin Marinschek wrote: Co-ol! Martin tries to learn one thing a day, thanks Gerald for helping him out with today. style.cssText, a-ha. regards, Martin On 4/1/06, Gerald Mllan [EMAIL PROTECTED] wrote: I believe you can also access the style attribute over:

Re: MyFaces - Spring integration problems

2006-04-02 Thread Martin Marinschek
No, no. I think we do the same. I use spring beans in JSF without configuring them extra in JSF, I just don't use the property resolver. You can't go the other way round. You can leave out the StartupServletContextListener, and nothing in the whole app will change. This listener is in there for

Re: MyFaces - Spring integration problems

2006-04-02 Thread Martin Marinschek
No, no. I should be more clear today. What I meant is that the listener will be loaded automatically, and that's good, cause it is absolutely necessary for MyFaces. But you don't have to put it in the web.xml anymore, it will be loaded automatically by the TLD. regards, Martin On 4/2/06,

Re: MyFaces - Spring integration problems

2006-04-02 Thread Dennis Byrne
Good, cause Sean just branched and I did not want to spend day and night looking for a better way ;) Dennis Byrne -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Sunday, April 2, 2006 03:02 PM To: 'MyFaces Discussion' Subject: Re: MyFaces - Spring integration

Re: MyFaces - Spring integration problems

2006-04-02 Thread Philippe Lamote
Nice to see I'm not the only one working my XXX off in weekends ;-) Martin, I had actually already added all my JSF beans to my Spring xml file. Didn't really work, but apparently that wasn't what you meant. I removed it again, so the old errors came back... (= if I don't explicitely dig the

Re: Rumba - MyFaces-based application framework

2006-04-02 Thread Mario Ivankovits
Hi! For instance, persistent objects can be represented as Object Type + Hibernate ID. Hmmm havent followed this thread, so maybe it might be already discussed, but you also have to take the version into account (if there is one). Its not enough to restore a entity, its also required to

Re: MyFaces - Spring integration problems

2006-04-02 Thread Martin Marinschek
Well, as I said. I've never done that before - injecting spring beans into JSF beans. Catagay said he has it running, so maybe you should check back with him... As I said, I'd have concerns about the scope maybe preventing this from working... regards, Martin On 4/2/06, Philippe Lamote [EMAIL

inputCalendar problem

2006-04-02 Thread David Miller
I'm having troubleusing inputCalendar with the current SVN build. When I click on the calendar icon (or button) I get the following error: Error: ctl2 has no propertiesSource File:

Re: Facelet and JSF View handler together

2006-04-02 Thread kyphung
Please show me what 's this error? And how to repair it? I can't still run ViewHandler and FaceletsViewHandler together. Thank you much... catalina tomcat- Apr 3, 2006 9:40:35 AM org.apache.catalina.core.AprLifecycleListener

Why Weblogic doesn't like f:subview?

2006-04-02 Thread Emily Gu
Hi, When I deploy our project onto WLS8.1 SP5, all JSF pages that have f:subview id=profile [EMAIL PROTECTED] file=profile.jsp % /f:subview are broken. Do you see anything I did wrong? It works fine on Tomcat. Thanks, Emily