Giter Site home page Giter Site logo

smarttrade-opensource / ponysdk Goto Github PK

View Code? Open in Web Editor NEW
17.0 14.0 47.0 14.54 MB

PonySDK is an open source project and application that uses open source tools built on the Java platform to help you develop Web applications quickly and efficiently

Home Page: www.ponysdk.com

License: Apache License 2.0

Java 97.27% JavaScript 2.49% CSS 0.23%
java websocket html5 javascript jetty

ponysdk's People

Stargazers

 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

ponysdk's Issues

Selected items and selected value lists are not synchronized in PListBox

Example :

final PListBox roleListBox = new PListBox(false, true);
        roleListBox.setVisibleItemCount(5);
for (final TimesheetUserRole role : TimesheetUserRole.values()) {
            roleListBox.addItem(role.getName(), role);
        }
        final String roles = user.getRoles();
        if (roles != null) {
            for (final TimesheetUserRole role : TimesheetUserRole.getTimesheetUserRoles(roles)) {
                roleListBox.setSelectedValue(role);
            }
        }

then, when you call roleListBox.getSelectedItems(), you get en empty list, even if there are selected items.

Make the PListBox a PListBox<T>

So that the hidden values are of type T instead of Object.
For the exceptionnal case where values are completely different and unrelated classes, one can create a PNonTypedListBox extends PListBox

Clean API

At least, remove all deprecated classes

TabGroupPageActivity issue

The current TabGroupPageActivity is a PTabPanel with scrollPanels for each tab.
It should be possible to choose the component representing the body of the page.

Appbuilder

Provide an app builder to get started without effort

Problem with PTreeItem

When using the PTreeItem(final PWidget widget) constructor, the item is empty in the browser (tested using a PHTML as argument)

Event Handler remove feature

If you have a form or a component which is listening an handler
you will get notified as many time as the number of instance

=> implement removeHandler or better when a component is destroyed from the UISession, clean all the listeners

PDateBox missing time

When using a datebox with a date&time format, the picker doesn't allow to select the time.

Also, when selecting the day, the time is send back to the server with a default reset value (12:00:00)

Header cell Renderers StyleName

No style name is applied for Filterable Header Cell renderers for example.
A global check should be done on the header cell renderers...

PPusher fallback

Need to fallback to polling if terminal doesn't support WebSocket.
At least, the websocket availability need to be available server side.

Can't remove a session attribute

It is currently not possible to remove an attribute from ponySessionAttributes

PonySessionAttributes is a concurrentHashMap so it is also forbidden to set a given attribute to null

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.