spring-webflow
spring-webflow copied to clipboard
Error message for popups when "render" tag has been ommited [SWF-1352]
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:
- empty-popup.JPG (9.19 kB)
Issue Links:
- #507 Strange error when attempting to render an entire view's contents in a popup menu ("duplicates")