javax.faces.STATE_SAVING_METHOD doesn't work for form submting

2006-05-24 Thread Anthony Hong
I use myfaces with facelet. I have a problem with javax.faces.STATE_SAVING_METHOD If a use STATE_SAVING_METHOD=client everything works fine. If a change STATE_SAVING_METHOD=server. page can be displayed. But for form submit that invokes backend action function. It doesn't work. But there is no err

Re: does h:commandLink need a h:form

2006-05-24 Thread Craig McClanahan
On 5/24/06, Kevin Hale Boyes <[EMAIL PROTECTED]> wrote: I have the following findex.jsp file<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %><%@ taglib uri=" http://java.sun.com/jsf/core" prefix="f" %>title but when I click "Go" I get an error in my _javascript_ Console."clear_lin

does h:commandLink need a h:form

2006-05-24 Thread Kevin Hale Boyes
I have the following findex.jsp file <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %> title but when I click "Go" I get an error in my JavaScript Console. "clear_linkDummyForm is not defined" in http://localh

how to put commandlink to my tree node

2006-05-24 Thread sarma
hi, 1) i have a frame with two parts frame 1 is treecontroller.jsp file is there and tree in treecontroller.jsp is like this tree - a first second while i click a node of that treecontroller i.e if i click a node first it show the first.jsp fi

Help: need to get tableSuggestAjax to work for facelets

2006-05-24 Thread Yee CN
Hi,   I need to get tableSuggestAjax to work for facelets. Can someone please kindly post the taglib entry and/or TagHandler class? Or point me to some resources on how to create the TagHandler class etc?   Many thanks in advance.   Regards, Yee  

Re: [SPAM] Sandbox Binaries Download

2006-05-24 Thread Yogesh Chaudhari
Hi Yee, I am using schedule component since couple of months. I would like to use new version. Could you please email me new sandbox.jar? my email is itsyoz at gmail . com. Thanks, Yogesh On 5/24/06, Yee CN <[EMAIL PROTECTED]> wrote: Not that I know of. You will need to svn checkout the pro

forceId not supported in Tobago?

2006-05-24 Thread John
Is this correct - has some other method been chosen to ensure that ids are not fully-qualified in the generated HTML?   John

RE: [SPAM] Sandbox Binaries Download

2006-05-24 Thread Yee CN
Not that I know of. You will need to svn checkout the project, then do a mavern build. It does take quite a bit of fiddling if you are not using either of these. Download takes quite a while as well. I can email you the sandbox.jar file - let me know. Regards, Yee -Original Message- Fro

RE: Where is the source code for the examples?

2006-05-24 Thread James Richards
Has the SVN "curent" location been relocated? When I visit: http://myfaces.apache.org/source-repository.html and click on the http://svn.apache.org/viewcvs.cgi/myfaces/current link, I am directed to a page which has a single Maven2 pom.xml file. I can navigate to the parent directory and then

Re: Sandbox Binaries Download

2006-05-24 Thread Philippe Lamote
nope - has been suggested before though - but without a concrete net effect. -> Keep suggesting it ;-)! Phil On 24 May 2006, at 21:17, Patrick Dalla Bernardina wrote: There isn't a binary release of snadbox components?

s:valueChangeNotifier and dataTables

2006-05-24 Thread Val Blant
I tried to use the s:valueChangeNotifier tag from the sandbox and I noticed a problem with it. It doesn't work from dataTables. The listener method does get called, but the row number on the data model is not set. Can anyone recommend a way to fix this? The reason for this behavior is that in th

Re: Where is the source code for the examples?

2006-05-24 Thread Sean Schofield
No worries. See also: http://myfaces.apache.org/source-repository.html for details on SVN checkout. Sean On 5/24/06, Jason Long <[EMAIL PROTECTED]> wrote: Many thanks. Now that I know the URL it is easily obtainable. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Phy

RE: Where is the source code for the examples?

2006-05-24 Thread Jason Long
Many thanks. Now that I know the URL it is easily obtainable. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.supernovasoftware.com HJBUG Founder and President http://www.hjbug.com -Original Message- From: Sean Schofiel

Re: Netbeans integration with MyFaces

2006-05-24 Thread Sean Schofield
Note that making such a change today on Glassfish would turn it into a non-JavaEE5 container, since MyFaces is a 1.1 implementation and the EE spec requires JSF 1.2. Right. But its lame that you can't easily switch to another implementation. Lets pretend there is a MyFaces JSF 1.2 TCK complian

Re: Where is the source code for the examples?

2006-05-24 Thread Sean Schofield
The source code is easily obtainable. latest and greatest source code can be found at: http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/examples/ 1.1.2 release source can be found at: http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_2/examples/ On 5/24/06, Philippe Lamote <[EMA

Re: Where is the source code for the examples?

2006-05-24 Thread Philippe Lamote
+1 from me, the examples used to be just downloads. Certainly as substancial (java/other-)doc is still missing, this would be a big help. Phil On 24 May 2006, at 22:00, Jason Long wrote: I have been looking everywhere for source code for the example webapps. I want to try tree2, but I wou

Re: NetBeans5.5 and MyFaces

2006-05-24 Thread Sean Schofield
I'm about to setup MyFaces in NetBeans so I'm interested in this problem. I'll report back what I find and I'm definitely interested in fixing things if there is a problem on the MyFaces end. Sean On 5/24/06, Romanowski, Tim <[EMAIL PROTECTED]> wrote: Francesco, would you be willing to post yo

error since upgrade to MyFaces 113 & Tomahawk 112 (from MF111 & T111)

2006-05-24 Thread Philippe Lamote
Hi, Haven't seen any post on it before so here I go: I *had* Myfaces 111 & Tomahawk 111All worked fine. I just upgraded to MyFaces 113 & Tomahawk 112. (upgrade = just switched the libs, that's all) Tomcat boots fine like before, but in the browser I get a "The requested resource () is not available

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Sean Schofield
Can shale-test be used for testing custom JSF components as well? Sure. Check out the source code for tree2. There are several shale tests there. Regards, Arti Sean

Where is the source code for the examples?

2006-05-24 Thread Jason Long
I have been looking everywhere for source code for the example webapps. I want to try tree2, but I would like to see the code for TreeBacker.java. Why is this code not easily obtainable? I am about to decompile this, but is that really necessary? Thank you for your time, Jason Long CEO and Ch

Custom component having a model

2006-05-24 Thread Alexandre Poitras
Hi all, I am developing a custom UI component that has a model defined by children components (along the line of UISelectItem) and I was wondering in which method should I refresh the component model (reading its children components properties). Of course, I could save the model in the saveState

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Craig McClanahan
On 5/24/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: >To be precise, you need both shale-core.jar and shale-test.jar in the>classpath for your unit tests, but you need neither in the classpath for>your runtime application (unless you are actually using Shale in the >application itself, of course).Am

Sandbox Binaries Download

2006-05-24 Thread Patrick Dalla Bernardina
There isn't a binary release of snadbox components?

Re: Netbeans integration with MyFaces

2006-05-24 Thread Craig McClanahan
On 5/24/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Sun AS + Myfaces is a huge problem> as of JEE5 the default implementation of the> jsf implementation is not overridable anymore within the WEB-INF/lib dir.I don't think that this is really a problem. It is convenience for the users! Like

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Dennis Byrne
>To be precise, you need both shale-core.jar and shale-test.jar in the >classpath for your unit tests, but you need neither in the classpath for >your runtime application (unless you are actually using Shale in the >application itself, of course). Am I reading this out of context or was the shale-

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Craig McClanahan
On 5/24/06, Murat Hazer <[EMAIL PROTECTED]> wrote: We are using shale-test for unit testing JSF backing beans, shale is not invasive, you can use only this part of the shale without including other parts of it to build path.To be precise, you need both shale-core.jar and shale-test.jar in the clas

RE: NetBeans5.5 and MyFaces

2006-05-24 Thread Romanowski, Tim
Francesco, would you be willing to post your setup? What jars did you have to remove from the applications server? Did you replace any particular ones? Any dependency issues you had to work around? Are you usng glassfish or another AS? -Original Message- From: Francesco Consumi [mail

Re: NetBeans5.5 and MyFaces

2006-05-24 Thread Francesco Consumi
Bogdan Sava ha scritto: Last version of Linux NetBeans5.5 beta code editor is not able to resolve taglib absolute uri from myfaces implementation myfaces-impl-1.1.x.jar . Taglib uri for tomahowk,sandbox,struts etc are resolved and work fine. Because of that, editor doesn't have any auto popup

Re: question about dependency injection

2006-05-24 Thread Rogerio Pereira
Any suggestions?Thanks for any answer.2006/5/24, Rogerio Pereira <[EMAIL PROTECTED]>: I have 3 beans: beanA, beanB and beanC.Both beanA and beanB uses beanB (ArrayList), from beanA i only remove itens from beanB and from beanC i add, get and set a item in beanB.Everything is ok when beanC to these

RE: FacesConfigurator Error

2006-05-24 Thread David Friedman
Matthias, I thought I remember doing this when I bought a JSF book (Core JavaServer Faces) but I can't find any sign of the Servlet level init-param named "config" in the current source code. Maybe I'm mistaken. I guess we will find out more if/when Tom tries it with only one config file listing

Re: Maven repository

2006-05-24 Thread Alexandre Poitras
No this is a Maven 2 repository. There is a pom file. Anyway, Maven 2 can deal with Maven 1 repositories. On 5/24/06, Frank Russo <[EMAIL PROTECTED]> wrote: Just to be clear, this looks like a maven 1 repository. For those who are using maven 2, this won't work... Frank Russo Senior Developer

Re: Obtaining reference to lifecycle

2006-05-24 Thread Mert Çalışkan
Use facesTrace.. It provides detailed information about app. lifecycle. Regards, Mert On 5/24/06, James Richards <[EMAIL PROTECTED]> wrote: Please disregard as I found what I was looking for -Original Message- From: James Richards [mailto:[EMAIL PROTECTED]] Sent: Wed 5/2

RE: Maven repository

2006-05-24 Thread Frank Russo
Just to be clear, this looks like a maven 1 repository. For those who are using maven 2, this won't work... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 2:11 PM To: MyFaces Discussion Su

Re: Maven repository

2006-05-24 Thread Alexandre Poitras
Got my answer, it is now on the java.dev.net repository : https://maven-repository.dev.java.net/nonav/repository/com.sun.facelets/poms/ On 5/24/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: Hello, It's maybe not the best place to ask the question but since I saw some discussions on the subje

RE: Locating components by id

2006-05-24 Thread James Richards
I'm actually doing this in an overridden getFirst() method. What I would like to be able to do is to allow getFirst() to make a decision, based upon the PaginationState, as to whether to return a custom first or to allow super.getFirst() to handle normally. Would I need to use a PhaseListene

AJAX - JSF issue

2006-05-24 Thread Abhishek Chatterjee
Title: Locating components by id Hi,     IM using myfaces with ajax4jsf for my application. ON typing on some values in the input text, my datatable gets  Updated accordingly.    But the problem im facing is the setter for the bean gets updated after the datatable [model] is called. H

Re: commandlink inside datatable still broken?

2006-05-24 Thread Jan Zach
Hi, I face the same problems. It is not related to data table only and it probably depends even on the code in surroundings. For example, commandLink does not work in the same form with inputFileUpload...interesting that commandButton does.  Today I encountered problem with data list - it works i

Re: Tomahawk 1.1.2 now in MyFaces maven repo

2006-05-24 Thread Matthias Wessendorf
great! thanks Sean! On 5/24/06, Sean Schofield <[EMAIL PROTECTED]> wrote: For you maven2 users, please be advised we have a copy of the tomahawk jar now available on the myfaces repo[1]. Sometime later this week we should have it up on ibiblio. Sean [1] http://myfaces.zones.apache.org/dist/m

RE: Locating components by id

2006-05-24 Thread Rhys Parry
Title: Locating components by id James,   Where are you doing this.  Is it in the render response phase?   Rhys -Original Message-From: James Richards [mailto:[EMAIL PROTECTED]Sent: May 24, 2006 1:25 PMTo: users@myfaces.apache.orgSubject: Locating components by id Hello,I

Tomahawk 1.1.2 now in MyFaces maven repo

2006-05-24 Thread Sean Schofield
For you maven2 users, please be advised we have a copy of the tomahawk jar now available on the myfaces repo[1]. Sometime later this week we should have it up on ibiblio. Sean [1] http://myfaces.zones.apache.org/dist/maven-repository

Re: FacesConfigurator Error

2006-05-24 Thread Matthias Wessendorf
I think (no code here at airport internet cafe ;-)) it (the warning) looks for "faces-config.xml" which is, of course inside the name "myfaces-config.xml" ;-) On 5/24/06, David Friedman <[EMAIL PROTECTED]> wrote: Let's just say the new SVN Trunk has more explicit warnings, like this when you h

