• 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: jWebUnit (more)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jWebUnit (more)


  • Subject: Re: jWebUnit (more)
  • From: John Spicer <email@hidden>
  • Date: Thu, 6 May 2004 10:14:15 -0500

OK, having more success with this. Seems that elements (buttons, fields), you can use the name parameter of the WO component, but for forms you can't. For those you have to add another binding called "id" and then jWebUnit can find it.

I still have one issue. Each time you run the WO project you get a different URL:

http://192.168.0.8:49311/cgi-bin/WebObjects/

for example, if I run it again the 49311 will be different. I assume that's a port number randomly generated.

Is there a way to get a fixed one? Otherwise I have to change the script each time and that's a pain!


On May 6, 2004, at 7:18 AM, Marcin ()ukasiak wrote:

Using name attribute may be tricky because WebObject uses it to some internal work.
Better use id attribute which isn't used by WebObjects.
Simply add 'id' binding to your form and form fields.


On 2004-05-06, at 02:24, John Spicer wrote:

having some success. I can walk from the start to where I want to go. Now on to the next problem. I know I need to name form elements and buttons, etc. so that I can reference them.

However I don't know where. I've tried a bunch of places in WO Builder without success. Even I've put "Form1" in pretty much every field it still says "No form present with name or id [Form1]"

Help appreciated.
_______________________________________________
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.




Marcin ()ukasiak
_______________________________________________
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.


  • Follow-Ups:
    • Re: jWebUnit (more)
      • From: Kaj Hejer <email@hidden>
    • Re: jWebUnit (more)
      • From: Arturo Perez <email@hidden>
References: 
 >jWebUnit (more) (From: John Spicer <email@hidden>)
 >Re: jWebUnit (more) (From: Marcin Łukasiak <email@hidden>)

  • Prev by Date: Re: WOSMTPHost Problem
  • Next by Date: Re: WOSMTPHost Problem
  • Previous by thread: Re: jWebUnit (more)
  • Next by thread: Re: jWebUnit (more)
  • Index(es):
    • Date
    • Thread