Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fr:is-embedded() to take an optional parameter #5390

Closed
ebruchez opened this issue Jul 28, 2022 · 1 comment
Closed

fr:is-embedded() to take an optional parameter #5390

ebruchez opened this issue Jul 28, 2022 · 1 comment
Assignees

Comments

@ebruchez
Copy link
Collaborator

This is mainly for #5323.

  • we can easily detect portlet
  • the Java embedding API currently passes embedded as Orbeon-Client header value, but we can change that to java-api
  • for "offline", we can pass app, or another token of our choice, or simply use fr:is-browser-environment()
  • we can't easily detect the JavaScript embedding API yet but we need to find a solution eventually
@ebruchez
Copy link
Collaborator Author

Documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant