Re: Response not XHTML-comliant when using

2004-02-01 Thread Adam Hardy
Use this instead in your tiles: I validate my tiles xhtml & the only error I ever get is one saying that I shouldn't be using the onclick event due to accessibility issues. Adam On 01/31/2004 10:46 PM Michael McGrady wrote: I have run into similar difficulties with Tiles and have just made do

Re: Favorite tag reference?

2004-01-26 Thread Adam Hardy
There is a seperate JSTL spec doc in pdf format from Sun somewhere I think. I guess the link is on the jakarta-commons website. On 01/26/2004 04:38 PM P. Hill wrote: Adam Hardy wrote: I find the struts docs for struts taglibs the best. [...] 2nd to that is the JSTL spec for the JSTL taglibs I

Re: dbcp and mysql

2004-01-26 Thread Adam Hardy
Hi Andrea, I can't figure out the non-English bit, but it looks like your XML configuration is incorrect. Presumably in your server.xml or your context config file. On 01/26/2004 03:08 PM [EMAIL PROTECTED] wrote: It not works, these are the errors: GRAVE: Parse Error at line 4 column -1: Leleme

monday morning theory question

2004-01-26 Thread Adam Hardy
Here's a question to all you theorists out there about division of a use-case between model and controller. I have a use case where my struts app receives a http post from PayPal detailing a transaction which it has just processed for me, taking payment from a customer I sent there from my webs

Re: Favorite tag reference?

2004-01-26 Thread Adam Hardy
I find the struts docs for struts taglibs the best. The API docs at the link you give are all I've ever needed. 2nd to that is the JSTL spec for the JSTL taglibs On 01/26/2004 12:56 AM P. Hill wrote: Hi, Just thought I'd ask if anyone has any favorite on-line or paper references for the vario

Re: [OT] accepting payment in real-time

2004-01-24 Thread Adam Hardy
hanks, Srikanth = Srikanth Shenoy Author: Struts Survival Guide ObjectSource Publications http://www.objectsource.com = Adam Hardy wrote: Sorry it's a bit OT but I know of no other forum where I might find java developers doing e-commerce. googl

Re: [OT] accepting payment in real-time

2004-01-24 Thread Adam Hardy
Just in case anyone is interested, paypal have a B2B service called Instant Payment Notification, which looks easily programmable, with struts of course. :) On 01/24/2004 04:20 PM Adam Hardy wrote: On 01/24/2004 02:44 PM Corey Leong wrote: Hey Adam -- I'm actually starting to work on a s

Re: [OT] accepting payment in real-time

2004-01-24 Thread Adam Hardy
On 01/24/2004 02:44 PM Corey Leong wrote: Hey Adam -- I'm actually starting to work on a struts/paypal project such as this. If you're interested, there's a paypal dev forum, at paypaldev.org. Under IPN, there's a java area. My username is OpenMLS, of course. :) As of right now, I have new pos

[OT] accepting payment in real-time

2004-01-24 Thread Adam Hardy
Sorry it's a bit OT but I know of no other forum where I might find java developers doing e-commerce. googling brings up only rubbish or purchasable solutions (could be my search terms though...) I'm trying to figure out a way of incorporating paypal into my e-commerce site, but it is difficult

Re: AW: how to show error messages in a pop up window?

2004-01-23 Thread Adam Hardy
Dirk, I used that on my last project. In my resource bundle I had the following: errors.header=alert( errors.footer=''); general.validate.date='A Date if given must be a valid Date in the format {0}!\\n' + Note the apostrophes and the plus sign, so that a whole series of error messages would pop

Re: Struts 1.1, Tiles and sslext11

2004-01-21 Thread Adam Hardy
Found it, it's in the latest release on sourceforge 1.10-4 oh and it's SecureTilesPlugin with a little in not In for anybody's info. Don't know how you managed that, Marino, if you just cut & pasted that config. On 01/21/2004 11:45 AM Adam Hardy wrote: Hi there, which

Re: Struts 1.1, Tiles and sslext11

2004-01-21 Thread Adam Hardy
Hi there, which jar is SecureTilesPlugIn in? I just looked in struts.jar and sslext.jar. thanks Adam On 01/21/2004 01:52 AM Marino A. Jonsson wrote: heh heh typical :) btw. you don't need to specify two SecurePlugIns (both SecureTilesPlugIn _and_ a SecurePlugIn)! What you want to do is this ins

