Still getting the same error? Can you post the code you're using so we  
can see what's going on? It looks like it should work, with the quotes.

To confirm, the Appointment class is located in a  
your.package.snippet, and there's LiftRules.addToPackages 
("your.package") in Boot.scala? Do you get any errors about locating  
the snippet on the jetty log?

-Ross

On Nov 18, 2009, at 3:02 AM, mr najmi wrote:

> sory..it works..thank you very much..
>
> On Nov 18, 12:57 pm, Ross Mellgren <[email protected]> wrote:
>> You forgot to quote "branches" before -> in your bind. That is,
>>
>>>    bind("e",xhtml,
>>>         branches -> SHtml.text(branches,branches=_)
>>
>>>    )
>>
>> Should be:
>>
>>>    bind("e",xhtml,
>>>         "branches" -> SHtml.text(branches,branches=_)
>>
>>>    )
>>
>> As it is, the only tag that would be accepted would be "" (the  
>> empty string)
>>
>> -Ross
>>
>> On Nov 17, 2009, at 11:46 PM, mr najmi wrote:
>>
>>> hai,
>>
>>> i have a problem in liftweb that is XML Parsing Error: prefix not
>>> bound to a namespace..
>>> <p>Branch : <e:branches></e:branches></p>
>>> ------------------------^
>>> here is the code
>>
>>> <lift:Appointment.search form="post">
>>>        <fieldset>
>>>            <legend></legend>
>>>            <p>Branch : <e:branches/></p>
>>
>>>            <button>Search</button>
>>>        </fieldset>
>>>    </lift:Appointment.search>
>>
>>> class Appointment {
>>
>>>    def search(xhtml:NodeSeq):NodeSeq={
>>>        var branches = ""
>>
>>>    bind("e",xhtml,
>>>         branches -> SHtml.text(branches,branches=_)
>>
>>>    )
>>>    }
>>> }
>>
>>> i have try all the sugested solution but fail to solve this  
>>> problem..i
>>> really2 need help.
>>
>>> --
>>
>>> You received this message because you are subscribed to the Google  
>>> Groups "Lift" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected] 
>>> .
>>> For more options, visit this group 
>>> athttp://groups.google.com/group/liftweb?hl= 
>>> .
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected] 
> .
> For more options, visit this group at 
> http://groups.google.com/group/liftweb?hl= 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=.


Reply via email to