Code Monkey home page Code Monkey logo

simplescreens's Introduction

Simple Screens

license build release commits since release

Discourse Forum Google Group LinkedIn Group Stack Overflow

A library of simple screens and screen components (forms, sections, transitions) to be included, extended, or generally reused in applications based on Moqui Framework and Mantle Business Artifacts

To install simply put the SimpleScreens directory in the moqui/runtime/component or component-lib directory. To make sure SimpleScreens loads before your component add a dependency in your component's component.xml file like:

<depends-on name="SimpleScreens"/>

Note that this component requires Mantle UDM and USL (mantle-udm, mantle-usl) to be in place and has component dependencies on them.

simplescreens's People

Contributors

acetousk avatar amiranjom avatar chunlinyao avatar danieltaylor-nz avatar deepak-noi avatar hansbak avatar hellozhangwei avatar jenshp avatar jmcdl avatar jonesde avatar jwager-sbrx avatar mphaney avatar nirendra10695 avatar oandreyev avatar pandor4u avatar rawal26 avatar samhamilton avatar sbessire avatar shahbaz-noi avatar smlovin2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplescreens's Issues

Error in reusable transition getPartyList on H2 databse

Caused by: org.moqui.entity.EntityException: SQL Exception with statement:
SELECT DISTINCT PTY.PARTY_ID, PTY.PSEUDO_ID, ORG.ORGANIZATION_NAME, PER.FIRST_NAME, PER.LAST_NAME FROM (PARTY PTY LEFT OUTER JOIN PERSON PER ON PTY.PARTY_ID = PER.PARTY_ID LEFT OUTER JOIN ORGANIZATION ORG ON PTY.PARTY_ID = ORG.PARTY_ID) WHERE ((PTY.DISABLED = ? OR PTY.DISABLED IS NULL) AND (UPPER(PTY.PARTY_ID) LIKE ? OR UPPER(PTY.PSEUDO_ID) LIKE ? OR UPPER(PER.FIRST_NAME) LIKE ? OR UPPER(PER.LAST_NAME) LIKE ? OR UPPER(ORG.ORGANIZATION_NAME) LIKE ?)) ORDER BY UPPER(PER.FIRST_NAME) ASC, UPPER(PER.LAST_NAME) ASC, UPPER(ORG.ORGANIZATION_NAME) ASC OFFSET 0 ROWS FETCH FIRST 20 ROWS ONLY;
org.h2.jdbc.JdbcSQLException: Order by expression "UPPER(PER.FIRST_NAME)" must be in the result list in this case; SQL statement:

Possible solution:
remove ^ from order-by

`getProductList` transition duplicates items while searching for exact product id

Steps to Reproduce

  1. Go to https://demo.moqui.org/qapps/PopcAdmin/Asset/Asset/FindAsset
  2. Click Find Options button
  3. In Product combo-box enter DEMO_1_1

Results

The product with ID DEMO_1_1 is listed twice as is shown in the following screenshot.

image

Causes

My suspicion is that the getProductList transition adds one instance of the DEMO_1_1 product while looking up by id in line below

https://github.com/moqui/SimpleScreens/blob/master/template/product/ProductTransitions.xml#L38

and then when searching through ElasticSearch another instance is added in the loop below

https://github.com/moqui/SimpleScreens/blob/master/template/product/ProductTransitions.xml#L106

Error: Could not find subscreen or transition or file/content [invoiceOrderPart]

Completed error message:
[Error: Could not find subscreen or transition or file/content [invoiceOrderPart] under screen [component://SimpleScreens/screen/SimpleScreens/Order/OrderDetail.xml] while finding url for path [apps, PopcAdmin, Order, OrderDetail, invoiceOrderPart] under from screen [component://SimpleScreens/screen/SimpleScreens/Order/OrderDetail.xml]]

Missing FindOptionsForm in FindCustomer and FindSupplier screen

In recent commits, FindOptionsForm has been removed in screen/SimpleScreens/Party/FindParty.xml, but it's still used in screens SimpleScreens/Customer/FindCustomer.xml and SimpleScreens/Supplier/FindSupplier.xml.

These screens should be fixed in accordingly.

menu-image is dependant on HiveMind

Hey David,

I am sure you know but the menu-image in Accounting.xml, User.xml and Vendor.xml points to /hmstatic/images/ which might not always be included and so could cause problems.

Thanks
Sam

require.js can not match the redefined define() function

When I just simply include require.js in the Header.html.ftl and do nothing ,there are some js errors in the browser console.And I found that in the MyAccountNav.js and ActiveOrgNav.js code,there is a define() which is redefined in the WebrootVue.js.
If I use require.js ,the definition of define() comes from require, and the implementation of moqui.loadComponent is not well match the require.js.
I change the window.define to moqui.define ,it seems work well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.