spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

Error message for popups when "render" tag has been ommited [SWF-1352]

Open spring-operator opened this issue 15 years ago • 1 comments

Michael Isvy opened SWF-1352 and commented

When using popups with Spring Faces, it happened that I forgot the "render" tag.

Instead of writing this:

<view-state id="reviewBooking" popup="true" view="reviewBooking.xhtml"> <on-entry> <render fragments="bookingDetails" /> </on-entry> <transition on="confirm" to="bookingConfirmed" /> </view-state>

I had written this: <view-state id="reviewBooking" popup="true" view="reviewBooking.xhtml"> <transition on="confirm" to="bookingConfirmed" /> </view-state>

In that case, all I've got is an empty popup with no specific error message (see attached screenshot). It would provide a more friendly user experience if there was a specific user message or an exception stack trace instead. I am sure a significant number of people have run into that issue before :).


Attachments:

Issue Links:

  • #507 Strange error when attempting to render an entire view's contents in a popup menu ("duplicates")

spring-operator avatar May 02 '09 18:05 spring-operator

Rossen Stoyanchev commented

This appears to be a duplicate of #507

spring-operator avatar Aug 27 '10 03:08 spring-operator