Is it possible to use more than one key in a goToButton with
keyToKeyToDestPos

More key values of the same record? Or more then one record?

One record


To select one record all(!) key fields must be part of the keyToKeyToDesPos field.

You can generate such fields with the <db:pos/> tag.

currentRow="<db:pos/>"

Then you must'nt calculate the key value by yourself! And you can not forget to encode it!

I can't follow. The way I do it works fine, but I want to update the docs to make this clearer. Others may not know how to calculate key values by themselves.


Unfortunately, I can't understand the simpler way of using <db:pos/> and there seem to be no examples using this.

Do I embed it in the goTo tag like:

<db:gotoButton destination="/FC_Lessons_single.jsp" destTable="FC_Lessons" styleClass="clsButtonStyle" style="width:185" caption="Alter Main Entry">

<db:pos/>

</db:gotoButton>


Do I just include it on the page by itself?


<db:pos/>

If so, what do I need to set keyToDestPos or keyToKeyToDestPos to? The taglib says:
pos - Renders a position to use with keyToDestPos


So I set keyToDestPos="[EMAIL PROTECTED]" and in my snoop parameters I saw:
 [EMAIL PROTECTED]                          = 0%3A7%3Ayikresd-17%3A1%3A5
and that is the record I want to go to.

But it went to the first record instead. I tried several ways with keyToKeyToDestPos too but....

Anyone have an example?



--
Shawn

Happily using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to