What's about a short description in the howto section of the Wiki?

Thanks
Henner 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Ivan Codarin
> Gesendet: Samstag, 26. Februar 2005 17:10
> An: Henner Kollmann
> Cc: jdbforms-interest@lists.sourceforge.net
> Betreff: [dbforms] [howto?] Create new records in new 
> windows? [SOLVED]
> 
> Dear All,
> thanks to Henner's suggestion I solved this problem in this way:
> 
> 1. in the form with the search results I created a linkurl like this:
> 
> <a href="<db:linkURL href='<%=userManagerSearch.getWebPath() 
> + 
> userManagerSearch.getManagementPageFileName()+"?NewRecord=Crea
> teRecord" %>'
> tableName="users"/>" target="newwin" >
>       <span class="tinybutton">NewRecord</span></a>
> 
> where I put a parameter ?NewRecord=CreateRecord
> 
> THEN in the form where I have to manage the data:
> 
> 2) I create a filter in the dbform with this scriptlet:
> 
> String defaultFilterString;
> if (request.getParameter("NewRecord")!=null)
>   defaultFilterString="user_name="+(String) 
> request.getParameter("NewRecord");
> else
>   defaultFilterString="";
> 
> 
> FOLLOWED BY:
> 
>     <db:dbform
>            ..........
>            .........
>            filter='<%=defaultFilterString %>' />
> 
> In this way the first time I create the new record with this 
> "strange filter"
> and all the others the form has an empty default-filter to 
> work as usual..
> 
> 
> Tanks Henner
> Ivan
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> -------------------------------------------------------
> 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://ads.osdn.com/?ad_ide95&alloc_id396&op=ick
> _______________________________________________
> DbForms Mailing List
> 
> http://www.wap-force.net/dbforms
> 



-------------------------------------------------------
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://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
DbForms Mailing List

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

Reply via email to