Skip to content

Wisej form into generic HTML container #1065

Closed

Description

@itg-assistant

Mark asked 2017-08-30 12:20:17 UTC

Can I set a html container of a form (without asbsolute positions)?

for example, default.html, I would like the form to be contained in **WISEJCONTAINER **div.

<script src="wisej.wx"></script> ...
CUSTOM DIV1
CUSTOM DIV2
**
CUSTOM DIV3
**

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-08-30 22:28:20 UTC

    It was possible in early builds. We had a system of tags, like

    to let non wisej apps pull in any wisej control or container inside an element but dropped it because it wasn't complete and we thought it would give the wrong impression that wisej is a control library that can be pulled in other javascript-only system.

    Another problem is that the core javascript library (qooxdoo) always creates a "root" element that acts as a surface for everything else, so html elements in Default.html are covered by the root element and cannot receive pointer input. One change we are looking at is to use the body as the root.

    For elements created by a Wisej form it is possible since we have an inline root, which used for the datagrid cells when they pull in a control.

    So, technically yes it is possible but the current implementation would make unusable because of the fact that if it's below the "root" element in the z-order of the browser it cannot receive pointer events. Have logged as a new feature: WJ-8416.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions