• 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
Best design? Nested forms as a result of desired page layout...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best design? Nested forms as a result of desired page layout...


  • Subject: Best design? Nested forms as a result of desired page layout...
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 9 Jul 2005 18:15:37 +0200

Hi all,

my client would like to have something like the following page layout (this one is considerably simplified to point out the gist of the problem):

<table of something with checkboxes>
<a few searchfields>
<submit button for the checkboxes>

The problem is that them searchfields should be in one form, and checkboxes with the submit should be in *another one*: the forms should be independent. If a text is entered into a searchfield and Enter pressed, the search action should be called and the checkboxes values should not get even pushed into component. Similarly, when submit is clicked, another action should be called, and the searchfields values should not be pushed into component.

Solutions I know of are

(i) tell the client the layout is dumb and change it so that the forms cannot overlap. The best one, but can't really be used in this case :)

(ii) use one shared form for both checkboxes and searchfields, with a bunch of *very* ugly javascripts and co-operating Java code which would ensure that submit button does not use searchfields at all, and that Enter pressed in a searchfield does not use checkboxes at all. I would very very like not to go this path -- among others, it would make me to change seriously a lot of long-ago-debugged reusable components...

Alas I do fear tertium is non datur in this case, but perhaps there is? Happens somebody smarter'n me to know of a nice and easy solution, which would allow me both to eat my cake and have it?

Thanks,
---
Ondra Čada
OCSoftware:     email@hidden               http://www.ocs.cz
private         email@hidden             http://www.ocs.cz/oc


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: Best design? Nested forms as a result of desired page layout...
      • From: LD <email@hidden>
    • Re: Best design? Nested forms as a result of desired page layout...
      • From: Florijan Stamenkovic <email@hidden>
  • Prev by Date: Re: Old WOBuilder Lives!
  • Next by Date: Re: Best design? Nested forms as a result of desired page layout...
  • Previous by thread: Re: JavaMail help...
  • Next by thread: Re: Best design? Nested forms as a result of desired page layout...
  • Index(es):
    • Date
    • Thread