Re: deleted ApplicationResources_de.properties ghost

2004-01-20 Thread Adam Hardy
result and setting "nothing" or de gives you the incorrect strings. Eric. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 2:25 PM To: Struts Users Mailing List Subject: Re: deleted ApplicationResources_de.properties ghost Deployed my

Re: deleted ApplicationResources_de.properties ghost

2004-01-20 Thread Adam Hardy
-----Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Deployed my war file on a server I'd never touched before. Same problem. I re-created the German xxx_de.properties file with a copy of the English, and changed a couple of strings into German to hilight the difference.

Re: deleted ApplicationResources_de.properties ghost

2004-01-20 Thread Adam Hardy
es file in all ear/war of the web server? -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Thanks Heya, but not wild & crazy enough :) - I already did that. In fact I made a war file and tested it on a completely different server. On 01/20/2004 08:28 AM [EMAIL PROTECTED] wrot

Re: deleted ApplicationResources_de.properties ghost

2004-01-20 Thread Adam Hardy
ust check manually rather than grepping and see if you find the "ghost" file. Adam Hardy <[EMAIL PROTECTED]> 20/01/2004 06:12 PM Please respond to "Struts Users Mailing List" Does anybody have any ideas on this? Even wild, stupid, ridiculous ideas. Anything? On 01/19/2004

Re: Struts 1.1, Tiles and sslext11

2004-01-20 Thread Adam Hardy
Hi Greg, I'm using the same setup as you, except I use the straight org.apache.struts.action.SecurePlugIn and it works. Haven't seen that exception before. Adam On 01/19/2004 09:06 PM Greg Hess wrote: Hi All, I am having difficulty integrating the sslext11 plug-in with Struts 1.1 using Til

Re: deleted ApplicationResources_de.properties ghost

2004-01-20 Thread Adam Hardy
Does anybody have any ideas on this? Even wild, stupid, ridiculous ideas. Anything? On 01/19/2004 07:02 PM Adam Hardy wrote: Actually I just did get access to a third server and did a complete fresh install of java & tomcat and my app.war, and the ghost German strings came up. So the Ge

Re: deleted ApplicationResources_de.properties ghost

2004-01-19 Thread Adam Hardy
just checked. Again, deleting or adding the German locale to the browser settings makes the strings change, so it is definitely the resource bundles. On 01/19/2004 06:17 PM Adam Hardy wrote: Yes, unfortunately it does. On my dev machine and my future production server. But I had them both run

Re: deleted ApplicationResources_de.properties ghost

2004-01-19 Thread Adam Hardy
when you build/run the webapp on a different computer? Not sure what to tell you here, but that should at least narrow the scope to something in the source or some ghost file on your dev machine. -tim -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Monday, January 19,

deleted ApplicationResources_de.properties ghost

2004-01-19 Thread Adam Hardy
I'm having a nightmare with the ApplicationResources_de.properties resource bundle in my webapp. I asked a colleague to look at it and he's baffled too. I had my resource bundle in an English and also a German .properties file, for testing purposes, but then decided to ditch the German version

Re: Struts and iframes

2004-01-15 Thread Adam Hardy
If you're going to use a form in one frame to submit to another frame, then you should expect that! You could set the action mapping 'input' parameter to an error page instead of the form itself. That way, the 2nd frame will display an error message instead of a form. Adam On 01/14/2004 06:52

Re: Struts Tiles Double Post Issue

2004-01-14 Thread Adam Hardy
Hi Justin, I don't know of any bugs relating to double-posting in any browsers or struts etc, so I'd suggest that you have done something wrong in your javascript or your action mapping or your tiles definition. On 01/13/2004 04:09 PM Smith Justin M wrote: I am running into a problem with Struts

Re: Generate Java class from xml?

2003-12-17 Thread Adam Hardy
Hmm, looks pretty good but it doesn't seem to do what I need. Thanks though. On 12/17/2003 11:54 PM Mark Lowe wrote: Dont know about using digester but html parser is a handy library. http://htmlparser.sourceforge.net/ Might help you do what you want. On 17 Dec 2003, at 22:45, Adam

Re: problem with adding ActionMessage to ActionErrors

