Re: [Fwd: Re: [fileUpload] Question about file name]

2005-06-09 Thread Dakota Jack
Frank, If the File class does not normalize the string used to create the File, then there is a bug. There seems to be a bug in one version of Linux and that has been reported to Sun. The constructor for File is as follows: public File(String pathname) { if (pathname == null) {

Re: [Shale] AbstractJsfTestCase - Eclipse

2005-06-09 Thread Craig McClanahan
On 6/9/05, Carlos Fernandez <[EMAIL PROTECTED]> wrote: > AbstractJsfTestCase, implements a public Test suite() method. Eclipse > checks for this method when you tell it to run a class as a unit test. If > this method it exists it will use the returned Test class to determine what > tests to run.

Re: [ANN] JavaOne Social Gathering in San Francisco on 6/26 at 8pm

2005-06-09 Thread Craig McClanahan
I should be able to make it as well. Craig On 6/9/05, Don Brown <[EMAIL PROTECTED]> wrote: > As the attached message describes, there is a meeting of Java web > developers the night before JavaOne starts. I'm planning on attending > and hope to see many of you there. > > Don > > Origi

Re: AjaxTags v1.0 beta 1 released

2005-06-09 Thread Frank W. Zammetti
AjaxTags currently supports the 1.2 branch (1.2.0 through 1.2.7). I don't currently have plans to support 1.1, although that could change if enough people express an interest. Frank Lixin Chu wrote: Hi, I am using Struts 1.1, do I have to switch to 1.2 ? thanks lixin On 5/17/05, Dakota Jac

Re: AjaxTags v1.0 beta 1 released

2005-06-09 Thread Lixin Chu
Hi, I am using Struts 1.1, do I have to switch to 1.2 ? thanks lixin On 5/17/05, Dakota Jack <[EMAIL PROTECTED]> wrote: > Congratulations! Good work! > > On 5/12/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Finally got it all set up on http://struts.sf.net. The first "official" > > rel

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Michael Jouravlev
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > So what you are saying is that really all you need to do to implement > this feature is to keep the struts mapping the same and put no-cache > instructions in the page header. > > I can do that anyway without using DialogAction, right? I found th

Re: Test whether an application resource is empty

2005-06-09 Thread Laurie Harper
Try: "> ... where 'name' is the name of the attribute your resource bundle is stored under. L. Chris Loschen wrote: Hi Wendy, Thank you very much for your reply. Yes, I also thought that I could test the key, then check to see if the value was empty. But just how to do it is elu

Re: Multiple user - problem

2005-06-09 Thread croffman
I remember I have faced the similar problem before with only just servlets. Previous problem was, had a servlet containing a class level variable which holded the data. When multiple users hit the servlet, then the response data was switched to the users. Here, in the action class, there is an

Struts 1.2.6 -> 1.2.7 validation

2005-06-09 Thread Norris Shelton
I have code that works correctly under 1.2.6. I changed to 1.2.7 and now my validation depends="required" are not working. Has anyone else ran into this. Replacing the jars was the only change that I made. Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Appriss, Inc. ICQ# 2

RE: Toggle Colors between Rows

2005-06-09 Thread David G. Friedman
Did someone say taglib for alternating row colors? I suggest Displaytag. See: http://www.displaytag.org/example-columns.jsp Regards, David -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 11:25 AM To: Struts Users Mailing List Subject: RE: Toggl

Re: Multiple user - problem

2005-06-09 Thread Dave Newton
Ray Madigan wrote: It is hard for me to believe you got past a single user with out resetting the properties, unless you only write to them. If you use the form properties to assist in populating your form, the properties need to be reset. Well, if I'm hitting a form with existing values (li

Re: program for drawing buttons

2005-06-09 Thread Frank W. Zammetti
Not sure if you are looking for canned buttons or your own custom jobs, but if you are OK with a Windows program, I highly recommend Xara WebStyle. Even though it uses templates, and thus you are somewhat limited in what you can do, there are a TON of templates, and you can modify them a fair amou

[Fwd: Re: [fileUpload] Question about file name]

2005-06-09 Thread Frank W. Zammetti
Sorry guys, meant for this to go to the list only... On Thu, June 9, 2005 4:35 pm, Martin Cooper said: > Nope. If the upload came from a Windows system and the server is running on *nix, then the system separator is *not* what you want. You'd be looking for '/' in a path that uses '\' as the se

Re: Multiple user - problem

2005-06-09 Thread Martin Gainty
About 3/4 of the way down in the article 'j2ee design patterns' authored by William Crawford and Jonathan Kaplan http://www.devx.com/assets/download/7254.pdf Read the 'criteria' 'convert your session beans into business delegates' -- very instructional to the scenario you have described HTH Ma

add new role to user

2005-06-09 Thread Grzegorz Stasica
hi, My application use Tomcat's security mechanism to authorize users. My question is: Is it possible to add user a new role without forcing him to logout. I need this because in some circumstances user has different roles (for instance when in session there is object A user has roles: roleA,

program for drawing buttons

2005-06-09 Thread Grzegorz Stasica
hi, I know this group focus on other issues but could anybody suggest me any good program for drawing buttons and writing text on transparent background. At this moment I use GIMP but fonts looks woefully !!! Which is the best font for these things -

RE: Multiple user - problem

2005-06-09 Thread Ray Madigan
You wrote: As using DynaValidatorForm, not sure how to reset the properties. If you look at the javadoc on this class you will see a reset method where you need to reset the properties to their initial state. -Original Message- From: croffman [mailto:[EMAIL PROTECTED] Sent: Thursday, Ju

RE: Multiple user - problem

2005-06-09 Thread Ray Madigan
The class org.apache.struts.action.ActionForm has a reset method. For a long time I would add form property variables without handling them in the reset method. I would get old values in the form and was getting spurious data in the forms. It is hard for me to believe you got past a single user

Re: Multiple user - problem

2005-06-09 Thread croffman
Thanks for the quick responses. Here is some more info: 1. >Is it worse with more users? This was done by manual users, before load testing. Couldn't try that now. 2. >Do you keep any non-synchronized user-specific info in an instance of a class that is only instantiated once (like a s

Re: Multiple user - problem

2005-06-09 Thread Martin Gainty
both concepts are applicable in that scoping of session based information should ultimately pull from user-neutral entity (such as Class Object) whose end of life is not dependent on either client session passivation or client session termination Any underlying synchronisation mechanisms for ent

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Dakota Jack
Not mine, Michael. I am just saying that it is really incredible that you came up with the exact same code to solve a problem and then that solved the problem for you and you did not even know the problem existed. I do find that very hard to swallow. Why shouldn't I? Random solutions to a probl

Web Controls in Struts and DialogAction

2005-06-09 Thread Michael Jouravlev
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > your further discussion lost me since I only have a vague concept of > what the terms web control and portlet actually mean. I guess we actually need to establish some difinitions. I searched Struts list but did not find relevant info. If it is th

Re: Is there anyway to access this forum online?

2005-06-09 Thread Max Cooper
I'm on several high-traffic lists. Here's my recommendation: - though people often try this as a way to reduce the clutter, don't use digests (delivery option where you get a bunch of posts crammed together into one email message), since they are hard to read and even harder to reply to -- digests

RE: Test whether an application resource is empty

2005-06-09 Thread Chris Loschen
Well, that's certainly something I can consider for the future. For right now, our product is already pretty huge, and I think I would get shot if I tried to add another set of jars to the classpath, even if in the long run we'd be better off. The best solution I've been able to come up with is to

Re: Multiple user - problem

2005-06-09 Thread Dave Newton
Ray Madigan wrote: Also - are you resetting all of the properties in your forms classes. If not, some of the data set by one user can bleed over to another user. ?! Really? I was not aware of that; we deployed and load-tested a Really Big Sruts app internally at a large company. Under what

RE: Multiple user - problem

2005-06-09 Thread Ray Madigan
Also - are you resetting all of the properties in your forms classes. If not, some of the data set by one user can bleed over to another user. Hope that helps -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 10:15 AM To: Struts Users Mailing Li

Re: Multiple user - problem

2005-06-09 Thread Dave Newton
Martin Gainty wrote: -synchronisation of all method calls Why all? (Really, why _any_, since you can synchornized any shared data structures.) -scoping of data entities(assuming you are implementing with beans) Unless he's storing user data in application scope, this shouldn't be an iss

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Adam Hardy
OK fine on the robustness front - I off-handedly said robustness because I normally equate less code with robuster code. But don't let's bother discussing that. So what you are saying is that really all you need to do to implement this feature is to keep the struts mapping the same and put no-

RE: html:select few doubts

2005-06-09 Thread Leandro_Dorileo/ABACO
I tryied it and worked properly. In my action I did: MyFormBean f = (MyFormBean)form; request.setAttribute("myList",f.getMyList()); and in the JSP I did exactly like noted in the last mails. But, what if my collection is a field of my form bean? can't I do like the following?

Re: Multiple user - problem

2005-06-09 Thread Martin Gainty
the 2 things I would look at immediately -synchronisation of all method calls -scoping of data entities(assuming you are implementing with beans) Anyone else? Martin- - Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 09, 20

[Shale] AbstractJsfTestCase - Eclipse

2005-06-09 Thread Carlos Fernandez
AbstractJsfTestCase, implements a public Test suite() method. Eclipse checks for this method when you tell it to run a class as a unit test. If this method it exists it will use the returned Test class to determine what tests to run. Since the Test returned only includes AbstractJsfTestCase - Ec

Re: Multiple user - problem

2005-06-09 Thread Dave Newton
croffman wrote: Using Struts & EJB's - For load testing, facing a problem, that if 10 multiple users are accessing at the same time, only one user is getting other user data (WRONG data) out of 10 users. But all other 9 users are getting correct data. The wrong data for that one user, is from

RE: Test whether an application resource is empty

2005-06-09 Thread Benedict, Paul C
Chris, Struts contains an EL package for its tag libraries. Yes, you can use EL! But it doesn't matter if you're using Struts or not. If you're using a Servlet 2.3 container, you can use JSTL which you want to use. If possible avoid the and tags, and use JSTL instead. These are built with EL.

RE: Test whether an application resource is empty

2005-06-09 Thread Chris Loschen
Thanks for your help, Paul. I'm trying that, but I'm getting the same results as I did when I used originally. That is, I'm getting the key, not the value, so I still need to get the value to determine whether it's empty. But when I try to define a bean as the value of , it fails when that value

[Tiles] and Parameter Substitution

2005-06-09 Thread Ray Madigan
Does anyone know hoe to get around using the tiles tags to utilize ${} EL expressions. I have asked this question before, but not as explicitly. I need to be able to either ... or The reason is all of my pages are context driven from the perspective of the user and the business they pe

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Michael Jouravlev
On 6/9/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > Yes but what about Netscape 4? only kidding :) > > The effect is neat however you do have to implement the no-cache and you > have to turn off auto-validation and then rely on the browser, so I > wonder whether it is really neat enough to be

RE: Test whether an application resource is empty

2005-06-09 Thread Benedict, Paul C
Chris, Use to bring in the key. You can then use EL to test if it is empty or whatever. Thanks, Paul -Original Message- From: Chris Loschen [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 11:37 AM To: Struts Users Mailing List Subject: RE: Test whether an application resource i

Multiple user - problem

2005-06-09 Thread croffman
Using Struts & EJB's - For load testing, facing a problem, that if 10 multiple users are accessing at the same time, only one user is getting other user data (WRONG data) out of 10 users. But all other 9 users are getting correct data. The wrong data for that one user, is from one out of 9 other

[ANN] JavaOne Social Gathering in San Francisco on 6/26 at 8pm

2005-06-09 Thread Don Brown
As the attached message describes, there is a meeting of Java web developers the night before JavaOne starts. I'm planning on attending and hope to see many of you there. Don Original Message Subject: [sv-web-jug] JavaOne Social Gathering in San Francisco on 6/26 at 8pm Date: M

RE: html:select few doubts

2005-06-09 Thread Harland, David
This is all you need You can store your Collections in either the application/session/request/page scope. Be careful which one you store it in and what names you use as the key as the bean will check them all!! property is the name you give to the select. collection is any type

RE: Test whether an application resource is empty

2005-06-09 Thread Chris Loschen
Hi Wendy, Thank you very much for your reply. Yes, I also thought that I could test the key, then check to see if the value was empty. But just how to do it is eluding me. I think part of the problem might be this: USAGE NOTE - If you use another tag to create the body content (e.g. bean:write),

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Michael Jouravlev
On 6/9/05, Dakota Jack <[EMAIL PROTECTED]> wrote: > I still am absolutely amazed that you "came up with these tricks" > without even knowing that the difficulty was that you could not > directly reference a name in name value pair because includes > an .x and a .y with the name. The code you dupl

html:select few doubts

2005-06-09 Thread Leandro_Dorileo/ABACO
Hi All! I've never used this tag before and I'm not so good with taglibs then please correct my mistakes if I commit any. I got the following example in a recent thread here in this mailing list: Ok, few things I could already understand, in the html:select tag there are

RE: [OT] Automatic Javadoc - ing

2005-06-09 Thread Brian McGovern
Your right, I asked before i realized that javadoc could be launched against a class with no comments at all. It was my erroneous understanding that you needed /** * whatever whatever * whatever whatever */ in your code before javadoc could be generated.. -Original Message- Fr

Re: Test whether an application resource is empty

2005-06-09 Thread Wendy Smoak
From: "Chris Loschen" <[EMAIL PROTECTED]> > Quick synopsis: I have localized i18n messages defined in my tiles > definitions which are sometimes empty. I need to test that the value > associated with a given key is not empty before I proceed with further > processing. I can test that the key is non

Re: [OT] Automatic Javadoc - ing

2005-06-09 Thread Brett Connor
From: "Brian McGovern" <[EMAIL PROTECTED]> I want to add javadoc comments to all my classes.. but am looking for a way to do this automatically. What's the point? Until there is an automatic tool that adds a useful description based on an understanding of a class's responsibilities,

RE: Test whether an application resource is empty

2005-06-09 Thread Chris Loschen
I'm sorry to keep sending this over and over again, but I'm really stuck. If this isn't possible, could someone let me know? Then I could try to find an alternate path. Chris -Original Message- From: Chris Loschen Sent: Wednesday, June 08, 2005 5:09 PM To: Struts Users Mailing List Subj

Re: [OT] Automatic Javadoc - ing

2005-06-09 Thread Wendy Smoak
From: "Brian McGovern" <[EMAIL PROTECTED]> > I want to add javadoc comments to all my classes.. but am looking for a way to do this automatically. I use a JEdit plugin called "JavaStyle" that generates JavaDoc stubs in addition to fixing indenting, etc. Looks like it's part of this project: http

RE: Toggle Colors between Rows

2005-06-09 Thread Ray Madigan
try www.husted.com/struts/resources/rowtag.zip This taglib is really easy to use. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 5:01 AM To: user@struts.apache.org Subject: Toggle Colors between Rows What is the best way to toggle col

Re: Is there anyway to access this forum online?

2005-06-09 Thread Martin Gainty
Try Mutt http://www.mutt.org Its massively configurable, organises mail via thread (you can set your own editor and parameters e.g.) set editor = "/usr/bin/emacs %s --eval '(setq make-backup-files nil)'" Viel Gluck, Martin- - Original Message - From: "Manju" <[EMAIL PROTECTED]> To: "Stru

RE: [OT] Automatic Javadoc - ing

2005-06-09 Thread Ray Madigan
Have you looked at ant.apache.org. ant has a javadoc and a javadoc2 task. -Original Message- From: Brian McGovern [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 7:17 AM To: Struts Users Mailing List Subject: [OT] Automatic Javadoc - ing I have just pretty much wrapped up the de

Re: Is there anyway to access this forum online?

2005-06-09 Thread erikweber
You can read posts here: http://marc.theaimsgroup.com/ also http://www.mail-archive.com/ Erik -Original Message- From: Manju <[EMAIL PROTECTED]> Sent: Jun 9, 2005 10:51 AM To: Struts Users Mailing List Subject: Is there anyway to access this forum online? Hi guys, I recently sub

RE: Is there anyway to access this forum online?

2005-06-09 Thread McDonnell, Colm (MLIM)
http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2 http://dir.gmane.org/gmane.comp.jakarta.struts.user -Original Message- From: Manju [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 15:52 To: Struts Users Mailing List Subject: Is there anyway to access this forum online? Hi guys, I

RE: Is there anyway to access this forum online?

2005-06-09 Thread Nitin Mandolkar
Hi Manju why don't you do one thing created login to any Free mail service. Google is good one. -Ni3 -Original Message- From: Manju [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 15:52 To: Struts Users Mailing List Subject: Is there anyway to access this forum online? Hi guys, I re

Re: can't find equivalence

2005-06-09 Thread Hubert Rabago
Instead of > ActionMapping nextMapAction = > this.getServlet().findMapping("/createadvertisement"); try ActionConfig nextMapAction = ModuleUtils.getInstance(). getModuleConfig(request).findActionConfig("/createadvertisement"); Hubert On 6/9/05, Thibaut Lassalle <[EMAIL PROTECTED]> wrote

Is there anyway to access this forum online?

2005-06-09 Thread Manju
Hi guys, I recently subscribed to this mailing list...and within couple of days my mail box has flooded with mails from this user list. I like to read, ask and respond to these mails at my leisure. Is there any way that I could access this forum online or read these mails online but not in

can't find equivalence

2005-06-09 Thread Thibaut Lassalle
hi, i have to migrate a struts1.0 application to struts1.2 (for module support) i can't find any equivalent to set a bean. Here is the code i try to migrate : ActionMapping nextMapAction = this.getServlet().findMapping("/createadvertisement"); request.setAttribute(nextMapAction.getAttribute(

RE: Toggle Colors between Rows

2005-06-09 Thread Nitin Mandolkar
Hi this solution is also good. It is same like I told you to in action class. Some where you have made a decision like this. -ni3 -Original Message- From: David Whipple [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 15:03 To: Struts Users Mailing List Subject: RE: Toggle Colors between Ro

Re: [OT] Automatic Javadoc - ing

2005-06-09 Thread Martin Gainty
Brian- Modify the build.xml that is generated from your IDE de jour..JDeveloper, JBuilder and or Eclipse and add in the task see http://ant.apache.org/manual/CoreTasks/javadoc.html for details- Please Post your query to user@ant.apache.org Thanks, Martin- - Original Message - From: "B

[OT] Automatic Javadoc - ing

2005-06-09 Thread Brian McGovern
I have just pretty much wrapped up the development phase of a prject and am cleaning up the code etc. I want to add javadoc comments to all my classes.. but am looking for a way to do this automatically. Does anyone know of a tool that can do this. I use netbeans as an editor and they have so

RE: Problem with -- Help me OUT

2005-06-09 Thread Ray Madigan
Use the styleId attribute! Frm the online API Guide styleId Identifier to be assigned to this HTML element (renders an "id" attribute). N.B. If present, the errorStyleId overrides this attribute in the event of an error for the element. [RT Expr] -Original Message- From: Kade Jeevan Ku

RE: Toggle Colors between Rows

2005-06-09 Thread David Whipple
We do the following in our jsp. We have two styles defined in our style sheet, tbl1 and tbl2 for the two different row types: " valign="top"> blah...

RE: Toggle Colors between Rows

2005-06-09 Thread Nitin Mandolkar
In action class which generate the table row out put Declare one temp variable which will you can use in decision making. Suppose you want to switch between colors red and green. Code will be like this Byte switchcolor=0. If (switchcolor=0) { Row with red color

RE: Problem with logic:iterate Tag

2005-06-09 Thread Deepak Srivatava
Any guess whats happening wrong here?, the output is as follows 4thCol 4thCol 4thCol 4thCol 4thCol 4thCol 4thCol 4thCol But the correct output should be as follows 1stCol 2ndCol 3rdCol 4thCol 1stCol 2ndCol 3rdCol 4thCol Deepak -Original Message- From: Deepak Srivatava [mailto:[EM

RE: Prob with -- Plz help me OUT

2005-06-09 Thread Nitin Mandolkar
Sorry server with value selected in combo 1 and and populate the bean for combo2. -Original Message- From: Nitin Mandolkar Sent: 09 June 2005 14:38 To: Struts Users Mailing List Subject: RE: Prob with -- Plz help me OUT Changing the content of combo1 will change the content in combo2.

RE: Toggle Colors between Rows

2005-06-09 Thread Ray Madigan
I have a tag that I got from somewhere that allows you to set the even element class and the odd element class. It works great for me, if you want it, let me know and I will email it to you. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June

RE: Prob with -- Plz help me OUT

2005-06-09 Thread Nitin Mandolkar
Changing the content of combo1 will change the content in combo2. are you doing this using java script now as you said. With with struts you can do like go back to server with value selected in combo 2 and and populate the bean for combo2. -Ni3 -Original Message- From: Kade Jeevan Kumar

RE: Toggle Colors between Rows

2005-06-09 Thread McDonnell, Colm (MLIM)
Some ideas .. 1. Implement a switching accessor method in a base action form, the idea is that each time you access the property it will return the value which was not returned on the prior invocation e.g. // In your base action form private String listRowClass; public String ge

Re: Problem with -- Help me OUT

2005-06-09 Thread amitava . basak
use "styleId" instead. It gets converted to "id" Amitava Basak ASE Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If y

Re: Prob with -- Plz help me OUT

2005-06-09 Thread Kade Jeevan Kumar
Nitesh! I am developing a component in which the values in combo box are dependent. it is like this if i select combo1 then related values will b coming in combo2. for this, i got html code. and i want to change this code into struts. or u can help me by giving the code for the above. plz, he

Re: Prob with -- Plz help me OUT

2005-06-09 Thread Nitesh
Jeevan, Any specific reason as to why you have to have the id attribute? Nitesh - Original Message - From: "Kade Jeevan Kumar" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 09, 2005 6:13 PM Subject: RE: Prob with -- Plz help me OUT

Re: Pass parameter to javascript function

2005-06-09 Thread Martin Gainty
Kjerstie et al- I found some browsers require the javascript qualifier e.g. javascript:lfnSomething( instead of just the JavaScript func lfnSomething( God Lykke, Martin- - Original Message - From: <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 09, 2005 8:20 A

RE: Prob with -- Plz help me OUT

2005-06-09 Thread Kade Jeevan Kumar
Hi Nitin! I am using Struts 1.1 Nitin Mandolkar <[EMAIL PROTECTED]> wrote: Hello can I know which struts you are using. Then and then only I can ans you. -ni3. -Original Message- From: Kade Jeevan Kumar [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 13:28 To: user@struts.apache

Re: Pass parameter to javascript function

2005-06-09 Thread Stéphane Zuckerman
[EMAIL PROTECTED] a écrit : Really? IDon't you have to enclose the entire value in one scriptlet expression? Like this: You can pass the parameters to the javascript as shown underneath by enclosing the <%=%> in single quotes... You can even use the ${} notation if you are using JSP

Re: Toggle Colors between Rows

2005-06-09 Thread delbd
The best using only the view? use this kind of css http://www.w3.org/Style/Examples/007/evenodd.html However, you will need a more than decent browser to do it. Le Jeudi 9 Juin 2005 14:00, [EMAIL PROTECTED] a écrit : > What is the best way to toggle colors between rows using logic:iterate > keep

RE: Prob with -- Plz help me OUT

2005-06-09 Thread Nitin Mandolkar
Hello can I know which struts you are using. Then and then only I can ans you. -ni3. -Original Message- From: Kade Jeevan Kumar [mailto:[EMAIL PROTECTED] Sent: 09 June 2005 13:28 To: user@struts.apache.org Subject: Prob with -- Plz help me OUT Hi! i have an html code

Prob with -- Plz help me OUT

2005-06-09 Thread Kade Jeevan Kumar
Hi! i have an html code

Problem with -- Help me OUT

2005-06-09 Thread Kade Jeevan Kumar
Hi! i have an html code

Re: Pass parameter to javascript function

2005-06-09 Thread kjersti . berg
Really? IDon't you have to enclose the entire value in one scriptlet expression? Like this: Kjersti |+--> || "Avjit Singh Jhajj" | || <[EMAIL PROTECTED]| || fmail.com> | ||

Re: Pass parameter to javascript function

2005-06-09 Thread Avjit Singh Jhajj
You can pass the parameters to the javascript as shown underneath by enclosing the <%=%>  in single quotes... Avjit On Thu, 09 Jun 2005 [EMAIL PROTECTED] wrote : > >How can I pass parameter in to a javascript function from a >tag?? > > >eg: > > /> >... >... > > > >Amitava Basak >ASE

Toggle Colors between Rows

2005-06-09 Thread amitava . basak
What is the best way to toggle colors between rows using logic:iterate keeping in mind the View (MVCno scriptlets!!) best practice.? Amitava Basak ASE Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail mes

Pass parameter to javascript function

2005-06-09 Thread amitava . basak
How can I pass parameter in to a javascript function from a tag?? eg: ... ... Amitava Basak ASE Tata Consultancy Services Limited Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com Notice: The information contained in this e-mail message and/or attachments to it may contain c

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Dakota Jack
I still am absolutely amazed that you "came up with these tricks" without even knowing that the difficulty was that you could not directly reference a name in name value pair because includes an .x and a .y with the name. The code you duplicate exactly has been based on solving that problem for a

Re: [ANNOUNCEMENT] Struts Dialogs: DispatchAction on steroids

2005-06-09 Thread Adam Hardy
Yes but what about Netscape 4? only kidding :) The effect is neat however you do have to implement the no-cache and you have to turn off auto-validation and then rely on the browser, so I wonder whether it is really neat enough to be worth it. I do prefer things to be as simple as possi