Re: FacesServlet.service() method eating too much time while serving requests (high self-time) ?!

2013-09-07 Thread Anton Gavazuk
Process an incoming request, and create the corresponding response, by executing the request processing lifecycle. If the request and response arguments to this method are not instances of HttpServletRequest and HttpServletResponse, respectively, the results of invoking this method are undefined.

Re: Autocomplete - suggestion list for Tomahawk

2012-05-11 Thread Anton Gavazuk
Tomahawk doesnt have autocomplete components, sandbox has it but you are not allowed to add extra libs, so in your case Javascript or writing your own component. 2012/5/11 vinbr88 vinb...@googlemail.com Hello, I have to migrate our current JSF page from Oracle JSF implementation with

Re: tomahawk t:saveState and HTTPSession

2012-03-08 Thread Anton Gavazuk
Hi Jacob, can you show the exception and specify your environment details (version of JSF, container...) 2012/3/8 jacobpan jacob.el...@gmail.com Hello, I have added tomahawk t:saveState into my JSF code having page scope set as request. After adding tomahawk t:saveState I am getting

Re: tomahawk t:saveState and HTTPSession

2012-03-08 Thread Anton Gavazuk
So you are using JSF RI 1.1 - can you verify that your tomahawk library is compatible with JSF RI 1.1? Can you also verify that you have configured all extensions in right way in web.xml? Also why do you call external context in the getSelectItemsVehicleSuppliers ? 2012/3/8 jacobpan

Re: tomahawk t:saveState and HTTPSession

2012-03-08 Thread Anton Gavazuk
Hi Jacob, I dont know if tomahawk is compatible with your version, even more - I dont know if this combination works fine in OC4J container which you are using - its something that you need to verify. Why do you need to get access to session in getter method? what are you looking for in session

Re: JVM optimized memory setting for server

2011-12-19 Thread Anton Gavazuk
We had similar issue (long request processing) and we redesigned the application - created the content in background, stored file on disk and represented link to download. On 19.12.2011, at 22:05, Stephen Connolly stephen.alan.conno...@gmail.com wrote: nio based servlet containers should

Re: [MyFaces 1.2] how to access managed bean from phaselistener?

2011-10-26 Thread Anton Gavazuk
Common logic could be implemented through your own custom el resolved which actually will be in charge of bean construction Post construct ignored In super class is correct behavior On 26.10.2011, at 12:42, Me Self wmso...@gmail.com wrote: What Im trying to accomplish is to invoke an init()

Re: [MyFaces 1.2] how to access managed bean from phaselistener?

2011-10-25 Thread Anton Gavazuk
public static Object accessBeanFromFacesContext(final String beanName, final FacesContext facesContext) { debug(accessBeanFromFacesContext start + beanName); Object ref = facesContext.getELContext().getELResolver().getValue(facesContext.getELContext(), null, beanName); if (ref

Re: Phase Listener for RenderResponse Phase invoked twice on Websphere 7

2011-10-11 Thread Anton Gavazuk
when I don't have any navigation rule associated with the outcome abcdTest . Thanks ~Sandeep -Original Message- From: Anton Gavazuk [mailto:antongava...@gmail.com] Sent: Friday, October 07, 2011 6:41 PM To: MyFaces Discussion Subject: Re: Phase Listener for RenderResponse Phase

Re: JBoss 6: problem with tomahawk

2011-05-02 Thread Anton Gavazuk
Hi Marcus, could you suggest where can I download latest sandbox binaries/sources? 2011/5/2 Marcus Büttner buettner.mar...@gmail.com Hi, in the current sandbox project 1.1.11-SNAPSHOT the fieldset is already removed. regards, Marcus 2011/5/1 Anton Gavazuk antongava...@gmail.com Hi

Re: JBoss 6: problem with tomahawk

2011-05-02 Thread Anton Gavazuk
tomahawk 1.1.10 in your project) from: https://svn.apache.org/repos/asf/myfaces/tomahawk/tags/tomahawk-project-1.1.10 you have to build at least sandbox/core and sandbox/core12. I don't know, if there's a better and easier way. regards, Marcus 2011/5/2 Anton Gavazuk antongava...@gmail.com

Re: JBoss 6: problem with tomahawk

2011-05-01 Thread Anton Gavazuk
, causing the problem previously mentioned. regards, Leonardo Uribe 2011/4/3 Anton Gavazuk antongava...@gmail.com Hi all, got a nice issue during migration of my jsf 1.2 application to JBoss 6. Current version of tomahawk in my project is: tomahawk12-1.1.10.jar I'm getting such error

JBoss 6: problem with tomahawk

2011-04-03 Thread Anton Gavazuk
Hi all, got a nice issue during migration of my jsf 1.2 application to JBoss 6. Current version of tomahawk in my project is: tomahawk12-1.1.10.jar I'm getting such error when one of my jsps containing fieldset tag is being accessed: The method setLegend(String) in the type FieldsetTag is not

Re: Upgrading from myfaces 1.0 to 2.0

2011-03-15 Thread Anton Gavazuk
http://stackoverflow.com/questions/4441713/migrating-from-jsf-1-2-to-jsf-2-0 2011/3/15 ravi J ravikir...@virtusa.com I would like to know that any one on this forum has ever involved in upgrading from myfaces 1.0 to 2.0. The current environment is myfaces-1.2.3, tomahawk-1.1.6 and

Re: Error while qualifying code on JBOSS

2011-02-15 Thread Anton Gavazuk
Looks like something is not configured in right way Please verify which version of myfaces do you use because Jboss has JSF libs in out of the box configuration so probably it causes the conflict 2011/2/15 Geetika Srivastava geetika.srivast...@tcs.com Hi, I have a myfaces web application

Re: a question about redirect

2011-02-13 Thread Anton Gavazuk
Nina, 1) as for me the decision to send redirect looks very ...strange. Please review your design 2) This error basically means that response is already flushed, there is no possibility to make another redirect/forward 2011/2/13 נינה נפטולייב משה nin...@malam-payroll.com Hello, We have a

