-
1. Re: How to refresh the data in Modal Panel?
ilya_shaikovsky Dec 1, 2008 8:25 AM (in response to lemonchik)please checkout current code of richfaces-demo sample from trunk and look through the dataTable samlpe page. There is the sample you need at third tab.
-
2. Re: How to refresh the data in Modal Panel?
lemonchik Dec 1, 2008 8:52 AM (in response to lemonchik)Coud you post the link ? I can't find this sample :(
-
3. Re: How to refresh the data in Modal Panel?
ilya_shaikovsky Dec 1, 2008 9:13 AM (in response to lemonchik)https://anonsvn.jboss.org/repos/richfaces/trunk/samples/richfaces-demo
after running open dataTable page (third tab) -
4. Re: How to refresh the data in Modal Panel?
ilya_shaikovsky Dec 1, 2008 9:14 AM (in response to lemonchik)"Edit Table with ModalPanel" tab
-
5. Re: How to refresh the data in Modal Panel?
lemonchik Dec 1, 2008 9:35 AM (in response to lemonchik)mh, how can I get it run ? i can see source only.
-
6. Re: How to refresh the data in Modal Panel?
ilya_shaikovsky Dec 1, 2008 10:03 AM (in response to lemonchik)all the info about working with our sources and other resources in our wiki.
-
7. Re: How to refresh the data in Modal Panel?
lemonchik Dec 2, 2008 3:39 AM (in response to lemonchik)I cannot find something useful about getting to run of trunk samples. I have deployed the richfaces-demo-3.1.6.GA-jee5.war, but its the same like Live-Demo. Must I replace the sources yet ?
I'm sorry..... -
8. Re: How to refresh the data in Modal Panel?
nbelaevski Dec 2, 2008 10:21 AM (in response to lemonchik)1. Use any IDE capable to import Maven 2 project. Import checked out project
2. Run it -
9. Re: How to refresh the data in Modal Panel?
jdsuboy Mar 24, 2010 11:06 AM (in response to ilya_shaikovsky)I checked out the example, which works great if you have one field that is being validated.
The problem I am running into is I have multiple fields being validated and each of these fields are set to immediate="true". What happens is when one of those fields is valid and the other invalid, then I press cancel, the next time the dialog comes, the data from the valid field remains.
For example,
name: foo
ip address: 1.2.3.abc
OK Cancel
name cannot contain invalid characters (?,<,>,etc) and ip address MUST be a valid IP Address.
name is OK, but IP Address is invalid
I hit OK and get the error message
I hit cancel
The next time I open this modal panel, name will have foo in it and IP address will be blank.
Is there a way to make sure all these fields are "reset" or refreshed with original data.
Thanks!!
-
10. Re: How to refresh the data in Modal Panel?
elf Mar 24, 2010 11:19 AM (in response to jdsuboy)You can try to reset fields manually in bean get method.
-
11. Re: How to refresh the data in Modal Panel?
m.a.g Apr 4, 2010 5:40 AM (in response to jdsuboy)You should reset/refresh UIInput values manually, see https://jira.jboss.org/jira/browse/RF-7136
-
12. Re: How to refresh the data in Modal Panel?
jdsuboy Apr 5, 2010 9:37 AM (in response to m.a.g)thanks Denis!
That looks exactly like the problem I am having.