Re: how do struts resolve the variable?

2006-08-15 Thread Li
for your *1 (step 1?) You can get ActionForm object from a set of parameters that passed to your Action class You can cast according to your form type (e.g. MyActionForm) accordingly. for your *2 (step 2?) You save the form to your session with a key called "myForm", after that, you are using yo

Re: No getter method for property

2006-08-15 Thread Puneet Lakhina
On 8/14/06, Daoud Abdelmonem Faleh <[EMAIL PROTECTED]> wrote: Hello folks, I use struts 1.2.9 and deploy to oc4j 10.1.3 My struts-config.xml containes: ... ... ... PersonneEtrangereDetails.jsp has: public class EditPersonneEtrangereF

Congratulations Frank

2006-08-15 Thread Peter . Pilgrim
Hi I wondering out about yesterday in a London bookstore and to my surprise I saw a regular Struts User's name on a cover of an Apress book! http://www.amazon.com/gp/product/1590596951/ref=sr_11_1/002-6130372-8952 855?ie=UTF8 Congratulations, Frank, especially from me -- Peter Pilgrim UBS Inv

Forwards between webapps

2006-08-15 Thread Saeed, Rada
Forwards between webapps are not supported, cuz both have different contexts, this's what I got from running this : Is there any other way to achieve this forward between different web applications ?

Re: Congratulations Frank

2006-08-15 Thread Leon Rosenberg
cool stuff! *congrats* Leon On 8/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi I wondering out about yesterday in a London bookstore and to my surprise I saw a regular Struts User's name on a cover of an Apress book! http://www.amazon.com/gp/product/1590596951/ref=sr_11_1/002-6130372

Re: Congratulations Frank

