• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wonder bindings design in AjaxSlider (bigger issue)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder bindings design in AjaxSlider (bigger issue)


  • Subject: Re: Wonder bindings design in AjaxSlider (bigger issue)
  • From: Timo Hoepfner <email@hidden>
  • Date: Tue, 27 Nov 2007 01:53:57 +0100


Am 27.11.2007 um 01:46 schrieb Les Vogel:

I translate that code to 5.4 style as:

<wo:AjaxSlider orientation="horizontal" value="[dg.currentBatchIndex]" minimum="1" maximum="[ dg.batchCount]" onSlide = "function(v) { $ ('value').innerHTML = Math.floor(v) }" onChange = "function(v) { $ ('value').innerHTML = Math.floor(v)}" onChangeServer = "tableBodyUpdate()"/>

The key point is minimum is "1", as =1 won't parse correctly.

Hi,

I'm not using 5.4, but I'd try

	minimum="[1]"

If you would use Wonder's inline parser, you would have to specify

	minimum="$1"

Timo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Wonder bindings design in AjaxSlider (bigger issue)
      • From: "Les Vogel" <email@hidden>
References: 
 >Wonder bindings design in AjaxSlider (bigger issue) (From: "Les Vogel" <email@hidden>)
 >Re: Wonder bindings design in AjaxSlider (bigger issue) (From: "Les Vogel" <email@hidden>)

  • Prev by Date: Re: Wonder bindings design in AjaxSlider (bigger issue)
  • Next by Date: Re: Wonder bindings design in AjaxSlider (bigger issue)
  • Previous by thread: Re: Wonder bindings design in AjaxSlider (bigger issue)
  • Next by thread: Re: Wonder bindings design in AjaxSlider (bigger issue)
  • Index(es):
    • Date
    • Thread