Re: static popup with a WOForm
Re: static popup with a WOForm
- Subject: Re: static popup with a WOForm
- From: Dev WO <email@hidden>
- Date: Wed, 8 Feb 2006 11:45:17 +0100
Hello Chuck,
that was exactly what I was looking for:)
I still have some issue about the way WO works, context and stuff
like that, but it gets more clear every time:)
The qualifier is working, everything is working fluently;)
Thanks a lot,
Xavier
Hi Xavier,
I'd probably make a custom component to do this so I only have to
do it once. But if you want to use static HTML, then you can use
String qualifierValue = (String) context().request().formValueForKey
("NameOfStaticPopUp");
to get the value from the static popup. Then it is up to you to
make the qualifier. :-)
Chuck
On Feb 7, 2006, at 1:46 AM, Dev WO wrote:
Hi guys,
I'm sure it's a dummy one, but I have to ask;)
I need to use a static popup menu in a dynamic form.
I cannot use an NSArray in my code to generate the list of static
items as I have to use "optgroup".
Beru sent me some times ago a sample to generate optgroup popup
but as I didn't have the opportunity to implement it in my
previous projects I still don't know how to use it. I'll try to
use it later for this project, but I'd like to know how to do it
the "static way":)
So here's what I have, a static popup menu with some "option".
I need to set a qualifier in my code based on the "value" of the
selected item in the popup.
I think I could just do all that static and send the request to a
Direct Action, but I hope there's something more simple...
Could someone point me to a sample or give me some clues on what
should be in my action to get the "value" from a static popup?
Thanks a lot,
Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
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