t5 beta:
Start.tml:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
    <head>
         <title>tutorial1 Start Page</title>
    </head>
    <body>
    <t:form>
      <input type="text" t:type="textfield" t:id="title"
t:mixins="autocomplete" tokens=",;" size="10"/>
    </t:form>
    </body>
</html>
Start.java:
import java.util.List;

import org.apache.tapestry.annotations.Persist;
import org.apache.tapestry.ioc.internal.util.CollectionFactory;

public class Start {
        @Persist
    private String _title;

    List onProvideCompletionsFromTitle(String partialTitle) throws Exception
    {
       List<String> ls=CollectionFactory.newList();
       ls.add("123");
       ls.add("1234");
       return ls;
    }

    public String getTitle()
    {
        return _title;
    }

    public void setTitle(String title)
    {
        _title = title;
    }

}

but i allways get a  exception page:

Parameter(s) translate, value are required for
org.apache.tapestry.corelib.components.TextField, but have not been bound.
location
<input type="text" t:type="textfield" t:id="title" t:mixins="autocomplete"
tokens=",;" size="10"/>


what's the matter?Hellp me please.
-- 
View this message in context: 
http://www.nabble.com/how-to-use-t5-complete-mixin-tp16737269p16737269.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to