Need Help:Generating XML File from database records --- User Defined Data Types(UDT)

2004-10-10 Thread Kranti Parisa
Hi Friends, I have stuck up with a problem.. I am getting the records from the database based on some search criteria interms of an User Defined DataType (UDT)...I need to generate a XML file from that.. Can any one help me in this regard.. TIA.. Kranti Parisa -- -- Kranti Kiran Kumar Pari

Re: Problem displaying errors/messages - Repost

2004-10-10 Thread Satish Talim
Thanks Rick. I was racking my brains for a solution; I realised this missing bean tag import after I had posted this last night. - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, October 11, 2004 8:42 AM Subject

Re: help : submit with javascript problem

2004-10-10 Thread Michael McGrady
Geesch! Wrong again -- I AM. He does have an but it is outside the form and used to submit the form. REALLY ODD! Why is he doing that? Michael McGrady Rick Reumann wrote: I do wonder in this case, however, whether you use buttons or rely on the auto-gui, why use "button" rather than "

Re: help : submit with javascript problem

2004-10-10 Thread Michael McGrady
Heh, Rick, I think we both misread what this gentleman is doing. I know I did. I missed that the button used to submit the form was outside the form. Why it is outside is not clear. But, he said it was. But, you seem to have missed that it was being used to submit the form. An odd situati

RE: Where does Tiles check for roles for role based access

2004-10-10 Thread Ashutosh Satyam
Hi, I too have a doubt which is closely related to tiles role checking mechanism. I have defined the login page of my application like this. This works fine. Depending upon the user's role appropriate mainMenu is substituted. Now going on the same line

Re: One jsp File for all Errors(Exceptions) ?

2004-10-10 Thread Rick Reumann
Manuel Wissmann wrote the following on 10/10/2004 5:50 AM: Is there a easy way in Struts to use one jsp-file to display all Errors(Exceptions) which occour? Sure just create a global-exception of type java.lang.Exception in your struts-config. Have it forward to error.jsp and display your error

Re: Dynamic Include based on a bean's property.

