[TYPO3-german] formhandler PreProcessor limit
    Johannes C. Schulz - EnzephaloN IT-Solutions 
    info at enzephalon.de
       
    Fri Dec 23 09:39:47 CET 2011
    
    
  
Ahhh. Gerade bemerkte ich einen Denkfehler. Ich brauche nicht nur ein LIMIT,
sondern ein ODER  uid IN GP:formhanlder|mtype LIMIT 1.
 
Geht sowas? Ich konnte bisher nichts dazu finden.
 
Von: Johannes C. Schulz - EnzephaloN IT-Solutions
[mailto:info at enzephalon.de] 
Gesendet: Freitag, 23. Dezember 2011 09:24
An: typo3-german at lists.typo3.org
Betreff: formhandler PreProcessor limit
 
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
 
    
    
More information about the TYPO3-german
mailing list