Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=2924234
By: mgilgar


I think the problem is in
org.dbforms.servlets.Controller.java

method:
public void doPost(HttpServletRequest request, HttpServletResponse response)
                throws IOException, ServletException

At the end, in this code:

if (!Util.isNull(followUp)) {
               request.getRequestDispatcher(followUp)
                      .forward(request, response);
            }

When you update the primary key, you have the old and the news values in the
request object. You also have in this object the firstpos and lastPos parameter
which represents the first and last position in the table you want to show (Am
I right?). In this case, both parameters have the same values, which is the
primary key of the register. If we change the value of the primary key, we need
to change the first position and last position of the request of the followUp,
but we use the same request that we have received as a parameter in process
method.

Do you agree with me?

How can we change it?
I suppose we have to use a different request object for the followUp.

Thanks.

______________________________________________________________________
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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
DbForms Mailing List

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

Reply via email to