Re: Jetty 7 + Myfaces 1.2 doesnt work together?

2010-12-16 Thread Anton Gavazuk
directly and not via the FacesServlet. So what URL are you using to access the page? Does it end with *.jsp or *.jsf? *.jsf would be the right choice! Regards, Jakob 2010/12/13 Anton Gavazuk antongava...@gmail.com: Hi trying to run very basic application on Jetty 7.2.2.v20101205

Jetty 7 + Myfaces 1.2 doesnt work together?

2010-12-13 Thread Anton Gavazuk
Hi trying to run very basic application on Jetty 7.2.2.v20101205 with myfaces-api-1.2.9 and getting exception related to the context java.lang.NullPointerException: context at javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:927) at

Re: How to solve link enable/disable by validator?

2010-11-08 Thread Anton Gavazuk
Hi, rendered option is your friend: 2 possibilities inside your validator 1) you are looking for the link component in your view and change rendered property of discovered UIComponent 2) you create a binding method for the rendered attribute of the link and binding method will verify the

Re: java.lang.InstantiationException

2010-10-26 Thread Anton Gavazuk
Hi first of all its a problem not of deployment, its problem when you accessing the page javax.faces.FacesException: An exception occurred processing JSP page /Todo.jsp at line 21 Second you have not added any details about version of you MyFaces libs and you env. Third - check the constructor

h:selectBooleanCheckbox send a parameter

2010-10-14 Thread Anton Gavazuk
Hi all, quick question: I have a page where inside an iterator h:selectBooleanCheckbox components are created with a ValueChange listener attached. I would like not only to intercept the event when user changes a value for a component (its basic true/false), but also to supply a value with the

Re: Issues in using tomahawk with Jboss 5

2010-09-30 Thread Anton Gavazuk
error message is fine - I have it also but nevertheless my pages are shown without any problem. So you have the problem with JSCookMenu and need to look why, but again - it is not related to the error message 2010/10/1 Leonardo Uribe lu4...@gmail.com Hi I think there should be some problem

Re: Database backed resource bundle for internationalization?

2010-09-10 Thread Anton Gavazuk
Implementing and registering your own ResourceBundle class http://download.oracle.com/javase/1.4.2/docs/guide/intl/intl.doc.html#23039 2010/9/10 Paul Spencer pau...@apache.org I would like to use a database instead of properties files as the source of the resource bundle used for displaying

Re: Problem while uplaoding files using t:inputFileUpload

2010-08-31 Thread Anton Gavazuk
is there any proxy/webserver between java server and client? maybe there is some constraints installed... 2010/8/31 verginie verginie.theb...@wipro.com Hi, I am using t:inputFileUpload for uploading files. Using the following jars: - myfaces-api-1.1.5.jar - myfaces-impl-1.1.5.jar -

Re: plain HTML-Form inside a t:panelTabbedPane not rendered

