TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/17Franco/CulturarteWeb/llms.txt
Use this file to discover all available pages before exploring further.
/CancelarPropuestas servlet retrieves the list of proposals owned by a specific Proponente that are eligible for cancellation and forwards them to CancelarPropuesta.jsp for display. From that page the user can navigate to the proposal detail view where the actual cancellation action is executed via POST /DetallesDePropuesta with accion=CANCELAR.
GET /CancelarPropuestas
Request parameters
The nickname of the Proponente whose proposals should be listed. Passed through to the SOAP call
controllerPort.getPropuestasCreadasPorProponente(nick) and also forwarded to the JSP as the nick request attribute.The user type string (e.g.
"Proponente"). Forwarded as-is to the JSP as the tipo request attribute, which CancelarPropuesta.jsp uses to render the profile navigation component.Processing logic
- Calls
controllerPort.getPropuestasCreadasPorProponente(nick)to retrieve all proposals created by that user. - Filters the list to keep only proposals whose
estadoActisFINANCIADA— these are the proposals that qualify for cancellation in the current business rules. - Sets the following request attributes and forwards to
/CancelarPropuesta.jsp:
| Attribute | Type | Value |
|---|---|---|
propuestasACancelar | List<DtoPropuesta> | Filtered list of FINANCIADA proposals |
nick | String | Proponent nickname from the query parameter |
tipo | String | User type from the query parameter |
pagina | String | Fixed value "Cancelar" (used by the nav component) |
nick is an empty string the servlet skips all processing and returns without forwarding.
JSP behaviour
CancelarPropuesta.jsp shows a card for each eligible proposal with its title, category, current state, and publication date. Each card links to GET /DetallesDePropuesta?id=<titulo>, where the Proponente can trigger the cancellation using the Cancelar Propuesta button rendered when permisos == 1 and estadoAct == FINANCIADA.
The actual state change to
CANCELADA is performed by POST /DetallesDePropuesta (with accion=CANCELAR), not by this servlet. /CancelarPropuestas is a read-only listing page — it does not modify any data.Example
CancelarPropuesta.jsp. If the user has no FINANCIADA proposals, the JSP displays the warning: “No se encontraron propuestas para cancelar.”