Sorry Henner,
another problem is that in my searchForm where I have the list of records I use
linkURL to open the details of the selected record IN THE SAME form I would use
to do the insert-operation.

For each "business-object" I would have only 2 jsp form-files:
 the first for the SearchFeature and to select details, this one has also a
toolbar with the "new" button

 the latter for the "data-management", it opens on a new browser window, it has
a toolbar with "Save/Insert" and "Delete" buttons, with differents tabs
(LucaFosato's ones).

So when I click on the "new" button in the SearchForm the system should open a
new window with an empty record to do the insert operation.
When I click on the "detail link" (linkURL) the system sould open a new window
with the details of the selected record.

The JSPForm for both this operation should be the same...
now putting the filter attribute on the dbform with a no-existing report doesn't
work because the details aren't displayed.

I don't know, but with a client-javascript could I open a new window (for the
data-management) with a link sending to this a "message" like create a NEW
RECORD?

Thank you
Ivan

-----------------------------------------
Hi Henner,

I tried this way (with the filter attribute in db:dbform), but when I
save(insertButton) the record jdbforms re-applies the filter and fetches an
empty record instead of displaying the inserted one.
This sounds strange to me because (I'm not sure) in the past I created some form
with this kind of behaviour.

So, is it possible to create something like this with a linkURL with a
gotoPrefix where:
1) the form for the insertion has no filter attribut in db:dbform
2) the value where to jump with the gotoPrefix does not exists
3) confirming the insertion dbform displays the entered record to confirm to the
user the sucessful operations?

Cheers
Ivan


Quoting Henner Kollmann <[EMAIL PROTECTED]>:

>  You could create a form with allowNew="true" and a filter wich gives no
> results. Then you can jump to this page page with a link with
> target="newWin"
>
> Hope that helps
> Henner
>
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im
> > Auftrag von Ivan Codarin
> > Gesendet: Freitag, 25. Februar 2005 17:04
> > An: [email protected]
> > Betreff: [dbforms] [howto?] Create new records in new windows?
> >
> > Dear All,
> > this could be a stupid question....
> > How can I use a <db:navNewButton...> to create a new record
> > in a new Browser window.
> > I mean:
> >
> > (1)
> > I have a resultset of a search operations with the links to
> > the detail of each single record, in that case I use a
> > <db:linkURL ...> with a target="newWin" and for each of these
> > records I have the detail in a new Browser Window... so when
> > the user will close the details the result-set re-appears.
> >
> > (2)
> > In the resultset-list window I have also a navNewButton where
> > the user could click to create a new entry, in that case the
> > behaviour of the program must be the same, the new record
> > should be entered in a New Browser Window... But I cannot say
> > to the "navNewButton" the different target....
> >
> > Is there a simple solution for this?
> >
> > Thank you
> > 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
> >
>
>


-----------------------
    Ivan Codarin
-----------------------

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Delete | Reply | Reply to All | Forward | Redirect | Blacklist | Message Source
| Save as | Print       Back to sent-mail   Previous Message Next Message
Move | Copy


----------------------------------------------------------------
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=click
_______________________________________________
DbForms Mailing List

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

Reply via email to