2010-05-27 Thread Anton Gavazuk
do you use f:verbatim or whatever is available for 2.0? 2010/5/27 Leis, Matthias - SID-NLKM matthias.l...@sid.sachsen.de Hi, I want a plain HTML inside a t:panelTabbedPane and t:panelTab, but in the rendered page, ther is no form-tag, only input-fields of the form are rendered. What is

Re: Ajax4jsf and myfaces

2010-05-20 Thread Anton Gavazuk
I have not seen such error, but try to switch off encryption functionality in web.xml This funct is implemented in myfaces... 2010/5/20 jiny jiny4...@gmail.com Has anyone seen the following error when trying to use the following: Richface version: 3.2.1.GA Tomcat 6 JDK 6 MyFaces: 1.2.2 or

Re: Ajax4jsf and myfaces

2010-05-20 Thread Anton Gavazuk
org.apache.myfaces.USE_ENCRYPTION set to false 2010/5/20 jiny jiny4...@gmail.com Anton, Thanks very much for the reply. Could you let me know how to switch off encryption functionality in web.xml implemented in myfaces? Anton Gavazuk wrote: I have not seen such error, but try

Re: react on JSF-WebApp-Shutdown

2010-05-19 Thread Anton Gavazuk
Why you dont want to use standart ServletContextListener? 2010/5/19 Martin Monshausen martin.monshau...@prodyna.de Hi everybody, I'm trying to find a way to react on JSF-WebApps shutdown, because I want to trigger an additional cleanup call before WebApp is undeployed. Is there any event or

Re: Enums in selectItems

2010-05-01 Thread Anton Gavazuk
Hi Jozef, see it: public class EnumConverter implements Converter { public Object getAsObject(FacesContext context, UIComponent comp, String value) throws ConverterException { Class enumType = comp.getValueBinding(value).getType(context); return Enum.valueOf(enumType, value);

Re: Loading Gif Animated While Loading A Jsf Page

2010-04-07 Thread Anton Gavazuk
Mike, Adrian, could you show your approaches in an example? 2010/4/7 vale_java_dev fabrizi_valent...@yahoo.it Thanks for the suggestions! Have a nice day, Vale -- View this message in context: http://old.nabble.com/Loading-Gif-Animated-While-Loading-A-Jsf-Page-tp28117980p28162529.html

Re: Problem with combination of f:selectItems and tr:selectOneChoice...

2010-04-06 Thread Anton Gavazuk
Lukasz, could you verify that your custom converter works with standart h:selectOneMenu component? 2010/4/6 Lukasz Feldman lukasz.feld...@googlemail.com Here is english version: WARNING: Could not find selected item matching value

Re: Null Pointer Exception

2010-03-21 Thread Anton Gavazuk
ITs nice stack trace, but where is a cause? at com.sun.faces.context. ExternalContextImpl.dispatch:346? if yes - you should debug to that point and why you didnt specify whole web stack of used libs - according to stack trace there are several: 1) richfaces 2) JSF impl from Sun (I suppose

Re: [myfaces][tomahawk]

2010-03-14 Thread Anton Gavazuk
Hi Guy, I'm using commandSortHeader in such manner tm:commandSortHeader columnName=NAME action=#{customerSearchBean.actionSort} actionListener=#{customerSearchBean.processSortAction} f:facet name=ascending tm:graphicImage

[JSF 1.2] How to track a validation error

2010-02-17 Thread Anton Gavazuk
Hi all, stuck with a problem - have a form with several input components: selectOneMenu and inputText; and commandButton. Input components dont have any validators and required atrributes are not set. But when form is being submitted I'm getting standart Validation error message in message queue,

Re: [JSF 1.2] How to track a validation error

2010-02-17 Thread Anton Gavazuk
can cause this if the selectitems collection of this component does not contain the submittedconverted value. Also if you set h:messages showDetail=true, that would help to identify the problematic component info. On Wed, Feb 17, 2010 at 2:17 PM, Anton Gavazuk antongava...@gmail.com wrote

Re: [JSF 1.2] How to track a validation error

2010-02-17 Thread Anton Gavazuk
Anton, can you provide your code? On Wed, Feb 17, 2010 at 2:50 PM, Anton Gavazuk antongava...@gmail.com wrote: Hi Cagatay, you are right - selectOneMeny is causing error, value is selected, so is being submitted, - reason is in converter, please, correct me if I'm wrong - Long

Re: el expression in plain html

2010-02-09 Thread Anton Gavazuk
Hi, you cannot do it actually in such way I see 2 ways to do this: 1) provide your param inside h:inputhidden field and put some javascript onWindow logic which will get this param and provide it to applet code 2) write your own JSF component which will render applet markup Cheers, Anton

