Hm... I'm finally getting around to making changes to createURL and
setVariables
so that chosen date ranges propoate through pages of results and we still
get the
nice drop down lists of the selected dates.

Gilles, you told me to look at the selected format section, among others...

what I cant figure out is where the actual values are coming from.
For instance where are the values of Long, and Short stored?

Here is the code for SELECTED format, which ovbiously builds a select string
for html...

I'm not sure where I need to set up my list of months, days and years

  vars.Add("SELECTED_FORMAT", new String(format));

    str = new String();
    *str << "<select name=format>\n";
    for (i = 0; i < templates.displayNames.Count(); i++)
    {
        in = (String *) templates.internalNames[i];
        *str << "<option value=\"" << in->get() << '"';
        if (format && mystrcasecmp(in->get(), format) == 0)
        {
            *str << " selected";
        }
        *str << '>' << ((String*)templates.displayNames[i])->get() << '\n';
    }
    *str << "</select>\n";


Any help anyone?


------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to