Skip to content

Provide a TilesView for partial rendering [SPR-8408] #13055

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

Closed
spring-projects-issues opened this issue Jun 6, 2011 · 1 comment
Closed

Provide a TilesView for partial rendering [SPR-8408] #13055

spring-projects-issues opened this issue Jun 6, 2011 · 1 comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jun 6, 2011

Rossen Stoyanchev opened SPR-8408 and commented

Modify the TilesView or provide a variant that can render a Tiles definition with or without its layout. The decision can be based on the presence of a request parameter, a request attribute, or another configurable approach.

Background: when using Tiles it is common for each page to have a layout. When the controller returns a view name, it is interpreted as a Tiles definition name and the page is rendered with its layout. Sometimes however it is helpful to render the same Tiles definition without the layout, for example during an Ajax request.

A few scenarios this simple approach can serve:

  1. Simple page ("body" + layout) - update the main content area with a partial response
  2. Container page (multiple content areas) - update each content area alone or render the entire page
  3. Forms - on error return form content only; on success return form only (Ajax) or redirect

Affects: 3.0.5

Issue Links:

3 votes, 3 watchers

@rstoyanchev
Copy link
Contributor

Closing since Tiles support has been dropped for 6.0 in #27423.

@rstoyanchev rstoyanchev added the status: declined A suggestion or change that we don't feel we should currently apply label Nov 8, 2021
@rstoyanchev rstoyanchev removed this from the General Backlog milestone Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants