On 08/24/2009 05:14 PM, Klaus Kaempf wrote:
* Josef Reidinger <jreidinger@suse.cz> [Aug 24. 2009 16:46]:
I only want that after click on next changes in form is saved even if you don't press Save. (you can try it now in base system branch, where it doesn't save settings from form after press on next)
Wouldn't it be easier to call a module 'as is', just with a special parameter ('wizard') to change the Ok/Cancel buttons into Next/Back ?
Yes, it should be possible...I think that we should have some universal method for button names (I think lslezak create something similar) and in this method rename it.
You're making assumption about how an URL is contructed, this will break with future updates. Better specify by controller/action.
OK...and without action is it OK to fallback to index action?
Prepare for specifying the action but leave out for the current modules.
OK
second field is boolean which indicate if first boot is already done.
I think this was discussed in a thread last week already and is not needed iirc.
I do as we I understand from your mail: quote: "This belongs to the backend as non-privileged information. It can be as simple as touching a file (e.g. below /etc/webyast). As long as the file does not exist, the user is forced into the basic setup workflow after login. If the file exists, the user is redirected to the controlpanel after login. "
It is simple checking of file existency, but this information must be on rest-service side, so in xml is result of File.exist?...I think it is efficient.
Ah, now I understand. I just didn't get the 'link' from your initial explanation. Sorry for the confusion.
OK. So for me, missing only: - tests for frontend - change save and cancel buttons in modules to use more general function that can rename it and solve redirecting after handling form. - change sending string to controller and action if present. -- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast modules language and time -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org