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

Extend example to show invoking endpoint on backend and returning data #2

Open
richiethom opened this issue May 14, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@richiethom
Copy link

Thanks for the example, it's very interesting!

It'd be very good to be able to see the RWT application invoking an endpoint on the Spring Boot application, eg press a button to return a hard-coded list of results.

If you'd like me to do this let me know but I'd probably need a few pointers first!

@bwolff
Copy link
Owner

bwolff commented Jan 9, 2023

Hi @richiethom,

sorry for the late reply.

Since the RWT Java-code is running completely server-side, there is no real magic involved in returning a hard-coded list of results. Not sure but what you probably refer to is to invoke a Spring service or bean that is injected in the view object? Adding some IoC dependency injection examples is already proposed in #1. So these issues can probably be merged.

Cheers,
Ben

@bwolff bwolff added the enhancement New feature or request label Jan 9, 2023
@bwolff bwolff self-assigned this Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants