Call Wisej custom control from another framework

Answered
0
0

Hello.

User control created with Wisej
Other frameworks (React, Angular, Vue, etc.)
Incorporate as a WebApi custom control into
Is it possible?

 

  • You must to post comments
Best Answer
0
1

It is technically possible but not advisable since Wisej is at the application level while angular and react are just templating frameworks that only work on the client side. Wisej controls are server side .NET controls wired bi-directionally with their javascript widgets counterpart, with session management, theming, etc. etc.

Angular and react and the rest mix javascript into html (Angular) or html into javascript (React), apply a model to the template and render html on the client. I don’t think they mix well with each other either (it’s possible too, but I don’t see the point). However, since they don’t include real controls, the best widget libraries to use for angular and react are probably Syncfusion or DevExtreme (the JavaScript one since Angular and React cannot use the DevExpress ASP.NET controls), there are also many javascript free libraries you can use.

If you want to include a Wisej button in a <div> you can do it using am inline host widget (http://qooxdoo.org/qxl.apiviewer/#qx.application.Inline). But it can get complicate to manage the updates and overcome the dom rewrites from the templating frameworks. Since without the Wisej communication and theming infrastructure at the end it’s just a <div> plus some css, it’s much easier to just use html + css.

 

  • You must to post comments
0
0

Luca (ITG)
Thank you.

Not recommended
understood.

  • You must to post comments
0
0

There was an error in the question.
It was a Web Widget, not a Web Api.
Because it wasn’t the answer I intended
Chew again and ask a question.
For example, Wisej’s own button control
Create and other frameworks
(React, Angular, Vue, etc.) html
Create a library that can be embedded in <div>
It is possible, but please let me know.

  • You must to post comments
0
0

You can include it in an iframe.

Usually a WebApis cannot be controls since it’s a URL call.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.