FacesMessage with severity ERROR do not prevent calling an action method

2010-01-20 Thread Madhav Bhargava
Hi, I am using myfaces 1.1, icefaces 1.8.1 on WAS 6.0 The controller (backing bean) action methods handle RuntimeException from the service layer. Depending on the exception an exception handler will put an appropriate message into FacesContext. For that I have created a utility method:

RE: FacesMessage with severity ERROR do not prevent calling an action method

2010-01-20 Thread Madhav Bhargava
a new request with a new FacesContext is started. Unless this produces the same error the messages will be gone. regards Michael Madhav Bhargava schrieb: Hi, I am using myfaces 1.1, icefaces 1.8.1 on WAS 6.0 The controller (backing bean) action methods handle RuntimeException from

RE: FacesMessage with severity ERROR do not prevent calling an action method

2010-01-20 Thread Madhav Bhargava
not depend on messages in the context. To prevent executing actions and direct skip to renderPhase you need to call FacesContext.getCurrentInstance().renderResponse(); e.g. in your putMessage() method. Regards, Volker 2010/1/20 Madhav Bhargava madhav_bharg...@infosys.com: Hi, I am using myfaces

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-18 Thread Madhav Bhargava
Korherr Can you sort out if the filter itself is not called or if the filter behaves wrong? 2010/1/13 Madhav Bhargava madhav_bharg...@infosys.com Yeah this is the place. Back to the problem. I still cannot come up with a workaround :( From: sethfromaust...@gmail.com [mailto:sethfromaust

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-18 Thread Madhav Bhargava
know spring security filters well enough to point out what the real problem is. sorry! 2010/1/18 Madhav Bhargava madhav_bharg...@infosys.com Sorry for the delay in response. The spring security filters are not invoked at all when a JSF forward happens. What we have done as a workaround

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-18 Thread Madhav Bhargava
really sorry, but I can't figure out the problem. Maybe anyone else could take a look at this log... 2010/1/18 Madhav Bhargava madhav_bharg...@infosys.com Attached is the log file. Look for lined which have (URLInterceptor.java) This will give you the URL that has been intercepted by the custom

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-13 Thread Madhav Bhargava
, UIViewRoot viewToRender) throws IOException, FacesException { externalContext.dispatch(viewId); } Regards, Jakob 2010/1/13 Madhav Bhargava madhav_bharg...@infosys.com Yes, I am not using facelets. I had a look at the NavigationHandlerImpl and here is the excerpt

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-12 Thread Madhav Bhargava
-Original Message- From: Michael Kurz [mailto:michi.k...@gmx.at] Madhav Bhargava schrieb: To add if you see the spring security application config, I have the following set: security:http security:intercept-url pattern=/**/secure/** access=ROLE_USER

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-12 Thread Madhav Bhargava
, but I think there is maybe a workaround for this.. I myself just don't know one.. Maybe define the filter twice would solve the problem, but that's just a guess. Regards, Jakob 2010/1/12 Madhav Bhargava madhav_bharg...@infosys.com -Original Message- From: Michael Kurz

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-12 Thread Madhav Bhargava
invoked at all. Regards, Madhav From: Madhav Bhargava Yes, I have made the appropriate configuration for spring security filters so that specially in the case that you have described below this property will make sure that the authentication is done again. However I do not think that it has

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-12 Thread Madhav Bhargava
this is not natural with jsf versions prior to 2.0, but this new spec seems to change everything :-) - use can easily generate GET requests with the new version. Hope this helps ;) Regards, Tom Pasierb Madhav Bhargava pisze: Hi All, I am using myfaces 1.1, icefaces 1.8.1, spring 2.5.6, spring

Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-11 Thread Madhav Bhargava
Hi All, I am using myfaces 1.1, icefaces 1.8.1, spring 2.5.6, spring security -2.0.5, WAS 6.0 (app server) I have configured spring security for my JSF application along with SiteMinder as an external authentication mechanism. It works fine till a forward happens from within myfaces. Here is

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-11 Thread Madhav Bhargava
. Regards, Jakob Korherr 2010/1/11 Madhav Bhargava madhav_bharg...@infosys.com Hi All, I am using myfaces 1.1, icefaces 1.8.1, spring 2.5.6, spring security -2.0.5, WAS 6.0 (app server) I have configured spring security for my JSF application along with SiteMinder as an external

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-11 Thread Madhav Bhargava
/*)? Maybe the real JSF urls are not listed in your intercepter config. regards Michael Madhav Bhargava schrieb: Hi All, I am using myfaces 1.1, icefaces 1.8.1, spring 2.5.6, spring security -2.0.5, WAS 6.0 (app server) I have configured spring security for my JSF application along

RE: Spring FilterSecurityInterceptor not been called for myfaces forwards

2010-01-11 Thread Madhav Bhargava
jsp:forward. Regards, Madhav -Original Message- From: Madhav Bhargava Hi Michael, Following are the servlet mappings: servlet-mapping servlet-nameFaces Servlet/servlet-name url-pattern*.faces/url-pattern /servlet-mapping servlet-mapping

RE: Performance issues with JSF

2009-07-17 Thread Madhav Bhargava
Shashi wrote: Hi All - We have built a J2EE application with JSF (MyFaces, Ajax4JSF) ,Spring and IBatis. What we find is, each of the screen takes lot of time to load. We find no performance issue with Spring or Ibatis (after verifying via JProfiler). Jprofiler shows the JVM memory is occupied

RE: t:dataScroller problem

2009-06-22 Thread Madhav Bhargava
Andrea wrote: Hi all, sorry for the previous blank mail (but MS does dent BLANK mail if you use Linux+firefox). I have a problem regarding t:dataScroller and pageIndexVar state. I am trying to save the page index state into a sessio back bean so that i can remember the page the user was

GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
Hi All, I have a heavy page and I am trying to reduce the response size by gzipping the Http Response going back to the client from the server. Since I cannot install mod_deflate/mod_gzip on IBM HTTP server I have tried to use the GZipFilter (provided by ehcache) and I also tried to create my

RE: GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
, 2009 at 2:38 PM, Madhav Bhargava madhav_bharg...@infosys.com wrote: Hi All, I have a heavy page and I am trying to reduce the response size by gzipping the Http Response going back to the client from the server. Since I cannot install mod_deflate/mod_gzip on IBM HTTP server I have

RE: GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
. Any pointer would be appreciated. Regards, Madhav From: Cagatay Civici [mailto:cagatay.civ...@gmail.com] I've used gzip filter with jsf and no problems, was working in was6 as well afair. On Fri, Apr 17, 2009 at 3:06 PM, Madhav Bhargava madhav_bharg...@infosys.commailto:madhav_bharg

RE: GZipping JSF Response

2009-04-17 Thread Madhav Bhargava
-Original Message- From: Simon Kitching [mailto:skitch...@apache.org] Sent: Friday, April 17, 2009 7:50 PM To: MyFaces Discussion Subject: Re: GZipping JSF Response Madhav Bhargava schrieb: Hi Cagatay, I tried using the GZipFilter that comes along with ehcache as well. I

Feature to disable/enable components using JS

2009-04-09 Thread Madhav Bhargava
Hi All, At present if you need to enable a disabled component then either you call an actionListener or make an AJAX call to re-render that component by changing a property bounded to the disable attribute of the component. What this does is it makes a page a little heavy especially when you

RE: How to access session scope attributes via JSF EL

2009-03-09 Thread Madhav Bhargava
the proper value. Thanks, Madhav Andrew wrote: Unless you set #{sessionScope.someBooleanProperty} to true it will return null, and null is the same as false in terms of the disabled attribute. -Andrew On Wed, Mar 4, 2009 at 11:54 PM, Madhav Bhargava madhav_bharg

RE: valueChangeListener + JSF lifecycle

2009-03-05 Thread Madhav Bhargava
Madhav Bhargava schrieb: Hi All, I was under the impression that Value change listeners will be called only when there is no validation exception on the page. However on my page if there is a validation failure and a message is displayed to the user. Now if the user changes a value say

Check if anything has been changed on the form

2009-03-05 Thread Madhav Bhargava
Hi All, We are trying to fine tune the DAO layer where we are using Hibernate as our ORM. Since we have too many detached objects, every time we go and save which is quite often (because of implicit save) too many queries get fired and the application responds slowly. This happens even if

valueChangeListener + JSF lifecycle

2009-03-04 Thread Madhav Bhargava
Hi All, I was under the impression that Value change listeners will be called only when there is no validation exception on the page. However on my page if there is a validation failure and a message is displayed to the user. Now if the user changes a value say in a drop down and a value

How to access session scope attributes via JSF EL

2009-03-04 Thread Madhav Bhargava
Hi All, In a JSP I need to disable a component based on an attribute's value in HttpSession. http://developers.sun.com/docs/jscreator/help/jsp-jsfel/jsf_expression_language_intro.html The above link mentions that session scope can be accessed using an implicit object - sessionScope I tried to

selectOneRow component issue

2009-02-26 Thread Madhav Bhargava
Hi All, I am using selectOneRow component in a t:datatable. On some occasions I need to disable the group of radio buttons not allowing the user to toggle to any other row in the table. There is a disabled attribute for this component but even if I explicitly set disabled=true for this

RE: JSF EL does not allow method calls

2009-02-18 Thread Madhav Bhargava
On Mon, Feb 16, 2009 at 2:48 PM, Simon Kitching skitch...@apache.orgmailto:skitch...@apache.org wrote: Madhav Bhargava schrieb: Hi All, I have a requirement wherein I have to disable UI components based on whether there are any error messages in the Message Queue (t:messages

JSF EL does not allow method calls

2009-02-16 Thread Madhav Bhargava
Hi All, I have a requirement wherein I have to disable UI components based on whether there are any error messages in the Message Queue (t:messages). facesContext is an implicit object so I thought of using it like - #{facesContext.getMessages.hasNext} However when it was not working because

Re: JSF EL does not allow method calls

2009-02-16 Thread Madhav Bhargava
Kitching skitch...@apache.orgwrote: Madhav Bhargava schrieb: Hi All, I have a requirement wherein I have to disable UI components based on whether there are any error messages in the Message Queue (t:messages). facesContext is an implicit object so I thought of using it like

Re: JSF EL does not allow method calls

2009-02-16 Thread Madhav Bhargava
On Mon, Feb 16, 2009 at 2:48 PM, Simon Kitching skitch...@apache.orgwrote: Madhav Bhargava schrieb: Hi All, I have a requirement wherein I have to disable UI components based on whether there are any error messages in the Message Queue (t:messages). facesContext is an implicit

RE: How to display popup using t:popup only on click of a link?

2009-01-21 Thread Madhav Bhargava
:05 AM To: users@myfaces.apache.org Subject: Re: How to display popup using t:popup only on click of a link? Hi Madhav, This might be late reply, but Im also having the same scenario.Can you pls share your solution. Thanks and Regards, Chandu Madhav Bhargava-2 wrote: Hi All, I have

RE: Using Ajax with MyFaces

2009-01-15 Thread Madhav Bhargava
, Madhav Bhargava madhav_bharg...@infosys.com wrote: From: Madhav Bhargava madhav_bharg...@infosys.com Subject: RE: Using Ajax with MyFaces To: MyFaces Discussion users@myfaces.apache.org, shasimi...@yahoo.com shasimi...@yahoo..com Date: Thursday, 15 January, 2009, 6:03 AM Shashi wrote: Hi all, I'm

RE: Using Ajax with MyFaces

2009-01-14 Thread Madhav Bhargava
Shashi wrote: Hi all, I'm using myfaces 1.1.6, tomahawk-1.1.8, tiles with jdk 1.4. I've a page which has three data tables. I want the data in the two tables to be populated after the page loads.Can i do it using AJAX. I am new to AJAX. Or is there any component in Sandbox for this

How to get hold of the event queue in JSF?

2008-12-30 Thread Madhav Bhargava
Hi All, I am using Sun JSF RI 1.1_02, Tomahawk -1.1.6, tomahawk-sandbox-1.1.6, richfaces-3.1.6 I have a page where there is are 2 drop downs: t:selectOneMenu id=provTypCd style=width:163 value=#{durMaintenanceController.provTypCd} f:selectItems id=selitms1

RE: MyFaces / Tomahawk / Tiles (NoClassDefFoundError)

2008-12-22 Thread Madhav Bhargava
You might want to register the listener in web.xml: listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class /listener --- I'm having some trouble understanding how to get Tiles working. I

s:subForm and a4j:support created re-rendering problems

2008-12-17 Thread Madhav Bhargava
Hi All, I am using Sun JSF RI - 1.1_02, tomahawk 1.1.6, tomhawk-sanbox-1.1.5 Later versions of tomahawk include subForm component. However we are stuck up with the above versions and therefore we use s:subForm instead of t:subForm We have a drop down. On change of that drop down we call a

RE: Attach the current JSF View as an attachment

2008-12-16 Thread Madhav Bhargava
It works well. Thanks for all your help. Regards, Madhav From: Madhav Bhargava [mailto:madhav_bharg...@infosys.com] Sent: mercredi 3 décembre 2008 11:51 To: MyFaces Discussion Subject: Attach the current JSF View as an attachment Hi All, I have a rather unique

t:inputCalendar component converter problems

2008-12-13 Thread Madhav Bhargava
Hi All, I wanted to decorate the default converter that comes along with HtmlCalendarRenderer class for t:inputCalendar component. I was able to actual processing of converting string to Object to the HtmlCalendarRenderer class using the following code: Method: getAsObject() UIInput

RE: Displaying messages over the content - generated by the content?

2008-12-12 Thread Madhav Bhargava
felix.bec...@t-systems.com schrieb: Hi, I've got a JSF page divided in 2 parts - the status message area and the content area. The content area is positioned under the status message area. In the status area all messages for the user should be shown - for example success messages, error

RE: Displaying messages over the content - generated by the content?

2008-12-12 Thread Madhav Bhargava
Madhav Bhargava schrieb: felix.bec...@t-systems.com schrieb: Hi, I've got a JSF page divided in 2 parts - the status message area and the content area. The content area is positioned under the status message area. In the status area all messages for the user should be shown

t:messages component's strange behavior when used with Tiles and Sun JSF

2008-12-04 Thread Madhav Bhargava
Hi, I am using Sun JSF 1.1_02, Tomahawk 1.1.6 and struts tiles and RSA 7.0 (websphere runtime 6.0) as the development IDE. I have the following code in my JSP: t:messages/t:messages t:inputText id=descrptn size=23 align=left maxlength=100 required=true forceId=true

Attach the current JSF View as an attachment

2008-12-03 Thread Madhav Bhargava
Hi All, I have a rather unique requirement - On a JSF page I have a command button. On click of this button I want to capture the generated HTML for the current view I am on, truncate the left navigation, header and the footer. Extract the body HTML and open a save dialog box to save this HTML

extend tomahawk sandox selectManyPickList

2008-11-28 Thread Madhav Bhargava
Hi All, I have a requirement where I have 2 lists (left and right) and the following behavior is required: 1. The user can only select one item from the left list to be moved to the right. 2. The user can only choose one item either from the left or the right list. This will

RE: Can tomahawk be used without myfaces

2008-11-24 Thread Madhav Bhargava
it will help 2008/11/24 Madhav Bhargava [EMAIL PROTECTED]: Hi All, I am using the following JSF jars provided as part of websphere 6.0 server lib: Jsf-api.jar - present in AppServer/lib Ws-jsf.jar - present in AppServer/lib jsf-ibm.jar - present in WEB-INF/lib Since the JSF RI

RE: Can tomahawk be used without myfaces

2008-11-24 Thread Madhav Bhargava
were forced to switch to RI implementation due to buggy myfaces libraries, but we didn't want to drop Tomahawk extensions and we went successful. The difference is, that we use Tomcat 6.x instead of websphere. Greetings Pawel Madhav Bhargava [EMAIL PROTECTED] wrote on 2008-11-24 11:19:27: Hi

Can tomahawk be used without myfaces

2008-11-23 Thread Madhav Bhargava
Hi All, I am using the following JSF jars provided as part of websphere 6.0 server lib: Jsf-api.jar - present in AppServer/lib Ws-jsf.jar - present in AppServer/lib jsf-ibm.jar - present in WEB-INF/lib Since the JSF RI provided by Sun and IBM do not have inherent support for Tiles I thought of

Running into NullPointerException when running Myfaces + tiles on WebSphere 6.0

2008-11-19 Thread Madhav Bhargava
Hi All, I am using Myfaces 1.1.5, tomahawk 1.1.5, struts-tiles, ajax4jsf on Websphere 6.0 and i am running into an exception (stack trace is attached with this mail) I have already gone through the link http://wiki.apache.org/myfaces/Websphere_Installation and done loads of googling but

Re: Running into NullPointerException when running Myfaces + tiles on WebSphere 6.0

2008-11-19 Thread Madhav Bhargava
??? If yes, then forget my mail!! - J Madhav Bhargava wrote: Hi All, I am using Myfaces 1.1.5, tomahawk 1.1.5, struts-tiles, ajax4jsf on Websphere 6.0 and i am running into an exception (stack trace is attached with this mail) I have already gone through the link http://wiki.apache.org/myfaces

Re: Dependency Injection in Validators

2008-03-31 Thread Madhav Bhargava
Seam supports this kind of injection via @in and @out annotations http://www.javabeat.net/jboss-seam/2007/06/jboss-seam-introduction/ Another way would be to integrate Spring + JSF. Yet another way would be to manage business layer with Spring and then you an instance of a bean which implements

t:popup problems still persist

2008-01-23 Thread Madhav Bhargava
Hi All, I am using myfaces 1.1.5, tomahawk 1.1.5 in my web application which runs on IE 6. I have the following structure in my JSP: t:div style=margin-top: 40px;height: 160px; overflow-y: auto ; border: 1px solid gray; t:dataTable t:column t:popup

tomahawk inputFileUpload component times out for large files

2007-11-21 Thread Madhav Bhargava
Hi All, Following is the environment i am working with: Weblogic 8.1 sp4 myfaces 1.1.5 tomahawk 1.1.5 IE 6.0 SP2 In my application i am using inputFileUpload component which internally uses apache commons FileUpload. For larger files the request times out and throws the following exception:

t:popup bug in tomahawk 1.1.5

2007-08-24 Thread Madhav Bhargava
Hi All, We have a label and an input text next to it. Place the cursor on the input text and now move the mouse over the label. The popup showing the tooltip comes up. The problem is that on IE the blinking cursor is still shown on the tooptip. I did try and dig out if there was a JIRA raised

bug in t:panelTabbedPane component

2007-08-24 Thread Madhav Bhargava
Hi All, Environment: browser: IE 6.0.2 myfaces: 1.1.5 tomahawk: 1.1.5 On IE the many a times the tabs are shown as buttons and not tabs. This does not always happens. Following is the code in the JSP: t:panelTabbedPane bgcolor=#FF serverSideTabSwitch=true

Re: t:popup bug in tomahawk 1.1.5

2007-08-24 Thread Madhav Bhargava
; font-size: 10; / t:outputText value=#{ uiQuickSearchListPopulator.quickSearchListController.selectedTA} style=font-size:10; white-space: nowrap; / /t:panelGrid /t:div /f:facet /t:popup Thanks, Madhav On 8/24/07, Madhav Bhargava [EMAIL

disable input text box generated from t:inputFileUpload

2007-07-19 Thread Madhav Bhargava
Hi All, I have a requirement where the user should not be given control to directly type in the path of a file. The user needs to necessarily click the browse button and then the path will then be populated in the disabled on client side input text that gets generated via this component. I

RE: disable input text box generated from t:inputFileUpload

2007-07-19 Thread Madhav Bhargava
on the button can change per user and per browser vendor, so it is near impossible to know how wide to make it. On 7/19/07, Madhav Bhargava [EMAIL PROTECTED] wrote: Hi All, I have a requirement where the user should not be given control to directly type in the path of a file. The user needs

set up myfaces to run in a clustered environment

2007-07-17 Thread Madhav Bhargava
Hi All, We have already developed an application using JSF which is now going to be moved to a clustered environment. We have the following parameters set in web.xml: 1. org.apache.myfaces.SERIALIZE_STATE_IN_SESSION set to false 2. javax.faces.STATE_SAVING_METHOD set to server What are the

How to implement a vertical splitter in a data table

2007-06-10 Thread Madhav Bhargava
Hi All, I have a requirement in which i need to implement a vertical splitter in a data table. This vertical splitter will divide the data table into 2 parts. Each part of the data table will have a horizontal scroll. The user can keep one side of the data table as it is and scroll horizontally

Re: How to implement a vertical splitter in a data table

2007-06-10 Thread Madhav Bhargava
that has this feature? Thanks, Madhav On 6/10/07, Adrian Mitev [EMAIL PROTECTED] wrote: I don't see how it's possible with t:dataTable.Probably two agglutinated tables implemented using probably t:dataList. 2007/6/10, Madhav Bhargava [EMAIL PROTECTED]: Hi All, I have a requirement in which i

I just cannot make InputSuggestAjax component work

2007-06-09 Thread Madhav Bhargava
Hi All, Environment: Weblogic 8.1 JDK 1.4.2.x Myfaces 1.1.5 Tomahawk 1.1.5 Tomahawk sandbox 1.1.5 I have taken the lead from the example at http://www.irian.at which is again present at http://wiki.apache.org/myfaces/InputSuggestAjax Instead of an Address bean i have a KeyValuePair bean. This

Re: t:navigationMenuItem with icon and label?

2007-06-04 Thread Madhav Bhargava
Yes, that is a problem with this component. I tried using the same to render both the icon and the label but then it does not work as expected. U can use t:commandNavigation2 component instead. ~madhav On 6/4/07, Michael Obster [EMAIL PROTECTED] wrote: Hi, is it possible to render icon and

How to display popup using t:popup only on click of a link?

2007-04-25 Thread Madhav Bhargava
Hi All, I have a requirement where I need to mimic the directory structure of windows. The tree directory structure can be changed by right clicking on one of the items, similar to what windows has. What I have done is the following: I have defined a tree structure using t:tree2

Re: action not working in t:navigationMenuItem

2007-04-04 Thread Madhav Bhargava
action needs to be specified as an EL expression - Something like - #{someBean.someActionMethod} On 4/4/07, Jatin [EMAIL PROTECTED] wrote: I am using tomahawk menu to perform navigation. I have coded the action attribute, but it is not working. Here is the code t:jscookMenu

Re: not displaying icon in t:navigationMenuItem

2007-04-04 Thread Madhav Bhargava
I am not sure what you are trying out here. I assume that you are using navigationMenuItem inside t:panelNavigation2 component. If yes then the last time i worked with this component i had major problems displaying icon along with text in the menu. That is the reason i shifted to using

Re: action not working in t:navigationMenuItem

2007-04-04 Thread Madhav Bhargava
use hardcoded actions (which are allowed in JSF RI). Madhav Bhargava wrote: action needs to be specified as an EL expression - Something like - #{someBean.someActionMethod} On 4/4/07, Jatin [EMAIL PROTECTED] wrote: I am using tomahawk menu to perform navigation. I have coded the action

A litle Help - building myfaces in eclipse using maven

2007-03-23 Thread Madhav Bhargava
Hi All, I have followed the instructions @ http://wiki.apache.org/myfaces/Eclipse_IDE to build myfaces in eclipse. mvn install and mvn eclipse:eclipse works fine and it builds all the sub-projects successfully. The next step as per the documentation is to include all the sub-projects

Re: Wierd behavior - valueChangeListener does not get called with selectOneMenu

2007-03-19 Thread Madhav Bhargava
for some other component on your page -- make sure you've got a t:messages component for debugging. On 3/14/07, Madhav Bhargava [EMAIL PROTECTED] wrote: Hi All, *Following is the JSP code:* s:subForm id=subFormId *x- Cut x* t:panelGrid columns=1 width=450px

RE: inputhidden and backingbean

2007-03-15 Thread Madhav Bhargava
You can do the following: context.getExternalContext().getRequestParameterMap().get(key) ~madhav -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brummeline Braaten Sent: Thursday, March 15, 2007 3:15 PM To: users@myfaces.apache.org Subject: inputhidden and

Wierd behavior - valueChangeListener does not get called with selectOneMenu

2007-03-14 Thread Madhav Bhargava
Hi All, Following is the JSP code: s:subForm id=subFormId x- Cut x t:panelGrid columns=1 width=450px t:selectOneMenu id=decline_value styleClass=selectOneMenu onchange=document.forms[0].submit();return false;

change the order in which action and actionListener methods are called

2007-03-13 Thread Madhav Bhargava
Hi All, Normally the actionListeners that are registered with any UICommand component are called first and then the action methods are called. Since there can be more than one ActionListener methods that can be attached to a UICommand component - Is there a way in which one of the

Re: change the order in which action and actionListener methods are called

2007-03-13 Thread Madhav Bhargava
Sorry for this question folks. No that is not possible. On 3/13/07, Madhav Bhargava [EMAIL PROTECTED] wrote: Hi All, Normally the actionListeners that are registered with any UICommand component are called first and then the action methods are called. Since there can be more than one

component for Reading RSS feeds?

2007-03-08 Thread Madhav Bhargava
Hi All, After googling a bit I found 2 components that can read RSS feeds: 1. Sun blueprint ui:rssBar component 2. Facesrss Has anyone used these components and are there any other stable alternatives? Regards, Madhav CAUTION - Disclaimer

RE: how do you pass/set parameters upon ActionListener execution?-puzzled

2007-03-07 Thread Madhav Bhargava
It should not be a problem with getter and setter then I'm not sure that this list can be much more help. Looks like you'll have to step through the updateActionListener with a debugger - or build your own custom version with extra logging in it. Regards, Simon Madhav Bhargava wrote: Hi Simon

RE: how do you pass/set parameters upon ActionListener execution?-puzzled

2007-03-07 Thread Madhav Bhargava
the name(s) of resource bundles to be loaded to the component tree (eg as attributes in UIViewRoot) and for these to be loaded during restore-view phase. Regards, Simon Madhav Bhargava wrote: I guess I know what the problem is. The EL expression that I have used is: #{msg

RE: date in jenia calendar is off by one

2007-03-06 Thread Madhav Bhargava
It is not a problem with Jenia calendar. It is the timezone that is used to convert the submitted value at the server side. To make sure that the server JVM timezone is taken use s:convertDateTime tag. Now you can set the system timezone to anything that you want. ~madhav

how do you pass/set parameters upon ActionListener execution?

2007-03-06 Thread Madhav Bhargava
Hi All, I have a requirement wherein I have to pass some values when an ActionListener is invoked. I am aware of 2 ways: 1. f:param 2. t:updateActionListener The only problem is that both of the above only do what they do when an action method is invoked. Since I want the

RE: how do you pass/set parameters upon ActionListener execution?

2007-03-06 Thread Madhav Bhargava
params per se in an action but you can push params into your bean bevore invoking the action. Madhav Bhargava schrieb: Hi All, I have a requirement wherein I have to pass some values when an ActionListener is invoked. I am aware of 2 ways: 1. f:param 2

Re: date in jenia calendar is off by one

2007-03-06 Thread Madhav Bhargava
spot how I was using it incorrectly. Thanks a lot for the tip on the timezone issue, it all worked fine once I sorted that out. Alex Madhav Bhargava-2 wrote: It is not a problem with Jenia calendar. It is the timezone that is used to convert the submitted value at the server side

RE: how do you pass/set parameters upon ActionListener execution? - puzzled

2007-03-06 Thread Madhav Bhargava
tomahawk version. I can recommend to go to the latest 1.1.5 stable and use the tomahawk and sandbox nightlies. Secondly check for typos nav.msg.remiders seems like one there is an n missing in reminders typowise, which could be the cause for an empty string issued. Werner Madhav Bhargava

RE: how do you pass/set parameters upon ActionListener execution?- puzzled

2007-03-06 Thread Madhav Bhargava
Discussion Subject: Re: how do you pass/set parameters upon ActionListener execution?- puzzled What happens if you do this? t:updateActionListener property=#{breadCrumbNavigatorBean.displayText} value=dummyValue/ Madhav Bhargava wrote: Hi Werner, I double checked the jsp and the backing

RE: how do you pass/set parameters upon ActionListener execution?-puzzled

2007-03-06 Thread Madhav Bhargava
is in wide use and there are no known problems with it so something odd is going on.. Cheers, Simon Madhav Bhargava wrote: As I mentioned in point number 2 it works. displayText property in the backing bean will get populated with dummyValue The immediate inference of this result

t:commandNavigation2 activeOnViewId attribute does not work as described in an earlier thread

2007-03-05 Thread Madhav Bhargava
Hi All, I have left navigation menu (t:panelNavigation2 and embedded t:commandNavigation2 components) and a breadcrumb component. To keep both in synch I added activeOnViewId to the t:commandNavigation2 components. But when the breadcrumb is clicked and the control is taken to another view ID

Re: how does UICommand execute the action binding?

2007-03-04 Thread Madhav Bhargava
] wrote: See this thread: http://www.mail-archive.com/users@myfaces.apache.org/msg34510.html and this document http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFConfigure7.html On 3/3/07, Madhav Bhargava [EMAIL PROTECTED] wrote: Thanks Volker, I figured that out, but still i cannot

Re: how does UICommand execute the action binding?

2007-03-03 Thread Madhav Bhargava
/2, Madhav Bhargava [EMAIL PROTECTED] : Hi All, HtmlCommandLink and HtmlCommandButton extend UICommand component class. UICommand creates 2 MethodBindings – action and actionListener. I was looking at the code for UICommand class and I could locate where the registered actionListeners

how does UICommand execute the action binding?

2007-03-02 Thread Madhav Bhargava
Hi All, HtmlCommandLink and HtmlCommandButton extend UICommand component class. UICommand creates 2 MethodBindings - action and actionListener. I was looking at the code for UICommand class and I could locate where the registered actionListeners were getting executed - broadcast method but

RE: how to avoid validation

2007-03-02 Thread Madhav Bhargava
Use subForm component. From: Srinivas V [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 2:01 PM To: MyFaces Discussion Subject: how to avoid validation I have a selectBox, some text boxes and a commandbutton. on change of select box I need to show

RE: how to avoid validation

2007-03-02 Thread Madhav Bhargava
PROTECTED] Sent: Friday, March 02, 2007 2:13 PM To: MyFaces Discussion Subject: Re: how to avoid validation can you give me an example? On 3/2/07, Madhav Bhargava [EMAIL PROTECTED] wrote: Use subForm component. From: Srinivas V [mailto: [EMAIL PROTECTED

RE: how does UICommand execute the action binding?

2007-03-02 Thread Madhav Bhargava
not required to be a parameter? ~madhav From: Madhav Bhargava [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 1:55 PM To: MyFaces Discussion Subject: how does UICommand execute the action binding? Hi All, HtmlCommandLink and HtmlCommandButton extend

RE: how to avoid validation

2007-03-02 Thread Madhav Bhargava
, Madhav Bhargava [EMAIL PROTECTED] wrote: You can have a look at: http://www.irian.at/myfaces-sandbox/home.jsf On the page you will examples for all the components of sanbox. You can look at SubForm - Partial validation and model update with SubForms http://www.irian.at/myfaces-sandbox

RE: how to avoid validation

2007-03-02 Thread Madhav Bhargava
) On 3/2/07, Madhav Bhargava [EMAIL PROTECTED] wrote: You can have a look at: http://www.irian.at/myfaces-sandbox/home.jsf On the page you will examples for all the components of sanbox. You can look at SubForm - Partial validation and model update with SubForms http://www.irian.at/myfaces

t:datatable with commandLink and parameter

2007-02-28 Thread Madhav Bhargava
Sending it again. For some reason the mail never got delivered. _ From: Madhav Bhargava Sent: Wednesday, February 28, 2007 11:29 AM To: 'MyFaces Discussion' Subject: RE: t:datatable with commandLink and parameter Hi Craig, According to the tutorial

where to find source code for trinidad breadcrumb

2007-02-23 Thread Madhav Bhargava
Hi All, Can anyone point out the location where I can find the code for Trinidadbreadcrumb component? I have been looking for it for quite some time and I am unable to locate it. There was a mail on the same non-availability of breadcrumb code and at that time also the code could not be

RE: breadcrumb design

2007-02-22 Thread Madhav Bhargava
the jsp... regards, Marc Amir-Tahmasseb From: Madhav Bhargava [mailto:[EMAIL PROTECTED] Sent: 21 February 2007 10:44 To: MyFaces Discussion Subject: breadcrumb design Hi All, I am in the process of creating a component

breadcrumb design

2007-02-21 Thread Madhav Bhargava
Hi All, I am in the process of creating a component for breadcrumb generation for my project. I have following in mind: 1. Create a custom component for breadcrumb, with a renderer and a tag class. 2. Create a model bean that will back this component and will contain the latest

Re: stateChangeNotifier does not work with t:commandButton properly

2007-01-31 Thread Madhav Bhargava
months ago... http://comments.gmane.org/gmane.comp.jakarta.myfaces.user/26829 Any changes? On 1/29/07, Madhav Bhargava [EMAIL PROTECTED] wrote: I just looked at the renderer code for this component: In the encodeJavascript method following line is present: sb.append(*setTimeout

valueChangeListener does not work in s:subForm component

2007-01-30 Thread Madhav Bhargava
Hi All, I have a form which has a subForm for partial submits and validation. This sub form has a drop down, following is the code: x--- Cut ---x s:subForm id=test . . . t:selectOneMenu id=selSites onchange=submit()

Re: Jsf_tree_64

2007-01-30 Thread Madhav Bhargava
ADF client side state saving is faster and ligther. You can give that a shot. On 1/31/07, Gattu, Praveen [EMAIL PROTECTED] wrote: Ok I tried using the compression flag with the client side save state and it cut down the page size by 2/3. That satisfies my needs for now. However is there a

Re: Jsf_tree_64

2007-01-30 Thread Madhav Bhargava
to a huge, hidden field that is sent between the client and the server with each request. A simple token instead is stored on the client, which identifies a block of state stored back on the HttpSession. ~madhav On 1/31/07, Madhav Bhargava [EMAIL PROTECTED] wrote: ADF client side state saving

  1   2   3   >