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

upload control #109

Open
JoernT opened this issue Feb 28, 2022 · 2 comments
Open

upload control #109

JoernT opened this issue Feb 28, 2022 · 2 comments

Comments

@JoernT
Copy link
Contributor

JoernT commented Feb 28, 2022

implementation and demo still missing

@JoernT
Copy link
Contributor Author

JoernT commented May 3, 2022

created demo/upload.html as a starter.

? Maybe created separate fx-upload component instead of using fx-control

@JoernT JoernT moved this to Todo in Fore Planning May 3, 2022
@JoernT
Copy link
Contributor Author

JoernT commented May 3, 2022

For 1.0.0 it would be sufficient to handle it via XML as host.

The content will be base64-encoded and become the value of the referenced node. The filename needs a place also. Still open if to

<fx-control ref="content">
    <label>upload</label>
    <input type="file" name="filename">
</fx-control>

possible but maybe not too clear.

Maybe better and more extensible:

<fx-upload filename="xpath ref"  content="xpath ref">
    <label>upload</label>
</fx-upload>

An optional 'url' could provide ajax submit to an endpoint

<fx-upload filename="..." url="http....">

@JoernT JoernT moved this from Todo to In Progress in Fore Planning Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant