• 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: binding trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binding trouble


  • Subject: Re: binding trouble
  • From: David LeBer <email@hidden>
  • Date: Mon, 27 Jun 2005 16:36:03 -0400


On 27-Jun-05, at 4:27 PM, Amedeo Mantica wrote:

because I have more than one image for each repetition
Amedeo

On 27/giu/05, at 21:55, Arturo Perez wrote:


Amedeo Mantica wrote:


Yes Arturo, but doing this I need a Java method for each image...
I'm trying to do it in an unique Java method, but I need to pass it the variable.
Amedeo





You are in a repetition so why do you need a unique variable for every image?




I still feel that the cleanest way to handle this would be to create a reusable component that wraps a WOImage with it's src bound to a method that creates the full path from a "fileName" binding.

Add as many of these as you need inside the WORepetition. Binding the fileName to each to the appropriate image string in your iterator object.

No muss, no fuss, no duplicate methods.

;david

--
David LeBer
Codebase Software Systems
site:   http://www.codebase.ca
blog: http://david.codebase.ca


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: binding trouble
      • From: Arturo Perez <email@hidden>
    • Re: binding trouble
      • From: Mark Morris <email@hidden>
References: 
 >binding trouble (From: Amedeo Mantica <email@hidden>)
 >Re: binding trouble (From: David LeBer <email@hidden>)
 >Re: binding trouble (From: Amedeo Mantica <email@hidden>)
 >Re: binding trouble (From: Arturo PĂ©rez <email@hidden>)
 >Re: binding trouble (From: Amedeo Mantica <email@hidden>)
 >Re: binding trouble (From: Arturo Perez <email@hidden>)
 >Re: binding trouble (From: Amedeo Mantica <email@hidden>)

  • Prev by Date: Uninstalling 5.3?
  • Next by Date: Re: Uninstalling 5.3?
  • Previous by thread: Re: binding trouble
  • Next by thread: Re: binding trouble
  • Index(es):
    • Date
    • Thread