• 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
Openning an extra window on button click
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Openning an extra window on button click


  • Subject: Openning an extra window on button click
  • From: Serge Cohen <email@hidden>
  • Date: Sun, 4 May 2008 02:30:54 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list;

I have an interface showing a list of objects (of class A) within a form.
The user is supposed to aggregate a subset of these objects into an object (of class B). The selection is done by displaying a short description of each class A objects with a check-box in front (as proposed in WXChekBoxList).
Now, I'd like to have a button in the form, which when clicked would create an extra window with a detailed list of the SELECTED object of class A.


To me this should be a button ("detail of selected"), so that I have a chance to get the current state of the selection. Furthermore the corresponding method should return "null" (so that the content of the window does not change).
Now I also want another (new) window to open up; to achieve that my idea was to add to the BODY onload action a small call to "window.open(someURL, "_blank", "...")" calling a method that would return the detail of the selected object. I guess I have to use WOActionURL to generate the URL used by window.open ... ?


A last question, which indeed is more HTML related : Indeed I'm using a wrapper component for having a consistent layout over all the pages of the application. This makes it complicated for me to add on demand a "onload" javascript to the BODY element... Is there a more convenient place I can place that one ?

Thanks for any help.

Serge.




-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkgdA74ACgkQlz6UVQtc2uxcmQCfYfHb44toKf90qEFwUDhcaveJ
PHMAoIQRZ1EoMa209GshxK85lq7Zy0Q7
=ICuF
-----END PGP 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: Openning an extra window on button click
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: Re: How to get rid of ?wosid=
  • Next by Date: Sorting to many relationship
  • Previous by thread: Re: How to get rid of ?wosid=
  • Next by thread: Re: Openning an extra window on button click
  • Index(es):
    • Date
    • Thread