Re: Re: Regarding jscook memu

2006-08-23 Thread sandip anandrao patil
Thanks Arvind, Actually I did everything as you said. But still action is not firing. So is it issue related to myfaces.jar ? Please help.I struck this problem since 2 days. Thanks Sandip On Tue, 22 Aug 2006 Mr Arvind Pandey wrote : Hi Sandip ! I have used t:jscookMenu in my

Re: Re: Regarding jscook memu

2006-08-23 Thread Murat Hazer
Did you look at jscookmenu at irian website? http://www.irian.at/myfaces/jscookmenu.jsftake a look and try to make it work on your server, i believe it'll solve your problem... On 22 Aug 2006 14:37:06 -, sandip anandrao patil [EMAIL PROTECTED] wrote: Thanks Arvind, Actually I did

Re: FCK Editor Compoenent for faces Source Forge Project

2006-08-23 Thread Werner Punz
Shawn Recinto schrieb: http://sourceforge.net/projects/fck-faces This has a 1.0.0 release for those of you interested in using it. Neat, we could not integrate FCK into myfaces due to licensing reasons. The FCK was LGPL and back then LGPL was a no go for us (I dont know what the current

Passing Parameters Between Backing Beans

2006-08-23 Thread Daniel Murley
Hi all, Is it at all possible to pass a value from one backing bean to another, without accessing that bean and setting the value manually? Currently we set parameters for beans using f:param, however I now have a situation where bean A will return navigation that will result in bean B being

RE: very simple question regarding h:inputText

2006-08-23 Thread Conway. Fintan \(IT Solutions\)
I have to disagree. The way that I read Martin's setup is that Martin is keeping the UI/navigation logic of his application in a different class/layer to the business model. (You may correct me if I am wrong) I like the fact that I can use a simple POJO (business model) as the centre of my

MyFaces failing to show JSF error page (bug)

2006-08-23 Thread Wolf Benz
Hi, Browsing through earlier posts, it appears that if you specify an error-page in the web.xml AND IF this page contains jsf tags (pure jsp html goes aparently fine), MyFaces throws an Exception. I've experienced this myself too. Is there a remedy/fix planned? The code:In my web.xml I have:!--

RE: Passing Parameters Between Backing Beans

2006-08-23 Thread Conway. Fintan \(IT Solutions\)
Hi Daniel, The Tomahawk SaveState component sounds like it may do the job for you. http://wiki.apache.org/myfaces/SaveState Otherwise look at http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother Regards, Fintan -Original Message- From: Daniel Murley [mailto:[EMAIL

Validation of jsf-page and associated Backing Beans

2006-08-23 Thread Strittmatter, Stephan
Hi all, I have a question about validation of the code. I know there are some IDEs supporting such validations (rudimentar), but is there somewhere out an ant task or a maven goal which allows to verify, if all setters and getters are correct defined within the backing bean and the associated JSF

Accessing JSP action var attribute from normal JSP expression or action

2006-08-23 Thread Daniel Kröger
Hi all, I'm a bit confused since the description of the var attribute for the dataTable action says it's the request scope variable that holds the current row object. But the following exemplary code doesn't work anyway: h:dataTable value=#{children} var=child h:column h:outputText

Re: MyFaces failing to show JSF error page (bug)

2006-08-23 Thread Guy Coleman
If your error page contains JSF then the location should use the .jsf extension (or whatever url mapping the FacesServlet is configured to use): error-page error-code404/error-code location/resources/pages/fileNotFound.jsf/location /error-page etc. -Guy. On 23/08/2006 10:37, Wolf Benz

Re: MyFaces failing to show JSF error page (bug)

2006-08-23 Thread Wolf Benz
That's not true, it suffices to map the jsp extention to the MyFaces Servlet and it will correctly deal with the JSF tags inside. Besides, otherwise all my other pages wouldn't work either - they all have jsp extensions. No, something -I don't know what- makes the treatement of this

RE: tree2 + portlet

