aliz-ai / dsweb Goto Github PK
View Code? Open in Web Editor NEWDoctusoft web framework
License: GNU General Public License v3.0
Doctusoft web framework
License: GNU General Public License v3.0
Checkbox has withEnabled(...)/bindEnabled(...) methods, but setting it to true does not produces a disabled checkbox.
So that we don't have to copy the same js,css,img folders to each dsweb project and dsweb-servermode widgetset module
having them together confuses users
http://getbootstrap.com/2.3.2/
This method unusable in servermode because of NotSerializableException
Eg, pressing "a" or "ctrl-a" on a page will activate a button.
If the Select has no null value option, it will have the first selectable option as the initial value, but this value is not propagated to the bound target, so it will remain null until the user changes selection.
If I select from the typeahead list it's binding well to the presenter but the input looks like it's empty.
Well, this is actually not about hiding, but declaring if the column should be rendered or not. In some cases the columns to display depends on some context information (role, whatever) on the same view. Now we can only add multiple tables with different columns and display only the one which should be displayed (but in this case, the other tables will be still there in the DOM).
So that the tab switching can be "cancellable".
(This doesn't actually fit well into the programming model)
of course it's possible to make it with CSS, but it would be really nice to support this feature from java code.
Also, AlertModel should not override getAlertType to return a string. AlertType should be a standard observable property.
Please also include a test case for the fix.
That's rarely needed though, but can be really useful sometimes.
The style attribute now is a single string. We can keep it as a string on the BaseComponentModel, but we can have a nice api on the BaseComponent builder side:
button.css("display", "inline");
And also for querying the property
button.css("display")
We can keep an ObservableMap of the specified properties and append the items to the model.style string when the map changes. This should basically allow us also to bind specific CSS properties like
button.bindCss("display", bindOnPresenter().get(Presenter_._buttonDisplay))
See eg. AbstractSelect, if the value options arrive later than the selected value.
AbstractSelect will also break if we insert new values to the options before the selected one (the index will remain the same).
The same holds for DataTable if the datasource value changes and the selection is not updated.
Implement placeHolder property on InputTags
The expected behaviour:
If the Typeahead allows custom test, it's always bound as String, with bindCustomText. This however doesn't affect the selectable options of the typeahead, they can still be of any type. So if the user selects a suggested value, if will be written to the presenter with the propert type. If the user enters a custom text, it will be bound to another presenter property with String type.
Things to test (allowing custom text):
In bpmn create a mail task, save it, then reopen again. RichTextEditor's editor area and buttons do not react.
It should work quite the same as Combobox (AbstractSelect).
This component will not let you customize the layout too much, itt will render the options sequentially.
Or I use it the wrong way, I set bindAutoCompleteOptions only.
1.Let's introduce a new attribute to Textarea, the readonly attribute!
The ability to set/bind the readonly attribute could help in displaying correctly multiline (non-html) string values.
2.Another question related to Textarea:
Textarea class has setRows(...) method instead of the more conventional withRows(...) and bindRows(...) pair.
Is there a specific reason to name it in this way, or could it be adjusted to the conventions?
((3.) standard html input tag has also readonly attribute. Maybe InputText could handle it like Textarea )
When a tab is removed from the tabsheets, the JQuery element should not be remove()-d, only disposed by the renderer. See ChildrenRenderer.
Create individual view-presenter pairs for each compoent showcase page. The left-side menu will be instantiated in each of the views.
Along with this, we should migrate the GWT-based Place and AbstractActivity usage to the stuff we created in dsweb-mvp (as seen in workbasket or dsbpm-ui)
If both the selected value and the select items are bound, we have to be prepared to that the value arrives earlier than the selectable items.
We also have to handle that if the value is null, and there's no selectable null option, that the value is updated to the first select option (as it works in the UI normally), see #7 .
This actually implies that we have to handle the null option specially. We should not allow null values in SelectItems and the Select component should have a dedicated null value option feature (that is usally rendered as "Please select..." or "Filter for all").
I have created a view with two pie charts. I realized that only one pie chart can be visible on one view at the same time.
It's handled in setSelectItems method, but not in bindSelectItems.
http://getbootstrap.com/2.3.2/components.html#buttonDropdowns
eszerint, a szokott rendszerben kivitelezendő.
Link komponenseket lehessen bele felvenni. A Link egyúttal kiegészítendő, hogy ne csak href-je, hanem click actionlistenerje is lehessen (ilyenkor a href-et "javascript:;" -re kell állítani)
How to invoke in bpmn:
In InputTagsRenderer items are added, then the first one is removed, initiated from the widget.change listener.
Input* komponensekben jó lenne ha állítható lenne.
In many cases make sense to add CSS classes to table TRs and/or TDs - especially if the style class should be determined by the contained data (example: in a todo list highlight the rows which have high priority)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.