Re: modify search form on result page?
Re: modify search form on result page?
- Subject: Re: modify search form on result page?
- From: David LeBer <email@hidden>
- Date: Mon, 9 Aug 2004 18:54:20 -0400
On 9-Aug-04, at 6:29 PM, Michael Engelhart wrote:
On Aug 9, 2004, at 1:13 PM, Art Isbell wrote:
On Aug 8, 2004, at 3:21 AM, Michael Engelhart wrote:
yes, that could be done but the forms requires vastly differently
layouts (in terms of presentation) so I'd have to do a lot of
twiddling to make it a CSS based display (right now it's tables
unfortunately). Eventually that's the way to go but right now I'm
going for a brute force approach. :-)
On Aug 8, 2004, at 7:23 AM, Josh Paul wrote:
Although I may not be understanding your problem completely,
couldn't you create your InitialSearch as a component (instead of a
page) and re-use it?
You could make two different reusable components, each with
appropriate layout, but the Java source of one inheriting from that
of the other. That way the validation code could be inherited rather
than reimplemented.
Aloha,
Art
yeah, that's a good point. Does inheritance in WOComponent's work
the same way as any ole Java object? I thought I remember some things
about not using inheritance in WO but that may have been regarding
EO's..
Man I'd die if I couldn't use inheritance in WOComponents! You are
getting the behavior in your custom ones now by inheriting from
WOComponent. Why stop there :-)
EO's can be a little tricky to depending on what kind of inheritance
you're talking about. If you want the classic LifeForm -> Mammal -> Dog
kind of inheritance then you've got database decisions to make. But I
use inheritance all the time to give all of my eo's common behavior.
That's how eogenerator does it's magic.
;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.