Struts User September Meeting - RE: [ANNOUNCE] Introduction to Hibernate by Norman Klein: 6:30pm on September 3rd in Mountain View

2003-08-26 Thread Bill Chmura
Maybe the powerpoint (uggg) slides can be posted online after... Something would be cool because I am just starting to Eye hibernate as an option -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 8:22 AM To: 'Struts Users

RE: Small request...

2003-08-26 Thread David Friedman
Keith, What are you doing? Sorting your mailbox on the 'sent' times so it shows up out of order because of the different timzones and countries of members posting to this list? I'm sorting on the 'received' time and everything is readable and makes perfect sense. Well, everything except this

Re: DynaForm Beans and Indexed Text fields.

2003-08-26 Thread Joel
Mark, Thank you very much for the hints. Everything works now. I appreciate your time very much. Joel. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Need Help : DispatchAction and html:image without javascript.

2003-08-26 Thread R Balaji
Shashank , I really need the ImageButtonDispatchAction, as i am also facing the same problem now. could you please help me , from where can i get the code. With Regards, R Balaji Shashank Dixit wrote: Hello Martin Thanks for your help, I found out the code for ImageButtonDispatchAction and it

RE: Html-el:hidden tag!?!?!

2003-08-26 Thread David Friedman
I'll go with the logical answer of: It's a hidden form tag, so there is no point in having a visual style for a non-visible element. Regards, David -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 1:37 PM To: Struts User List ([EMAIL

Re: Missing images style sheet in welcome file

2003-08-26 Thread Jason Lea
sriram wrote: Hi, In my web application (using struts), I have login.jsp as welcome file. I've defined the welcome file in web.xml as follows: welcome-file-list welcome-file/jsp/login.jsp/welcome-file /welcome-file-list And in login.jsp, I'm using relative path to load images and style

RE: Html-el:hidden tag!?!?!

2003-08-26 Thread Steve Raeburn
That was the first answer that popped into my head, but the styleId attribute generates an (X)HTML id attribute which is not a visual style attribute at all, despite the Struts attribute name, but an element identifier within the (X)HTML document. I think the fact that it's missing is just an

Accessing Tiles-Definitions

2003-08-26 Thread Nick
Hi, We are looking for a way to gain access to the tiles-definitions in an action class. We are dynamically building menu bar links, and would like to place helpful objects related to each link into the session context. Currently, I can see the tile plug-in definition and the reference to the

Struts User in Malaysia

2003-08-26 Thread Mohd Amin Mohd Din
Hi, Any Malaysians on this mailing list? Lets start a struts user meet up in preferably KL. Amin

struts with other frameworks and JSTL

2003-08-26 Thread Prashanth.S
Hi all, I have 2 questions 1--Where can i find comparision between struts and other frameworks[like cacoon etc etc] 2--How can i switch existing application [which uses lot os jstl and customised taglibs] into struts framework..just need a brief idea... Thanks Prashanth

RE: Small request...

2003-08-26 Thread Andrew Hill
I'd love to oblige, but I think its best I keep my computer back in 1993. Id hate to get that nasty Y2K thing that was going around a year or two back! Sorry. -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 03:03 To: [EMAIL PROTECTED]

Re: RE : Validator and Dispatch Actions

2003-08-26 Thread manglu
Thomas, How do i have 3 actions here? I have only one action with three methods each working on SEARCH, CREATE and EDIT.(which is why i use the dispatch Action) Appreciate any other thoughts. TIA, Manglu thomas Sontheimer wrote: you have to use (Dyna)ValitatorActionForm instead of

OT: Re Small request...

2003-08-26 Thread Jeff Kyser
and besides, by continuing to set my clock back none of my 30-day evals expire.. just kidding... LOL -jeff On Wednesday, August 25, 1993, at 09:35 PM, Andrew Hill wrote: I'd love to oblige, but I think its best I keep my computer back in 1993. Id hate to get that nasty Y2K thing that was

RE: Re Small request...

2003-08-26 Thread Shane Mingins
Especially the 30 day trial version of Struts :-) -Original Message- From: Jeff Kyser [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 2:57 p.m. To: Struts Users Mailing List Subject: OT: Re Small request... and besides, by continuing to set my clock back none of my 30-day evals

User authentication methods (or ways to login a user)

2003-08-26 Thread Cezar Nasui
Hi, I'm new to Struts and to getr used to it I developped an application which has to log in a user by checking records in a database. After reading more posts about user authentication I've got puzzled and now I try to clarify this thing. I identified the following ways to do the

RE: Validator JavaScript and html:radio buttons

2003-08-26 Thread Kruse, Matt
IIRC, it's invalid HTML unless exactly one of the radio button options is selected. That's not true. Not really. From the specs: QUOTE Radio buttons are like checkboxes except that when several share the same control name, they are mutually exclusive: when one is switched on, all others

RE: Authentication Filter not working

2003-08-26 Thread Cezar Nasui
Hi Jing, Using container security or servlet filter are equivalent when protecting web applications. We have a topic with sample security constraints at http://www.netspread.com/tips2.html#mvc in which you could put 'nobody' role to deny any direct access to your JSP pages in web applications.

RE: html in ActionMessage resource keys?

2003-08-26 Thread Cezar Nasui
Hi, I used HTML code to customize the way errors are displayed e.g.: errors.header=ulfont color=redError/font error.username.required=liPlease enter your username/li error.password.required=liPlease enter your password/li error.login.invalid=liInvalid login/li error.noValues.invalid=liYou didn't

RE: Validator JavaScript and html:radio buttons

2003-08-26 Thread Cezar Nasui
Hi Matt, As the other said I would suggest to have one button already selected unless your business logic says not to suggest something to the user. I think your generated Javascript doesn't check to see if at least one button is selected. Can you post the JS code and the code for the submit

RE: [OT] Re: Small request...

2003-08-26 Thread James Mitchell
Are you sure? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 4:47 PM To: Struts Users Mailing List Subject: Re: [OT]

[OT]cryptography

2003-08-26 Thread Nagendra Kumar O V S
hi, whats the best algorithm to store credit card numbers in to the database.? i am palnning to use PBE based, just to avoid the storage of key. what r the pros cons?? TIA -nagi Nagendra Kumar O V S

[OT] Free 2 hour presentation - Introduction to Struts 1.1

2003-08-26 Thread James Mitchell
If you are new to Struts, or just want to know more about it, join us this Thursday evening from 7PM to 9PM for An introduction to Struts 1.1 presentation by Java Guru and Master ChefChuck Cavaness. Admission is free. Also, for those who have some free time before the meeting, a few of us

Re: struts and flash

2003-08-26 Thread Micael
There are real issues with this, unless you merely embed the Flash. If you just embed the Flash, everything is simple, of course. If you don't, there are real problems of referencing this and that. What do you want to do? If you say you can embed the Flash images in the JSP pages, then

test only.. ignore !!!

2003-08-26 Thread rajendra . x . yadav
test onlt thanks -raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Struts custom tags tutorial : urgent!!

2003-08-26 Thread Seshadhri Srinivasan
Hi, I have a JSP page in which I am supposed to add content dynamically based on some logic. I came to know that using custom struts tags in the jsp page can aid in making the presentation logic modular. However I have no idea of custom Struts tags. Can some one suggest a good tutorial to cover up

RE: struts with other frameworks and JSTL

2003-08-26 Thread Navjot Singh
|Hi all, |I have 2 questions |1--Where can i find comparision between struts and other |frameworks[like cacoon etc etc] See struts archives, around 2 months back someone gave a wonderful comparison of struts with expresso etc |2--How can i switch existing application [which uses lot os jstl |and

RE: Paging through DB ResultSets

2003-08-26 Thread Navjot Singh
Model Layer If you database supports *limit* clause, use that. OR Use Paging Patterns (known as Value List Handler in J2EE but i think it's misnomer ;-) Presentation Layer Use Pager Taglib |-Original Message- |From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] |Sent: Tuesday, August

RE: Design question

2003-08-26 Thread Navjot Singh
| |Now my questions are : |1 I am doing write something wrong. It's better not to club two logically different business process handlers. I guess you want to reduce the number of Action Classes to be created. If yes, follow this way action path=/CreateUser type=navjot.CreateAction

[OT] Updating multiple textarea

2003-08-26 Thread rajendra . x . yadav
Hi, I have multiple textboxes in one page which i display in a while loop. So, till the while is true, textboxes will display. Now, I have to update all of them in one shot. So, when the user hits the Update button, how do I get the text of the textboxes to pass to the UPdate query. thanks -raj

RE: Struts custom tags tutorial : urgent!!

2003-08-26 Thread Steve Raeburn
I do appreciate that when you are completely new to a subject it can be difficult to know where to look. However, you'll get a much more sympathetic response if you demonstrate that you have at least tried to find things out for yourself before asking for help. Start with the Struts web site: -

How to disable a component based on bean property.

2003-08-26 Thread deepaksawdekar
Hi All, I need to disable the html:text component based on some property of bean. Any pointer how can i achive this. Thanks and Regards Deepak . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Struts custom tags tutorial

2003-08-26 Thread Seshadhri Srinivasan
Hi Steve, Let me clarify: I know some of the basic concepts of struts and I have been using things like the Action class, the Form class etc. But the point is, after having finished the work on the backend logic, I have to present my data in the form of tables on the page. Now the table

Re: How to disable a component based on bean property.

2003-08-26 Thread Koni Roth
You could use logic:equal or logic:notEqual tags: logic:equal name=myForm property=method scope=request value=update html:text disabled=true property=username size=30/ /logic:equal Koni deepaksawdekar wrote: Hi All, I need to disable the html:text component based on some property of bean. Any

RE: Design question

2003-08-26 Thread deepaksawdekar
Thanks a lot navjot. I will try this. Deepak . -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:20 AM To: Struts Users Mailing List Subject: RE: Design question | |Now my questions are : |1 I am doing write something wrong. It's better

RE: mesage message account

2003-08-26 Thread Mohd Amin Mohd Din
Don't think that you are a colored person message message. Get a life. Amin -Original Message- From: James Childers [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 2:25 AM To: Struts Users Mailing List Subject: RE: mesage message account Hi! You are not special. There is

Database Pooling and Factory Bean

2003-08-26 Thread greg
Ok, here is the question. I have been reading the doucmentation of struts and some books that I have gotten my hand on. I think I understand most of the framework stuff. Now I would like to be able to incorporate database resource to my site using pooling resources and I would like to have a

RE: Struts custom tags tutorial

2003-08-26 Thread Steve Raeburn
In addition to the other resources I listed, you should take a look at JSTL: http://java.sun.com/products/jsp/jstl/ The reference implementation for JSTL is at Jakarta taglibs: http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html In particular, look at the iteration tag c:forEach

Validation failes and returns (almost) empty page.

2003-08-26 Thread Rune Peter Bjørnstad
Hi, I've got a bizarre problem regarding form validation. A simple form is validated, and when failing this validation I get a blank html page with the following source: htmlbody/body/html The last message in the log is: Validation failed, returning to '/upload.jsp' I've read in another

RE: Database Pooling and Factory Bean

2003-08-26 Thread Steve Raeburn
This might give you a start, http://jakarta.apache.org/struts/faqs/database.html However, I prefer not to involve Struts in the data access layer, so these are also well worth a look: - Hibernate http://hibernate.bluemars.net/ - Ibatis http://www.ibatis.com/ Rick Reumann has recently added an

[OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
I know you guys are all excellent java programmers, so I do believe someone has what I'm looking for? I really please need a date utility class that accurately calculates the number of years between 2 dates? Would appreciate it very much thx!! NOTICE: This message contains privileged and

RE : RE : Validator and Dispatch Actions

2003-08-26 Thread thomas Sontheimer
if you want to use different validation rules with the validator you have to declare different action elements in your struts-config.xml file (using the same action class if you want). another means is to validate your form in the methods of your action class as propose Koni in the mail sent on

Re: [OT] Re: Small request...

2003-08-26 Thread Adam Hardy
Oh, come on James, now you're being silly. ;) On 08/26/2006 06:14 AM James Mitchell wrote: Are you sure? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Keith Pemberton [mailto:[EMAIL PROTECTED]

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread Kwok Peng Tuck
Try java.util.Calendar or java.util.GregorianCalendar. Butt, Dudley wrote: I know you guys are all excellent java programmers, so I do believe someone has what I'm looking for? I really please need a date utility class that accurately calculates the number of years between 2 dates? Would

Re: Validation failes and returns (almost) empty page.

2003-08-26 Thread Rune Peter Bjørnstad
On Tue, 26 Aug 2003, Rune Peter Bjørnstad wrote: I've compared the logfiles of my application and the validator example application in the case of a failed validation. - In my case, the situation described in my previous mail occurs. - In the example application, the following messages are

RE: [OT] Re: Small request...

2003-08-26 Thread Andrew Hill
Well, both Venus and Mercury orbit closer to the sun than we do, and thus have shorter years - ergo: 2004 has been and gone long since over there. :-P -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 16:38 To: Struts Users Mailing List Subject:

struts and flash

2003-08-26 Thread yan
I have created a nav bar in Flash MX. One of the buttons on the Nav Bar ('Register') has the following Action Mapping in Struts: action path=/editRegistration type=struts.EditRegistrationAction name=RegisterForm scope=request validate=true forward name=success

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Bill Chmura
Can you just create two DATE objects, subtract them to get the difference? -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:19 AM To: 'Struts Users Mailing List' Subject: [OT] A date utility? anyone, pls help I

[OT] RE: mesage message account

2003-08-26 Thread Bill Chmura
Is the list banning colored people? That's bad. +1 for ending this horrid policy -Original Message- From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 3:12 AM To: 'Struts Users Mailing List' Subject: RE: mesage message account

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread matsuhashi
(BMy favorite "Core Java" book proposes the "corejava.Day" class (see (Bhttp://www.horstmann.com/corejava.html) which has (B int daysBetween(Day b) (Bmethod. Tt calcurates the number of days between 2 dates, rather than (B"years". Do you want the number of years in fraction ( like

RE: User authentication methods (or ways to login a user)

2003-08-26 Thread Bill Chmura
I just went through a whole slew of options, and in the end settled on letting tomcat do form based authentication. It works. Good instructions on it in the tomcat docs. Playing with the app directory structure to get a good fit took a little tweaking, I ended up moving everything around a

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
those libraries dont have the utility I need, only basic date/time functions...I need to accurately calculate the number of years between 2 dates. I used to do it on the DB, but that will be too slow in this situation because I will need to do it for about 3000 records.. -Original

Design Question (Keeping filters in the jsp)

2003-08-26 Thread Konstadinis Euaggelos
Hi to all, Suppose we have a tabular jsp, which shows data in the table. Also in this tabular jsp, we implement a searching mechanism applying some filters. Suppose that from that jsp we go with links or action in some others (depth 3-4), and i want to go back from the starting jsp, but i

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Hue Holleran
I read a lot about BigDate - but it's shareware @ $10, I think. Never had to use it myself but here's the link: http://mindprod.com/jgloss/bigdate.html#BIGDATE There is also a very good tutorial on dates (see Computer Dating link), here:

RE: Struts custom tags tutorial

2003-08-26 Thread Bill Chmura
Here are two easy ways out... http://edhill.its.uiowa.edu/display-examples/ (Wonderful, worked great for me) or http://jakarta.apache.org/velocity (Simple templating, integrates nicely) my code corresponding to these struts tags else where. This way the logic to display the data will

Re: [OT] Re: Small request...

2003-08-26 Thread Adam Hardy
Actually, my mail was meant to be a joke as well, but sadly I'm obviously incapable of operating my computer clock. But following your logic, you should obviously use the current close proximity of Mars to relocate there. Apparently their dot com bubble hasn't burst yet. 8-) On 08/26/2003

Re: Validation failes and returns (almost) empty page.

2003-08-26 Thread Rune Peter Bjørnstad
I found the solution to my problem. Instead of specifying an absolute JSP as my input attribute (struts-config.xml), I specified a forward name. Now it works perfectly. Still don't know why it works in the example application. Rune. On Tue, 26 Aug 2003, Rune Peter Bjørnstad wrote: On Tue,

RE: Java Question

2003-08-26 Thread Steve Raeburn
This question was asked and *answered* yesterday. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgNo=86724 Is there any reason you are repeating the it? Steve -Original Message- From: Kapadia Mitesh-C23457 [mailto:[EMAIL PROTECTED] Sent: August 24, 2003 11:21 AM To:

RE: Checkboxes

2003-08-26 Thread Steve Raeburn
Atachments don't make it through the list, Mike. Best bet would be to make your file available on a publicly accessible website and post the link, or if it's small enough, post the text in the body of your message. Steve -Original Message- From: Mike Jasnowski [mailto:[EMAIL

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Mark Galbreath
java.util.Calendar Mark -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:19 AM I really please need a date utility class that accurately calculates the number of years between 2 dates?

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread graham . stark
Quoting [EMAIL PROTECTED]: My favorite Core Java book proposes the corejava.Day class (see http://www.horstmann.com/corejava.html) which has int daysBetween(Day b) method. Tt calcurates the number of days between 2 dates, rather than years. Do you want the number of years in fraction

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
yes, that would be great, a fraction , yes please (B (B-Original Message- (BFrom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] (BSent: Tuesday, August 26, 2003 11:18 AM (BTo: Struts Users Mailing List (BCc: [EMAIL PROTECTED] (BSubject: Re: [OT] A date utility? anyone, pls help (B

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Butt, Dudley
thanx guys for all the input, i'm sure I'll come up with something, with all the emails -Original Message- From: Hue Holleran [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:36 AM To: Struts Users Mailing List Subject: RE: [OT] A date utility? anyone, pls help I read a lot

RE : Validation failes and returns (almost) empty page.

2003-08-26 Thread thomas Sontheimer
I had the same problem and your solution works. thank you thomas -Original Message- From: Rune Peter Bjørnstad [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:46 AM To: Struts Users Mailing List Subject: Re: Validation failes and returns (almost) empty page. I

Re: struts and flash

2003-08-26 Thread Adam Hardy
Hallo Yan, I don't know the answer but I am very curious about combining Flash and Struts. Do you know if it is possible to program Flash to submit a form? I presume you write scripts that control the Flash plugin on the browser. Regards Adam On 08/26/2003 11:06 AM yan wrote: I have created a

[OT] getting SSI to work like Tiles

2003-08-26 Thread Adam Hardy
I am writing a little website that will run on Apache and it has quite a few pages. Now that I am used to Tiles and the amazing ability to have a base template that defines the layout for all my pages, I am wondering whether I can implement the same sort of base template using SSI include

RE: [OT] RE: mesage message account

2003-08-26 Thread James Mitchell
laughter type=ROARING DUDE You actually believe that?!?!? Anyone who believes that should be banned for stupidity. /laughter -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Bill Chmura

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread matsuhashi
I checked the http://www.horstmann.com/corejava.html and downloaded the corejava.zip sample file. I got surprised to find that the corejava.Day class is no longer included in the zip. I have the 4th edition of the book at hand where the corejava.Day class is surely explained. However it seems

Re: suggestion needed

2003-08-26 Thread krthekeyan
Hi, you can download the strutsexample.ear from apache website which will be easy for you to startup. Try deploying it and for better understanding it try debugging it through any java ide. bye, krthekeyan.s - Original Message - From: Raju BSN [EMAIL PROTECTED] To: Struts Users Mailing

Re: [OT] A date utility? anyone, pls help

2003-08-26 Thread Jason Lea
Butt, Dudley wrote: I know you guys are all excellent java programmers, so I do believe someone has what I'm looking for? I really please need a date utility class that accurately calculates the number of years between 2 dates? Would appreciate it very much thx!! I can think of 2 ways of

Re: Struts User in Malaysia

2003-08-26 Thread virupaksha
Hi amin. I am virupaksha working in peneng on j2ee.. I haven't started my development in struts yet. But i know struts. regards, viru - Original Message - From: Mohd Amin Mohd Din [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 25, 2003 9:53 PM Subject: Struts User in

Re: struts and flash

2003-08-26 Thread Mark Lowe
This may work.. If you can set you form action in the embed tags you could set the value to html:rewrite page=/MyAction.do /. If that doesn't just use /myapp/MyAction.do then in you action.. DynaActionForm theForm = (DynaActionForm) form; Map paramMap = request.getParameterMap(); Object[]

RE: [OT] Re: Small request...

2003-08-26 Thread James Mitchell
Yes, I was being silly (sort of). I changed my system date to 2006 before sending that one, but it had no effect on the date posted on the list. I'm guessing that the date/time is determined from the smtp server or some other piece of the chain from me to you. Later. -- James Mitchell

Re: [OT] Re: Small request...

2003-08-26 Thread Robert Leland
James Mitchell wrote: Yes, I was being silly (sort of). I changed my system date to 2006 before sending that one, but it had no effect on the date posted on the list. I'm guessing that the date/time is determined from the smtp server or some other piece of the chain from me to you. Later.

RE: [OT] Re: Small request...

2003-08-26 Thread Thomas Cornet
I'm using Eudora, and the date of your post is 06/28/2006 at 6:14 in my mailbox... Maybe it depends also on the mail client. Thomas At 12:57 26/08/2003, you wrote: Yes, I was being silly (sort of). I changed my system date to 2006 before sending that one, but it had no effect on the date

RE: using tiles...

2003-08-26 Thread Pady Srinivasan
But in the tiles-documentation web app also, the controller is commented out. I tried uncommenting and still get the same error. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Monday, August 25, 2003 3:28 PM To: Struts

tiles: condition in tile definition

2003-08-26 Thread Jiri Chaloupka
Hallo, haw I can define condition in tile definition? for example, I have 3 pages: basic.jsp: ** html head/head body blablabbla |tiles:insert attribute=loginform/| /body/html ** loginform.jsp: ** username:html:text property=uname /br/

RE: Html-el:hidden tag!?!?!

2003-08-26 Thread Slattery, Tim - BLS
Why is it that the html-el:hidden tag has no styleId attribute? I'll go with the logical answer of: It's a hidden form tag, so there is no point in having a visual style for a non-visible element. Regards, David styleId becomes the id attribute of the HTML tag. That is *not* a visual

how to handle unknown exceptions/errors

2003-08-26 Thread Brian McSweeney
Hi all, Is there a standard way to handle all unknown exceptions in Struts? For example in my Action classes I normally Catch specific exceptions and forward to specific error pages. But for all other exceptions should I just forward to a global Errors page? Eg: In my struts action

Re: Html-el:hidden tag!?!?!

2003-08-26 Thread Mark Lowe
Drilling to document object via the id is a bit restricting anyhow. Using the older way of using name (property) is more reliable, and supported by just about everything. I've always restricted id for dhtml stuff, and always use name for form work. Hope this sounds like a guide to egg sucking.

Re: Html-el:hidden tag!?!?!

2003-08-26 Thread Mark Lowe
Sorry.. I mis-typed.. I hope this doesn't sound like a guide to egg sucking.. On Tuesday, August 26, 2003, at 01:54 PM, Mark Lowe wrote: Drilling to document object via the id is a bit restricting anyhow. Using the older way of using name (property) is more reliable, and supported by just

RE: How to disable a component based on bean property.

2003-08-26 Thread Paul McCulloch
An example using a nested:submit the bean property 'enabled' nested:define property=enabled id=enabled type=Boolean/ nested:submit disabled=%=!enabled.booleanValue()% Button text /nested:submit Paul -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: 26

Re: Validation failes and returns (almost) empty page.

2003-08-26 Thread Robert Leland
Rune Peter Bjørnstad wrote: I found the solution to my problem. Instead of specifying an absolute JSP as my input attribute (struts-config.xml), I specified a forward name. Now it works perfectly. Still don't know why it works in the example application. Rune. Could you add this to the

EL version of tag libraries

2003-08-26 Thread Ji Mare
Where can I get html-el? (if el means expression language). Thanks a lot Slattery, Tim - BLS wrote: Why is it that the html-el:hidden tag has no styleId attribute? I'll go with the logical answer of: It's a hidden form tag, so there is no point in having a visual style for a non-visible

RE: [OT] Re: Small request...

2003-08-26 Thread Andrew Hill
Hmmm. Is your mail client travelling at or near the speed of light? -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 August 2003 20:06 To: Struts Users Mailing List Subject: RE: [OT] Re: Small request... I'm using Eudora, and the date of your post is

RE: struts and flash

2003-08-26 Thread Daniel Blumenthal
my current plan of attack is to embed a flash object in the web page, and then use XML.sendAndLoad() to send queries to the server and get information back. i have one Action which is specifically tasked with receiving all internal requests by my application (it accepts things like

Nested Tags

2003-08-26 Thread Erez Efrati
Hi all, What is the status with nested:xxx tags? Should I use them or should I avoid using them? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Nested Tags

2003-08-26 Thread Jeff Kyser
I think they are great - allows you to 'scope' your tags, and makes iterators easier and recursion possible. And you can develop reusable jsp fragments since the scope is local to the object of interest. Read up on them at www.keyboardmonkey.com - excellent documentation and examples there...

Re: How to write a validator class

2003-08-26 Thread krthekeyan
hi, public class UserNameValidator { private Connection con= null; private ResultSet resultSet = null; try{ con = DriverManager.getConnection(url,scott,tiger); // Retrieve data from the database Statement stmt = con.createStatement(); String sql = SELECT username FROM userdetails

RE: EL version of tag libraries

2003-08-26 Thread Slattery, Tim - BLS
Where can I get html-el? (if el means expression language). That's exactly what it means. It comes along with the Struts 1.1 libraries. Look in the /contrib/struts-el subdirectory of the distribution library. The *.tld and *.lib for html-el, logic-el, and bean-el taglibs are there. (But the

Hooking Security Check in ActionServlet.java

2003-08-26 Thread sreekant_gottimukkala
Hi All, I am trying to implement my own security piece, towards that I would like to plug in the call to my security check logic. My requirement is that for every action on a form/page security should be validated, Thus I need to plug my security check call at a place which will be called at

RE: Nested Tags

2003-08-26 Thread Andrew Hill
The power of nested tags cannot be understated. Id advise you to use them (where applicable) for they are really useful, they make simple a lot of things that would otherwise be a nightmare to implement. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26

RE: Struts custom tags tutorial

2003-08-26 Thread Edgar Dollin
Try struts layout, it is quite complete as far as display control is concerned. http://struts.application-servers.com Edgar -Original Message- From: Seshadhri Srinivasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 1:51 AM To: 'Struts Users Mailing List' Subject: RE:

RE: Struts as a framework

2003-08-26 Thread Mohan Radhakrishnan
I will drop the matter now :-) All I wanted to know was what kind of framework Struts is. During one of the presentations I was asked to define frameworks and class libraries. Have been bitten by the design bug lately. Mohan -Original Message- From: Mainguy, Mike [mailto:[EMAIL

Resource Bundle Inheritance - please vote!

2003-08-26 Thread Sgarlata Matt
There was discussion a while back about allowing resource bundles to inherit from other resource bundles. I prepared a patch which is an important step to allow this to happen and it looks like it's dying in BugZilla. I would appreciate anyone who would like to see this functionality make it

Re: RE : RE : Validator and Dispatch Actions

2003-08-26 Thread Robert Leland
thomas Sontheimer wrote: Could you add this to the Validator Wiki FAQ ? At : http://nagoya.apache.org/wiki/apachewiki.cgi?ValidatorFAQ Be sure to give yourself credit if you want to use different validation rules with the validator you have to declare different action elements in your

RE: Struts custom tags tutorial

2003-08-26 Thread Edgar Dollin
Logic in the display which needs to know anything about the specifics of business logic, makes no sense to me, although there seem to be very few of us who have this attitude. Examples of this include field size; required fields; number logic (internationalization), etc. Edgar -Original

Re: RE : Validation failes and returns (almost) empty page.

2003-08-26 Thread Rune Peter Bjørnstad
Glad to help. The world now has atleast two less frustrated men walking about.. ;) Rune. On Tue, 26 Aug 2003, thomas Sontheimer wrote: I had the same problem and your solution works. thank you thomas -Original Message- From: Rune Peter Bjørnstad [mailto:[EMAIL PROTECTED]

RE: Struts as a framework

2003-08-26 Thread Mainguy, Mike
After some research into what the heck you are talking about, I would say that struts is a white box framework that most people end up designing a grey box framework from...(I.E., struts is the framework framework). -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]

RE: RE : Validation failes and returns (almost) empty page.

2003-08-26 Thread Yansheng Lin
Forward retains your request arguments(i.e., actionErrors), while an absolute url submits an entirely new request(i.e., without any actionErrors). -Original Message- From: Rune Peter Bjørnstad [mailto:[EMAIL PROTECTED] Sent: August 26, 2003 5:29 AM To: Struts Users Mailing List Subject:

RE: [OT] A date utility? anyone, pls help

2003-08-26 Thread Yansheng Lin
How about DateA(mod)DateB? Does it work for floating point:). -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: August 26, 2003 5:28 AM To: Struts Users Mailing List Subject: Re: [OT] A date utility? anyone, pls help Butt, Dudley wrote: I know you guys are all

  1   2   >