RE: FacesConfigurator Error

2006-05-24 Thread Tom Cordova
Well, I removed it from the Servlet / init-param stanza and even shutdown and restarted the server, but I'm still getting the same warning. Here's my new we.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/

Re: Netbeans integration with MyFaces

2006-05-24 Thread Werner Punz
Matthias Wessendorf schrieb: Sun AS + Myfaces is a huge problem as of JEE5 the default implementation of the jsf implementation is not overridable anymore within the WEB-INF/lib dir. I don't think that this is really a problem. It is convenience for the users! Like JSP- or Servlet-JARs not JS

Re: Netbeans integration with MyFaces

2006-05-24 Thread Matthias Wessendorf
Sun AS + Myfaces is a huge problem as of JEE5 the default implementation of the jsf implementation is not overridable anymore within the WEB-INF/lib dir. I don't think that this is really a problem. It is convenience for the users! Like JSP- or Servlet-JARs not JSF jars needed for *deployment*

Re: question for accessing managed bean/backing bean from jsp page

2006-05-24 Thread Ian Hlavats
Hi Yasushi, I have some documentation on my website with visual examples of how to drag and drop managed bean properties and methods onto a JSP page in Dreamweaver and how to use JSF EL value-binding and method-binding expressions in your code. http://www.jsftoolbox.com/images/help/bean-drag-a

RSS Component

2006-05-24 Thread Julian Ray
Does anyone know of a RSS component for JSF? I found the FacesRSS from codegravity.com but it has array index issues (???) and requires hacking and has limited formatting capabilities.    

Re: Tomahawk 1.1.2 is not in Maven repository

2006-05-24 Thread Sean Schofield
Try it now. Its up in the myfaces repo. Sometime later this week we'll get it on ibiblio. Sean On 5/23/06, Paul Spencer <[EMAIL PROTECTED]> wrote: Sean, Thank you. FYI: I have be using the Tomahawk 1.1.3-SNAPSHOT, build number 25 dated 20060522060820, from the snapshot repository. Paul Sp

Locating components by id

2006-05-24 Thread James Richards
Title: Locating components by id Hello, I am trying to implement a state mechanism similar to the "flowState" component described in "Taming JSF 1.1": http://bug.sakaiproject.org/confluence/pages/viewpage.action?pageId=4981 I have a PaginationState class: public class PaginationState exte

RE: FacesConfigurator Error

2006-05-24 Thread David Friedman
Let's just say the new SVN Trunk has more explicit warnings, like this when you have both a context param and an override as a servlet init param as you do: log.warn(DEFAULT_FACES_CONFIG + " has been specified in the " + FacesServlet.CONFIG_FILES_ATTR + " context parameter of " + "

question about dependency injection

2006-05-24 Thread Rogerio Pereira
I have 3 beans: beanA, beanB and beanC.Both beanA and beanB uses beanB (ArrayList), from beanA i only remove itens from beanB and from beanC i add, get and set a item in beanB.Everything is ok when beanC to these operations on beanB but if i try to remove an item from beanA i'm getting an IndexOutO

RE: Obtaining reference to lifecycle

