• 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: Table Column Limit for WOReps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Table Column Limit for WOReps?


  • Subject: Re: Table Column Limit for WOReps?
  • From: David LeBer <email@hidden>
  • Date: Fri, 10 Sep 2004 09:13:31 -0400

On 10-Sep-04, at 8:54 AM, Jeremy Matthews wrote:

I've created a table for WORepetitions...however when creating the table I'm not allowed to choose more than 10 columns. IS that a limit set by WO?

Alternatively, if I try to edit the table later, by adding a column to the left/right/whatever, the new column does NOT have the WORep...it's as if it will add the column after the fact, but not "link" it to the WORep.

Any ideas?

Often it is advantageous to edit the html directly, switch WOBuilder to source view or use your favorite text editor. You will be able to parse the webobjects tags fairly quickly with a little practice. This will also allow you to do things like wrap multiple table rows with your WORepetition.


Oh yeah, and if anyone has a Popup tutorial it would make my life so much easier....hate to use open fields and validate endlessly...

Check out the documentation: <http://developer.apple.com/documentation/WebObjects/Reference/ DynamicElements/WOPopUpButton/chapter_25_section_1.html#//apple_ref/ doc/uid/TP30001055-DontLinkChapterID_25>


The most commonly used bindings are:

list: array of objects
item: an iterator object of the type that composes objects
displayString: string ivar/method from item to display
selection: current object from list that is selected.

So your java might look like this:

public NSArray peopleArray; //Assume exists
public Person peopleEnumerator;
public Person selectedPerson;

and your wod might look like this:

PopUpButton1: WOPopUpButton {
	displayString = peopleEnumerator.fullName;
	item = peopleEnumerator;
	list = peopleArray;
	selection = selectedPerson;
}

Hope that helps,

;david

--
David LeBer
Codebase Software Systems
site:   http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Table Column Limit for WOReps? (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: StringBuffer to NSData
  • Next by Date: Re: StringBuffer to NSData
  • Previous by thread: Table Column Limit for WOReps?
  • Next by thread: StringBuffer to NSData
  • Index(es):
    • Date
    • Thread