Re: progress bar
Joel Palmius <[email protected]> Wed, 25 Oct 2006 20:33:46 +0200 (CEST)
| Newsgroups | gmane.comp.apache.mod-survey.general |
|---|---|
| Message-ID | <[email protected]> |
Hrm, embarrasingly enough I cannot find the actual implementation of this.
Been reading the current code, and there's a parse for it, but the actual
progres bar isn't printed anywhere. What you can get is this:
<SURVEY TITLE="hej" PROGRES="0/200">
<CUSTOM ESCAPED="no">
<!--%progress%--><!--%maxWidth%-->
</CUSTOM>
<ROUTE CONTINUE="prg1.survey" />
</SURVEY>
Which will print "0 200". I guess this can be used in conjunction with a
table to build a progres bar.
But it seems something is missing in the code, it must have fallen off at
some point.
Martin Ertl's patch is at:
http://article.gmane.org/gmane.comp.apache.mod-survey.general/907
// Joel
On Wed, 25 Oct 2006, Clemens Gruber wrote:
> Hi,
>
> how can I realize a progress bar in mod_survey?
>
> What have I to write in the survey-Tag?
> <SURVEY PROGRES="300" ... > or
> <SURVEY PROGRES="n1/300" ... > or only
> <SURVEY PROGRES ... >
>
> And what means "see the html markup section", p. 7 Syntax Reference?
> In the mailinig list archive there is sometihng like
> <--%progress%-->
>
> but where have I to put it in
> <CUSTOM>
> <--%progress%-->
> </CUSTOM>
>
> or as tag <--%progress%-->
>
> Has somebody an exaple. The relevant (?) url in the mailing list
> http://thread.gmane.org/gmane.comp.apache.mod-survey.general/907 doesn't
> work.
>
> Clemens
> Skickat av Clemens Gruber <[email protected]>
> till survey-discussion
>
Skickat av Joel Palmius <[email protected]>
till survey-discussion