2003-12-17 Thread Adam Hardy
On 12/17/2003 09:36 PM Bradford M. Ayers wrote: I noticed in the documentation that ActionError is deprecated, so I was trying to be a good doobie and use ActionMessage like the docs say to. So in my code, when I go from this: errors.add( ActionErrors.GLOBAL_ERROR, new ActionMessage( "error.passwo

Re: Generate Java class from xml?

2003-12-17 Thread Adam Hardy
Hi Christopher, just a quick question about Digester, perhaps you can save me the effort of reading up on it to find out myself, but will Digester be able to parse HTML? I am dealing with the Internet Explorer bookmarks export file. I have already tried JAXB but JAXB chokes on it, saying that t

Re: *****SPAM*****Re: Generate Java class from xml?

2003-12-17 Thread Adam Hardy
John, this is off-topic, but why does your message header contain the word ***SPAM** ? On 12/17/2003 08:43 PM John Smart wrote: There's also XMLBeans (http://xml.apache.org/xmlbeans/) , which, unlike Castor, works with JDK 1.4... Martin Gainty wrote: Castor (http://www.castor.org) whic

Re: Struts EL status

2003-12-16 Thread Adam Hardy
When you upgrade to tomcat 5, you won't need any *-el taglibs anymore. The EL will be taken care of automatically by the container. That means that when you upgrade, you just change your taglib declarations from html-el, tiles-el etc back to html, tiles... It makes it a non-issue! On 12/16/200

Re: [OT] Beer

2003-12-12 Thread Adam Hardy
Hey Brice, have you been to Munich then? I know that Weissbier! Adam On 12/12/2003 03:54 PM Brice Ruth wrote: Or Ireland or Germany, for that matter. You need stray no further than Guiness (your stout) and Hacker Pschorr, your Hefeweiss. Set for life :) VAN BROECK Jimmy wrote: Then you were lu

Re: tiles-el

2003-12-12 Thread Adam Hardy
On 12/12/2003 03:53 PM Wendy Smoak wrote: Okay I've just had a sniff around the stuff in cvs, has any one used tiles-el without any bleeding edge issues? Well... I use JSTL and Struts-EL (in that order of preference) and I've never run into a need for what I'd think of as Tiles-EL. The only pla

Re: [OFF TOPIC] STRUTS PROGRAMMER JOB.

2003-12-11 Thread Adam Hardy
Tiago, I don't know if this is a good recommendation but have you looked at elance? Haven't tried it myself but I get the impression you can get work and work remotely. On 12/11/2003 09:55 PM Dalmia, Swati wrote: Yeah sure... Everything will be provided you just name it -Original Message--

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
On 12/10/2003 09:18 PM Christian Bollmeyer wrote: AFAIK Struts issues only the 'standard three' set of NoCache directions, so the IE extensions are not there. The same is true from wget -S 3 Pragma: No-cache 4 Cache-Control: no-cache 5 Expires: Thu, 01 Jan 1970 00:00:00 GMT Adam -- struts 1.1 +

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
s",0); rgds Antony Paul. - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 5:33 PM Subject: Re: Tag for adding no-cache header. On 12/10/2003 12:16 PM

Re: Tag for adding no-cache header.

2003-12-10 Thread Adam Hardy
On 12/10/2003 12:16 PM Antony Paul wrote: Hi, Does any Struts tag generate the headers necessary to say browser not to cache a JSP page. It still exists as a scriptlet in my JSP. If one is added it will be useful. I think every dynamic page need this. rgds Antony Paul. Put this tag inside the c

Re: Please Help! Unable to Pass A Hidden Field To scaffold.Proces sAction

2003-12-09 Thread Adam Hardy
Rats, the thread broke, hence my other reply. Like everyone says, you need to check the return value of getRemoteUser() - try looking at the value of the hidden field in the HTML via IE's 'Show page source'. On 12/08/2003 11:55 PM Caroline Jen wrote: I pass two hidden fields: username and keyNam

Re: Please Help! Unable to Pass A Hidden Field To scaffold.ProcessAction

2003-12-09 Thread Adam Hardy
Hi Caroline, have you checked the source of the HTML page in the browser to see what the value of username is, client-side? I expect the value is being sent to the browser as null. If that is the case, it is because request.getRemoteUser() is returning null and that would be because you don't h

Re: ContentType problem

2003-12-04 Thread Adam Hardy
On 12/04/2003 07:11 PM Mike Erickson wrote: I'm using Jboss 3.2, Tomcat 4.1 and Struts 1.1 (including Tiles) and am unable to set the encoding to utf-8. I've tried the following: 1) set the contenttype within the controller configuration in struts-config.xml contentType="text/html;charset=UTF-8

