Embedding: support multiple forms per page #1854

Open
ebruchez opened this Issue Aug 7, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@ebruchez
Collaborator

ebruchez commented Aug 7, 2014

This doesn't work fully yet. Examples:

  • xformsPageLoadedServer is a single global variable
  • repeated grid and section menus don't work

See #1808.

@ebruchez ebruchez added this to the Review milestone Aug 7, 2014

@ebruchez ebruchez added RFE labels Aug 7, 2014

@ebruchez

This comment has been minimized.

Show comment
Hide comment
@ebruchez

ebruchez Aug 7, 2014

Collaborator

The embedding API now only namespace resources it knows require URL rewriting:

  • CSS
  • /xforms-server Ajax responses

JS files, in particular, are not namespaces. There can be two or more references to a JS file such as:

/orbeon/o/xforms-server/4.x.y.z/orbeon-076541a93fd0f3847fdd9f9aa40b6949c1b3d8ef.js

However, the proxy portlet should ensure there is only a single reference, if possible at all, for performance reasons.

Collaborator

ebruchez commented Aug 7, 2014

The embedding API now only namespace resources it knows require URL rewriting:

  • CSS
  • /xforms-server Ajax responses

JS files, in particular, are not namespaces. There can be two or more references to a JS file such as:

/orbeon/o/xforms-server/4.x.y.z/orbeon-076541a93fd0f3847fdd9f9aa40b6949c1b3d8ef.js

However, the proxy portlet should ensure there is only a single reference, if possible at all, for performance reasons.

@ebruchez ebruchez added the Embedding label Aug 7, 2014

@avernet avernet removed this from the Review milestone Oct 17, 2014

@ebruchez ebruchez removed this from the Review milestone Oct 17, 2014

@avernet

This comment has been minimized.

Show comment
Hide comment
Collaborator

avernet commented Mar 7, 2018

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