Hallo!

 

Ein kleines Problem mit formhanlders PreProcessor_LoadDB:

Laut Doku
(http://www.typo3-formhandler.com/documentation/preprocessors/preprocessor-l
oaddb/) gibt es die Möglichkeit ein „limit“ einzufügen. Doch dies greift bei
mir nicht:

2{

     class = Tx_Formhandler_PreProcessor_LoadDB

       config{

          select{

            table = tx_enzhotellist_domain_model_type

            where = COA

            where {

              10 = TEXT

              10.value = uid=

              20 = TEXT

              20{

                data = GP:formhandler|mtype

                sanitize = 1

              }

            }

            limit = 1    

          }

         # add PreProcessed enzhotellist_type-items to markers

         1{

           mtypename.mapping = typename

          }

        }

     }

Die select-Anfrage kann mehrere Datensätze liefern – ich möchte hier nur
einen haben (egal welchen).

Wo ist mein Fehler?

 

Viele Grüße

Johannes

 

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an