Re: html:base/ in Tiles pages question

2003-07-26 Thread Tin Pham
Hi Erez, The final rendered page will use for the base url the location of mainLayout.jsp. So regardless of where the other tiles are located the browser uses the url of the mainLayout.jsp to calculate all relative links. I guess the question is what are you planning to use the html base tag

Calling an action from an action

2003-07-26 Thread guruprasad jakka
Hi, Can anyone tell me the exact syntax for forwarding to an action from an action class. Thanks in Advance. J G Guru Prasad V sem, Information Technology, Bachelor of Engineering, National Institute of Technology Karnataka, Surathkal. ( formerly KREC )

Re: Calling an action from an action

2003-07-26 Thread Puneet Agarwal
write this code in your action class. RequestDispatcher rd = request.getRequestDispatcher(/abc.do); rd.forward(request, response); return null; Regards, Puneet Agarwal Tata Consultancy Services, C-56, Phase - II, NOIDA 201305 (India) Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext.

Re: [OT] Source Code Print Utility For Code Reviews?

2003-07-26 Thread David M. Karr
Larry == Larry Zappeterrini [EMAIL PROTECTED] writes: Larry -Original Message- Larry From: Hohlen, John C [mailto:[EMAIL PROTECTED] Larry Anybody know of a good free print utility for generating hardcopies of Larry Java source files for code reviews? Something that can

RE: Calling an action from an action

2003-07-26 Thread Alex Shneyderman
ActionForward forwardTo = mapping.findForward (your other action mapping); return this forwardTo from your first actions execute method. -Original Message- From: guruprasad jakka [mailto:[EMAIL PROTECTED] Sent: Saturday, July 26, 2003 6:32 AM To: [EMAIL PROTECTED]

Re: Calling an action from an action

2003-07-26 Thread Aleksandar Matijaca
Described in detail here: http://husted.com/struts/tips/014.html and here: http://jakarta.apache.org/struts/faqs/newbie.html#chaining Good luck, Aleksandar. guruprasad jakka wrote: Hi, Can anyone tell me the exact syntax for forwarding to an action from an action class. Thanks in Advance. J

Cannot find bean message in any scope

2003-07-26 Thread Menke, John
I am trying to use the message tag to output messages and I am getting this error: javax.servlet.jsp.JspException: Cannot find bean message in any scope at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938)

lazyList + GenericFactory = NoSuchMethodError

2003-07-26 Thread Joseph Prosser
Hey Folks, I'm trying to implement the lazyList + GenericFactory solution for posting forms w/ nested collections. I'm using the GenericFactory implementation (included below) that was posted on this list. I make it into the GenericFactory constructor, but it looks to be crashing in lazyList.

Problem in conversion of a webapp to struts framework

2003-07-26 Thread guruprasad jakka
Hi Struts-users, I am currently doing a small project of converting an existing web-application written in JSPs to Struts framework. I have a selfregistration page which has many input fields. The data obtained from it is received in another jsp and processed further. I have given the piece of

Re: Cannot find bean message in any scope

2003-07-26 Thread guruprasad jakka
I too was facing this problem very often.but after many changes, it would be rectified. Check for these changes. Check if all the jars are present in the lib directory. also check if the classpath is set specifically to the jar files. may be there may be more. GoodLuck. J G Guru Prasad V sem,

Re: Using an extension of ModuleConfigImpl

2003-07-26 Thread Rob Leland
Rob Leland wrote: Rob Leland wrote: Karachiwala, Aslam wrote: I do use extensions of ActionConfig ForwardConfig. What I've done is implement a layer of extensions of Struts classes, in which I've added custom fields and methods that I need. I'd like to do the same for ModuleConfig. Is that

Can Validator javascript show more than one error at a time?

2003-07-26 Thread Brian Chaplin
Somehow Ted Husted was able to get the javascript to show more than one error at a time in the javascript alert message. See screen shot on page 373 of Struts in Action. I'm using Struts 1.1 final and it seems the javascript won't support that?

RE: Can Validator javascript show more than one error at a time?

2003-07-26 Thread Alex Shneyderman
It will just one type at a time: Suppose you have 3 fields A,B and C A depends=required,mask,date B depends=required,mask C depends=required,date Now user fills out the form and forgets to put A and B User will see the message A and B missing When user provides A, B and C but suppose A is not

RE: Can Validator javascript show more than one error at a time?

2003-07-26 Thread Steve Raeburn
The generated Javascript groups tests by type (required, mask, min length etc) and calls them as follows: function validateRegistrationForm(form) { if (bCancel) return true; else return validateRequired(form) validateMask(form)

test message - ignore

2003-07-26 Thread message message
_ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: OT: JSR-168 is available for review

2003-07-26 Thread Vic Cekvenich
Actually, Nov. 2002 I got a similar message from Craig saying I am overly critical of EJB in favor or DAO (iBatis, Hibernate and rowset, and rowset now is a big deal at Sun. I wonder who was right back then? :-)) Today I am critical of Portlet and JSF (to me, they are similar to EJB on the

StrutsDoc 0.3 Released

2003-07-26 Thread Nick
StrutsDoc 0.3 Released StrutsDoc is an extension task for Ant that allows developers to generate Javadoc-like documentation based on their various Struts configuration files. The 0.3 release provides support for Stxx and Tiles configurations, as well as Struts module configurations. This

Re: StrutsDoc 0.3 Released

2003-07-26 Thread James Mitchell
Can we run this against the struts-example and put it up as a demo? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org 678-910-8017 AIM:jmitchtx - Original Message - From: Nick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 26, 2003 11:30

Re: StrutsDoc 0.3 Released

2003-07-26 Thread Nick
Sure. It's done and at: http://www.systemmobile.com/strutsdoc/struts-example/ A tar ball of the docs are at: http://www.systemmobile.com/strutsdoc/struts-example/struts-example-docs.tar.gz On Sat, Jul 26, 2003 at 11:30:04PM -0400, James Mitchell wrote: Can we run this against the