durusmail: qp: SelectWidget key generation
SelectWidget key generation
2006-12-04
2006-12-04
2006-12-04
2006-12-04
2006-12-04
2006-12-04
2006-12-04
2006-12-04
2006-12-05
SelectWidget key generation
mario ruggier
2006-12-04
This reminds of another scenario... somewhere in the back of my mind I
have the intention to explore evolving the DurusDir utility to support
object modification generically. Probably this feature would be useful
there... although I have not played with this enough, at all actually.
Don't know if David or others have spent any reflection on this
possibility?

mario


On Dec 4, 2006, at 2:06 PM, David K. Hess wrote:
>
> I have an "action" page with a form where I can act on an object
> selected from a SingleSelectWidget. I also have a "home" page for
> viewing one of those objects. On the "home" page, I have a form with a
> HiddenWidget with the same name as the "action" page's
> SingleSelectWidget with the key value for that object in it. Then I
> post the form from the "home" page to the "action" page (such that
> form.get_submit() == True) to preselect the correct object in the
> SingleSelectWidget.
>
> I could name the HiddenWidget separately from the SingleSelectWidget
> and do this default select by hand but this seems to work well (though
> maybe a bit unorthodox).
>
> Dave
>
> ------
> David K. Hess
> Verscend Technologies, Inc.
> dhess@verscend.com
> 214-684-5448
>
>
>
> On Dec 4, 2006, at 4:28 AM, David Binger wrote:
>
>>
>> On Dec 3, 2006, at 11:32 PM, David K. Hess wrote:
>>
>>> This makes it easier to generate a key elsewhere that is compatible
>>> with what SelectWidget automatically generates.
>>
>> Where else would you want to do that?

reply