Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Stefan S. on March 05, 2009, 02:46:03 pm



Title: action default for doubleclick in arrays
Post by: Stefan S. on March 05, 2009, 02:46:03 pm
Hello List

in an display/input array we are using the following syntax

per code:
         table (style="hellblau", doubleclick = weiter, height = 4)
         {
          [a001      |a002                         |a003                      |a004|a005  |a006        |a007]
        .....
genero code:
       input array ....
           on action weiter .....
       end input

genero Action-Default file:
<ActionDefaultList>
  <ActionDefault name="weiter"      text="F12 Weiter/Ausführen"           acceleratorName="F12" />
  <ActionDefault name="zurueck"     text="F6  Zurück"                     acceleratorName="F6" />
  <ActionDefault name="feldhilfe"   text="F2 Feldhilfe"                   acceleratorName="F2" />

the action I defined after "on action weiter" are executed with F12 or doubleclick on the array-row

But my problem is, that the button for the action "weiter" is not displayed in any window I use with "doubleclick = weiter"
There ist no entry in any Actiondefault-File about "default view = no" !!!

Any idea ?

Thanks in advance
Stefan




     
       



Title: Re: action default for doubleclick in arrays
Post by: . on March 05, 2009, 03:06:20 pm
The table acts as an action view if you set doubleclick attribute ; therefore the default view is not displayed, because there is an actionview in the form.

setting defaultView to yes should do what you expect.

Regards,
Pierre-Nicolas


Title: Re: action default for doubleclick in arrays
Post by: Stefan S. on March 05, 2009, 03:54:30 pm
thanks