Thanks Lukasz.
This issue has been logged as WJ-7244. It´s fixed and included in the latest release.
What about the authentication and authorization keys in <system.web>? Are they useless?
A common issue for all Single Page Application (SPA) frameworks is the lack of URLs that can define a specific state: i.e. http://localhost/myapp?customer_id=34 should be able to tell the application to load and show the customer with id 35. Since SPAs have only one URL, they cannot handle dynamic states using the URL.
Wisej includes full support for deep linking using the hash value in the URL, both on the client and the server side (i.e. http://localhost#id=34). The hash string can contain anything, from a complex object in base64 to a simple reference to an internal structure, or just a list of arguments. The application running on the server can change the hash on the client at any time, and handle changes to the has when the user enters the URL or uses the back and forward navigation buttons in the browser.
DataGridView with a BindingSource works now.
Hi Tiago,
What to show is up to the browser. We can only set the accept property. This is the spec
http://www.w3schools.com/tags/att_input_accept.asp
“file_extension|audio/*|video/*|image/*|media_type”
Now Wisej sets the correct attribute, but we commented out a line in the js library to also filter the accept property when dragging, it will be re-enabled using the correct syntax. We were using regex before.
HTH
Best,
Luca
It’s listed as solved. I can confirm that
upload1.AllowedFileTypes = “.xlsx”;
only shows “Microsoft Excel Worksheet” files.
On the other hand, “.xls” shows “Microsoft Excel 97-2003 Worksheet”.
The interesting bit is that “.xlsx,.txt” filters Excel and text files under Chrome, Firefox and Internet Explorer.
Edge doesn’t pre-select any filter as you can see in the attached file (well you can’t see because I can’t attach a file)
Here is the second answer.
Wisej can use ASP.NET/MVC pages using the AspPanel. The ASP.NET/MVC code behind or code in the page once loaded by the AspPanel can use any component in the Wisej session.
The other way around is also possible by using the WisejPanel in ASP.NET/MVC, which is not available yet. The reason is that originally we developed a set of markup properties like this <div data-wisej=”MyApp.CoolPage”/> and Wisej would instantiate that specific control or form and put it inside the div. We removed this since it was a basically a completely different approach to developing the app and inconsistent with the core architecture. It was basically trying to be too many things at once…
The best and easier approach is a simple ASP.NET/MVC control WisejPanel. This panel can include any Wisej individual control or entire form inside a div in the ASP.NET/MVC page. It uses qooxdoo’s inline root. In Wisej the root is the base container. When you run a wisej app there is a main root div in the body tag that includes all widgets, that’s the application root. In addition to this qooxdoo supports inline roots, which are light multiple containers that can be placed inside other divs.
HTH
Best,
Luca
The latest build includes the following fixes and additions:
| Item | Type | Priority | Severity | Title | Resolution |
| WJ-7238 | Bug | Medium | Major | Modal state fails to update the client when working on http. | Complete |
| WJ-7239 | Bug | Low | Minor | Upload control doesn’t restrict the file type in the file open dialog. | Complete |
| WJ-7240 | Enhancement | Low | Minor | Add templates and wizatd for inherited items. | Complete |
| WJ-7241 | Enhancement | Low | Trivial | Add templates for VB.NET. | Complete |
| WJ-7244 | Bug | Low | Minor | The Desktop control doesn’t perform the layout on its children. | Complete |
| WJ-7246 | Task | Medium | Major | Implement automatic columns for data bound grids. | Complete |
| WJ-7247 | Task | Medium | Minor | Add bound columns to the data grid column design editor. | Complete |
That’s because we install the templates in the user’s location: [User Documents]\Visual Studio 2013\Templates\*
It’s a lot easier and faster for now. The downside is that user templates need to be trusted the first time they are used.
We may move the templates to the system location for the release, but that requires the installer to run “devenv /installvstemplates” which is very slow since it re-caches all the templates in your system and the installer must find the location of devenv.exe.
Best,
Luca
They will both be ready by the release date. The ListView will come before the ribbon bar. The ListView will be a built-in core component while the ribbon will be available with source code as an additional control to let developers adapt it to their needs since it’s a big composite control.
HTH
Best,
Luca
We use the ListView and RibbonBar as an important component of our product. We couldn’t really start a migration from VWG until those were ready.
With wisej the application configuration settings are in the json file. A web application (the project in VS) can host multiple wisej applications and each app can be configured separately without the need to create an additional application in IIS. It’s a lot simpler.
By default, when you use the new app template, you get Default.html and Default.json. That is the default app that launches when you browse to http://localhost (in dev mode) or http://my-server.com/
If you select Add->New Item -> Wisej -> Application you can create an additional app sharing the same code (not the session). Or you can create by hand, for example: Admin.html and Admin.json in the same project. Now you can browse to http://localhost/admin.html (or http://localhost/admin of the url property in Admin.json is set. This way the same project can expose different aspects to users.
In Default.json or {new app name}.json you can define different entry points. See the startup or mainwindow properties. So in your project now you can have Program.cs (for the main) and/or Admin.cs, or any additional entry point. Documentation is coming… 🙂
To answer your question: in Default.json, see the “sessionTimeout” property. It’s in seconds.
Wisej will calculate the keep alive time out from the session timeout and will fire the appropriate events depending on that value. This way the app can detect if a user is inactive, of the client was turned off, etc.
HTH
Best,
Luca
I attached the sample project into original post.
Best regards
Łukasz Struzik
Software designer-developer
COIG SA
Hi Tiago,
this issue has been fixed in the latest beta(s).
Best regards
Frank
Thanks Tiago,
we have logged WJ-7239 for that issue.
We will post an answer when it is fixed.
Best regards
Frank
Hi Alex,
we can’t reproduce. Did you see the comments we posted earlier?
Hi Marco,
Pinching and zooming is still a bit of a problem and so it tap and drag. Taps, double tabs, scrolling, swiping should all be translated ok.
In general, Wisej Web supports both a desktop-designed app on mobile devices and quite complex responsive design , there are many features related to this. We will publish samples soon and will have a detailed section in the docs. For a well behaved mobile-friendly app I’d set the viewport size in the html file and use the flow layout, table layout, and anchoring/docking to adapt the controls and avoid/minimize zooming. You can also handle the Application.ResponsiveProfileChanged event to adapt the page.
I have attached the source of the profile definition currently built-in Wisej. You can override and add your own profile definitions by placing this file in the application at the root. See instructions at the top of the file. When wisej detects a change in the profile it fires the ResponsiveProfileChanged event. We also support profiles in the designer, but they are disabled for now.
http://s3.amazonaws.com/wisej/downloads/Examples/ClientProfiles.json
However, a responsive app, or a mobile friendly app are very different from mobile apps. For that we will have Wisej.Mobile, after the release of Wisej.Web. Wisej.Mobile will have a different set of controls specific for mobile apps: page decks, drawers, switches, lists, etc. It’s basically a native-looking-behaving set of components.
HTH
Best,
Luca
Thank you. The issue was probably caused by the mixin template. We’ll check and fix.
There is a short overview document about the theme system including mixins here: https://wisej.com/themes/
In general, a theme mixin uses the same concept of javascript mixins. That is basically a partial theme merged on top of the base theme. For example, if you want to modify only the appearance of buttons, or if you want to theme a specific button in your application, or if you want to theme a control of any kind in your application, or if you create a new control: with mixins you don’t have to modify the base theme, you can create a small theme file that styles only that specific control. Wisej applies all the mixins in alphabetical order on top (it’s an override merge) of the base theme.
A mixin definition can also inherit from the base theme and extend or override.
Add this file under \Themes with the name “my-button.mixin.theme” and paste in the JSON below including the curly brackets.
{
“name”: “my-button”,
“colors”: {
“activeCaption”: “red”
},
“appearances”: {
“button”: {
“inherit”: “button”,
“states”: {
“default”: {
“styles”: {
“backgroundColor”: “orange”
}
}
}
}
}
}
Hi,
I saw this issue with the older beta version, before the current (80). Unfortunately I have deleted the problematic project and haven’t tried to reproduce it either. I saw the comment about mixins, I had indeed add a “theme mixin” (what is a mixin anyway, I don’t have a clue!).
Alex
Hi Lukasz,
we can’t reproduce. The behavior we see seems to be correct. When Anchor = none the control keeps the same proportional distance, as defined in the msdn specs.
can you please verify again and/or send the test you are using and what is the expected behavior?
Best,
Luca
