RE: Style for row in datatable

2006-03-23 Thread JeanClaude . Pace
Thanks Greg. I had implemented the solution where I was setting the rowClasses using a comma-delimited string of styles but obviously your solution is a million times better. I guess I was looking at the reference implementation docs not the tomahawk one so I didn't spot the rowStyleClass

AW: SelectItem style

2006-03-23 Thread Krause, Nico
Emmanuell, this is the right renderer-type / component-family. You can find it by looking into the sources of the component you want to extend. here i found it in: javax.faces.component.html.HtmlSelectOneRadio { --- private static final String DEFAULT_RENDERER_TYPE =

AW: MyFaces example wanted for t:panelTabbedPane's selectedIndex, and/or TabChangeListener

2006-03-23 Thread Matthias Kahlau
Hi! I have a working TabChangeListener, but no time to provide an example this month. I think this would be possible next month... -Matthias -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Mike Kienenberger Gesendet: Dienstag, 21. März 2006

RE: InputSuggestAjax - binding the value

2006-03-23 Thread Wiell, Daniel (FONL)
Great - it thought it was only me going crazy :-) /Daniel -Original Message- From: Gerald Müllan [mailto:[EMAIL PROTECTED] Sent: 22 March 2006 18:31 To: MyFaces Discussion Subject: Re: InputSuggestAjax - binding the value Yes, you are right. I have also recognized this issue

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Werner Punz
Aleksei Valikov schrieb: Hi. I have tried inputSuggestAjax from the sandbox. The component works more or less fine (sometimes it fails to find target components, but that's not a big problem). However what bothers me is that web pages are becoming really much slower. inputSuggestAjax is

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Werner Punz
Aleksei Valikov schrieb: Hi. I have tried the dojo inputSuggest in a few applications, never had problems with slow loading times. Now with server side state saving, as you have said, every needed dojo class is loaded, and this results in many js files. I've studied it a bit closer.

Re: Using valueChangeListener

2006-03-23 Thread Ricardo Tercero Lozano
For components that implements EditableValueHolder (i.e. inputText) there is a 'submittedValue' that if exists is taken over attribute binding on page rendering. I have the same behavior in my application when an edition is cancelled: the bean data is refreshed from database, but page don't take

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Werner Punz
Aleksei Valikov schrieb: I just think that inputSuggestAjax does not really need 100Kb scripts. (I would be pretty much surprized if that would be the case). So I really hope that scripts will be optimized... Getting down on the code amount is up to the dojo guys, but as soon as the scripts

RE: General question to AJAX stuff from the sandbox

2006-03-23 Thread Wiell, Daniel (FONL)
Have you guys looked into Weblets? It serves resources from JAR files without - no Servlet filters or anything; it registers itself automatically as a PhaseListener. It also allows the resources to be cached by the browser. https://weblets.dev.java.net/ Cheers, Daniel -Original

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Gerald Müllan
Hi, I have talked to werner about this performance issue; Should be only a matter of configuration after implementing this possibility to our dojo comps. Then it will be no problem to load all needed dojo packages as one bigger (also compressed) .js file at the beginning. So, currently not

Re: Using Javascript to submit a form doesn't work [Problem Solved]

2006-03-23 Thread Timo Thomas
Hi, this thread is a little old, but I maybe someone stumbles on it like I did some days ago. The proposed solutions still don't allow the event listeners registered on the form's submit event to be called (e.g. using form.addEventListener()). Calling form.onsubmit() eplicitely doesn't help.

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Gerald Müllan
Oh..Werner was faster in responding :) Thx for the explanation Werner! On 3/23/06, Gerald Müllan [EMAIL PROTECTED] wrote: Hi, I have talked to werner about this performance issue; Should be only a matter of configuration after implementing this possibility to our dojo comps. Then it will

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Aleksei Valikov
Werner, Gerald, Thank you guys for responding. I do understand that inputSuggestAjax is in the sandbox. Only wanted to make sure that you are aware of the issues and are somehow intending to resolve them. Thanks again for your answers. Bye. /lexi

avoiding duplicate required validation messages

2006-03-23 Thread Krause, Nico
Hello, I have a form with several input elements with required=true for the build-in required validation. I turned global messages on under the form. h:messages styleClass="errorText" globalOnly="false" / The thing i don't like is: When there are more then oneorm fields which are'nt filled

RE: Update ManageBean from different pages.

2006-03-23 Thread Hagay Avisar
Does t:saveState requires submitting the page? Cause I can see that the data I have insert in input text in tab1 does not update the value in my Bean…. From: Murat Hazer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 10:24 PM To: MyFaces Discussion Subject: Re:

Re: General question to AJAX stuff from the sandbox

2006-03-23 Thread Werner Punz
Wiell, Daniel (FONL) schrieb: Have you guys looked into Weblets? It serves resources from JAR files without - no Servlet filters or anything; it registers itself automatically as a PhaseListener. It also allows the resources to be cached by the browser. https://weblets.dev.java.net/ Yes

AW: java.lang.NullPointerException during render phase when using ADF and MyFaces Tomahwak components together

2006-03-23 Thread Marcel Soulier
Hi Adam, sorry that it took me 2 days to reply but I was working on a different project. Using JSP and MyFaces is kind of a historical thing. I started with JSP and Struts, added Tiles, replaced Struts with MyFaces and now added ADF. Facelets is something I haven't tried yet. About the

RE: Update ManageBean from different pages.

2006-03-23 Thread Hagay Avisar
How can we do submit and navigation in same time? How can I update bean from couple of pages when I am navigating from one page to the other? Why the data I insert in one page doesn’t save in bean when I navigate to other page? (Each tab is rendered as iframe). From: Hagay

Re: MyFaces Tomahawk

2006-03-23 Thread Werner Punz
Actually this seems either like a bug in the RI to me, since savestate does nothing fancy which should not work in the RI. It basically just does what every component does in the save and restore phase. Or a bug by the user. Maybe some of the classes in the original tree are not serializable,

RE: how to set ROWS attribute in t:dataTable using Resource Bundle ?

2006-03-23 Thread Conway. Fintan \(IT Solutions\)
Hi Sunil, Just a guess Would t:dataTable rows=#{(int)bundle.MaxRecordsDisplayed_PerPage} Or t:dataTable rows=#{(Integer)bundle.MaxRecordsDisplayed_PerPage} Work? HTH, Fintan -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of sunil Sent: 21 March 2006 22:45 To:

Re: MyFaces Tomahawk

2006-03-23 Thread Martin Marinschek
I really wonder how the RI goes about providing a different state tree for a user if the user has two requests running from the same browser. regards, Martin On 3/23/06, Werner Punz [EMAIL PROTECTED] wrote: Actually this seems either like a bug in the RI to me, since savestate does nothing

action method called 8 times?

2006-03-23 Thread Dean Hiller
I found a myfaces post with the same exact question but no answer(search for tree and popup). I am hoping someone might know this time. I have a tree, and inside that tree I have a popup for all the folders. When I first bring up the tree, in html, there is one folder displayed called Main

saveState question

2006-03-23 Thread Yura.Tkachenko
Hi, All I just started use component saveState from Tomahawk. I have two pages page1 (managed-bean {#page1}) and page2 (managed-bean {#page2}). All these beans are in request scope Is it possible to pass from page1 data {#page1.mapping} to page2 ? Thanks for any help, Yura.

what is wrong with this logging.properties file?

2006-03-23 Thread Dean Hiller
I am using tomcat, and have the below contents in webroot/WEB-INF/classes/logging.properties. biz.xsoftware and every logger below that logs just fine, but no myfaces logs nor javax.faces logs show up at all. thanks for any suggestions. dean handlers = org.apache.juli.FileHandler,

Re: [VOTE] Sign-Off of Tobago

2006-03-23 Thread Martin Marinschek
Thanks! I regard this vote as closed out, as 72 hours are over and we have 3 +1 votes from incubator PMC members. Tobago team, welcome to the Apache MyFaces community! regards, Martin On 3/23/06, James Holmes [EMAIL PROTECTED] wrote: +1 James -Original Message- From: Martin

please check my logging.properties...

2006-03-23 Thread Dean Hiller
I am using tomcat, and have the below contents in webroot/WEB-INF/classes/logging.properties. biz.xsoftware and every logger below that logs just fine, but no myfaces logs nor javax.faces logs show up at all. thanks for any suggestions. dean handlers = org.apache.juli.FileHandler,

RE: saveState question

2006-03-23 Thread Conway. Fintan \(IT Solutions\)
Title: Message Hi Yura, The simplest way to pass data from page1 to page2 is to use onemanaged bean, and use t:saveState on both pages referring to that onemanaged bean. If the managed-bean is in request scope, then when you move from page1 to page2 you will lose the data in managed-bean

RE: saveState question

2006-03-23 Thread Yura.Tkachenko
Title: Message Thanks, Faintan But I can use jsf session beans as it, because on our project we are using JBoss 4.0.3 in cluster and for all JSF UI components I will get NonSerializable exception. Also I can not use one manage bean on two pages, because I have actually wizard

post method encoding UTF-8

2006-03-23 Thread Nicola Benaglia
Hi !!! I have a lot of troubles with encoding UTF-8 and in particular when I post some data by forms. When I write the post received data in a page I cannot see the right characters. For example: Name: èèè (three e with an accent) Surname: èèè I get the following output: èèè The same

RE: post method encoding UTF-8

2006-03-23 Thread Yura.Tkachenko
Hi, Nicola You can try to use on your jsf page: %@ page language=java session=true contentType=text/html; charset=UTF-8; pageEncoding=UTF-8 % Thanks, Yura. -Original Message- From: Nicola Benaglia [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 4:14 PM To: MyFaces

Help with custom autoscroll and immediate links

2006-03-23 Thread Michael Heinen
Hi all, I need some assistance with a custom autoscroll function and immediate links. My page contains a datatable inside a scrollable div tag. When the page is entered again I want to scroll back to the last position inside the div (e.g. the last selected row). This is working so

Re: post method encoding UTF-8

2006-03-23 Thread Grigoras Cristinel
Hi Nicola, If you what to save using some encoding specify for your form encoding="multipart/form-data" and the page encoding: %@ page language="java" contentType="text/html; charset=UTF-8;" pageEncoding="UTF-8" % . I don't know why this is happen. Maybe is a bug. Cristi Nicola

Re: post method encoding UTF-8

2006-03-23 Thread Mario Ivankovits
Hi Nicola! Name: èèè (three e with an accent) Surname: èèè I get the following output: èèè You have to create a servletFilter. See: http://wiki.apache.org/tomcat/Tomcat/UTF-8 *See Alternative solution which uses the filter - dont waste your time with the toUTF8() stuff. Ciao, Mario *

RE: Checkbox by tree implementation

2006-03-23 Thread Jonathan Sutherland
Hi Matthias Wessendorf Thanks for your help Regards Johnny Sutherland

Re: post method encoding UTF-8

2006-03-23 Thread Cagatay Civici
Hi,Had a similiar problem once and solved it with a filter approach as Mario already suggested.Cagatay Civici,On 3/23/06, Mario Ivankovits [EMAIL PROTECTED] wrote:Hi Nicola! Name: èèè (three e with an accent) Surname: èèè I get the following output: èèèYou have to create a servletFilter.See:

Re: SelectItem style

2006-03-23 Thread Andrew Robinson
Sounds like a good control for the sandbox On 3/22/06, Krause, Nico [EMAIL PROTECTED] wrote: Hello Emmanuell, I did the following for my problem - so i assume you can do the same. 1. I made a new class (HtmlRadioRendererExtendedBase) from HtmlRadioRendererBase (see sources attached) 2.

inputText and null processing

2006-03-23 Thread Serge Bogatyrjov
Hi, I have a form and some inputs on it. I marked one input as required. Then I expected to get a error message when posting an empty form. By I did not get any messages. Then I added a length validator with a minimum = 1. And again I had not got any messages. Then I started debugging and found

Re: saveState question

2006-03-23 Thread Mike Kienenberger
On 3/23/06, [EMAIL PROTECTED] But I can use jsf session beans as it, because on our project we are using JBoss 4.0.3 in cluster and for all JSF UI components I will get NonSerializable exception. Also I can not use one manage bean on two pages, because I have actually wizard application with

Re: inputText and null processing

2006-03-23 Thread Mike Kienenberger
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote: I have a form and some inputs on it. I marked one input as required. Then I expected to get a error message when posting an empty form. By I did not get any messages. It should be as simple as adding required=true as an attribute for

Re: Update ManageBean from different pages.

2006-03-23 Thread Mike Kienenberger
On 3/23/06, Hagay Avisar [EMAIL PROTECTED] wrote: Does t:saveState requires submitting the page? Cause I can see that the data I have insert in input text in tab1 does not update the value in my Bean…. Yes. t:saveState is a server-side process, not a javascript trick. On 3/23/06, Hagay

Skip Validation Phase

2006-03-23 Thread Yura.Tkachenko
Hi, All!!! Ive confused with it in JSF. I have some validation logic on my form: 2 textboxes which have required attribute And also one drop-down ( I used immediate=true, because I dont want to run validation before valueChangeListener ). In my valueChangeListener I tried to ignore

How does JSF associate a session?

2006-03-23 Thread Matthias Kahlau
Hi! Do you know how JSF associates a session to a specific client? I thought this will either work with a session ID or a cookie. But when I open a new browser window and copy the session-ID-less URL from the other browser, which is already in a session, the new browser will be associated to the

Re: Skip Validation Phase

2006-03-23 Thread Mike Kienenberger
Short answer: immediate doesn't skip validation phase. Long answer: http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works On 3/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, All!!! I've confused with it in JSF. I have some validation logic on my form: 2 textboxes

RE: Skip Validation Phase

2006-03-23 Thread Yura.Tkachenko
I know this, but for skip validation phase I'm using call: FacesContext context = FacesContext.getCurrentInstance(); context.renderResponse(); Thanks, Yura. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 6:26 PM To:

Re: How does JSF associate a session?

2006-03-23 Thread Andrew Robinson
How did you open a new browser? IE's new window and firefox by default do not start new instance of browsers on most platforms, so memory cookies are kept. If you are on firefox and use the Web Developer Toolbar extension, you can use it to clear all session cookies. I believe (I am pretty sure

Re: post method encoding UTF-8

2006-03-23 Thread Alexander Panzhin
If you're using Facelets the only way is making a filter and adding two silmple lines: request.setCharacterEncoding(encoding); response.setCharacterEncoding(encoding); Where encoding is the String UTF-8. Hi !!! I have a lot of troubles with encoding UTF-8 and in particular when I

Re: MyFaces Tomahawk

2006-03-23 Thread Adam Winer
In server-side state saving? The 1.1 RI doesn't support simultaneous requests from the same user from two windows; it only works for client- side state saving. The JSF 1.1 algorithm for server-side state saving - just storing the UIViewRoot - necessarily implies that saveState() will not be

Re: MyFaces Tomahawk

2006-03-23 Thread Dennis Byrne
As of JSF 1.2, both server-side and client-side state saving will end up invoking saveState(), because the algorithm for server-side Good, this means t:saveState will work w/ both implementations using server side state saving. -- Adam Dennis Byrne

RE: Skip Validation Phase

2006-03-23 Thread Yura.Tkachenko
Ok, Thanks. Do you know any solution which will be usefull for me? Thanks, Yura. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 6:42 PM To: MyFaces Discussion Subject: Re: Skip Validation Phase On 3/23/06, [EMAIL PROTECTED] I know

Re: Skip Validation Phase

2006-03-23 Thread Mike Kienenberger
My first attempt to solve such a problem was to create the OptionalValidationFramework discussed on the wiki, but I don't really like that approach. It worked for me because I had a lot of dropdowns on the page. You might take a look at using the Sandbox subform validation as an alternate way

Re: MyFaces Tomahawk

2006-03-23 Thread Adam Winer
What do you do with the results of saveState()? Just discard 'em? -- Adam On 3/23/06, Martin Marinschek [EMAIL PROTECTED] wrote: Ok, I didn't know that it was explicitly mentioned in the JSF1.1 spec that saveState is not to be called for server-side state saving. Cause as Manfred

Managed Bean Creation / ClassLoader Issue

2006-03-23 Thread Peter M. Goldstein
I'm having a JSF issue that seems (at least from the stack trace) to have its root cause in a MyFaces/JBoss class loader issue. I was hoping someone on this list might be able to help shed some light on the problem. I'm running JBoss 4.0.3SP1, with the EJB3 final draft upgrade (RC5?)

Re: Using MyFaces with Oracle's JDeveloper

2006-03-23 Thread Jonas Jacobi
Hi Mike, Have been on vacation to Maui :) and I couldn't see any reply to your email. I wrote a HowTo a while back on how to use MyFaces with JDeveloper, but it is a bit outdated. Essentially, to get it to work you add the myfaces libraries to your project BEFOR you start adding JSF pages to

AW: How does JSF associate a session?

2006-03-23 Thread Matthias Kahlau
How did you open a new browser? IE's new window and firefox by default do not start new instance of browsers on most platforms, so memory cookies are kept. If you are on firefox and use the Web Developer Toolbar extension, you can use it to clear all session cookies. I believe (I am pretty

Re: MyFaces Tomahawk

2006-03-23 Thread Dennis Byrne
There are lots of options. They can be serialized and stored in the session, not serialized, serialized and stored in a collection of view states, w/ or w/out encryption, etc. etc. saveState() is always called though. Dennis Byrne -Original Message- From: Adam Winer [mailto:[EMAIL

Re: inputText and null processing

2006-03-23 Thread Mike Kienenberger
Seems unlikely. I recommend posting your actual page code. I use facelets and jetty 5.1.x, and I haven't had these problems. On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote: Thanks, but when I were writing marked one input as required, I meant thу following: h:inputText

The best practice of remembering previous selections when doing paginating?

2006-03-23 Thread Emily Gu
Hi, I have one question for you. For the solution posted on wiki page of large data set t:dataTable, when you select several rows on the first page, then goto thenext page, the selection is gone. It only knows what selected in the current page. I have two questions now: 1. What is the best

Re: inputText and null processing

2006-03-23 Thread Serge Bogatyrjov
I am using maven-jetty-plugin based on jetty6. This plugin is good for development. But this is a snapshot and there are bugs. Some days ago a have written a converter to convert a submitted empty string to null. But today I encountered with nulls in request parameters. Definitely, I do not sure,

Re: inputText and null processing

2006-03-23 Thread Mike Kienenberger
On 3/23/06, Serge Bogatyrjov [EMAIL PROTECTED] wrote: Some days ago a have written a converter to convert a submitted empty string to null. Are you talking about a JSF String Converter? If so, JSF String Converters are not allowed in JSF 1.1. You'll need to wait until JSF 1.2 (It was only

Re: inputText and null processing

2006-03-23 Thread Mike Kienenberger
Well, that is a bit odd. I don't see anything wrong with the code you posted. How are you including your ui:composition in your master page? Things I would try if I were you: 1) Another browser -- the submitted values from your form are generated by your browser -- maybe the one you're using

More than one Facelets portlet causes an exception

2006-03-23 Thread Papaioannou, Todd
I have two portlets that both work when they are loaded into my portal on their own. I can hammer them to my heart's content as long as only one is loaded. When I load the second one and try to click on any link, or do any type of action, the follow exception gets thrown: Caused by:

RE: [ANN] JAVAWUG BOF XVI / Friday 3rd March 2006 @ 19:00 / Oracl e Ci ty of London

2006-03-23 Thread Pilgrim, Peter
PLEASE IGNORE THIS EMAIL MAIL / THREAD I apologise to one and all. __Sorry__. -- Peter Pilgrim Organiser / Founder ( JAVAWUG http://developers.sun.com/jugs/display/europe/gbr/london ) ( ( ( ( ( (

JSP and JSF

2006-03-23 Thread Vladimir Coutinho
How could I call a jsf page from a jsp page passing a property form a backing bean?-- Vladimir M Coutinho

Ajax jsf component panel

2006-03-23 Thread John Slave
Hi, i wish to create an ajax component panel that is simply a panel with particular javascript effect to expand and contract. However i found a solution but i don't know if this is the right solution. I will use dwr servlet to communicate by ajax (as explained in blue prints catalog article)

Re: Ajax jsf component panel

2006-03-23 Thread Mike Kienenberger
You might take a look at the org.apache.myfaces.custom.accordion.HtmlAccordionPanel in the MyFaces Tomahawk sandbox. On 3/23/06, John Slave [EMAIL PROTECTED] wrote: Hi, i wish to create an ajax component panel that is simply a panel with particular javascript effect to expand and contract.

why does t:div render inner html tags or text even if its rendered property is set to false?

2006-03-23 Thread Costa Basil
If I have:t:div id="div1" rendered="false" Blah blah blah h:inputText id="it1" value="text"//t:divit will still render Blah blah ... Isn't the text between the jsf tags buffered or something?Thanks 7 bucks a month. This is Huge Yahoo! Music Unlimited

Re: JSP and JSF

2006-03-23 Thread Hubert Rabago
Take a look at http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls Hubert On 3/23/06, Vladimir Coutinho [EMAIL PROTECTED] wrote: How could I call a jsf page from a jsp page passing a property form a backing bean? -- Vladimir M Coutinho

Re: why does t:div render inner html tags or text even if its rendered property is set to false?

2006-03-23 Thread Hubert Rabago
You have to surround your plain HTML with f:verbatim tags. t:div id=div1 rendered=false f:verbatimBlah blah blah/f:verbatim h:inputText id=it1 value=text/ /t:div Hubert On 3/23/06, Costa Basil [EMAIL PROTECTED] wrote: If I have: t:div id=div1 rendered=false Blah blah blah

Re: why does t:div render inner html tags or text even if its rendered property is set to false?

2006-03-23 Thread Costa Basil
You are right, but in my case I have a lot of html, specifically tables and divs embedding other jsf components. I can't use the verbatim tag because the page doesn't compile. I am thinking of implementing my own tag...Hubert Rabago [EMAIL PROTECTED] wrote: You have to surround your plain HTML

RE: java.lang.NullPointerException during render phase when using ADF and MyFaces Tomahwak components together

2006-03-23 Thread Murray Brandon
Partially solved: The problem is if you define adf core render kit as the default default render kit, some of the tomahawk/myfaces/facelets components have no rendering context (not sure which component, cos the exception helpfully does not tell me), hence the null pointer. application

how are id's generated by JSF

2006-03-23 Thread Dean Hiller
I am debugging tree and popup in JSF ( without logs too :( ). All my posts about tree have went unanswered so far, but this one should be a bit easier and maybe someone will know Anyways, I now see that the id of every popup that is attached to the node of every folder in the

Re: inputText and null processing

2006-03-23 Thread Serge Bogatyrjov
Good day, I am thinking now I can say that this was jetty. That is text from the eclipse Display window (debug perspective). facesContext.getExternalContext().getRequestParameterMap().get(_id4:tit) null (java.lang.String) facesContext.getExternalContext().getRequestParameterMap().keySet()

Re: post method encoding UTF-8

2006-03-23 Thread Arash Bijanzadeh
I suggest using a phaseListener instead of a filter. if you use a filter it will mess up the css files( effects mozilla) the sample phaseListener is in the facelets wikiOn 3/23/06, Alexander Panzhin [EMAIL PROTECTED] wrote: If you're using Facelets the only way is making a filter and adding

selectionOneMany problem

2006-03-23 Thread Anthony Hong
I have two selectionOneMany in page, one for county and the other for city. A valueChangeListener stick with country, after change city will be fetch new value corspand with county. Everything is fine for displaying and change county. But if I update this form after change a county, there is a