Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=2865575 By: lpiatti
After having re-read of all docs, references and samples (that I list at the and of this mail) I tryed to solve with this snippet of jsp <a href=" <db:linkURL href="/ORDERS.jsp" tableName="ORDER" childField="ORDER_CUSTOMER_ID" parentField="CUSTOMER_ID"> <db:position fieldName="CUSTOMER_ID" value='<%=(String)currentRow_Cliente.get("CUSTOMER_ID")%>'/> </db:linkURL>" >LNK to <db:label fieldName="CUSTOMER_ID"/> </a> The linkUrl generates this url in my first view: /servlet/control;jsessionid=8F25ED2B471B629F7D713F4D7EA4D9BB? ac_goto_x=t& dataac_goto_x_fu=/ORDERS.jsp& dataac_goto_x_destTable=ORDER& dataac_goto_x_srcTable=CUSTOMER& dataac_goto_x_childField=ORDER_CUSTOMER_ID& dataac_goto_x_parentField=CUSTOMER_ID& dataac_goto_x_singleRow=false ... but simply the second view is opened unfiltered! I don't know how dbforms works in the deeps but it seems that the value of CUSTOMER_ID that must be used from the destination view is missing. have you done something like that or have same idea on what it's wrong? I think that docs in this area needs more details tank you Luigi ---------------------------------------- 1) from guide linkURL - generates a link to a DbForms View generates a link to a DbForms View. Setting the positionattribute will force DbForms to navigate to this position within the destination-table <linkURL href="customer.jsp" tableName="customer"> <position field="id" value="103"/> <position field="cust_lang" value="2"/> </linkURL> 2) from reference gotoButton - button for jumping to other jsp The gotoButton tag can be used to forward processing to another JSP. Setting the position (via various gotoButton attributes) will force DbForms to navigate to this position within the destination-table. parentField / parentField childField used in sub-form: field(s) in this form that is/are linked to the parent form Should either be a key or set to sortable="true"in dbforms-config.xml 3) frm samples testPosition.jsp testPositionAuthorEdit.jsp testPositionAuthorViewEdit.jsp ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=55830 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms