You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/05/21 23:25:42 UTC

[jira] [Updated] (OFBIZ-3913) Automated action triggered by event

     [ https://issues.apache.org/jira/browse/OFBIZ-3913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-3913:
-----------------------------------

    Attachment: OFBIZ-3913.patch

Hi Nicolas,

Could you please review this last patch.

You used an old version of OutputServices.java so I put my hand in it  to reuse the original/current sendPrintFromScreen() method (that I just reformatted a bit)

I also added another 
<!-- Default printer with default action -->
not sure we should keep it (could be useful for Windows user who use PDFCreator, like me)

Apart that, I crossed some issues with duplicated labels, my fault I think.

I'm not quite sure how we could present that in another way you did (in Example). Maybe to make it a bit more visible we could add an help file with explanation?

I'd also appreciate other opinions (than Nicolas and I)

Good job!
                
> Automated action triggered by event
> -----------------------------------
>
>                 Key: OFBIZ-3913
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3913
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Nicolas Malin
>            Assignee: Jacques Le Roux
>         Attachments: ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.patch, ExternalDevice.png, OFBIZ-3913.ogv, OFBIZ-3913.patch, OFBIZ-3913.patch, OFBIZ-3913.patch, OFBIZ-3913.patch, PDFCreator.png, What I did with PDFCreator.jpg
>
>
> Following a thread on the dev list, related to a printer automated selection, by an user and an event, here is a first draft.
> I added a new entity, ExternalDevice, which list all devices OFBiz can reach (and the associated command). This entity is related to an ExternalDeviceType and each record has a status, so we know if the device is available, out of order, in maintenance, waiting, etc...
> Then I added another entity, ExternalDeviceUserAction, which defines a device for an user, and/or an action through Enumeration. Finally, I added a service which find the commnand to execute based on an action and/or an user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira