[
https://issues.apache.org/jira/browse/OFBIZ-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753007#action_12753007
]
nicolas malin commented on OFBIZ-2916:
--------------------------------------
Hi scott,
when I finalize my patch and add information on form widget xsd I show the
recently code in menu widget xsd. After look in menu we need to up
request-confirmation="yes" and confirmation-message="text"
When I create this addon juste add confirm="text" and test if text is not empty
to enable confirmation.
What you prefer ?
- I change confirm by confirmation-message and test just if empty to enable
this action
or
- apply also request-confirmation on form and confirmation-message as menu
I forget, Thanks Scott for your review :)
Nicolas
> Add confirm action before do submit action
> ------------------------------------------
>
> Key: OFBIZ-2916
> URL: https://issues.apache.org/jira/browse/OFBIZ-2916
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: nicolas malin
> Fix For: SVN trunk
>
> Attachments: add-confirm.png, confirm.diff, delete-confirm.png,
> OFBIZ-2916_Add_confirm_action_before_do_submit_action.patch
>
>
> In old thread on dev mailing I explain a process to confirm an action before
> submit for xml form.
> After a big latency, I create the patch.
> On type submit and hyperlink, I added an attribute confirm that take a take
> to display in the confirm box. Exemple :
> <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit
> button-type="button" confirm="${uiLabelMap.CommonConfirm}"/></field>
> I added on example on example component : to test, after apply patch on
> rebuild, go to example component, add example and add example item. When you
> add a new exampleItem OFBiz ask to confirm and when you want delete it, he
> ask also confirmation before delete this element.
> I create two screenshot.
> Nicolas
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.