[OT] Re: Changing SessionId at every request

2003-12-03 Thread Adam Hardy
erver. I meant say i have a domain A on Server A, I want to access the sessionId of Domain A onto the Domain B on Server B. I think this is a very strange question but i have been asked the same. ANy help of you guys Thanks Gary ----- Original Message - From: "Adam Hardy" <[E

Re: Changing SessionId at every request

2003-12-03 Thread Adam Hardy
I assume that Gurpreet wants to do it for security reasons and it's not a bad idea. It certainly means that nobody would be able to share a session, and so therefor a session-hijack would become obviously immediately. I think expiring the session is overkill - I would just leave the session as

onclick events usage in struts taglibs

2003-12-02 Thread Adam Hardy
I'm testing my app for accessibility issues and because of the following HTML in my struts app pages: my website is failing the Bobby test at http://bobby.watchfire.com/bobby/html/en/index.jsp Basically bobby objects to the onclick event. Surely it would be possible to change the javascript

Re: RES: recursive tiles

2003-12-02 Thread Adam Hardy
it. Could you give a simple example of the definition in tiles-defs.xml, the getting and putting in foo.jsp? In your code bellow () where is defined subbody1? The name is the name in tiles-defs? And value is the jsp page? Tks a lot Felipe -Mensagem original- De: Adam Hardy [mailto:[EMAIL PROTE

Re: my version of the Tokens

2003-12-01 Thread Adam Hardy
Hi Raphaël what happens if the user has two browser windows open for two different datasets which use the same action? He will be prevented from submitting the second one. Adam On 12/01/2003 11:30 AM Raphaël di Cicco wrote: Hi, before knowing about tokens, I have implemented a way to deal with

Re: recursive tiles

2003-12-01 Thread Adam Hardy
Hi Felipe, not quite sure exactly what you want to do - where do you expect subbody1 & subbody2 to come from? If you are defining them in your tiles-defs.xml then you need to pass them as variables explicitly to 'body' in your maintemplate: HTH Adam On 12/01/2003 06:41 AM Felipe Nascimento

Re: HTML tags/filter/UTF-8

2003-11-30 Thread Adam Hardy
On 11/21/2003 09:25 PM Dave Hodson wrote: (B> A question for the list: (B> (B> I have an input form, which is handled via Struts and the input is validated, (B> URLEncoded with UTF-8 and stored in a DB (B> At a later date, the user can modify their input. The input is displayed with an (B>

Re: Question about Tiles Defs...

2003-11-29 Thread Adam Hardy
On 11/28/2003 09:36 PM Timo wrote: Because Internatilization is a big concern, I am using the struts localization technique to resolve labels, texts etc. But now, I am using the tiles-defs.xml to display the pages. one problem is to replace the title property, I know if I am using a regular jsp I c

session required for struts

2003-11-27 Thread Adam Hardy
I wrote a filter to enable me to overwrite the request and response objects with my custom ones - I want to disable use of the session for various requests, e.g. google bots, requests to some pages on my site. My problem is with the custom request - I overrode the request.getSession() to return

Re: Converting from Frames to Tiles

2003-11-27 Thread Adam Hardy
On 11/27/2003 08:53 PM Aidan O'Loan wrote: 1. In each Action class, instead of setting the ActionForward to a page, set it to one common tiles definition AND set an attribute named 'forwardPage' in the request specifying the old ActionForward's path - /mymodule/whatever.jsp. You can create one c

Re: Converting from Frames to Tiles

2003-11-27 Thread Adam Hardy
On 11/27/2003 06:13 PM Aidan O'Loan wrote: I'm working on converting a web application with 6 sub-modules from a frames-based layout - with a menu on the left, a top section, and a main body section - into a single page using Tiles to construct the pages. Time is of the essence, so for now I'm l

Re: [FRIDAY] YA Stuts In Action / JUnit in Action Trivia Quiz

2003-11-27 Thread Adam Hardy
On 11/27/2003 06:55 AM Ted Husted wrote: Last time, we asked contestants to identify the cartoonist responsible for this gem: Tour of Accounting: "Over here we have our random number generator." "NINE NINE NINE NINE NINE NINE" "Are you sure that's random?" "That's the problem with randomn

Re: [Q.] how to port appl with frames to Struts? any good ways to do it?

2003-11-26 Thread Adam Hardy
On 11/25/2003 08:24 PM Michael Korolyov wrote: Hello, We have application around 100 JSP(s) Model 1 (luck of controller). There is "main" page that holds three frameset in it - top frameset has logo and other info / docs links, left is used as navigation tree and main for content. Is Tiles solutio

Re: Lazy questions on this list & [FRIDAY!]

2003-11-21 Thread Adam Hardy
I think that the balancing act between catering for the newbies and testing the patience of the grizzled struts listers is always a difficult one. Some lists that I have been which keep off-topic or lazy questions to a minimum do it in several ways. The css-discuss list has a list policy much

Re: tokens creating a field in my forms

2003-11-21 Thread Adam Hardy
On 11/20/2003 11:44 AM Raphaël di Cicco wrote: I understand how tokens work. I'm currently modifying my application to use tokens every time possible. The thing is that I'm doing validation with javascript on my JSPs, and very often checking form elements with the index. When using token, struts

Re: chained actions

2003-11-19 Thread Adam Hardy
On 11/19/2003 12:13 PM Caroline Lauferon wrote: Wahouh! thanks a lot for your great explanation! thanks to all those who have also helped me: Adam Hardy and Nicolas De Loof ;-) and thanks Andrew from me too - I never knew that. Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9

Re: chained actions

2003-11-19 Thread Adam Hardy
Hi Caroline, the only reason that I know of which would explain the loss of the form property values is redirecting from action1 to action2, but your action mappings don't show redirect="true". Are you redirecting by default somehow? I know it is possible for instance with an init-param on you

Re: OO Struts

2003-11-19 Thread Adam Hardy
On 11/19/2003 02:30 AM Travis D. Falls wrote: I am designing my first struts application, but I have been a java developer for about 5 years. I am actually refactoring a survey app. I wrote. The way struts was explained to me was my ActionForms were like my Transfer objects and my actions were ju

Re: Declarative Security and Struts

2003-11-18 Thread Adam Hardy
On 11/18/2003 12:47 AM Michael Blair wrote: I have been able to get a MemoryRealm in Tomcat to work using BASIC authentication. If I try to do this with FORM based authentication it seems to think the ACTION="j_security_check" in my login.jsp seems to make struts think this is an action that should

Re: Saving and restoring requests? (HttpServletRequest)

2003-11-17 Thread Adam Hardy
On 11/17/2003 05:58 PM Lukas Österreicher wrote: But here it comes: - After the user has been logged in, the originally approprate page should be displayed by calling the someaction Action again, with the same parameters. So how do I save and later restore them? Lukas, you presumably missed the th

Re: Redirecting after logon...

2003-11-17 Thread Adam Hardy
Sorry, I meant post On 11/17/2003 05:58 PM Kris Schneider wrote: Just a note that ActionServlet only implements doGet and doPost so I imagine you'll get some sort of method-not-supported error (inherited from HttpServlet) if you send it a PUT request. Quoting Adam Hardy <[EMAIL PROTECTED]

Re: Redirecting after logon...

2003-11-17 Thread Adam Hardy
On 11/17/2003 02:31 PM Susan Bradeen wrote: I have been using the following for returning the user to their intended URL after a login, and have had good luck with it ... - In the Base Action class - if (someCheckFor.loggedInUser() == null) { StringBuffer goToPath = new StringBuffer(reque

Re: Realm authentication & password change

2003-11-17 Thread Adam Hardy
On 11/17/2003 12:43 PM Grassi Fabio wrote: I'm using Tomcat User Database Realm authentication with a Struts application. It all works fine *but* I would like to give my users the ability to change their password. The problem is that once the password is changed in my RDBMS, Tomcat keeps the old pa

Re: Redirecting after logon...

2003-11-17 Thread Adam Hardy
On 11/17/2003 05:29 AM Craig Edwards wrote: To complete process X, the user has to perform 5 steps. The user can perform steps 1, 2 and 3 with or without being logged on, but they must be logged on to perform steps 4 and 5. Obviously, I can have a specific check in step 4, but I would like, sa

Re: Hello World gone wrong

2003-11-17 Thread Adam Hardy
Hi Richard, simply put, struts is not initializing the message resources until you call an action mapping. Since you go straight to hello.jsp direct, struts bean taglib doesn't have the resource bundle available. See the output log below that comes at the point when I call 'hello.do', an action

Re: DynaAction differences?

2003-11-13 Thread Adam Hardy
On 11/12/2003 11:35 PM Nathan Maves wrote: What is the difference between these three DynaActionForm DynaValidatorForm DynaValidatorActionForm I assume that the first does no validation. But I can not find any docs on how to use the second two. Hi Nathan, the first allows the developer to write

Re: Hello World gone wrong

2003-11-12 Thread Adam Hardy
On 11/12/2003 02:50 AM Richard Morris wrote: Adam, The struts.jar is located in the /WEB-INF/lib folder. I know the struts.jar file is working because I can use the html tags (i.e. , , etc.) without error. I just don't know what the problem could be. I am sure it is something stupid but with suc

Re: fmt:message, fmt:setLocale and struts

2003-11-12 Thread Adam Hardy
sync? Something like this might work (untested): import javax.servlet.jsp.jstl.core.Config; ... HttpSession session = request.getSession(true); Locale locale = (Locale)session.getAttribute(Globals.LOCALE_KEY); if (locale == null) { locale = request.getLocale(); } Config.set(session, Config.FMT_LOCALE, locale); Quoting Ad

fmt:message, fmt:setLocale and struts

2003-11-11 Thread Adam Hardy
Struts and JSTL seem to have different algorithms to establish the locale to use. I have JSPs which use for titles, labels, comments etc and I have also just started to program a page which will include an underlying language page to incorporate big paragraphs of localized text. I thought I w

Re: Hello World gone wrong

2003-11-11 Thread Adam Hardy
configuration file with the added . Anyway, thanks for whatever help you can send my way. Richard Morris [EMAIL PROTECTED] - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, November

Re: Hello World gone wrong

2003-11-10 Thread Adam Hardy
ll couldn't find the properties file. I am using the default tomcat configuration with the following server.xml addition: - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> On 11/10/2003 04:48 AM Richard Morris wrote: org.apache.jasper.JasperException: Can

Re: Dynamic page contentType

2003-11-10 Thread Adam Hardy
it's possible to set it in other ways, e.g. in the config, so you may get unpredicted results. Adam -Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: November 8, 2003 9:15 AM To: Struts Users Mailing List Subject: Re: Dynamic page contentType On 11/07/2003 10:16 PM Er

Re: Hello World gone wrong

2003-11-10 Thread Adam Hardy
On 11/10/2003 04:48 AM Richard Morris wrote: org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE Here is the struts-config.xml file: - Here is the web.xml file: he

Re: Fwd: Please Help !! Can't Display ActionMessages

2003-11-09 Thread Adam Hardy
Hi Kam, it's not obvious what is going wrong. What error message are you expecting? Do you see the "There were errors" text? Adam On 11/09/2003 08:55 AM Kam Lung Leung wrote: --- Start of forwarded message --- Subject: Please Help !! Can't Display ActionMessages From: "Kam Lung Leung" <

Re: use of several layout-definitions

2003-11-09 Thread Adam Hardy
Hi Dominik, it's not clear exactly which is your main page that you request from the browser. I use tiles-defs.xml as the repository for all my definitions, and I am no longer familiar with the other method that you are using - in fact I am even unsure whether you are using JavaServer Faces - is

Re: Struts Best Practices.. Paper for Review pls

2003-11-09 Thread Adam Hardy
Hi Puneet, I think you need to check your HTML in Mozilla. Under 'Designing screens for variable number of fields' Mozilla shows no code and some huge blank spaces between paragraphs. Otherwise it's a fine document. But I think it's always a difficult call to differentiate between describing 'b

Re: Dynamic page contentType

2003-11-08 Thread Adam Hardy
On 11/07/2003 10:16 PM Eric SCHULTZ wrote: I'm developing an application in Struts that outputs primarily XML; but in some instances I need it to output HTML of the same ActionForms and Actions. Is there a way I can change the page forwarded in the Forward depending on some flag or property?! Or is

Re: [FRIDAY] Why people want to know who read their msg?

2003-11-07 Thread Adam Hardy
On 11/07/2003 09:38 PM Mike Jasnowski wrote: Or better yet, why not just write an Outlook add-in that strips the header for you. --- Adam Hardy <[EMAIL PROTECTED]> wrote: I wonder if anyone on the Jakarta admin team could set the mailing list software to strip the 'request-confirma

Re: [FRIDAY] Why people want to know who read their msg?

2003-11-07 Thread Adam Hardy
On 11/07/2003 09:31 PM David Graham wrote: I wonder if anyone on the Jakarta admin team could set the mailing list software to strip the 'request-confirmation' email header from the mails it sends out? As Yinsheng says, there is no point in them. You want Jakarta to change its processes to accomo

Re: [FRIDAY] Why people want to know who read their msg?

2003-11-07 Thread Adam Hardy
On 11/07/2003 09:13 PM Yansheng Lin wrote: That's not the point. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: November 7, 2003 12:48 PM To: Struts Users Mailing List Subject: Re: [FRIDAY] Why people want to know who read their msg? On Fri, 7 Nov 2003, Yanshen

Multiple IE versions on one box without partitions!

2003-11-07 Thread Adam Hardy
I'm forwarding this from another mailing list. I've installed 5.02, 5.5 and 6.0 on my old NT box and so far so good apart from one visit from Dr. Watson. Apparently clicking on Favorites can bring unexpected results. Adam Original Message Subject: RE: [css-d] Multiple IE vers

[FRIDAY] google pigeon-ranking

2003-11-07 Thread Adam Hardy
The secret of google's success is out: http://www.google.com/technology/pigeonrank.html Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [FRIDAY] Finally a game worth playing except if u belong to the SPCA

2003-11-07 Thread Adam Hardy
On 11/07/2003 01:00 PM Andrew Hill wrote: Hehe. After a bit more practice I can get 49 without difficulty. Current high is 80. Got there twice once on r13 and once on r12, and had quite a few 70+ but cant seem to crack that 80 barrier garrrgh You should try playing only by sense of hearing. Tha

Re: FAQ (Passing Variables Between Actions); But, Stuck and Need Help

2003-11-07 Thread Adam Hardy
On 11/06/2003 09:02 PM Caroline Jen wrote: I think I am going for the first method that you suggested - create a user bean and store it in a session object at login. My concern is that I use container managed authentication at login. After the container does its job, is there any way other than

Re: [FRIDAY] Finally a game worth playing except if u belong to the SPCA

2003-11-07 Thread Adam Hardy
On 11/07/2003 09:51 AM Andrew Hill wrote: hehe make that 49 (r10) You sad geek - you obviously hacked it. I only managed 11. Isn't it a bit strange how the kittens seem to purr after you've shot them? Adam -- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9 --

Re: [FRIDAY] Rugby World Cup joke

2003-11-07 Thread Adam Hardy
Ahem, i think you've got the teams in the Final wrong. Everyone knows it's going to be Japan vs USA ;) On 11/06/2003 10:39 PM Shane Mingins wrote: A man has tickets for the Rugby World Cup Final between New Zealand and Australia. As he sits down, another man comes and asks if anyone is sitting i

Re: FAQ (Passing Variables Between Actions); But, Stuck and Need Help

2003-11-06 Thread Adam Hardy
On 11/06/2003 08:26 AM Caroline Jen wrote: Passing variables from one action to another is a frequently asked question. The answer is to use either hidden fields or a session object. [snip...] Now, the application has another user case - editors. An editor only retrieve and view all articles

Re: Concerns in Using Tiles.

2003-11-05 Thread Adam Hardy
On 11/05/2003 10:27 AM Sunny wrote: On Wednesday 05 November 2003 02:27 pm, you wrote: The problem still persists code in my exportResourcePool.jsp Current Page: Exception generated: [ServletException in:/activity/plan/exportResourcePool.jsp] Cannot find bean currentPage in any scope' I just u

Re: struts and filters

2003-11-05 Thread Adam Hardy
On 11/05/2003 09:43 AM Andrew Hill wrote: that's a bit like asking "will servlets work with filters?" or "will JSPs work with filters?" or even "will MVC work with filters?" The answer to which is NO if running under a Servlet API 2.2 container... ;-) Well strike me down for misleading the poor g

Re: Concerns in Using Tiles.

2003-11-05 Thread Adam Hardy
On 11/05/2003 09:14 AM Sunny wrote: HI Friends, I am developing an application which needs to port attribute of one tile to other. Heres my defintion of tiles: My Action in Struts-config.xml

Re: struts and filters

2003-11-05 Thread Adam Hardy
On 11/04/2003 10:37 PM jeff wrote: will struts work with filters ? i am using filters now, and want to start using struts. Jeff, that's a bit like asking "will servlets work with filters?" or "will JSPs work with filters?" or even "will MVC work with filters?" Struts is compatible with filters, a

Re: Struts Best Practices

2003-11-05 Thread Adam Hardy
On 11/04/2003 10:38 PM Vic Cekvenich wrote: iBatis.com Petstore 3 is a good place to start. I also try to make basicportal.sf.net a bP (best Practice) that build on above example. As far as books I am writing my 2nd Struts book (first one was out in 2001) that happens to be titled "best pract

Re: [OT] create XML based on DTD from resultset on fly

2003-11-03 Thread Adam Hardy
On 11/03/2003 09:58 PM Ashish Kulkarni wrote: Hi, i have designed a DTD for my XML file, now i want to genereate a XML file based on this DTD on the fly, I will run a SQL querry, which will return me a result set, i want to create XML file from this resultset, and i dont want to write it to a file

Re: Working with UTF-8 and problems with German Umlauts

2003-11-03 Thread Adam Hardy
On 11/03/2003 09:43 PM Zsolt Koppany wrote: I have problems with German Umlauts when I enter the code below to my jsp pages. The problem is when I for example I forget to fill a required field and the previous values are restored after validation. How can I fix that? I use tomcat-4.1.24 with strut

Re: Tiles Redirect Bug on a per Tile basis? Help!

2003-10-30 Thread Adam Hardy
On 10/30/2003 11:26 PM David Erickson wrote: I was able to make it work using the tag. I found some interesting stuff with it though. The page url is relative to your context. So if my context was /salesweb, and i wanted the page at /salesweb/forum/transition-.jsp I would need to send it /foru

Re: tiles configuration

2003-10-30 Thread Adam Hardy
On 10/30/2003 08:15 PM [EMAIL PROTECTED] wrote: Hi y'all, I just started using struts and I have some questions on tiles. In my definitions file, I have a definition called tiles.index for my main page. In index.jsp, I do an insert: Is there anyway for me to avoid creating the index.jsp? I k

Re: Tiles Redirect Bug on a per Tile basis? Help!

2003-10-30 Thread Adam Hardy
On 10/30/2003 07:01 PM David Erickson wrote: Adam, Essentially I just want to display a different content in that area of my layout. And I considered using a jsp:include, but by the point the logic determines that a different page needs to be in that spot it has already loaded a bunch of JSP varia

Re: tiles question

2003-10-30 Thread Adam Hardy
On 10/30/2003 09:00 AM Frers Michael wrote: Hi well this is ok tiles is used to manage many jsp sides with all nearly the same layouts over one configuration file this means you have to maintain (if you use full tiles power) minimum 3 files: the layout jsp (setting positions of header, body, footer

Re: Tiles Redirect Bug on a per Tile basis? Help!

2003-10-30 Thread Adam Hardy
On 10/29/2003 11:52 PM David Erickson wrote: Ya sorry that is a hard question.. here let me give more explanation: These are my two tile definitions in my tiles-defs.xml file. I call a jsp file, for example test.jsp it contains: <%@ taglib uri="/WEB-INF/struts-tiles.tld"

Re: Tiles Redirect Bug on a per Tile basis? Help!

2003-10-29 Thread Adam Hardy
On 10/29/2003 11:04 PM David Erickson wrote: Bug description: Using tiles to handle our webpage. I have an individual tile which is a jsp that does some logic on our forums, if a certain situation occurs that tile when loaded will attempt to redirect to a error page. However this does not work.

Re: Validator. key: {0} doesn't display.

2003-10-29 Thread Adam Hardy
On 10/29/2003 03:15 AM kimbuba wrote: hello all! i don't know if i've found a bug or i made a mistake. I set up a validator. All works but the key to be display on forms in case of errors. ---i have my app divided into modules. ---on my main config file i have resource message: The one i use for Fo

Re: ActionErrors/ActionMessages

2003-10-28 Thread Adam Hardy
On 10/28/2003 10:16 AM Keld Hansen wrote: Great Adam, I really appreciate your info. BTW: I saw in the struts-dev newsgroup that there are some discussions about how to get rid of ActionErrors, and apparantly it's not crystal clear what will happen. Anyway I didn't find useful information about the

Re: ActionErrors/ActionMessages

2003-10-28 Thread Adam Hardy
ct 2003 14:56:08 From: Adam Hardy <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Cc: On 10/27/2003 12:47 PM Keld Hansen wrote: Thanx, I'll try it, but I read your suggestion as this: write out all global messages in the ActionMessages queue so I'll

<    1   2   3   4   5   6   7   8   9   >