Re: Problems With saveState

2006-06-13 Thread octoberdan
There's a message for each of the components of the form. I even tried just having a submit button and an empty form... same problem.. hmm... I'm going to try to mock up a barebones model and post the WAR somewhere -- View this message in context: http://www.nabble.com/Problems-With-saveState

RE: Re: Re: inputText not updating from valueChangedListener b=uiHnFQ/OI6ffgtiEOG3tJasR/b3KIloGE0HVZIA/gXjDXV5uj+brPkcfAA1+oua/vOI4odr6PVJv/WBc9KI6BmuIpaX89n48F32n/eWZylcJ6jCZ3joEMg1XLwoFt0CH5NV3gbN2

2006-06-13 Thread David Boyd
:) I know how the component works assuming he just queues the valueChangedEvent I have blogged alternate solutions as well http://java-server-faces.blogspot.com/2006/04/valuechangelisteners-what- you-need-to.html but what I want to know is why? Why does this happen is it a bug? An error in the

Re: Re: inputText not updating from valueChangedListener b=uiHnFQ/OI6ffgtiEOG3tJasR/b3KIloGE0HVZIA/gXjDXV5uj+brPkcfAA1+oua/vOI4odr6PVJv/WBc9KI6BmuIpaX89n48F32n/eWZylcJ6jCZ3joEMg1XLwoFt0CH5NV3gbN2tbhjl

2006-06-13 Thread Matthias Wessendorf
that guy deliveres the event later. (custom event) Regards, Matthias On 6/13/06, David Boyd <[EMAIL PROTECTED]> wrote: But then you have the problem where the setter methods are called after valueChanged code i.e Any variables in your beans you change in your valueChanged methods will be over

RE: Re: inputText not updating from valueChangedListener b=uiHnFQ/OI6ffgtiEOG3tJasR/b3KIloGE0HVZIA/gXjDXV5uj+brPkcfAA1+oua/vOI4odr6PVJv/WBc9KI6BmuIpaX89n48F32n/eWZylcJ6jCZ3joEMg1XLwoFt0CH5NV3

2006-06-13 Thread David Boyd
But then you have the problem where the setter methods are called after valueChanged code i.e Any variables in your beans you change in your valueChanged methods will be overwritten by your setter methods This is a common problem Just check out http://www.irian.at/myfaces-sandbox/valueChange

Re: inputText not updating from valueChangedListener

2006-06-13 Thread Matthias Wessendorf
have you tried without responsecomplete() ? On 6/13/06, David Boyd <[EMAIL PROTECTED]> wrote: Hey all, I know this problem most likely would have been addressed before but was just wondering if there has been any solution for it? Say you had and you have

source for core 1.1.3 and tomahawk 1.1.2

2006-06-13 Thread Kevin Hale Boyes
I'm looking for the source for the versions in $subject. I can check it out from SVN if needed but I'm not sure how to do that. I've read Building_With_Maven on the wiki but it talks about current/HEAD. So maybe something like: svn checkout http://svn.apache.org/repos/asf/myfaces/tomahawk/branc

inputText not updating from valueChangedListener

2006-06-13 Thread David Boyd
  Hey all,   I know this problem most likely would have been addressed before but was just wondering if there has been any solution for it?   Say you had     >   valueChangeListener="#{bean.changedMethod}">                 value="#{bean.userName}" />  

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Murray Brandon
For some reason I got a "Symantec Mail Security detected prohibited content in a message sent from your address" so I have dumbed down the email a bit, removing quotes etc and resent. Sorry if you got it twice. Murray Brandon wrote: If rendered=false, APPLY_REQUEST_VALUES doesn't get applied t

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Murray Brandon
If rendered="false", APPLY_REQUEST_VALUES doesn't get applied to the component, so the backing bean is untouched, isn't it? Correct me if I'm wrong, 'cos lots of my assumptions are based on that fact. ;-) In the past, when a component hasn't been persisiting I've found it to be: 1) Programmer

Re: myfaces + cactus

