Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Lift autocomplete's widget
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Roch Delsalle  
View profile  
 More options Oct 25 2012, 6:23 am
From: Roch Delsalle <rdelsa...@gmail.com>
Date: Thu, 25 Oct 2012 12:23:06 +0200
Local: Thurs, Oct 25 2012 6:23 am
Subject: Lift autocomplete's widget

Hi,

I'm using Lift's autocomplete widget a lot in some parts of my website,
I would like to know if there is any way I can get rid of the <span> thats appearing around my input text :

<span class="product" size="16" type="text">
        <link type="text/css" rel="stylesheet" href="/classpath/autocomplete/jquery.autocomplete.css">
        <input type="text" value="" id="F4641319815512IPJBJ" autocomplete="off" class="ac_input">
        <input name="F4641319815525IP1WI" type="hidden" value="" id="F4641319815525IP1WI">
</span>

I'm adding the AutoComplete to ".product" using a CssSel (I don't have this issue when I call the autocomplete directly into the template but I have to pass parameters this time),

Thanks for your help,

Roch


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
andr...@officenet.no  
View profile  
 More options Oct 25 2012, 7:46 am
From: andr...@officenet.no
Date: Thu, 25 Oct 2012 13:45:36 +0200 (CEST)
Local: Thurs, Oct 25 2012 7:45 am
Subject: Sv: [Lift] Lift autocomplete's widget

På torsdag 25. oktober 2012 kl. 12:23:06, skrev Roch Delsalle <rdelsalle@gmail.com>:
Hi,
 
I'm using Lift's autocomplete widget a lot in some parts of my website,
I would like to know if there is any way I can get rid of the <span> thats appearing around my input text : 
 
<span class="product" size="16" type="text">
        <link type="text/css" rel="stylesheet" href="/classpath/autocomplete/jquery.autocomplete.css">
        <input type="text" value="" id="F4641319815512IPJBJ" autocomplete="off" class="ac_input">
        <input name="F4641319815525IP1WI" type="hidden" value="" id="F4641319815525IP1WI">
</span>
 
I'm adding the AutoComplete to ".product" using a CssSel (I don't have this issue when I call the autocomplete directly into the template but I have to pass parameters this time),
 
Thanks for your help,
 
 
    def hideParent(sel: CssSel): CssSel = {
        "*" #> ((ns: NodeSeq) => PassThru(sel(ns.head.child)))
    }
 
val xml = <div class="outer"><input type="text"/></div>
(".outer" #> hideParent(":text" #> <input type="text" name="struts" value=""/>)).apply(xml)
res3: scala.xml.NodeSeq = NodeSeq(<input value="" type="text" name="struts" class="outer"></input>)
 
without hideParent:
(".outer" #> (":text" #> <input type="text" name="struts" value=""/>)).apply(xml)
res4: scala.xml.NodeSeq = NodeSeq(<div class="outer"><input value="" type="text" name="struts"></input></div>)
 
--
Andreas Joseph Krogh <andreak@officenet.no>      mob: +47 909 56 963
Senior Software Developer / CEO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc
 

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roch Delsalle  
View profile  
 More options Oct 26 2012, 6:23 am
From: Roch Delsalle <rdelsa...@gmail.com>
Date: Fri, 26 Oct 2012 12:23:17 +0200
Local: Fri, Oct 26 2012 6:23 am
Subject: Re: [Lift] Lift autocomplete's widget

Thank you very much for the help ;)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »