Issue Story Closed

#100955Fluid form submitted successful... but i see the "old" data.

C. Gogolin 06/04/23, 08:56 updated 08/01/24, 16:05

Description

Hello professionals,

I have a question of understanding and maybe this will result in an extension/modification.
In my extension a form is successfully submitted. After that I make a forward to the show action. So I can delegate the validationResults and other control commands (switch to the right tab) to the show action. So far so good. BUT: in the form the content of the “submitted Object” is still displayed.

I use the ViewHelper <f:form> in combination with the object attribute.

In the controller I reset the object after the successful submit:

$this->view->assign('myObject', new MyEntityObject());

When I write the template #{myObject.xyz}# I get ##. <- From this I conclude that everything is empty.

But in the textfield <f:textfield property="xyz"> it says “the old value”?

How do I get <f:form> to display the empty object? Am I doing something wrong? Is there another secret switch? Or is this a bug? Or is there something missing in the doc?

Thanks for reading and for helpful hints.
Clemens

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.