Re: pop up for delete confirmation

2009-12-09 Thread Anton Gavazuk
PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion users@myfaces.apache.org cc Subject Re: pop up for delete confirmation onclick=return(confirm('#{msg.AreYouSure}')); Luka Surija On 12/03/2009 12:02 PM, Anton Gavazuk wrote: I'm using

Re: pages not rendered anymore after update from 1.1.6 to 1.2.8

2009-12-08 Thread Anton Gavazuk
Hi Michael, I suspect your problem is mainly related to tiles - I also tried to migrate and didnt succeed. See my working config tiles 2.0.6. myfaces 1.2.8 richfaces 3.3.1 GA Hope it will help 2009/12/8 Michael Heinen michael.hei...@recommind.com Little progress: 1) I have to use

Re: org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser

2009-12-03 Thread Anton Gavazuk
I suspect lack of internet connection shouldnt be a problem for DTD... 2009/12/3 Jakob Korherr jakob.korh...@gmail.com Hi, Also: Does your AS have internet access? I think it might be a problem, because it can not obtain the schema information (or DTDs) for web.xml, for example

Re: pop up for delete confirmation

2009-12-03 Thread Anton Gavazuk
I'm using the basic javascript... 2009/11/30 pbr...@johnson.ca I am using the Tomahawk set of tags for this project. I need a pop to confirm the deletion of a record. There doesn't seem to be any concept of a popup in JSF or Tomahawk. I can use a basic javascript cofirm popup and

Re: Trouble creating a Cancel button

2009-12-03 Thread Anton Gavazuk
add attribute immediate=true Dave, by the way - do you know what is google? search? 2009/12/3 laredotornado laredotorn...@gmail.com Hi, I'm using MyFaces 1.1.6. I have this commandButton on my page, within a form h:commandButton id=cancelButton value=Cancel

Re: AW: Possible to force bean to load into session at session start up?

2009-11-25 Thread Anton Gavazuk
Dummy, but works as requested Make a dependency in a faces config between a bean which appears on the first page and session bean. 2009/11/25 laredotornado laredotorn...@gmail.com There may certainly be a design flaw and I definitely want to fix that at some point. But for now, regarding

Re: A telephone tag?

2009-11-13 Thread Anton Gavazuk
Myfaces Common RegExp validator will validate everything what you want or you can even write your own. 2009/11/13 laredotornado laredotorn...@gmail.com Hi, I'm using MyFaces 1.1.9. Is there a pre-built tag somewhere that can validate a US telephone number field of the form XXX-XXX-

Re: A telephone tag?

2009-11-13 Thread Anton Gavazuk
address, US state (possibly from a select menu of all states) and country. It seems that those types of things would have been tackled before and I would not need to re-invent the wheel. Thanks, - Dave Anton Gavazuk wrote: Myfaces Common RegExp validator will validate everything what you

Re: A telephone tag?

2009-11-13 Thread Anton Gavazuk
but you realize the second link is basically an empty page and neither contains examples. I think what you are trying to say is that there are no such tags as the ones I'm searching for and I'll have to write them myself. - Dave Anton Gavazuk wrote: http://wiki.apache.org/myfaces/Extensions

Re: How to make redirect to page with another context?

2009-10-29 Thread Anton Gavazuk
(); externalCtx.redirect( url); } -Richard On Sat, Oct 24, 2009 at 4:32 AM, Anton Gavazuk antongava...@gmail.com wrote: Hi all, actually, question is in the subject: How to make redirect from JSF application to a page with another context, like www.google.com Thanks, Anton

How to make redirect to page with another context?

2009-10-24 Thread Anton Gavazuk
Hi all, actually, question is in the subject: How to make redirect from JSF application to a page with another context, like www.google.com Thanks, Anton

Re: Unable to submit/autosubmit/partialTrigger form after date validation error

2009-10-08 Thread Anton Gavazuk
will be the same until the date validation is cleared. Would there be any work around for this so that the form would be Reset successfully. Thank you Anton Gavazuk wrote: Hi Glen, could you explain precisely what doesn't work? which events trigger the PPR? 2009/10/7 Glen ksk...@yahoo.com

Re: Converter issue

2009-10-08 Thread Anton Gavazuk
Thomas, in your case getAsString returns string representation of object and the representation can be checked in HTML source - see value attributes of HTML select element getAsObject method gets String value from the value attribute of HTML element so in order to see label as parameter to

Re: Unable to submit/autosubmit/partialTrigger form after date validation error

