Re: progress bar

Clemens Gruber <[email protected]> Thu, 26 Oct 2006 03:52:14 +0200
Newsgroups gmane.comp.apache.mod-survey.general
Organization virtUOS / Uni Osnabrueck
Message-ID <[email protected]>
Hi Joel,

there is no fix at 
http://article.gmane.org/gmane.comp.apache.mod-survey.general/907 The 
attached file
Attachment (progress.tar.gz) isn't there (404, Not Found)
is missing.

Is progress and maxWidth the same as the numbers in PROGRES - so the 
best is to write hard
  <CUSTOM ESCAPED="no">
    <div id="progressbar">
      page 2 of 5
    </div>
  </CUSTOM>

or is there something automagic with PROGRES="0/200"

Another question: Does persist work in v3.2.4, there are different 
things in syntax reference and beginner guide.

A last question ;-) In some survey tools there are the error messeges of 
must fields _in_ the page. It is a bit confusing to read a message (on a 
page in another layout), go back to the side, search the item and fill 
it out.. Could we use a stylesheet or a red message eg to say, here's 
something missing and must filled out?

Clemesn




Joel Palmius wrote:

> 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>
>>     &lt;--%progress%--&gt;
>>  </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