YaST/Web/Development/Client
From openSUSE
< YaST | Web | Development
[edit]
Creating YaST web browser client module
This page is about creating new client modules, see installation from source about installing existing client modules from the source code repository.
See our API page in order to get an overview about the REST interface.
[edit]
Acceptance criteria
Before committing a new client module to the GIT master branch, it must pass the acceptance criteria.
[edit]
Module which act in base system sequence
Module in view use form helper for submit button and back button.
instead:
<%= submit_tag _("Update"), :onclick=>"Element.show('progress')" -%>
<%= link_to _("Back"), '/'%>
use:
<%= form_send_buttons :onclick=>"Element.show('progress')" %>
and instead constant redirect after update use helper:
instead:
redirect_to :action=>"index"
use:
redirect_success