2009-10-07 Thread Anton Gavazuk
Hi Glen, could you explain precisely what doesn't work? which events trigger the PPR? 2009/10/7 Glen ksk...@yahoo.com I have a page with two date components (Date range - From date To date) in a form and few multiselect components those will be populated with data upon partial triggers

Re: Trouble converting String to boolean in JSF

2009-10-01 Thread Anton Gavazuk
h:selectBooleanCheckbox value=#{emailController.fields.addToENews ==true} / 2009/10/1 laredotornado laredotorn...@gmail.com Hi, I'm using MyFaces 1.1 for a web app deployed in Resin 3.0.19. This is the expression I have ... h:selectBooleanCheckbox

Re: [ Myfaces ] Newbie question..

2009-09-23 Thread Anton Gavazuk
#{facesContext.externalContext.request.contextPath} could be replaced with #{request.contextPath} 2009/9/23 Ioannis Deligiannis ideligian...@velti.com To make matters worst: tr:navigationPane renders without app context where tr:navigationTree renders with app context!

Re: Myfaces and Presentation Role based rendering

2009-09-21 Thread Anton Gavazuk
for example look on attribute rendered of any JSF component 2009/9/21 jid1 ideligian...@velti.com Hello, I was looking for role-based rendering Tags/Tools to use with myfaces. Is there any common practice from this? I would like my forms (and other UI) to render information based on the

Re: h:commandButton reRender

2009-09-09 Thread Anton Gavazuk
Can you show your solution 2009/9/9 mitroiasi mitroi...@yahoo.com Hi, In one page I have 2 search forms which should be shown based on a radio button. The radion button group has 2 radio buttons: person and company. If the person is selected the person search components should be shown,

Re: faces forewarding

2009-09-08 Thread Anton Gavazuk
Marek, try to use REDIRECT instead of forward 2009/9/8 measwel marek_karczew...@yahoo.com.au grrr. I cant seem to get it right. My welcome page is now: forewardToJsp.jsp In it I do: jsp:forward page=faces/start.jsp/ This goes well when I am not logged in. The phase listener stops me

Re: faces forewarding

