Bug #3985

f:form.textbox is not usable anymore without wrapping an f:form element

Added by Steffen Ritter almost 13 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
ViewHelpers
Target version:
-
Start date:
2009-07-27
Due date:
% Done:

100%

Estimated time:
Has patch:

Description

Hi,
you have been able to use ViewHelper form.textbox as standalone to create an input field.
Since some time (cannot say revision) this is not possible anymore. The ViewHelper tries to access something of the parent Object (formName).

If there is no form wrapped a Fatal error will be raised.

#1

Updated by Jochen Rau almost 13 years ago

  • Status changed from New to Needs Feedback

@Bastian: Could you please check, if this is a Bug or a missing feature ;-)

#2

Updated by Bastian Waidelich over 12 years ago

  • Project changed from 534 to TYPO3.Fluid
  • Category deleted (432)
#3

Updated by Bastian Waidelich over 12 years ago

  • Category set to ViewHelpers
  • Assignee set to Bastian Waidelich
  • Branch set to v4 + v5

First: why would you want to place a fluid textbox outside of a form?

#4

Updated by Steffen Ritter over 12 years ago

Bastian Waidelich wrote:

First: why would you want to place a fluid textbox outside of a form?

Since for ajax Requests a wrapped form is not needed. XHTML does not ask for it either.
Imagine you have a select box/radiobutton which is used by JS to change some layout on webbpage etc.
In my case I just use it as a search box which triggers extJS AJAX Filter...
For sure i Could hardocde this one... but why should I, if there is a viewhelper which takes care of a correct field just giving the name.

regards

Steffen

#5

Updated by Bastian Waidelich over 12 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3336.

Also available in: Atom PDF