Robert Rodgers
|
| Posted: 05/31/2002, 3:59 PM |
|
Hi All,
Is there a better way to make related list boxes refresh?
Currently I am using a Form with the GET method and the action is the
Current Page. Then for the second listbox I have a where clause built that
uses the first listboxes value to filter. Is there another way?
Also it seems that listboxes can not get their default value passed in by
POST only GET(on the url) is this right? Below is the code generated for
one list box I have. The "CCGetRequestParam" only uses ccsGet and not
ccsPost And I have not been able to find a way to change it (other than
coding) Is there a way I just have not found?
Thanks.
Rob
Set lstUserGroup = CCCreateList(ccsListBox, "lstUserGroup", "lstUserGroup",
ccsText, CCGetRequestParam("lstUserGroup", ccsGet), lstUserGroupDataSource)
|
|
|
 |
Robert Rodgers
|
| Posted: 05/31/2002, 4:17 PM |
|
Hi All,
Well I seem to have been too quick to ask the 2nd question<g> I found that
if I put
CCGetRequestParam("lstUserGroup", ccsPost)
In the Default property then I get my value from POST as I expected. Is
there anything wrong with doing it this way?
As a suggestion it would be nice to be able to flip a property switch in the
IDE that controls where the selected value comes from. Currently it seems
to only be GET.
Thanks
Rob
"Robert Rodgers" <Robert@SylvanComputing.com> wrote in message
news:ad8v7k$f0l$1@news.codecharge.com...
> Hi All,
> Is there a better way to make related list boxes refresh?
>
> Currently I am using a Form with the GET method and the action is the
> Current Page. Then for the second listbox I have a where clause built
that
> uses the first listboxes value to filter. Is there another way?
>
> Also it seems that listboxes can not get their default value passed in by
> POST only GET(on the url) is this right? Below is the code generated for
> one list box I have. The "CCGetRequestParam" only uses ccsGet and not
> ccsPost And I have not been able to find a way to change it (other than
> coding) Is there a way I just have not found?
>
> Thanks.
> Rob
>
> Set lstUserGroup = CCCreateList(ccsListBox, "lstUserGroup",
"lstUserGroup",
> ccsText, CCGetRequestParam("lstUserGroup", ccsGet),
lstUserGroupDataSource)
>
>
>
|
|
|
 |
|