2009-09-08 Thread Anton Gavazuk
My opinion (anybody - please correct me I'm wrong) You got Nullpointer exception - It means that RESTORE_VIEW phase is not executed and FacesContext is not injected to UIComponents as the view with name /mysite or whatever doesnt exist. If you want to use that kind of logic (bookmarks) - try for

Re: Please help: FF vs IE issue

2009-09-08 Thread Anton Gavazuk
Emmanuel, verify you jsp page - you placed second h:form component inside another h:form component, its forbidden and you must have warnings about this in your web server log. I also would suggest to use h:panelGrid element instead of HTML table tags... Very interestin 2009/9/8 Emmanuel Sowah

Re: faces forewarding

2009-09-07 Thread Anton Gavazuk
when user goes to localhost:8080/Site your application should send him to an existing JSF view. 2009/9/7 measwel marek_karczew...@yahoo.com.au LS, I just made a jsf 1.2 application that has a page called start.jsp. When a user first enters the site, a phaseListener checks if the user exists

Re: faces forewarding

2009-09-07 Thread Anton Gavazuk
Try to redirect directly to faces/start.jsp 2009/9/7 measwel marek_karczew...@yahoo.com.au Shouldn't this happen automatically, as my welcome page is set to faces/start.jsp ? Anton Gavazuk wrote: when user goes to localhost:8080/Site your application should send him to an existing

Re: [Commons Converters] Exception on usage convertDateTime tag

2009-09-07 Thread Anton Gavazuk
to change the converterId Could you file an issue here? https://issues.apache.org/jira/browse/MFCOMMONS regards Leonardo Uribe 2009/8/6, Anton Gavazuk antongava...@gmail.com: Hi, have a problem with converDateTime tag from Commons Converter package I inserted mcc:convertDateTime/ tag

Re: tiles2+jsf

2009-09-03 Thread Anton Gavazuk
Hi, according to stacktrace you should verify that MyfacesConfig class is available in your env... java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig 2009/9/3 bejaoui zied bejaouiz...@hotmail.com Hi guys, I am having a

Re: [MyFaces][Core]

2009-08-10 Thread Anton Gavazuk
Hi Guy, have you found any solution? Thanks, Anton 2009/7/19 Guy Bashan guy.bas...@gmail.com Hi Bruno, Thanks, for your answer. I am familiar with this solution. I think this issue can be handled, by allowing to disable ViewState handling. Something like: f:view disableState=true I heard

[Commons Converters] Exception on usage convertDateTime tag

2009-08-06 Thread Anton Gavazuk
Hi, have a problem with converDateTime tag from Commons Converter package I inserted mcc:convertDateTime/ tag and got such exception: Caused by: java.lang.ClassCastException: org.apache.myfaces.custom.convertDateTime.DateTimeConverter cannot be cast to

[MYFACES][CORE] what to do with AbortProcessingException?

2009-07-25 Thread Anton Gavazuk
Hi all, today I have faced with situation when during actionListener processAction method the AbortProcessingException is occured and nothing is shown on UI, so for enduser it looks like he has done smth in UI but has got nothing in response. Does it mean that JSF swallows the

Re: t:selectOneMenu: value is not a valid option

2009-07-21 Thread Anton Gavazuk
Hi Rafael, the same happens in my project, I have slight difference - I'm populating selectBox by f:selectItems/ tag and have a strange situation - see the snippet below select id=fm_finance_search:in_fintype size=1 name= fm_finance_search:in_fintypeoption selected=selected value=0All/ option

Re: t:selectOneMenu: value is not a valid option

2009-07-21 Thread Anton Gavazuk
by f:selectItems/ tag 2009/7/21 Anton Gavazuk antongava...@gmail.com Hi Rafael, the same happens in my project, I have slight difference - I'm populating selectBox by f:selectItems/ tag and have a strange situation - see the snippet below select id=fm_finance_search:in_fintype size=1

Re: Accessing multi level data from within my backing bean.

2009-07-13 Thread Anton Gavazuk
Jacek, according to your error Caused by: java.lang.NullPointerException at uk.co.apps2net.mfm.repository. JdbcJobDao.getOps(JdbcJobDao.java:273) something happens in your data layer, not in myfaces related classes 2009/7/13 Shaun Campbell campbell.sh...@gmail.com Jacek I've

Re: Accessing multi level data from within my backing bean.

2009-07-13 Thread Anton Gavazuk
Hi Shaun, in this case t:dataTable value=#{jobsBean.jobs} var=job job is not JSF bean, so you need to initalize job instance before you put it in the jobsBean.jobs list. 2009/7/13 Shaun Campbell campbell.sh...@gmail.com Hi Anton I've got to the bottom of it. In my existing working data

Re: Beans keep re-creating themselves

2009-07-05 Thread Anton Gavazuk
Scott, post this question in a4j forum, the issue related to their functionality 2009/7/5 Scott Carter carterdevli...@gmail.com I have an issue where on my production server ( linux / tomcat 6 / apache ), the beans keep recreating themselves. I keep getting lines such as WARNING: More than

Re: Using SSL with JSF

2009-06-27 Thread Anton Gavazuk
Hi Scott, Normally, its not a business of JSF framework - HTTPS is implemented on webserver side, e.g. apache/tomcat. 2009/6/27 Scott Carter carterdevli...@gmail.com Sorry if this is a dumb question, but what is the proper way in jsf navigation rules to direct to a secure page. I already

Re: setting managed bean property depending on commandButton action result

2009-06-19 Thread Anton Gavazuk
just store any value in session scope and show it on final page 2009/6/17 syllepsa sylle...@wp.pl Hi! I have got commandButton. The button invokes action method. Depending on the method result I would like to set managed bean String property: 1. for success: You have been correctly

Re: wrong rows with selectBooleanCheckbox and datatable

2009-06-15 Thread Anton Gavazuk
Use DataModel instead of direct List. 2009/6/13 Samb Green p.sam...@yahoo.fr Hi all, I have a problem with selectBooleanCheckbox in a datatable. I want to check a number of rows and delete them in the backing bean. However the rows marked as checked in the backing bean are different than

Re: Problem when using Ajax4JSF

2009-06-05 Thread Anton Gavazuk
Ask the question on related richfaces jboss forum 2009/6/5 Shasi Mitra Yarram shasimi...@yahoo.com Hi all- On load of the body I'm rendering a panelgrid by calling one actionListener using a4j:jsFunction. But till that panelgrid loads none of the actions on the page are working. As ajax is

Re: obtain the component value

2009-06-02 Thread Anton Gavazuk
Hi, I suggest to look on children of parent component: toValidate.getParent().getChildren(); //and find amoint the children needed value - for example by - if(uiComponent.getId().equals(radioValue)){ //and cast the Radibutton component to related JSF class - I dont remember the RadioButton

Re: MyFaces i18n with Russian problems

2009-06-02 Thread Anton Gavazuk
Hi Oleg, please provide the name/version of webcontainer which you use. 2009/5/27 Konovalov, Oleg oleg.konova...@citi.com Hi, I am new to JSF, trying to build prototype i18n JSF app with MyFaces 1.1.5 Mostly care about IE6/7, do not officially support other browsers. I do have resource

Re: table : how to expand just one detailStamp ?

2009-05-20 Thread Anton Gavazuk
Hi Svetozar, please explain what is detailStamp do you mean list-detail scenario, when list and detail form are shown on the same page? 2009/5/20 Svetozar Radojčin svetozar.radoj...@energosoft.rs Hi all, What I want, it to set the current row automatically when selecting the *+ * image

Re: FW: table : how to expand just one detailStamp ?

2009-05-20 Thread Anton Gavazuk
, is : 1. to close previously opened detail stamp 2.Set the current Row, in order to enable detailStamp to show Employees for current Department *From:* Anton Gavazuk [mailto:antongava...@gmail.com] *Sent:* Wednesday, May 20, 2009 12:37 PM *To:* MyFaces Discussion *Subject:* Re

[JSF 1.2] conditions for table rows inside dataTable tag

2009-04-29 Thread Anton Gavazuk
Hi all, question - is it possible to somehow manage table row items or even whole table row inside dataTable tag: what I want to get in result: h:dataTable var=raw h:column c:choose c:when test=condition1 1 /c:when c:otherwise

Re: [JSF 1.2] conditions for table rows inside dataTable tag

2009-04-29 Thread Anton Gavazuk
h:outputText value=1 rendered=#{condition1} / h:outputText value=2 rendered=#{not condition1} / h:column /h:dataTable Glauco P. Gomes Anton Gavazuk escreveu: Hi all, question - is it possible to somehow manage table row items or even whole table row inside dataTable tag: what

Re: may I use session scoped beans in an application scoped bean's method?

2009-04-27 Thread Anton Gavazuk
Hi Matthias, Catagay, please describe your approach with DI, especially interested in Master-Detail scenario - how would you do that with DI for example: SearchBeanA returns the list of BeanA - and showing them in h:dataTable () now user chooses an item in table and a detail page must be shown -

[JSF] How to execute action directly from link (like struts action)

2009-04-21 Thread Anton Gavazuk
Hi all, I need advice/suggest for such situation: is there any way to execute an action in bean/(in listener) when user requests certain jsf page? - for example: /customer/edit.jsf?id=172387 Why I need this: I want to make some preprocessing logic before showing the final page. I know there is

Re: [JSF] How to execute action directly from link (like struts action)

2009-04-21 Thread Anton Gavazuk
Hi Adrian, looks interesting - will give it a try also, thanks. 2009/4/21 Adrian Mitev adrian.mi...@googlemail.com On Tue, Apr 21, 2009 at 11:53 AM, Anton Gavazuk antongava...@gmail.com wrote: Hi Matthias, thank you for the answer, One option could be doing some sort of logic (e.g

Re: Javascript in button element

2009-03-26 Thread Anton Gavazuk
Of course use onClick attribute. 2009/3/26 drizzo danilo.ri...@accenture.com Hi everybody, i have this code: tr:commandButton id=responseButton action=#{responseMgdBean.rResponse} icon=/images/ico_#{responseButton.behaviour}.gif

Re: Javascript in button element

2009-03-26 Thread Anton Gavazuk
: but onClick event is triggered after the action tag or before? If is before, there is a way to excute a scritp after the action? Anton Gavazuk wrote: Of course use onClick attribute. 2009/3/26 drizzo danilo.ri...@accenture.com Hi everybody, i have this code

Re: [TOMAHAWK][1.2] what is iconProvider?

2009-03-18 Thread Anton Gavazuk
Hi guys, thank you very much for answers. 2009/3/17 Leonardo Uribe lu4...@gmail.com On Sun, Mar 15, 2009 at 12:59 PM, Simon Kitching skitch...@apache.orgwrote: On Sat, 2009-03-14 at 08:25 +0200, Anton Gavazuk wrote: Hi all, looked through the list of tags and found iconProvider tag

[TOMAHAWK][1.2] what is iconProvider?

2009-03-14 Thread Anton Gavazuk
Hi all, looked through the list of tags and found iconProvider tag - org.apache.myfaces.custom.tree.taglib.IconProviderTag does anyone know anything about the tag - what is it? Thanks, Anton

Re: inputCalendar weeks days and locale settings

2009-03-12 Thread Anton Gavazuk
Hi Andreas, did you find an solution? Thanks, Anton 2008/12/4 Andreas Niemeyer andreas.nieme...@gutzmann.com Hi, I would like to see the displayed week days for german language. Is there any chance to change this, by setting a locale info or passing an array? I assume it should be

Re: Looking for ValueBindingImpl in MyFaces 1.2.5

2009-01-28 Thread Anton Gavazuk
Hi Paulo, you should use ELResolver in 1.2 instead of valuebinding example: facesContext.getELContext().getELResolver().getValue(facesContext.getELContext(), null, beanName); 2009/1/28 Scott O'Bryan darkar...@gmail.com: Isn't ValueBindingImpl an internal class? I'm not sure your supposed to

Re: [OT] PrimeFaces

2009-01-27 Thread Anton Gavazuk
Hi Catagy, looks interesting but demo page does not work. 2009/1/26 Cagatay Civici cagatay.civ...@gmail.com: Hi, There's a brand new component library called PrimeFaces that you might want to know. HomePage: http://primefaces.prime.com.tr Demo:

Re: Static/high level change of javascript location

2009-01-15 Thread Anton Gavazuk
Hi, look on https://weblets.dev.java.net/ - it could help 2009/1/12 rekyl stale.kle...@accenture.com: I've been trying to use an alternative javascript location using the component attribute 'javascriptLocation'. I got it working with the following code: f:attribute

[MYFACES][SANDBOX] Partial Page update, chain together combo box and inputSuggestAjax.

2009-01-13 Thread Anton Gavazuk
Hi all, I'm trying to implement such scenario (maybe common) I have combobox with countries and another input with cities, so when user is choosing an country from combobox, he can enter city name in the second input, but in the same time, if the system knows entered city in choosed country, show

Re: [MYFACES][SANDBOX] Partial Page update, chain together combo box and inputSuggestAjax.

2009-01-13 Thread Anton Gavazuk
I dont want to use orchestra, could you describe t:saveState? - how it should look? 2009/1/13 Leonardo Uribe lu4...@gmail.com: On Tue, Jan 13, 2009 at 8:30 AM, Anton Gavazuk antongava...@gmail.com wrote: Hi all, I'm trying to implement such scenario (maybe common) I have combobox

Re: [JSF] using ActionListener for executing different actions from table

2008-12-20 Thread Anton Gavazuk
, 2008-12-19 at 21:10 +0200, Anton Gavazuk wrote: Hi Simon, Andrew thanks for the answers, sure, my question is confusing - I meant how to do something like: h:table !-- its link1 -- h:column h:commandLink action=actionA actionListener=processClick /h:column !-- its link2

[JSF] using ActionListener for executing different actions from table

2008-12-19 Thread Anton Gavazuk
Hi all, Im making the master-detail scenario via ActionListeners and want to use the same ActionListener is there any easy way to know which link in table row performs the action? Thanks., Anton

Re: [JSF] using ActionListener for executing different actions from table

2008-12-19 Thread Anton Gavazuk
id_lnk_141413 - sure, not very meaningful :) So for now I have gone with separate methods for every actionListener. Cheers, Anton 2008/12/19 Simon Kitching skitch...@apache.org: Anton Gavazuk schrieb: Hi all, Im making the master-detail scenario via ActionListeners and want to use the same

Re: How to redirect page in JSF

2008-12-05 Thread Anton Gavazuk
Hi I dont understand you problem, what are you expecting? redirect in jSF could be done for example in navigation rules in faces config file. 2008/12/5 VIJAY SONAWANE [EMAIL PROTECTED]: Hi all, I am new to JSF. I am facing one problem of url redirecting. i.e. if user enters url

Re: How to redirect page in JSF

2008-12-05 Thread Anton Gavazuk
provide the page name in the URL,but provides till the folder where the page is included in ( i.e .http://myserver/users/ ) then it should show page http://myserver/users/userhome.html. From: Anton Gavazuk [EMAIL PROTECTED] To: MyFaces Discussion users

Re: Can tomahawk be used without myfaces

2008-11-24 Thread Anton Gavazuk
Look on this page http://wiki.apache.org/myfaces/CompatibilityMatrix Hope 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

Re: Using c:forEach in MyFaces 1.2

2008-11-21 Thread Anton Gavazuk
Hi the link in post below tells about JSF 1.1. Have anything changed with integration between JSF 1.2 and JSTL tags? 2007/8/8 sandeep gururaj [EMAIL PROTECTED]: You can get more info from the postings on http://forum.java.sun.com/thread.jspa?threadID=497405messageID=2351519 ~Sandeep

  1   2   >