Re: WOForm Question
Re: WOForm Question
- Subject: Re: WOForm Question
- From: Chuck Hill <email@hidden>
- Date: Fri, 30 Mar 2007 15:24:25 -0700
On Mar 30, 2007, at 3:01 PM, David Avendasora wrote:
I've got a somewhat complicated form I'm working on and I'm running
into problems. I can't find detailed documentation on WOForm so
here's my question (please point me to any useful documentation
other than the WOBuiler Dynamic Components Reference):
I have three entities Routing, RoutingStep and Component they are
related as follows:
-> to-one
=> to-many
Routing => RoutingStep => Component
Component -> RoutingStep -> Routing
Ideally, I'd like to be able to edit them all-together in one form,
but I'm not sure if it is possible or not.
It might be a large page...
This goes way beyond having multiple submit buttons.
Here's an example of the stucture:
<form>
Routing
-RoutingStep 1 of Routing
--Component 1 of RoutingStep 1
--Component 2 of RoutingStep 1
--Component 3 of RoutingStep 1
-RoutingStep 2 of Routing
--Component 1 of RoutingStep 2
--Component 2 of RoutingStep 2
--Component 3 of RoutingStep 2
-RoutingStep Etc, etc, etc.
</form>
Each entity, of course, has it's own attributes and other to-one
relationships.
Without being able to nest WOForms inside HTML tables
You can nest them inside of HTML tables, what you can't do is to nest
them inside of each other.
, it makes layout difficult, and I can't find documentation on if
more than one form is allowed on one page, etc.
You can have more than one on a page, but like this:
<webObject name="Form1">
///
</webObject name="Form1">
<webObject name="Form2">
///
</webObject name="Form2">
What you can't do is this:
<webObject name="Form1">
///
<webObject name="Form2">
///
</webObject name="Form2">
///
</webObject name="Form1">
Or this
<webObject name="Form1">
///
<webObject name="Form2">
///
</webObject name="Form1">
///
</webObject name="Form2">
Not sure what your problem is beyond that. Care to explain further?
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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