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

DataSource ready delegate / PoolParam #2

Closed
jonmifsud opened this issue Jun 2, 2012 · 4 comments
Closed

DataSource ready delegate / PoolParam #2

jonmifsud opened this issue Jun 2, 2012 · 4 comments

Comments

@jonmifsud
Copy link
Member

I'd have a small feature request; sometimes I'd like to output parameters from a remote datasource. I fully understand that outputting the right parameter might involve a lot of xPath computations etc. But it would be an interesting feature.

Anyway at the least would be interesting if we could have a delegate to plug into - and then let the extension developers worry about how to 'grab' the right output parameters for their need(s).

Not expecting anything immediate but would be interesting to have a healthy discussion this way one avoids 'custom' datasources where possible so when upgrading one does not risk incompatibility.

@brendo
Copy link
Member

brendo commented Jun 3, 2012

There is a DataSourcePostExecute that is new in 2.3 that will allow you to do this.

@jonmifsud
Copy link
Member Author

Oh.. must have missed this! Started working before the official docs were out.

However would PoolParam output through xPath make sense to implement or possibly too complex?

@brendo
Copy link
Member

brendo commented Jun 4, 2012

It's an interesting concept and it'd be exciting to see what extensions can do to implement it. I don't think it'd be overly complex, a duplicator like the one in Global Parameter Loader is one type of interface that would allow an arbitrary amount of parameters to be created

@nilshoerrmann
Copy link
Contributor

Closing this issue because extensions can already use the existing delegate.

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

3 participants