RE: Spring, myfaces, hibernate

2006-03-31 Thread 101questionjsf
hi all, thanks for replying. I can understand using hibernate will remove jdbc coding. But currently, I'm using Myfaces, it already has all the linking between webpages in xx-config.xml, web.xml, so is there any need for Spring? Or maybe i should go n read up more on Spring :) but just want to

flat calendar problem?!

2006-03-31 Thread Bogdan Sava
Flat calendar (renderAsPopup=false) seems it works with one day after backed bean date. Have a look at http://www.irian.at/myfaces/calendar.jsf sample page. Selected calendar day is one day after displayed date from backed bean. Why?! Bogdan

RE: Spring, myfaces, hibernate

2006-03-31 Thread 101questionjsf
hi all, thanks for replying. I can understand using hibernate will remove jdbc coding. But currently, I'm using Myfaces, it already has all the linking between webpages in xx-config.xml, web.xml, so is there any need for Spring? Or maybe i should go n read up more on Spring :) but just want to

RE: Spring, myfaces, hibernate

2006-03-31 Thread 101questionjsf
hi all, thanks for replying. I can understand using hibernate will remove jdbc coding. But currently, I'm using Myfaces, it already has all the linking between webpages in xx-config.xml, web.xml, so is there any need for Spring? Or maybe i should go n read up more on Spring :) but just want to

RE: Spring, myfaces, hibernate