2006-08-15 Thread Frank W. Zammetti
Thank you very much guys, I appreciate it! Now you know why I've been relatively quiet around here the past few months (you didn't think I was actually learning to be restrained, did you?!? LOL) Frank Leon Rosenberg wrote: cool stuff! *congrats* Leon On 8/15/06, [EMAIL PROTECTED] <[EMAIL P

Re: Congratulations Frank

2006-08-15 Thread Shervin Asgari
That link didn't work, but here is another http://www.amazon.com/gp/product/1590596951/ref=sr_11_1/103-4833065-9131026?ie=UTF8 Congrats. Shervin Asgari - System Consultant Frank W. Zammetti wrote: Thank you very much guys, I appreciate it! Now you know why I've been relatively quiet around

Re: No getter method for property

2006-08-15 Thread Richard Yee
Make sure you don't have any old versions of your form bean in your classpath or in old jar files from previous builds. From what you have sent, things look correct and it should work. What tool are you using to build? Are you using JDeveloper? -Richard Daoud Abdelmonem Faleh wrote: Hello f

Re: Re[2]: How to convert absolute URL to context-relative URL?

2006-08-15 Thread Monkeyden
Then it will probably look something like the following: getRequestURI() + "?" + getQueryString() If not, print out all of the methods below and see what they give you. I've always hated the documentation for these methods, not the least of which is getRequestURI() which says it includes the pr

Re: Re[2]: How to convert absolute URL to context-relative URL?

2006-08-15 Thread Monkeyden
...by the way, they are on the HttpServletRequest object. On 8/15/06, Monkeyden <[EMAIL PROTECTED]> wrote: Then it will probably look something like the following: getRequestURI() + "?" + getQueryString() If not, print out all of the methods below and see what they give you. I've always hate

Re: Congratulations Frank

2006-08-15 Thread Frank W. Zammetti
Thanks Shervin! You could always go straight to the source too: http://apress.com/book/bookDisplay.html?bID=10143 Frank Shervin Asgari wrote: That link didn't work, but here is another http://www.amazon.com/gp/product/1590596951/ref=sr_11_1/103-4833065-9131026?ie=UTF8 Congrats. Shervin A

Re: Congratulations Frank

2006-08-15 Thread Monkeyden
Either that or get the best price. Not my publisher of choice but I'm always willing to support a colleague. The only place to buy tech books http://www.bookpool.com/ss?qs=1-59059-695-1&sourceid=mozilla-search&x=1-59059-695-1&y=1-59059-695-1 On 8/15/06, Frank W. Zammetti <[EMAIL PROTECTED]> w

Re: Congratulations Frank

2006-08-15 Thread Simon Chappell
On 8/15/06, Monkeyden <[EMAIL PROTECTED]> wrote: Either that or get the best price. Not my publisher of choice but I'm always willing to support a colleague. Actually, while I used to be a strict O'Reilly book buying fellow, I must say that I have several excellent titles from Apress. I think

Re: Struts encoding problem ?

2006-08-15 Thread kalpesh modi
You can configure your web.xml file. In Weblogic, you do something like this. /foo UTF-8 In Tomcat, something like this. javaEncoding> >UTF8 Thanks, -Kalpesh Mark Breitner <[EMAIL PROTECTED]> wrote: Hi, I´ve got the problem the I want to send the "€" (Euro) character via

RE: Congratulations Frank

2006-08-15 Thread Peter . Pilgrim
Yes. The link got http://www.amazon.com/gp/product/1590596951/ref=sr_11_1/002-6130372-8952 855?ie=UTF8 mangled by MS Outlook 2003 in the out tray! Actually I was in the famous (now revamped) Foyles Book store at Charing Cross Road in London just passing very quickly through to see about a d

Re: No getter method for property

2006-08-15 Thread Daoud Abdelmonem Faleh
Hello, Thx Richerd you've pointed the right problem. Infact am using JBuilder and it caches the compiled pakages. Now it's working as expected! thank you all folks that replayed. On 8/15/06, Richard Yee <[EMAIL PROTECTED]> wrote: Make sure you don't have any old versions of your form bean in you

Need to do pagination but can't use DisplayTag

2006-08-15 Thread pantichd
Hello, We are using SAP's Netweaver Developer Studio (NDS) to develop Struts applications. We want to implement pagination but we can't use DisplayTag because it requires JSP 2.0/Servlet 2.4. Unfortunately, NDS only supports JSP 1.2 + servlet 2.3. Can anyone recommend some other framework that

Re: Need to do pagination but can't use DisplayTag

2006-08-15 Thread pantichd
Just wanted to add that we'vefound the taglib below and it looks promising but it's also old and I'm worried about going with something that's not as widely supported (and used?) as DisplayTag http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html -- View this message in context: http://

RE: Need to do pagination but can't use DisplayTag

2006-08-15 Thread David Friedman
I've used displaytag 1.X in JSP 1.2. Did you subscribe to their mailing list for installation help? Have you also tried http://valuelist.sourceforge.net ? Regards, David -Original Message- From: pantichd [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 15, 2006 3:47 PM To: user@struts.apa

RE: Need to do pagination but can't use DisplayTag

2006-08-15 Thread kalpesh modi
Yes David is right. You can use display tag with JSP 1.2 Check - Java version/application server requirements at http://displaytag.sourceforge.net/11/migrating.html Thanks, -Kalpesh David Friedman <[EMAIL PROTECTED]> wrote: I've used displaytag 1.X in JSP 1.2. Did you subscribe to their mai

Using bean:message from non-struts servlet

2006-08-15 Thread James Sanders
Working within a larger struts system, it became necessary for me to create a servlet, which co-exists with, but outside of, the system. This has worked very well, but I now find myself wishing to use the functionality of and MessageResource files in a jsp outside the struts realm. It is not diff

Re: Using bean:message from non-struts servlet

2006-08-15 Thread Puneet Lakhina
On 8/16/06, James Sanders <[EMAIL PROTECTED]> wrote: Working within a larger struts system, it became necessary for me to create a servlet, which co-exists with, but outside of, the system. This has worked very well, but I now find myself wishing to use the functionality of and MessageResource

Re: Congratulations Frank

2006-08-15 Thread Martin Gainty
404 on all of the addresses Ive seen thu far..can you send me the ISBN? (Congratulations on publishing your book) Martin -- * This email message and any files transmitted with it contain confidential information intended only for

Re: Congratulations Frank

2006-08-15 Thread Monkeyden
1590596951 On 8/15/06, Martin Gainty <[EMAIL PROTECTED]> wrote: 404 on all of the addresses Ive seen thu far..can you send me the ISBN? (Congratulations on publishing your book) Martin -- * This email message and any files tra

Re: Using bean:message from non-struts servlet

2006-08-15 Thread James Sanders
Puneet, Thank you for your response. The problem is that this does not work outside of the land of struts configuration. Using struts configuration, each jsp has access to all the keys in the Messages.properties file for its module (or actually, whichever module the ActionForm that forwards to th

Re: Using bean:message from non-struts servlet

2006-08-15 Thread Rahul Akolkar
On 8/15/06, James Sanders <[EMAIL PROTECTED]> wrote: Puneet, Thank you for your response. The problem is that this does not work outside of the land of struts configuration. Using struts configuration, each jsp has access to all the keys in the Messages.properties file for its module (or actuall

Re: Using bean:message from non-struts servlet

2006-08-15 Thread James Sanders
Thank you Rahul, this was exactly what I needed. I was not formerly familiar with the fmt taglib. On 8/15/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: On 8/15/06, James Sanders <[EMAIL PROTECTED]> wrote: > Puneet, > > Thank you for your response. The problem is that this does not work outside >

Validator Client-Side and Custom Classes

2006-08-15 Thread Mississippi John Hurt
Hi, I want to do client-side validation using a custom class I can specify in the validator.xml section. But my question is if I use a custom class, then how the heck can Struts generate the custom javascript for it in the jsp if I'm using a custom java class I wrote that exists only on the serve

RE: Need to do pagination but can't use DisplayTag

2006-08-15 Thread pantichd
David, Thanks for the reply. It's encouraging to hear that you were able to use it with JSP 1.2. According to this link it requires JSP 2.0 http://displaytag.sourceforge.net/11/displaytag/dependencies.html When I try to run a very simple JSP using the tag I get this message: com.sap.engine.ser

Choices, choices...How does one choose a taglib for displaying tables?

2006-08-15 Thread pantichd
Hello, We have a need to display tabular data in a Struts application. Seems simple enough. Start researching but all off a sudden it's not so simple. just a quick search finds a bunch of different frameworks (DisplayTag, ValueList, TableTag, PagerTag). Some would say that variety is good and I

Re: Choices, choices...How does one choose a taglib for displaying tables?

2006-08-15 Thread Frank W. Zammetti
Does it *have* to be a taglib? And does it have to be free? If the answer to both is no, I *very* highly recommend: www.activewidgets.com I did about a weeks' worth of research last month trying to find the best grid widget I could, and that one floated to the top pretty quickly... the only

Unable to validate two different checkbox, through validation.xml

2006-08-15 Thread Nilesh Sinha
I have two different checkbox field in form. fields Property is boolean. I want to validate the form as: User should check at least one of the checkbox. Regards, Nilesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Choices, choices...How does one choose a taglib for displaying tables?

2006-08-15 Thread David Durham
pantichd wrote: Some would say that variety is good and I agree but I also want to make sure we choose something that will work well with Struts and will be supported/enhanced going forward. I think displaytag is a reasonable choice. There are displaytag forums and displaytag mailing lists ho

Re: Unable to validate two different checkbox, through validation.xml

2006-08-15 Thread David Durham
Nilesh Sinha wrote: I have two different checkbox field in form. fields Property is boolean. I want to validate the form as: User should check at least one of the checkbox. Relevant info in the "Designing Complex Validations with validwhen" section of this document: http://struts.apache.or

Re: Re[2]: How to convert absolute URL to context-relative URL?

2006-08-15 Thread Srinivas_Biragoni
Try using this... ActionForward forward = mapping.findForward("test"); StringBuffer path = new StringBuffer(forward.getPath()); path.append("/appname.do?param1=1¶m2=2"); return new ActionForward(path.toString()); Thanks, Srinivas.