2006-06-13 Thread Dennis Byrne
There are some Cactus tests in the myfaces repo. They are no longer a part of the build process but they are still there. Dennis Byrne >-Original Message- >From: Bret Kumler [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 13, 2006 06:48 PM >To: users@myfaces.apache.org >Subject: myfaces

RE: Conditionally rendered fields not retaing values

2006-06-13 Thread Julian Ray
I faced a similar problem when using conditionally rendered panes. The best solution I found was to render them all with JSP but use javascript to hide the unused panes. Works like a charm and is actually better as I can switch the rendered pane without requiring a round-trip to the server. -O

Re: Problems With saveState

2006-06-13 Thread Adam Brod
Do you have a h:messages component defined so you'll be notified if there are any conversion errors??  I'm just trying to come up with ideas... Adam Brod Product Development Team octoberdan <[EMAIL PROTECTED]> 06/13/2006 04:47 PM Please respond to "MyFaces Discussion" To users@myfac

myfaces + cactus

2006-06-13 Thread Bret Kumler
Hi all,   New to myfaces/jsf world.   I wanted to know if there’s an existing FacesTestCase for Cactus, I tried the cactus mailing list but to no avail.   I think it would be a useful addition to the Cactus framework.   Is there a set of common classes needed in the setup() and tear

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Bruno Aranda
I have two choices in my mind now. One is more elegant than the other, which is a hack actually. The more elegant is to use the sandbox s:subForm component [1]. I haven't used it myself so I cannot be or more help. The hack is to click with javascript an invisible button with the immediate that se

Re: PhaseListener for image rendering - problem

2006-06-13 Thread Ondrej Svetlik
Cagatay Civici wrote: Interesting error, I've used a phaselistener to render multiple images in a page when developing the new version of chart creator with no problem. FacesContextFactory creates FacesContext objects bound to each request lifecycle. FacesContext's release method is used for

Re: Renderer for CustomMessageTag - help needed

2006-06-13 Thread Bruno Aranda
project. If someone know a link let me know it. Sure! There is a brand new archetype to generate a jsf custom component library. Follow the steps in the wiki [1]. It has not been released yet, but the only thing it implies is that you have to get it from the subversion repository and build it wi

RE: Conditionally rendered fields not retaing values

2006-06-13 Thread James Richards
Note that the below renderResponse() invocation will cause the LifecycleImpl to stop processing after the ValueChangeHandler is invoked because FacesContext.getRenderResponse() returns true, basically halting further processing [aka, no model update]. It sounds like this is not what you want to

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Meghana
Bruno, Thanks a lot! That was it. One side effect though. It seems to validate and show the error messages for the required fields and others. Any idea how to circumvent that? -M Bruno Aranda <[EMAIL PROTECTED]> wrote: Does it work if you remove the immediate="true" attribute from theselectOneRadio

Re: Renderer for CustomMessageTag - help needed

2006-06-13 Thread urswagner
I made already some simple component. Unfortunately my try to make a single tag library including the components failed. I have to include the jar files into the war library. I would also be glad for a template tag library template project. If someone know a link let me know it. >-- Original-Nac

Re: Problems With saveState

2006-06-13 Thread octoberdan
Alright! Latest development: The action method "#{pcwBacker.enableStepThree}" isn't being called! What that means... no clue. But that's also the point of failure. -- View this message in context: http://www.nabble.com/Problems-With-saveState-t1780890.html#a4854073 Sent from the MyFaces - Users f

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Richard Capraro
According to me, this is normal. Because in the JSF lifecycle, after the valuechangelistener, the phase is 'update model values', so the values you 'get' in the valuechangelistener (your bean properties) haven't yet been updated. Besides, if you read these values in a binded UIcomponent, a comp

RE: Conditionally rendered fields not retaing values

2006-06-13 Thread Sreeni Gaddam
I believe you have the setHardwareType method, which will be called after the valueChangeListener method causes values to be overwritten to null or previous values. This sequence is part of jsf life cycle. You can put a break point/println's in the hardwareTypeChanged and setHardwareType you wi

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Bruno Aranda
Does it work if you remove the immediate="true" attribute from the selectOneRadio (see this docs to see if you really need it [1]), and remove the facesContext.renderResponse() line (not needed). Let's see! Bruno [1] http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works On 6/13/06,

Re: Problems With saveState

2006-06-13 Thread octoberdan
Tried that... still doesn't work :-( Thanks though. -- View this message in context: http://www.nabble.com/Problems-With-saveState-t1780890.html#a4853923 Sent from the MyFaces - Users forum at Nabble.com.

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Meghana
I am sorry I should have included my code snippet before itself.Here we go!                                                    public void hardwareTypeChanged(ValueChangeEvent event) throws SQLException, Exception{        FacesContext context = FacesContext.getCurrentInstance();        String prevC

Re: Strange JSCookMenu Error

2006-06-13 Thread Only1
Also keeping gave the following o/p on the screen. So it is not null. [Lorg.apache.myfaces.custom.navmenu.NavigationMenuItem;@1c95b4c -- View this message in context: http://www.nabble.com/Strange-JSCookMenu-Error-t1776830.html#a4853782 Sent from the MyFaces - Users forum at Nabble.com.

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Bruno Aranda
And what about the "immediate" attributes? Are you using them? Can you show an snippet of your code? Bruno On 6/13/06, Meghana <[EMAIL PROTECTED]> wrote: Its already in session scope :-( Bruno Aranda <[EMAIL PROTECTED]> wrote: Could you try if that works if your bean is in session scope? B

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Meghana
Its already in session scope :-( Bruno Aranda <[EMAIL PROTECTED]> wrote: Could you try if that works if your bean is in session scope?BrunoOn 6/13/06, Meghana <[EMAIL PROTECTED]> wrote:> Hi,> I have a form in which the displayed input fields change based on a radio> button field. When ever the fi

Re: Conditionally rendered fields not retaing values

2006-06-13 Thread Bruno Aranda
Could you try if that works if your bean is in session scope? Bruno On 6/13/06, Meghana <[EMAIL PROTECTED]> wrote: Hi, I have a form in which the displayed input fields change based on a radio button field. When ever the field value is changed a corresponding valuechangelistener method is cal

Conditionally rendered fields not retaing values

2006-06-13 Thread Meghana
Hi, I have a form in which the displayed input fields change based on a radio button field. When ever the field value is changed a corresponding valuechangelistener method is called and then the new set of input fields are displayed. But the values entered for those conditionally rendered fields a

Re: Problems With saveState

2006-06-13 Thread octoberdan
What version of facelets are you using? -- View this message in context: http://www.nabble.com/Problems-With-saveState-t1780890.html#a4852450 Sent from the MyFaces - Users forum at Nabble.com.

Re: Strange JSCookMenu Error

2006-06-13 Thread Only1
Probably not. I could see the output of the getter. It is printing "Inside Getter" in the server console. Means navItems is really the instance of org.apache.myfaces.custom.navmenu.NavigationMenuItem public NavigationMenuItem[] getNavItems() { if(navItems[0] instanceof org.apache.myfaces

Re: Problems With saveState

2006-06-13 Thread Geoff Longo
Not sure if it matters, but have you tried putting an id on your saveState tag? For example, This is how we are set up and it works perfectly with Facelets. Geoff On 6/13/06, octoberdan <[EMAIL PROTECTED]> wrote: Yes; everything else works. -- View this message in context: http://www.nabb

Re: Strange JSCookMenu Error

2006-06-13 Thread Bruno Aranda
I don't see why it is failing, can you verify that dynMenu.navItems is not true when the expression is being called? Replace the jsCookMenu by a outputText like this... as a dirty way to check that... A null value could be provoking that behaviour maybe... Bruno On 6/13/06, Only1 <[EMAIL PROT

Re: Strange JSCookMenu Error

2006-06-13 Thread Only1
The following is my menu generation code package org.jboss.seam.example.todo; import java.util.ArrayList; import java.util.List; import org.apache.myfaces.custom.navmenu.NavigationMenuItem; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.Sc

Re: Strange JSCookMenu Error

2006-06-13 Thread Bruno Aranda
Are you sure that you are generating the component with NavigationMenuItem instances? Could you show a snippet of your code? That would help, Bruno On 6/13/06, Only1 <[EMAIL PROTECTED]> wrote: Did anybody else got this error? It is very strange. Nobody else in the forum seemed to have encounte

Re: Renderer for CustomMessageTag - help needed

2006-06-13 Thread Bruno Aranda
I do not know what is the family for your component, but in the configuration I see this line: recommind.faces.Message The "com." part is missing. Is this intended? Regards, Bruno On 6/13/06, Michael Heinen <[EMAIL PROTECTED]> wrote: I am going mad with a custom Renderer ! I created a c

Re: problems writing new jsf component ..

2006-06-13 Thread Bruno Aranda
Basically you are missing the handling of the value binding behaviour in the tag for your component. When the value is set in the tag, you have to see if it is a value binding expression (EL Expression) or a direct value. One thing I recommend you is to try the new JSF component library archetype

Re: Problems With saveState

2006-06-13 Thread octoberdan
Yes; everything else works. -- View this message in context: http://www.nabble.com/Problems-With-saveState-t1780890.html#a4850814 Sent from the MyFaces - Users forum at Nabble.com.

How can I display radio buttons in 2 columns?

2006-06-13 Thread Paul Spencer
I would like to display a long list of radio buttons in 3 columns? Paul Spencer

Re: Does SubForm do anything?

2006-06-13 Thread Martin Marinschek
The client-side code is totally optional.The server code handles the results. I don't see what you're not doing right though, everything looks perfectly alright to me!regards,Martin On 6/13/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: Maybe Gerald knows more?On 6/13/06, Andrew Robinson <[EMAI

Re: Does SubForm do anything?

2006-06-13 Thread Matthias Wessendorf
Maybe Gerald knows more? On 6/13/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: If this helps, this is the HTML generated for the command link: ... I don't know if there should be any special "subForm" code in that onclick that isn't there. On 6/13/06, Andrew Robinson <[EMAIL PROTECTED]> wrot

Re: Does SubForm do anything?

2006-06-13 Thread Andrew Robinson
If this helps, this is the HTML generated for the command link: ... I don't know if there should be any special "subForm" code in that onclick that isn't there. On 6/13/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: I am using facelets, so it is a bit different: http://www.w3.org/TR/xhtml1/DT

Re: Problems With saveState

2006-06-13 Thread Adam Brod
Do you have other Tomahawk components working with Facelets?  Have you configured the Tomahawk libraries ?  http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk  Perhaps the t:saveState isn't even being rendered? That's about all I can think of. Adam Brod Product Development Team octobe

Re: Problems With saveState

2006-06-13 Thread octoberdan
The backing bean is serializable and worked before I implemented Facelets -- View this message in context: http://www.nabble.com/Problems-With-saveState-t1780890.html#a4849505 Sent from the MyFaces - Users forum at Nabble.com.

RE: Tomahawk Tabbed Pane

2006-06-13 Thread James Richards
Minor correction: I ran into a similar problem. One other suggestion would be to try deploying the same application to JBoss, Geronimo or some other J2EE container to give it a sniff check... -Original Message- From: James Richards [mailto:[EMAIL PROTECTED] Sent: Tue 6/13/2006 11:44 AM

RE: Tomahawk Tabbed Pane

2006-06-13 Thread James Richards
Various ancient versions of MyFaces can be found at the original SourceForge website: http://sourceforge.net/projects/myfaces That said, are you sure that upgrading the commons el didn't work? I absolutely ran into this problem during upgrading from MyFaces 0.9 [yes, that old] to MyFaces 1.1.

Problems With saveState

2006-06-13 Thread octoberdan
Has anyone had problems combining savestate with facelets? I have a tabbed pane set up in a step by step wizard sort of way. After the user submits the form on the second tab, the backingbean resets! Any help would be endlessly appreciated, This is almost a show stopper for me and I'm on the verge

new component proposal

2006-06-13 Thread Hansjörg Meuschel
Hello guys, I'm currently needing a component serving me any raw content, something like Does anybody know if there is such a component? Would be very useful for example to dynamically generate images, pdf etc. If there is no such component available, I'll implement one the next days ... i

Disabling Panel Tabs

2006-06-13 Thread octoberdan
Is it possible to disable panel tabs? I want the tabs to be in view, just not clickable untill the backingbean lets it be. Has anyone done this before? Thanks for reading this... -- View this message in context: http://www.nabble.com/Disabling-Panel-Tabs-t1780871.html#a4848783 Sent from the MyFac

Re: Does SubForm do anything?

2006-06-13 Thread Andrew Robinson
I am using facelets, so it is a bit different: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:h="http://java.sun.com/jsf/html"; xmlns:b

Re: JSF12 external - current12

2006-06-13 Thread Jeff Bischoff
Nice! Martin Marinschek wrote: Hi *, for everyone interested: I've added a "current12" reference as: https://svn.apache.org/repos/asf/myfaces/current12 With this, you can (in a one-stop way) checkout the 1.2 code of Apache MyFaces and see how far the re-implementation has come. Dennis, the

Re: JSF scroll issue

2006-06-13 Thread Jeff Bischoff
> rememberScrolling is called in the onSubmit event of the form: > Take care returning "true" in javascript events like this, as it will skip the rest of the JSF lifecycle. Be sure this is actually what you want. Regards, Jeff Bischoff Kenneth L Kurz & Assoc, Inc. Michael Heinen wrote: Hi,

Re: How do I enabled logging?

2006-06-13 Thread Adam Brod
Well, I got it working.  I put log4j.properties in my WEB-INF/classes directory.  Inside the properties file I have this: log4j.rootLogger=WARN, stdout log4j.logger.org.apache.myfaces = INFO, stdout log4j.logger.javax.faces = INFO, stdout #*** # Appender "std

RE: jsf-comp OptionalValidation

2006-06-13 Thread Julian Ray
What is the scope for your backing bean? It probably needs to be request otherwise it will only be craeted once. Also, how are you calling the method which creates the view components? If you call it in the constructor it will get built too early so you need to find some way to build the components

RE: Does SubForm do anything?

2006-06-13 Thread Michael Heinen
very quick shot: I had this problem a time because I forgot to add the taglib or used a wrong prefix. <%@ taglib uri="http://myfaces.apache.org/sandbox"; prefix="s"%> Subforms are working well in my app. Your code looks ok to me. -Original Message- From: Andrew Robinson [mailto:[EMAIL P

Does SubForm do anything?

2006-06-13 Thread Andrew Robinson
I attempted to use the subForm sandbox component with absolutely no luck. I had a page like: When I click the command link, I get validation errors from the input text outside of the subform. Correct me if I am wrong, but I thought the whole point

RE: Dynamically Changing Panel Grid

2006-06-13 Thread Daniel Murley
Hi, Thanks for the suggetions. With the first option, I'm trying to keep it as generic as possible, so it makes sense to build the components with java as opposed to markup. Number 2 is where I'm really struggling, I can get the components in there on the first render (ie. When the page loads)

OT: jsf-comp OptionalValidation

2006-06-13 Thread Andrew Robinson
I was looking into the code of the optional validator, and was wondering if it would be much better placed in JDK 1.5. Instead of creating "optionalValidator" tags with embedded validator IDs, it could use JDK 1.5 proxy classes as Validator and StateHolder are interfaces. Then, the proxy could ca

Re: Strange JSCookMenu Error

2006-06-13 Thread Only1
Did anybody else got this error? It is very strange. Nobody else in the forum seemed to have encountered this error. Thanks Vamsi -- View this message in context: http://www.nabble.com/Strange-JSCookMenu-Error-t1776830.html#a4846629 Sent from the MyFaces - Users forum at Nabble.com.

How do I enabled logging?

2006-06-13 Thread Adam Brod
Hi- I am having a problem where MyFaces catches a serious error and logs it to log.error().  How do I configure my logging so that those error messages go to the console window? In my log4j.properties I tried putting org.apache.myfaces = INFO, but that didn't seem to help. Thanks for any help.

RE: Renderer for CustomMessageTag - help needed

2006-06-13 Thread Michael Heinen
BTW: I can’t resolve the Component.dtd that is used in the xml file:     "-//MyFaces//DTD MyFaces component def 1.0//EN"   "http://myfaces.apache.org/dtd/Component.dtd">   FileNotFoundException-http://myfaces.apache.org/dtd/Component.dtd CustomMessage.xml    ClearyWeb/src

Re: Re: commandLinks don't work on Tomcat 5.5.17

2006-06-13 Thread Hailong Zhang
I have the same problem. I'm working on Tomcat 5.5.12 with MyFaces 1.1.3 & Tomahawk 1.1.2.Unfortunately, I need the AUTO_SCROLL feature.Is this a bug of Tomcat or MyFaces?Any solution to this problem? Thank you!2006/6/11, Bruno Aranda <[EMAIL PROTECTED]>: When using it with the JSF-RI, I meanOn 6/1

problems writing new jsf component ..

2006-06-13 Thread Hansjörg Meuschel
Hi, I'm currently writing on a component and I need to pass a TITLE attribute string into it. My problem: everything works fine except one thing: if I want to use bundles (or any other bean values) for the TITLE attribute, the title is not set in my UI Class. What's wrong here, how can I ac

Re: Can I pass a param to the backing bean method?

2006-06-13 Thread Hailong Zhang
Hi Cosma,    Thank you very much for your response. I have solved my problem in an alternative way.2006/6/13, Cosma Colanicchia <[EMAIL PROTECTED] >:You cannot pass directly a parameter to your backing bean method using EL. The wiki entry shows some alternative way to pass one parameter putting it

RE: Renderer for CustomMessageTag - help needed

2006-06-13 Thread Michael Heinen
I forgot to append the CustomMessage.xml:       com.recommind.faces.messages.CustomMessage   org.apache.myfaces.component.html.ext.HtmlMessage   com.recommind.faces.messages.CustomMessage   com.recommind.faces.messages.CustomMessageRenderer     customMe

Renderer for CustomMessageTag - help needed

2006-06-13 Thread Michael Heinen
I am going mad with a custom Renderer ! I created a custom tag that extends HtmlMessageTag. My CustomMessageRenderer shpuld be sued for this tag. The normal HtmlMessageTag should be rendered as before.   Problem: I don't get the CustomMessageRenderer mapped to my tag. Could anybody ha

DataList save model

2006-06-13 Thread Blaise Gosselin
Hello,   I'm currently extending the component dataList, and I try to make it save the data updated by the user. After some code consultation, I noted that the saving was done in the method setRowIndex. It works good with the dataTable, but not with the dataList.   Could someone help me pl

RE: Dynamically Changing Panel Grid

2006-06-13 Thread Julian Ray
Hi Daniel Here are a couple of things you could try [1] Your page includes all the components but you use the rendered="" attribute on each panel using EL or a backing bean to determine if a particular panel should be rendered [2] Dynamically create the contents of the panel using a backing bean

Re: Jean-Claude Pace is out of the office.

2006-06-13 Thread JeanClaude . Pace
Sincere apologies to all. I had forgotten to add the mailing list to the exclusion list. I have now! Hopefully the issue won't recurbugs in Lotus Notes permitting!  :-) Jean Murray Brandon <[EMAIL PROTECTED]> wrote on 07/06/2006 04:23:36: > Oh no, a whole week of these ;-) > > [EMAIL PROT

Dynamically Changing Panel Grid

2006-06-13 Thread Daniel Murley
Hi There, I have a situation where I want to switch between different panel grids on the screen using a drop down. So essentially I have one component bound to the screen, and in the backing bean I want to change what that component actually is. This however is causing me much grief, as it seems

Re: Can I pass a param to the backing bean method?

2006-06-13 Thread Cosma Colanicchia
You cannot pass directly a parameter to your backing bean method using EL. The wiki entry shows some alternative way to pass one parameter putting it somewhere (managed-bean property, request parameter, ...) and having your backing bean method retrieve its value. I can't see why this approach does

Re: Problem updating value in InputText

2006-06-13 Thread Johnny Gonzalez
Temporary solution. I had to change the component from inputText to outputText, I didn't have a solid reason to have it as inputText because the value shouldn't be modifiable. But, why the question stil remains: Why the componente (inputText) doesn't show the new value in the page, but its bind

Re: Problem updating value in InputText

2006-06-13 Thread Johnny Gonzalez
Hello Bruno, Sure it all is wrapped by tags When I select something in the selectOneMenu, the form gets refreshed. but there's no visual change in the value of the InputText in the page. so, what do you think? --- Bruno Aranda <[EMAIL PROTECTED]> escribió: > Have you included the tags aro

Re: hide validation messages when onchange="submit();"

2006-06-13 Thread Hazem Saleh
Hi Micheal, Just call FacesContext.getCurrentInstance( ).renderResponse( ) at the end of your SelectOneMenu onchange function.  On 6/13/06, Michael Ageeb <[EMAIL PROTECTED]> wrote: the immediate attribute as i know will not disable the validation it just will proceed the action methods and listene

Re: hide validation messages when onchange="submit();"

2006-06-13 Thread Cagatay Civici
Hi Michael,Yes the ones with immediate attribute will be executed before validation, you could try to call facesContext's renderResponse method to jump directly renderresponse at your value change listener. This way, validations phase will not be executed for other fields. Regards,CagatayOn 6/13/06

Re: hide validation messages when onchange="submit();"

2006-06-13 Thread Michael Ageeb
the immediate attribute as i know will not disable the validation it just will proceed the action methods and listeners befor validation so this way works if you are creating a new request or submiting to another page. but in my problem the page submits and redisplay again and i have some required

group messages by (sub)form

2006-06-13 Thread Michael Heinen
Hi,   Has anybody thought about subforms or multiple forms on a page and the display of validation messages? I just want to know how other people handle this. I have multiple subforms on my page and I would like to group the messages by subform. I don't want to code a message tag for e

Re: Problem updating value in InputText

2006-06-13 Thread Bruno Aranda
Have you included the tags around your code? Bruno On 6/13/06, Johnny Gonzalez <[EMAIL PROTECTED]> wrote: Hello everybody, I have a JSP wich has a selectOneMenu, with this code:

RE: JSF scroll issue

2006-06-13 Thread Michael Heinen
Hi, The setFocus method is called in the body onload event. rememberScrolling is called in the onSubmit event of the form: Do you have a similar setup with scrollable div tags? General autoscrolling can be enabled in web.xml: org.apache.myfaces.AUTO_SCROLL false But this autoscrolling