2006-08-23 Thread Strittmatter, Stephan
I think you have to use serverside Tree. This works for me in portlet. Regards, Stephan -Original Message- From: Denis Nikiforov [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 12:32 PM To: users@myfaces.apache.org Subject: t:tree2 + portlet (message (Hello *Human*)

RE: FCK Editor Compoenent for faces Source Forge Project

2006-08-23 Thread David Friedman
Are you hosting your applicatino or selling software bundles (zips, jars, tars, etc.) ? I've read analyses that explain the LGPL is only valid if you are selling copies of your software. So, if you are hosting your own web application the LGPL does (should?) not apply because you are not

logout-login problem

2006-08-23 Thread Alin Dosoniu
Hi, I have an application that is using form based authentication. Supposean user with many rights is logged in and visiting a page (/app/page_for_admin.jsp)then s/he isclicking on logout button.On the server the session isinvalidated,then the user is redirectedto a page from restricted

Re: logout-login problem

2006-08-23 Thread Jeff Bischoff
Alin, This sounds like a flaw in your application logic, not in JSF itself. Your login method should return a String, which JSF will use to map to a navigation rule. You can have as many possible outcomes from this method as you wish, i.e. one string for login failure, one for regular users,

Re: MyFaces failing to show JSF error page (bug)

2006-08-23 Thread Jeff Bischoff
I believe Guy is right: that's the exception that I get when I call a JSF page outside of the MyFaces context (i.e. I mistakenly type in MyPage.jsp instead of MyPage.faces) Have you really mapped the JSP extension to the Faces Servlet? This is not common practice. Even though the actual

Re: logout-login problem

2006-08-23 Thread Alin Dosoniu
Hi Jeff, Thank you for your quick answer. Let me tell you more details about my application. So, I use Tomcat and as security I have configured the FORM method. The security constraint just say that under /app/* there is a protected area and only user and admin users are allowed. There are

Can t:dataScroller's for-attribute reference UIData object in another form?

2006-08-23 Thread Rønnevik , Eivind
Hi! My question is this: I have a dataScroller, and want to specify the for-reference to a dataTable, only thing is thatI see the need of having the two objects (scroller and table)in two different forms (layout issues). I've tried something like this, with no success: t:dataScroller

Re: logout-login problem

2006-08-23 Thread Jeff Bischoff
I tried to modify the jsp-examples/security/protected example from Tomcat to see if the same problem appears with plain jsp. It does not appear. Hmm, interesting... I'm afraid I can't speak to that myself, as we use a phase listener for security. Is anyone here using the built-in FORM

Re: FCK Editor Compoenent for faces Source Forge Project

2006-08-23 Thread Werner Punz
David Friedman schrieb: Are you hosting your applicatino or selling software bundles (zips, jars, tars, etc.) ? I've read analyses that explain the LGPL is only valid if you are selling copies of your software. So, if you are hosting your own web application the LGPL does (should?) not

CommandNavigation2: usage of activeOnViewIds attribute

2006-08-23 Thread janw
Hello, I tried to use the attribute activeOnViewIds of the component commandNavigation2 to define which menu items are open after which action, but don't get it wo work. I don't know exactly how to fill the attribute. A view-id is sth like /order_overview.jsp, as in a navigation rule, right? I

RE: very simple question regarding h:inputText

2006-08-23 Thread Iordanov, Borislav \(GIC\)
Sure, I understand that very well. To clarify a bit: the point is that you need that PersonPage bean. Its entirely different function is to make your business data model fit JSF at a very _concrete_ level. It's there to represent an application domain artifact for the purpose of UI exposure.

RE: very simple question regarding h:inputText

2006-08-23 Thread Iordanov, Borislav \(GIC\)
Hi, I understand it's not verbatim duplication, that's why I put in essentially in my comment. Anyway, my problem is that I can't avoid that extra class/layer. It is code bloating, I don't want to have it. Every abstraction that you put in has a price (think maintenance), so it has to buy you

[OT][ANN] JAVAWUG BOF XXII / Sun London / 20 Sept 2006 @ 18:30 / featuring Jason van Zyl, Maven 2.0

2006-08-23 Thread Peter . Pilgrim
Hi I would like to formally announce that ``JAVAWUG'' (Java Web User Group) is holding the twenty second Birds-of-Feather XXII (Meet up number 22) at the Sun's London Office on Wednesday, 20th September 2006 from 18:30. For more information

Re: [Commns Validators] url Validation - does it still exist?

2006-08-23 Thread Matthias Wessendorf
Rich, that guy is part of our sandbox. Make sure you have the sandbox jar in your project. See [1] for the source [1] http://tinyurl.com/hbbby On 8/23/06, Richard Koch [EMAIL PROTECTED] wrote: I am trying to use the commons validator framework within my JSP/JSF project. I have tomahawk

Re: very simple question regarding h:inputText

2006-08-23 Thread Martin Marinschek
For a solution to the problem of your last paragraph, take a look at the: s:selectItems component in the MyFaces-sandbox. regards, Martin On 8/23/06, Iordanov, Borislav (GIC) [EMAIL PROTECTED] wrote: Sure, I understand that very well. To clarify a bit: the point is that you need that

Re: very simple question regarding h:inputText

2006-08-23 Thread Martin Marinschek
You're using aspects? great! Manfred and me have been working on what we call Lightweight aspect-oriented JSF-UIs ;) where each business-object is automatically wrapped in a JSF-enhanced aspect, if necessary. We still have a page-bean, though. for storing the aspects, if nothing else. regards,

Re: What is the best Ajax JSf framework to use?

2006-08-23 Thread Shekhar Yadav
Thanks everyone for input. but I am little confused. So there is no framework still that works completely out of box. I thought my requirements were most basic ajax requirements... regards, Shekhar Martin Marinschek wrote: Hold on, hold on. The PPR technology we devised for integration

Re: logout-login problem

2006-08-23 Thread Alin Dosoniu
Hi Jeff, Can you give me some ideas about how you use phase listener for security? Or give me a link for more details. Thank you, Alin. I tried to modify the jsp-examples/security/protected example from Tomcat to see if the same problem appears with plain jsp. It does not appear. Hmm,

Re: What is the best Ajax JSf framework to use?

2006-08-23 Thread Andrew Robinson
AjaxAnywhere and Ajax4Jsf both work out of the box. They have different strengths and weaknesses. Both are made for partial page refreshing, not any kind of AJAX API necessarily. Ajax4Jsf is geared more towards JSF and is dedicated to migrate to the JSF Avatar once it is released (where JSF

RE: What is the best Ajax JSf framework to use?

2006-08-23 Thread Jaya Saluja
I have added radio buttons to my application. Heres the code h:selectOneRadio layout=pageDirection f:selectItem itemValue=customers itemLabel=Customers/ f:selectItem itemValue=enabled_customers itemLabel=Enabled Customers / f:selectItem itemValue=disabled_customers

problems with forms

2006-08-23 Thread Charles Oslowski
Dear All I am trying to achieve something equivalent to the code below in myfaces with ADF: form action=https://secure.webpage.pl/index.php; method=post class=form input type=text name=language value=pl / input type=text name=session_id value=SESSION_ID / input name=submit_send value=wyślij

Re: What is the best Ajax JSf framework to use?

2006-08-23 Thread Andrew Robinson
In JavaScript or on the server? On 8/23/06, Jaya Saluja [EMAIL PROTECTED] wrote: I have added radio buttons to my application. Here's the code h:selectOneRadio layout=pageDirection f:selectItem itemValue=customers itemLabel=Customers/ f:selectItem

Radio buttons

2006-08-23 Thread Jaya Saluja
In Javascript -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 4:14 PM To: MyFaces Discussion Subject: Re: What is the best Ajax JSf framework to use? In JavaScript or on the server? On 8/23/06, Jaya Saluja [EMAIL PROTECTED] wrote:

Re: Radio buttons

2006-08-23 Thread Andrew Robinson
There is no quite easy way. There is no ID to use the getElementById function. However, the NAME attribute is set to the JSF client ID. So if you know the full client ID, then you can use getElementsByName. If you only know the component ID, but not the client ID, you can simply get the form,

Re: Locale problem with MyFaces Portlet for Liferay

2006-08-23 Thread Behrang Saeedzadeh
Hi Stephan, I looked at the wiki entry and it was very clear and straightforward but unfortunately I have not been able to solve the locale problem yet. When I don't add the portlet-ejb.jar to the WEB-INF/lib directory of my portlet .war file it throws a ClassNotFoundException. When I added the

JSF Cycle execution question...

2006-08-23 Thread Jorge Vásquez
Regards, I have been experimenting with a combination of action and actionListener method binding and when I debug my code I notice that the actionListener gets executed first, is this always the case?  Is it possible for this order of execution to change between implementations or it is

Re: JSF Cycle execution question...

2006-08-23 Thread Matthias Wessendorf
Yes, it's right that actionListeners are executed *before* the action methods On 8/23/06, Jorge Vásquez [EMAIL PROTECTED] wrote: Regards, I have been experimenting with a combination of action and actionListener method binding and when I debug my code I notice that the actionListener gets

Re: For all Java developers, Dojo Drag and Drop made easy with JavaServer Faces

2006-08-23 Thread Wdiaz
If these bookshops will be free? xmlns:fbr=http://faces.eti.br/jsf; Rogerio Pereira escribió: Guys, the correct url is http://faces.eti.br/arquivos/test-morefaces.war I can't understand why the teste-morefaces.war can be downloaded since the same doesn't exist anymore on my website. Maybe

RE: Validation of jsf-page and associated Backing Beans

2006-08-23 Thread Ian Hlavats
Hi Stephan, JSFToolbox 1.2 for Dreamweaver will include comprehensive JSF-EL validation and correction tools, such as design-view highlighting of invalid EL expressions, detailed site-wide validation reports, and more. This update is due for October-December of this year and will also feature

NavigationHandler registration

2006-08-23 Thread Laurie Harper
I have a requirement to register a custom NavigationHandler implementation at the bottom of the delegation stack, rather than at the top as happens when registering through WEB-INF/faces-config.xml. Basically, I need to make sure that delegating navigation handlers, such as Shale's

Re: Re: Regarding jscook memu

2006-08-23 Thread Mr Arvind Pandey
Hi Sandip! I am using myfaces-all.jar(version 1.1.1) which contains myfaces-impl 1.1.1, myfaces-api 1.1.1 and tomahawk 1.1.1 . You can place these three files together or myfaces-all.jar file alone in your WEB-INF/lib folder. myfaces-all.jar file should not be put together with three files