Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > All Other Wrox Books
| Search | Today's Posts | Mark Forums Read
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 3rd, 2003, 11:25 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Prfessional Struts Applications - PrePopulate Form

In chapter 3 of this book the author uses the reset() method of an ActionForm to prepolute a form. This concept is interesting and can be very usefull. However in my case I would need to populate forms depending on some logic. Therefore I can't use a reset() method that will prepolate the form in any case.

I'm thinking about creating an Action that will prepopulate the form directly.

        SomeForm someForm = new SomeForm();
        someForm.setEmail("test@test.com");
        ...
        request.getSession().setAttribute("SomeForm", someForm);

        return mapping.findForward("success");

However I don't think that it is very nice to do this especially since I'm dependend that the reset() method will not be called and overwrites my changes. As well I'm putting logic that is heavily connected to the FormBean into some Action.

Any suggestions? Any comments on pre-population of forms within struts is welcome!

It seems there are not many people here yet... Hopefully that will change soon
  #2 (permalink)  
Old June 3rd, 2003, 05:04 PM
Registered User
 
Join Date: Jun 2003
Location: Provo, UT, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I haven't done a lot of form prepopulation, sorry.

I am wondering though if you have had any luck getting the JavaEdge application to work?
  #3 (permalink)  
Old June 4th, 2003, 01:54 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry but I tried just briefly. I downloaded it and use it as a reference while reading the book.

After I tried to run the build script and it didn't work I was upset. Maybe this is supposed to be encourage you to learn ant. I had appreciated some already working .war files instead.
  #4 (permalink)  
Old June 4th, 2003, 04:26 PM
Registered User
 
Join Date: Jun 2003
Location: Provo, UT, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was able to work through the issues with the JavaEdge application and got it working. If you are interested in getting it to work, let me know and I'll walk through the fixes I had to make.
  #5 (permalink)  
Old September 6th, 2003, 07:19 PM
Registered User
 
Join Date: Sep 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by csandy
 I was able to work through the issues with the JavaEdge application and got it working.  If you are interested in getting it to work, let me know and I'll walk through the fixes I had to make.
yes please, would you mind sharing by outlining some of your key fixes? i am right now stuck in the build process:

Build Failed: file:D:/JavaEdge/build/build.xml:363: Could not create task or type of type: jdepend.

very much appreciate it!!

  #6 (permalink)  
Old December 6th, 2003, 10:37 AM
Registered User
 
Join Date: Dec 2003
Location: Bangalore, , India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to pankajrv
Default

Quote:
quote:Originally posted by csandy
 I was able to work through the issues with the JavaEdge application and got it working.  If you are interested in getting it to work, let me know and I'll walk through the fixes I had to make.
Hi Clinton,

I am B.E.(Computer) student of an Engineering College in India. Very recently I was recommanded by one of my J2EE architect friend to go through the "Professional Struts Application, wrox publication" , a book written by John Carnell,Jeff Linwood and Maciej Zawadzki.I was very much impressed by the simplicaity with which the concepts were explained in the book.

I decided to download the code and configure it on my PC.I will give me more insight in Struts and building application using struts framework.. But when I went to http://wrox.com/books/1861007817.htm, the url suggested inthe book, I found that it no longer exist.This was when I decided to write to you and request for the code.

Kindly, send me the code if you have or point me to a different location where it can be downloaded.

Thanking you in anticipation.

Regards,
Pankaj

  #7 (permalink)  
Old December 6th, 2003, 10:38 AM
Registered User
 
Join Date: Dec 2003
Location: Bangalore, , India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to pankajrv
Default

Quote:
quote:Originally posted by Mieber
 Sorry but I tried just briefly. I downloaded it and use it as a reference while reading the book.

After I tried to run the build script and it didn't work I was upset. Maybe this is supposed to be encourage you to learn ant. I had appreciated some already working .war files instead.

Hi Mieber,

I am B.E.(Computer) student of an Engineering College in India. Very recently I was recommanded by one of my J2EE architect friend to go through the "Professional Struts Application, wrox publication" , a book written by John Carnell,Jeff Linwood and Maciej Zawadzki.I was very much impressed by the simplicaity with which the concepts were explained in the book.

I decided to download the code and configure it on my PC.I will give me more insight in Struts and building application using struts framework.. But when I went to http://wrox.com/books/1861007817.htm, the url suggested inthe book, I found that it no longer exist.This was when I decided to write to you and request for the code.

Kindly, send me the code if you have or point me to a different location where it can be downloaded.

Thanking you in anticipation.

Regards,
Pankaj

  #8 (permalink)  
Old December 18th, 2003, 07:06 PM
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can download the source code for Java Edge sample from http://support.apress.com/books.asp?s=0&bID=1861007817.

I hope this help. :)

Sary

  #9 (permalink)  
Old January 8th, 2004, 12:26 PM
Registered User
 
Join Date: Jan 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mrwebxx Send a message via Yahoo to mrwebxx
Default

can anyone tell me where I can download the code for "Professional Struts Applications". The Apress website seems like it no longer exist. If any one wants to send it to me please send it to herve.jean-baptiste@accenture.com or at c-herve.jean.baptiste@mci.com

Thank you

mrwebxx

Create professional websites in minutes for cheap. Download templates instantly- http://www.templateman.com
  #10 (permalink)  
Old January 8th, 2004, 12:29 PM
Authorized User
 
Join Date: Jun 2003
Location: Carmel, IN, USA.
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Default

email support@apress.com to get the code. They have been helpful to readers when the code for a book is not one the web site.

Hope that this helps,
Jennifer Bergman
Marketing Manager
Wiley Publishing/Wrox Press




Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Bean in Struts meetravig Struts 0 July 19th, 2007 01:01 AM
Displaying data in a struts form - Need help! pintovc@hotmail.com Struts 2 March 13th, 2007 01:17 PM
check box default value in struts form sridevi Servlets 3 January 15th, 2006 11:13 PM
how to prepopulate a form field sycryc HTML Code Clinic 2 September 29th, 2005 02:37 PM
prepopulate an update form trevorml2003 SQL Language 7 January 21st, 2004 10:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.