2006-03-31 Thread hermod.opstvedt
Hi You are mixing terms here. What you will be using Spring for is to wire together your backend DAOs/Services. Take a look at the shale-use-cases app. Hermod -Original Message- From: 101questionjsf [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 10:51 AM To:

Re: design question...filling in bean, posting

2006-03-31 Thread Dean Hiller
I am not sure I understand. In treeBean, how do I get a folderBean(that will be created if it doesn't exist). I was looking at FacestContext ExternalContext I could not find any methods that I can use to look up folderBean(and create a FolderBean if one doesn't exist), but I suppose I am

Re: design question...filling in bean, posting Missing info added

2006-03-31 Thread Dean Hiller
I realized I am not doing a good job at explaining what I am looking for(partially cause I am new to all this). I have treeModel that contains the whole tree and all information in an application context. I have a treebean that usually just passes the ids of the treenodes back in the

myfaces-archetype bug?

2006-03-31 Thread Mikael Andersson
Hi, I have having some problems with the myfaces-archetype. Not sure if I am missing something or if it is a bug, I think I used the archetype a while ago without any problems though... When doing the following: % mvn archetype:create -DarchetypeGroupId=org.apache.myfaces

Re: design question...filling in bean, posting

2006-03-31 Thread Ricardo Tercero Lozano
You can get a reference to a managed bean defined in faces-config.xml this way: ValueBinding bind = FacesContext.getCurrentInstance().getApplication() .createValueBinding(#{myBean}); MyBean myBean = (MyBean)bind.getValue(this.facesContext);It can be done too using the variableResolver. El

RE: Issue with selectOneRow and Facelets

2006-03-31 Thread Frank Russo
I got the namespace tag. I thought I included the taglib. Let me check my build script to make sure it's including it. Thanks. I'll post again if that's not the problem... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Mike Kienenberger [mailto:[EMAIL

Re: design question...filling in bean, posting

2006-03-31 Thread Dean Hiller
this is much better than what i just stumbled upon I think then, correct? Here is what I just did (and it actually worked to my surprise) FacesContext ctx = FacesContext.getCurrentInstance(); ExternalContext extCtx = ctx.getExternalContext(); MapObject, Object

Rumba - MyFaces-based application framework

2006-03-31 Thread Alexey Maslov
Hi, I want to introduce a new framework and I’m a bit afraid of it. There are so many Java frameworks announced these days that personally I’m tired of all this. So, please be kind to this post :). Thank you. We have developed a new MyFaces-based application framework called “Rumba.” It is

RE: Issue with selectOneRow and Facelets

2006-03-31 Thread Frank Russo
I added the sandbox.taglib.xml, which I had mistaken called tomahawk.taglib.xml, however now I get an Exception: javax.servlet.ServletException: Expression Error: Named Object: 'org.apache.myfaces.custom.selectOneRow.SelectOneRow' not found.

Re: flat calendar problem?!

2006-03-31 Thread Dennis Byrne
Can you please open a JIRA issue on this? I would hate for this to be overlooked. Thanks. Dennis Byrne -Original Message- From: Bogdan Sava [mailto:[EMAIL PROTECTED] Sent: Friday, March 31, 2006 02:53 AM To: 'MyFaces Discussion' Subject: flat calendar problem?! Flat calendar

Re: Rumba - MyFaces-based application framework

2006-03-31 Thread Werner Punz
Alxeij great... I think your way is the way to go, moving over to the next level. God knows why almost every week the next framework pops up which still messes around on servlet jsp level instead of trying to add value to one of the existing frameworks. Great stuff. Werner Alexey Maslov

Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Yura.Tkachenko
Hi, All! We are using on our project JSF with STATE_SAVING_METHOD=server, but I found out that control from sandbox inputSuggestAjax doesnt work with STATE_SAVING_METHOD=server, its only works with STATE_SAVING_METHOD=client, why? * When Im using STATE_SAVING_METHOD=server

Re: myfaces support in a hosting provider

2006-03-31 Thread Rogerio Pereira
E can solve this by creating a servlet that implements ContainerServlet, with that servlet i can obtaing a Host and Context instance and then call Context.reload()On 3/31/06, Jesse Alexander (KBSA 21) [EMAIL PROTECTED] wrote: isn't the tomcat-manager active? regards Alexander From:

RE: tree2 tomahawk

2006-03-31 Thread sjarlier
Thanks a lot for your help. I was managing to use jenia4Faces but I guess I will have to survive without tree2 in my application then:( Have a nice weekend! Sophie -Message d'origine- De : Mike Kienenberger [mailto:[EMAIL PROTECTED] Envoyé : vendredi 31 mars 2006 16:47 À : MyFaces

Multi-owner application

2006-03-31 Thread Michel Goldstein
Hi,I'm not sure this is the correct place for this question, but...Right now I have a Tomcat/JSF application that is in production and working well. I guess it's working so well that some other groups in the same company came to me asking if they could use my application to manage (and store)

Re: Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Gerald Müllan
Hi, I think you are talking of 1.1.2 version, I have used it a long time in a project, where it works fine all the time with server side state saving. The client side js stuff should normally not be rendered out with the server side setting, because the renderer makes a check of which type the

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

2006-03-31 Thread Gerald Müllan
Have you stepped through it with a js debugger? You get the dom element? best regards, Gerald On 3/31/06, Legolas Woodland [EMAIL PROTECTED] wrote: Hi thank you for reply. forceId is just for myfaces , and for now i am not using myfaces. I change that to what you said and i still get

f:numberConverter/ not needed in 1.1.1?

2006-03-31 Thread Matt Raible
In MyFaces 1.1.0, I had: h:inputHidden value=#{userForm.user.version} id=version f:convertNumber/ /h:inputHidden In 1.1.1, I get the following error from this code: [appfuse-jsf] ERROR [http-8080-Processor25] [/appfuse-jsf].log(674) | Cannot set value for expression

Re: flat calendar problem?!+sandbox download

2006-03-31 Thread Bogdan Sava
Same problem with popup calendar too (renderAsPopup=true). Where is JIRA ? I can't find sandbox download on myfaces site ... Where is it ?! Bogdan Sava Dennis Byrne wrote: Can you please open a JIRA issue on this? I would hate for this to be overlooked. Thanks. Dennis Byrne

Re: NotSerializableException during saveState

2006-03-31 Thread Adam Winer
Broadly speaking, StateHolder is only relevant for JSF-specific artifacts; converters, validators, event listeners, components, etc. Do not use it for managed beans or data layer objects. -- Adam On 3/30/06, Dennis Byrne [EMAIL PROTECTED] wrote: StateHolder is something JSF implementors

Re: Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Murat Hazer
i have looked nightly build of sandbox.jar like tomahawk.jar, so i could'nt get it from http://cvs.apache.org/builds/myfaces/nightly/ , should i build it from the source? -- Murat HAZERElektrik-Elektronik Mühendisi - Electrical-Electronics EngineerTel - Phone: +90 222 335 05 80 - 1395

Re: flat calendar problem?!+sandbox download

2006-03-31 Thread Dennis Byrne
Same problem with popup calendar too (renderAsPopup=true). Where is JIRA ? http://myfaces.apache.org/issue-tracking.html Bogdan Sava Dennis Byrne

Re: Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Mike Kienenberger
Yes, you currently have to build sandbox from source. On 3/31/06, Murat Hazer [EMAIL PROTECTED] wrote: i have looked nightly build of sandbox.jar like tomahawk.jar, so i could'nt get it from http://cvs.apache.org/builds/myfaces/nightly/ , should i build it from the source? -- Murat HAZER

Re: Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Murat Hazer
Is there any wiki entry about how to do this?On 3/31/06, Mike Kienenberger [EMAIL PROTECTED] wrote: Yes, you currently have to build sandbox from source.On 3/31/06, Murat Hazer [EMAIL PROTECTED] wrote: i have looked nightly build of sandbox.jar like tomahawk.jar, so i could'nt get it from

Re: Does inputSuggestAjax works with STATE_SAVING_METHOD=server

2006-03-31 Thread Mike Kienenberger
On 3/31/06, Murat Hazer [EMAIL PROTECTED] wrote: Is there any wiki entry about how to do this? http://wiki.apache.org/myfaces/Building_With_Maven

Re: myfaces-archetype bug?

2006-03-31 Thread Mike Kienenberger
Yep. Looks like your missing the JSP 2.0 classes. On 3/31/06, Mikael Andersson [EMAIL PROTECTED] wrote: [INFO] Trace java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException HTTP ERROR: 500 JSP support not configured

Re: myfaces-archetype bug?

2006-03-31 Thread Mikael Andersson
Solved.First I needed to change from provided to compile scope for the jsp-api dependency.Then I needed to add the following dependencies to the pom, for JSP support: dependency groupIdtomcat/groupId artifactIdjasper-compiler/artifactId version5.5.9/version scopecompile/scope /dependency

Re: myfaces-archetype bug?

2006-03-31 Thread Wayne Fay
You can use dependencyManagement to control the version numbers but not the scopes of your dependencies... Wayne On 3/31/06, Mikael Andersson [EMAIL PROTECTED] wrote: Solved. First I needed to change from provided to compile scope for the jsp-api dependency. Then I needed to add the

RE: Issue with selectOneRow and Facelets

2006-03-31 Thread Frank Russo
Can someone take a look at this? I've been working on this for hours, and I have absolutely no clue why. I have the taglib.xml file in my WEB-INF folder, and it's referenced in the web.xml. Both the tomahawk jar () and the sandbox jar (a scaled down version with just the selectOneRow classes and

Re: Issue with selectOneRow and Facelets

2006-03-31 Thread Dennis Byrne
There is a resource called faces-config.xml under META-INF in sandbox.jar . In there each component is registered. Does this custom jar of yours have a file with this name and this component ? The TLD only registers the tag, faces-config is needed to register the component that a tag is

Re: n x n dataTable (myFaces)

2006-03-31 Thread fischman_98
Thanks for the help. So for this solution, I am locking in the three columns and go back to using t:column (no s)is that right? Was trying to make it dymamic for the future, but can't figure out how to make the row and column data work in conjunction with one another. Need to somehow

RE: Issue with selectOneRow and Facelets

2006-03-31 Thread Frank Russo
That got me past that problem. I had to create my own sandbox.taglib.xml. I thought the component-type was the name of the class with the full package name, but in this case, it wasn't. I found that in faces-config in the jar thanks. Now, I've got a new problem. I think it might be facelets

Extensions filter and Ajax

2006-03-31 Thread Andrew Robinson
I am using AjaxAnywhere and Myfaces 1.1.1 and am having a problem with Tomahawk components with AJAX. AjaxAnywhere updates content within spans: span class=aazone.Xcontent to update/span Tomahawk 1.1.1 components dynamically add JavaScript and CSS style sheets to the page's HEAD, head BODY or

NavigationMenuItem render component tree more than a label

2006-03-31 Thread Dave
If NavigationMenuItem can render acomponent tree such as panelGroup that containes a dataTable, for display only, action is for whole component tree, it would be wonderful. This way, a more richable and friendly organized information can show to user before user decides to click it.

selectOneRadio in MyFaces 1.1.1

2006-03-31 Thread Brian Woolf
selectOneRadio in datable ,i get the selected is null,why? this is my code: h:dataTable h:column f:facet name=header h:outputText value=Select/ /f:facet t:selectOneRadio id=selectRadio forceId=true forceIdIndex=false required=true value=#{myBean.selectedId}

Re: NotSerializableException during saveState

2006-03-31 Thread Adam Winer
Well, you should ask Werner about that... His text should be a bit more explicit that it's the top-level bean itself that has to implement StateHolder. Again, I'm guessing that you aren't exactly saving TableFiltersBean per se, you're saving some object that contains a TableFiltersBean. But

Re: Facelet and JSF View handler together

2006-03-31 Thread kyphung
Please show me particular. I get a problem about using JSPViewHandler and FaceletViewHandler together Please.Please.Please.Please.Please.Please. -- View this message in context: http://www.nabble.com/Facelet-and-JSF-View-handler-together-t1343779.html#a3700337 Sent from the MyFaces - Users forum

Re: Facelet and JSF View handler together

2006-03-31 Thread Murat Hazer
web.xml configuration!-- Facelets paramaters-- context-param param-namefacelets.VIEW_MAPPINGS/param-name param-value*.xhtml/param-value /context-param context-param param-namefacelets.DEVELOPMENT/param-name param-valuetrue/param-value /context-param context-param

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

2006-03-31 Thread Laurie Harper
Legolas Woodland wrote: Hi thank you for reading my post. I have this problem in my web application : generated html which i view in my browser has this : [code] span id=form1:staticText8 style=border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(0,

Re: Facelet and JSF View handler together

2006-03-31 Thread Murat Hazer
your web.xml (/WEB-INF/web.xml) is not correct it is another facec-config file defintion. I recomend you take a deep look to appfuse kickstart example htp://appfuse.dev.java.net/ . It is a very nice point to start. You can look to web.xml file in the appfuse. You need to add the lines which i