2006-05-24 Thread James Richards
Title: RE: Obtaining reference to lifecycle Please disregard as I found what I was looking for -Original Message- From: James Richards [mailto:[EMAIL PROTECTED]] Sent: Wed 5/24/2006 12:34 PM To: users@myfaces.apache.org Subject: Obtaining reference to lifecycle Hello, I would

RE: FacesConfigurator Error

2006-05-24 Thread Tom Cordova
Thanks for responding so quickly... It's in as a javax.faces.CONFIG_FILES parameter and then again in the Servlet stanza as a config param Should I take it out of one of those places? -- View this message in context: http://www.nabble.com/FacesConfigurator+Error-t1675804.html#a4544799 Sent fr

NetBeans5.5 and MyFaces

2006-05-24 Thread Bogdan Sava
Last version of Linux NetBeans5.5 beta code editor is not able to resolve taglib absolute uri from myfaces implementation myfaces-impl-1.1.x.jar . Taglib uri for tomahowk,sandbox,struts etc are resolved and work fine. Because of that, editor doesn't have any auto popup completion windows but man

Obtaining reference to lifecycle

2006-05-24 Thread James Richards
Title: Obtaining reference to lifecycle Hello, I would like to attach a PhaseListener to the MyFaces processing so that I can watch the phases in action.  How does one obtain a reference to the Lifecycle? Thanks for any help, James

RE: FacesConfigurator Error

2006-05-24 Thread David Friedman
Odd, but I see it in there twice, don't you? (or do I need new glasses?) Regards, David -Original Message- From: Tom Cordova [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 24, 2006 12:26 PM To: users@myfaces.apache.org Subject: RE: FacesConfigurator Error Actually, I named the file "my

Re: [OT] Netbeans integration with MyFaces

2006-05-24 Thread Werner Punz
The workaround would be either use a different app server (you can use a plain tomcat in Netbeans 5.5, or a JBoss) or try to replace the jsf jars of the sun app server with myfaces (this should be possible, but I am guessing here). I am not sure but as of now nothing in the admin console uses JSF

RE: FacesConfigurator Error

2006-05-24 Thread Tom Cordova
Actually, I named the file "myfaces-config.xml" just to make sure. Here's my web.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> R

RE: [OT] Netbeans integration with MyFaces

2006-05-24 Thread Romanowski, Tim
Is there a workaround? Copy myfaces jars into the application server lib directory? Edit DTDs? I haven't seen anything on the netbeans lists. Thanks, Tim -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Wednesday, May 24, 2006 11:24 AM To: users@m

Tree2 does not work now

2006-05-24 Thread Enrique Medina
Hi,I've just downloaded the latest versions of MyFaces and Tomahawk, replaced the JARs in my LIB folder, changed the way ExtensionFilter is managed to take advantage of the performance issues, redeployed my application and it does not work. Seems there has been a change with Tree2:Caused by: j

RE: FacesConfigurator Error