2004-10-10 Thread Rick Reumann
David Farrell wrote the following on 10/10/2004 7:52 AM: When that page loads, I want to load the html:form that is appropriate for this type of module (each module will have a corresponding form and actions to recieve the form's input). This is handled automagically for you by the strtus-config

Re: org.apache.struts.action.MESSAGE not found??

2004-10-10 Thread Dean Hiller
thanks much. serves me right for using an outdated book. thanks, dean - Original Message - From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, October 10, 2004 9:35 PM Subject: Re: org.apache.struts.action.MESSAGE not found?? > Dea

Re: org.apache.struts.action.MESSAGE not found??

2004-10-10 Thread Rick Reumann
Dean Hiller wrote the following on 10/10/2004 11:06 PM: I have found out it appears struts is not loading my resource file in time for the properties to be read from it or something like that. Does anyone have any ideas? My struts-config.xml file has this in it action org.apache.str

Re: help : submit with javascript problem

2004-10-10 Thread Rick Reumann
Michael McGrady wrote the following on 10/10/2004 10:09 PM: I do wonder in this case, however, whether you use buttons or rely on the auto-gui, why use "button" rather than "submit", if you want to submit? I might also say, that is what submit buttons are for. I assume, however, that there is

how to setup i18n

2004-10-10 Thread Dean Hiller
sorry, but when searching list, I get the error "Text search not available for this list " which I wasn't getting the other day, so I could not search the archives. I am still getting "Cannot find message resources under key org.apache.struts.action.MESSAGE" How is i18n supposed to be setup?

Re: Problem displaying errors/messages - Repost

2004-10-10 Thread Rick Reumann
Satish Talim wrote the following on 10/10/2004 9:22 PM: <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-logic"; prefix="logic" %> You're missing the bean tag import. -- Rick --

Re: org.apache.struts.action.MESSAGE not found??

2004-10-10 Thread Dean Hiller
Well, it turns out tomcat 5 is fixed giving me the true stack trace which as suspected is coming out of struts. I have found out it appears struts is not loading my resource file in time for the properties to be read from it or something like that. Does anyone have any ideas? My struts-config.xm

Re: help : submit with javascript problem

2004-10-10 Thread Michael McGrady
Hello, again, Rick, Thanks for the clarification. Your posts are always enlightening and informative. I mean that. I am not being sardonic in the slightest. I have to admit that I don't think they look bad either. However, they do greatly restrict the GUI team. I like my taste but I know t

Re: help : submit with javascript problem

2004-10-10 Thread Rick Reumann
I often use the regular html buttons for various things. Users are used to seeing these buttons so they know they can click on them. So for example someone might have a button "view logs" which doesn't necessarily submit a form but opens up a pop up window or maybe goes to some other url. Sure

Problem displaying errors/messages - Repost

2004-10-10 Thread Satish Talim
I am re-posting the problem we are facing, as I did not get any reponse on this from the group. We are new to Struts and experimenting with a simple Login screen using Struts 1.2.4 with JBoss 4.0 and J2SDK 1.4.2. The problem that we are facing is - we are unable to display any error messages on

Re: help : submit with javascript problem

2004-10-10 Thread Michael McGrady
Hi, RIck, I don't understand why this would make someone "make an image look like a form button". I am not sure what that means. All my form buttons are images. They look however I want them to look. I probably don't see what you are saying either. We may be coming from different directions

Re: help : submit with javascript problem

2004-10-10 Thread Rick Reumann
Michael McGrady wrote the following on 10/10/2004 4:42 PM: Wjau are you using button? Why not use image? What's the advantage of using an image in this case? Wouldn't this require someone to make an image to look like a form button? I'm probably missing something obvious here:) -- Rick

Validator + Multiple Bundles

2004-10-10 Thread Raul Cesar Teixeira
I am trying to use the validator framework with non-default resource bundles, like so: However, validator does not seem to find the bundle. I read a bug report on this (from 2003) , but it claimed it was fixed. Any help will be appreciated. ---

Re: [OT] ssurname@standardbank.co.za

2004-10-10 Thread Craig McClanahan
On Sun, 10 Oct 2004 16:30:04 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote: > How can I prevent this annoying bounce message after every post to the > struts list? (I know I can filter it to the trash but still this is very > annoying). I tried emailing [EMAIL PROTECTED] but that bounced > back as

Dynamic Fonts: Devolving to Default "Dialog"

2004-10-10 Thread Michael McGrady
I use a Struts PlugIn to set System.setProperty("java.awt.fonts", MyApp.FONTS_LOCATION) to set the dynamic option for awt fonts. This works. Then I put a variety of open source fonts in the MyApp.FONTS_LOCATION directory. new File(MyApp.FONTS_:LOCATION).exists() return "true". When I set i

Re: help : submit with javascript problem

2004-10-10 Thread Michael McGrady
Wjau are you using button? Why not use image? Neil Erdwien wrote: I think the piece you're missing is that the tag is only valid inside a FORM element according to the HTML standards. If I remember correctly from the last time I misplaced the element, the browsers differ on their implementatio

Re: Q: Switching Modules

2004-10-10 Thread jean kon-sun-tack
> Maybe I missed a bit, but do you not always have page flow coded in JSP AND Action > classes? This should be the exception ! Not the rule. > In the action the server decides what to do with user input and what page to go next. No. The action just says success, error or whatever return c

[OT] ssurname@standardbank.co.za

2004-10-10 Thread Rick Reumann
How can I prevent this annoying bounce message after every post to the struts list? (I know I can filter it to the trash but still this is very annoying). I tried emailing [EMAIL PROTECTED] but that bounced back as well. Please be advised that the correct email address format to be used in

[OT] beanutils convert empty string to 0 vs null for Integer?

2004-10-10 Thread Rick Reumann
Sorry for being lazy here and not checking into this myself, but can anyone confirm if the latest behavior of the beanutils converters is to still convert empty or null Strings to 0 (vs null) for the wrapper number types (Integer, Double, etc)? Also, going the other direction - from say Integer