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 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