2006-05-24 Thread David Friedman
Are you specifying your faces-config.xml file in a web.xml parameter so it would reload twice? I.E. JSF loads it automatically so if you specify the config file in web.xml, it might be reading your configuration file twice and saying "hey, I'll use the latest definition of that managed bean." Reg

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Alexandre Poitras
You can also use one of the various mock objects facilities out there like EasyMock or jMock to generate mock objects and/or stubs. On 5/24/06, Gary VanMatre <[EMAIL PROTECTED]> wrote: You can find the shale test archive in the maven repository (http://people.apache.org/repository/org.apache.s

RE: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Gary VanMatre
You can find the shale test archive in the maven repository (http://people.apache.org/repository/org.apache.struts.shale/jars/shale-test-1.0.2.jar).   You can find several examples in the various shale projects. http://svn.apache.org/viewvc/struts/shale/trunk/use-cases/src/test/org/apache/shale/us

Re: Formatting Tree text?

2006-05-24 Thread Andrew Robinson
Tree2 just renders what you tell it. You can put HTML in your node description if you want using escape = false on a output text (just watch for security problems with this). Unless you have escape = false, you will see the HTML escaped (> for > for example). You can also put a bound componen

Re: JSCookMenu

2006-05-24 Thread Zhang Hailong
Maybe you have to define your own theme.See http://www.cs.ucla.edu/~heng/JSCookMenu/index.html2006/5/24, Michael H. Chang < [EMAIL PROTECTED]>: Hi: I am using JSCook Menu component to build my menu, is there a way to change the bgcolor of the theme (I would like the bgcolor FFAA00) ? Here is sampl

Re: question for accessing managed bean/backing bean from jsp page

2006-05-24 Thread Yasushi Okubo
Hi, I read some tutorial slides, but this was not what I was looking for. In fileupload_showing.jsp, jsp tags were embedded like following. Then, I want to access some data [lists, arrays etc] defined/initialized in managed bean/backing bean from this jsp page inside scriptlet <% .. %> tag, not

FacesConfigurator Error

2006-05-24 Thread Tom Cordova
Whenever I deploy my application I get the following warning: [FacesConfigurator] More than one managed bean w/ the name of 'restlist' - only keeping the last Any idea what could be causing this? Here's my faces config file: http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>

JSCookMenu

2006-05-24 Thread Michael H. Chang
Hi: I am using JSCook Menu component to build my menu, is there a way to change the bgcolor of the theme (I would like the bgcolor FFAA00) ? Here is sample of my code: basename="gov.llnl.chemtrack.ctrpt.resource.ctrpt_messages" var="ctrpt_messages" /> itemLabel="#{ctrpt_messages['rpt_pc']}"

Re: Alternative to tree2

2006-05-24 Thread Andrew Robinson
What is the problem(s) with tree2? I have been using it with the functionality you requested. The only I find myself doing is using server side nodes most of the time (with AJAX, as I have trees with > 100,000 nodes), and I usually create custom tree models and custom tree nodes as the "Base" ones

RE: Unit testing backing beans / custom components in JSF

2006-05-24 Thread arti
Hi,   Thanks for your replies. Yes, shale-test works by itself, without any other dependencies.   Root cause of confusion was - source code for shale-test is not separately packaged in the nightly builds. I had to build whole shale framework for creating the shale-test.jar, and the ant bui

Re: Where to find sandbox.jar ?

2006-05-24 Thread Dennis Gesker
Hello Michael: I'm just started to try out the sandbox myself. I got some help from Paul on this list and also found instructions at: http://wiki.apache.org/myfaces/Building_With_Maven The thread with the help from Paul has the subject: Sandbox nightly Dennis mmca wrote: > Can anyone tell me w

Re: [OT] Netbeans integration with MyFaces

2006-05-24 Thread Werner Punz
Sun AS + Myfaces is a huge problem as of JEE5 the default implementation of the jsf implementation is not overridable anymore within the WEB-INF/lib dir. Most of us were not aware of those issues until recently. Romanowski, Tim schrieb: > After reading [1], I was still unable to get myfaces work

Re: Sandbox nightly

2006-05-24 Thread Dennis Gesker
Hi Paul: Thanks for the quick response. I did find some directions on the wiki. I hadn't used maven before but it didn't take long to get it installed and it seemed to run without a problem so I think I'm probably headed in the right direction. svn co https://svn.apache.org/repos/asf/myfaces/cur

Re: Converter

2006-05-24 Thread Patrick Dalla Bernardina
Correct!!! thank you very much. Mario Ivankovits wrote: Hi! The selectOneMenu is rendered the way I like. But when I submit the form an "Validation Error" occur. Implement the .equals() method in your bean, else JSF will compare them "by instance" which is probably not what you want.

Can take params?

2006-05-24 Thread Zhang Hailong
I don't know if navigationMenuItem can take params, I tried and , neither works.I have to deside which video to be displayed by the request param.My code: Any solutions?Thanks in advance.

RE: [OT] Netbeans integration with MyFaces

2006-05-24 Thread Romanowski, Tim
Title: [OT] Netbeans integration with MyFaces A couple additional notes: the META-INF directory specified below is the one in the myfaces 1.1.4 snapshot jar.   Here is a copy of the complete web.xml file:     http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchem

Maven repository

2006-05-24 Thread Alexandre Poitras
Hello, It's maybe not the best place to ask the question but since I saw some discussions on the subject on this list in the past and since Myfaces uses Maven 2 as its build system, I was wondering if anyone know if there are any plans to have facelet available in Maven public repository. I want

Re: question for accessing managed bean/backing bean from jsp page

2006-05-24 Thread Yasushi Okubo
Julian Ray wrote: You should use JSF Expression Language (EL) to do this. It is similar to using JSTL with one or two minor differences. Your backing beans can be access using the following syntax value="#{testBean.property}" where testBean is a managed bean and property follows the standard

Re: Converter

2006-05-24 Thread Mario Ivankovits
Hi! > The selectOneMenu is rendered the way I like. But when I submit the > form an "Validation Error" occur. Implement the .equals() method in your bean, else JSF will compare them "by instance" which is probably not what you want. Ciao, Mario

[OT] Netbeans integration with MyFaces

2006-05-24 Thread Romanowski, Tim
Title: [OT] Netbeans integration with MyFaces After reading [1], I was still unable to get myfaces working on Netbeans and am wondering if any users on this list are currently using NetBeans 5.5 with myfaces.  I'd like to update the wiki so I'll try to be thorough:  I created a default JSF

0.9 stability

2006-05-24 Thread James Richards
Title: 0.9 stability Hello, I'm evaluating an application which was written on the 0.9 beta release of MyFaces.  For various reasons, this application has not been upgraded, mainly due to a tight development schedule.  The application is using both the Tomahawk and MyFaces core tags.  I rec

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Murat Hazer
We are using shale-test for unit testing JSF backing beans, shale is not invasive, you can use only this part of the shale without including other parts of it to build path.regards On 5/24/06, David Friedman <[EMAIL PROTECTED]> wrote: Arti,> Shale provides mock objects, but it has dependency on

RE: Unit testing backing beans / custom components in JSF

2006-05-24 Thread David Friedman
Arti, > Shale provides mock objects, but it has dependency on > Struts and Shale core, which we donot want. Shale is under the Struts 'name' but should contain no shared Struts code since it was written (supposedly) to JSF, not Struts Action 1.X. What do you know (or think you know) that we d

MyFaces Library Scope

2006-05-24 Thread Patrick Dalla Bernardina
In version 1.1.1 of myfaces, the JAR files needed to be on every WEB application WAR file in the WEB-INF/lib directory. Why? This problem had been solved in version 1.1.3? It is programmed to be solved in next releases?

Re: Myfaces 1.1.3 Sources

2006-05-24 Thread Hans Sowa
HiUse SVN. The Repository root url is http://svn.apache.org/repos/asf. Then follow the path myfaces/core/branches/1_1_3. Check it out and you have the source.Hope, this help. HansOn 5/24/06, Patrick Dalla Bernardina <[EMAIL PROTECTED]> wrote: Where do I find myfaces 1.1.3 source files?-- mfg Hans S

Converter

2006-05-24 Thread Patrick Dalla Bernardina
I've done a Converter to converts my class and use in JSF Components and registered her in faces-config for the class. I've created a selectOneMenu which value is a method that returns a collection of SelectItem which values are of that class. The selectOneMenu is rendered the way I like. But

Re: DataTable and Lazy-Loading

2006-05-24 Thread Hans Sowa
Hi CosmaThanks for the hint but both are always null.I found out that I could use an actionlister. The ScrollerActionEvent contains the attributes mPageIndex and mScrollerfacet. It the user clicks directly to the page the attribute mPageIndex contains the pagenumber. It the user clicks on the next

Myfaces 1.1.3 Sources

2006-05-24 Thread Patrick Dalla Bernardina
Where do I find myfaces 1.1.3 source files?

Re: Error with tree2: MyFaces special javascript could not bet retrieve from request-map

2006-05-24 Thread Jeff Bischoff
Well, the @lastModified@ message is a bug introduced by the switchover from Ant to Maven. There is plenty of recent discussion on this and workarounds in the archive. So, anyone seen his other error message before? Juan Gómez Romero wrote: Hello to everybody. I hope nobody has answered this qu

RE: question for accessing managed bean/backing bean from jsp page

2006-05-24 Thread Julian Ray
You should use JSF Expression Language (EL) to do this. It is similar to using JSTL with one or two minor differences. Your backing beans can be access using the following syntax value="#{testBean.property}" where testBean is a managed bean and property follows the standard java bean get/set pat

Formatting Tree text?

2006-05-24 Thread Christopher J. Bowerman
Hi,   I am using the MyFaces tree2 component for application where the tree node descriptions are a series of three numbers.  I’d like to color code the numbers to match with other parts of the application.  I’ve tried to include various html tags that I thought might do it, but it didn’t

Re: css problem with default input type="text"

2006-05-24 Thread Jeff Bischoff
> i can't set any style attributes for the input (as far as I know...) Well you're about to find out how! There are many CSS attributes on the t:inputCalendar tag, but it is actually the most basic one - styleClass - that gets applied to the text input box! In fact, I have just tested it out

Re: Unit testing backing beans / custom components in JSF

2006-05-24 Thread Mirek B.
Hi Arti, You will be interested in http://struts.apache.org/struts-shale/features-test-framework.html -- mirek arti wrote: Hello, How to unit test JSF code? Which test framework should be used for custom component/ backing beans unit testing? I am curious how do MyFaces developers (not use

generating a component tree for a page

2006-05-24 Thread Ionut S
Hi, I need your advice.. maybe somebody did something similar before. I want to have a tabbed panel and to add a new tab to it every time a user clicks on a button. That's easy - I just take the component tree and insert the component in it. However, that tab needs to be populated with da

question for accessing managed bean/backing bean from jsp page

2006-05-24 Thread Yasushi Okubo
Hi experts, I would like to access data structures defined in managed bean/backing bean from jsp page. For example, when I see myfaces file upload example, jsf page is taken a user to jsp page, and I would like to access managed bean from this file upload jsp page. Could you someone direct

RE: Unit testing backing beans / custom components in JSF

2006-05-24 Thread arti
Hi, Backing beans, I think, are slightly more than POJOs, since those are JSF aware beans - which use JSf objects like FacesContext, Application, VariableResolver etc. Unit testing these outside container, will require stubs for such objects. Shale provides mock objects, but it has dependency on

[ot][help] move from JBoss to Tomcat not recognizing welcome file

2006-05-24 Thread Garner Shawn
web.xml index.jsp index.jsp: <%@ page session="false" contentType="text/xml;charset=utf-8"%> <% response.sendRedirect("welcome.jsf"); %> When I deployed on tomcat I get a blank page when I type in the context. If I actually type in welcome.jsf it works fine. Fo

Error with tree2: MyFaces special javascript could not bet retrieve from request-map

2006-05-24 Thread Juan Gómez Romero
Hello to everybody. I hope nobody has answered this question before in the list; I have been searching it and I have not found anything... I'm interested in incorporating some MyFaces features to my application, so I'm trying to run the tree2 example. After some hours of changing configuration

Re: Ideas?

2006-05-24 Thread Lisaa
Hi., I also came to know about it. I'm curious to know more about JSF+GWT. Any ideas? Please discuss.. Thanks -- View this message in context: http://www.nabble.com/Ideas--t1650189.html#a4539510 Sent from the MyFaces - Users forum at Nabble.com.

Re: Websphere 6 tld not found [solved]

2006-05-24 Thread _dani
so I changed to myfaces-core-1.1.3 and tomahawk-1.1.2 and finally my application is running fine under websphere 6. nice -- View this message in context: http://www.nabble.com/Websphere+6+tld+not+found-t1663507.html#a4539452 Sent from the MyFaces - Users forum at Nabble.com.

Re: Who uses Single Sign On with JSF?

2006-05-24 Thread Cenk Çivici
Hi ,   I would recommend checking Yale CAS and the Acegi support for it. We have used it with JSF apps and the result has been quite satisfactory.    There is also a library of acegi related jsf components(http://www.jroller.com/page/cagataycivici?entry=acegi_jsf_components_hit_the )   Bye.  On 5/2

  1   2   >