--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/bd2zzjEQZOAJ.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Perfect. Almost. Not reactive specific, but because "disabled" is a boolean property its existence, not its value, is all that matters. So what I would to do is be able to remove that property when the signal goes true. Looking at PropertyVar this does not seem possible. Maybe a "BooleanPropertyVar  extends Var[Boolean]"BTW, I'm simply loving reactive. Thanks much!
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/2PPjzEEZryQJ.
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/dQ73C2XMks8J.
Why don't you just leave out the disabled attribute in the template, and let reactive add it as appropriate?
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/Qp0GcQKXBCEJ.
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/hMZpRoaGcoIJ.
But now that I re-run the test with "disabled=disabled [disabled]" I see that while an existing disabled will be removed by the PropertyVar, it will not get added back. So I guess I don't have a solution that works just yet.
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/VVdgpAoFBzUJ.
Ah, the problem is that currently reactive-web doesn't expect you to have the disabled attribute in the template (let me know if you feel otherwise). Either it adds the attribute or it doesn't. That's regarding the initial html rendering. Changes that occur later are applied by executing javascript like document.getElementById("reactiveWebId_000000").disabled = false, so your test is misleading.
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/yqDxSSOCzh4J.
try{jQuery("#reactiveWebId_000000").each(function(i) {this.innerHTML = "\u000d\u000a <input type=\"checkbox\" />\u000d\u000a CHECBOX: 1311350006909\u000d\u000a ";});} catch (e) {}
try { document.getElementById('reactiveWebId_000001').disabled = true; } catch (e) {}try{jQuery("#reactiveWebId_000000").each(function(i) {this.innerHTML = "\u000d\u000a <input type=\"checkbox\" />\u000d\u000a CHECBOX: 1311350011908\u000d\u000a ";});} catch (e) {}try { document.getElementById('reactiveWebId_000001').disabled = false; } catch (e) {}Each of the above are separate message received by the browser.So my selectors are not quite right? Or maybe this is simply an issue in general with comet updates?
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/Sd1oD2e0_B4J.
 def render1 = {
  val d = new D  ".text" #> Cell { d.fastTimerSig.map{ t =>
   ".count" #> t.toString &
    "input" #> d.disabler
  }} }
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To view this discussion on the web visit https://groups.google.com/d/msg/liftweb/-/PNy8FNEOhqkJ.
I'm not exactly sure what's happening, but with reactive-web you aren't supposed to use CometActor explicitly...