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

Make @select work with no document #53

Open
xatapult opened this issue Jun 19, 2024 · 1 comment
Open

Make @select work with no document #53

xatapult opened this issue Jun 19, 2024 · 1 comment

Comments

@xatapult
Copy link
Contributor

Sometimes you want to work with a sequence on a source port, regardless of whether there's actually a document coming in on it.

For instance, I just want to loop 10 times:

<p:for-each>
  <p:with-input select="1 to 10"/>
  ...
</p:for-each>

When in the example above the DRP of the for-each is empty, nothing will happen.

I would advocate for a change that makes this possible, regardless of whether there is something on the port.

@xatapult
Copy link
Contributor Author

See #50 for a discussion about this.

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

No branches or pull requests

1 participant