news.basebeans.com problem

2003-10-14 Thread Sudip Kumar Bhattacharya(HOTPOP)
Hi I have been using Outlook Express to connect to the news.basebeans.com to download the struts newsgroup mails. For the last few days, it is giving some errors. Is the group down or what? The exact error message while polling for mails is : Your 'Struts' folder was not polled for its unread

RE: view struts tag in Design page(Dreamveaver)

2003-10-14 Thread Tim Smal
We're using Adobe Golive for designing purposes. No problems with viewing the struts tags. In Dreamweaver I have no idea how you can enable them. -Original Message- From: Rong Yu [mailto:[EMAIL PROTECTED] Sent: maandag 13 oktober 2003 23:15 To: Struts-Jakarta Subject: view struts tag in

Re: view struts tag in Design page(Dreamveaver)

2003-10-14 Thread Koni Roth
Maybe you will find a solution here... http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=dreamweaverq=b Just a guess. Koni Tim Smal wrote: We're using Adobe Golive for designing purposes. No problems with viewing the struts tags. In Dreamweaver I have no idea how you can enable them.

URGENT :: LOGIC:EQUAL works only with one constant Value ?? Not R epeat Iterations ????

2003-10-14 Thread Chawla, Yogesh
Hello, I have a repeat nested tag logic like this : The Struts Documentation on ligoc tags mentions this for the logic:equal tag. Why is it that it can only be checked against one contant value ? equal - Evaluate the nested body content of this tag if the requested variable is equal to the

Re: URGENT :: LOGIC:EQUAL works only with one constant Value ?? Not R epeat Iterations ????

2003-10-14 Thread Kwok Peng Tuck
Sure it works, but you don't specify the property of the variable, name of the variable to be compared to. So that's why it doesn't evaulate to equal. Here, take a peek : http://jakarta.apache.org/struts/userGuide/struts-logic.html#equal Chawla, Yogesh wrote: Hello, I have a repeat nested tag

Re: Design suggestion

2003-10-14 Thread Adam Hardy
On 10/14/2003 05:14 AM virupaksha wrote: Dear All, I am new to Struts framework,but i am comfortable in JSP servlets, I have to implement a HRMS application in struts framework, Our team size is very small (2 members), i have to take care of design coding, Can any one suggest me how i can

Re: Urgent: username case insensitive for j_security_check?

2003-10-14 Thread Adam Hardy
On 10/14/2003 06:06 AM Mick Knutson wrote: I guess I never thought about this, but all my usernames have not been entered in a case insensitive fashion. I can easily enough fix this in the Action Class to make everything lowercase, but how do I do this with the j_security_check form? I also need

Re: Design suggestion

2003-10-14 Thread virupaksha
Dear Adam, Thanks for your suggestions,, Regards, virupaksha - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:50 PM Subject: Re: Design suggestion On 10/14/2003 05:14 AM virupaksha wrote: Dear

RE: HashMap with options

2003-10-14 Thread Manav Gupta
Thanks Michael, you've been a great help... Regards, m -Original Message- From: Michael D. Norman [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 6:37 AM To: 'Struts Users Mailing List' Subject: RE: HashMap with options Could you elaborate what happens when I

need calendar (maybe popup) calendar

2003-10-14 Thread Otto, Frank
Hello, I search a good solution for displaying a calendar. I use struts and have an input field for date value and I want to display a calendar (maybe popup) for choose the date. Is there a good implentation for using with struts? Regards, Frank

RE: URGENT :: LOGIC:EQUAL works only with one constant Value ?? N ot R epeat Iterations ????

2003-10-14 Thread Chawla, Yogesh
I am specifying the complete values. The e.g I had written was simplistic for getitng some help! The code is something like this.. logic:equal name=aUpdateForm property=viewChildRecord value=true logic:iterate id = childDetail name=coll

RE: [RE-POST]: HOW TO Use Tiles parameters in Java

2003-10-14 Thread Sudip Kumar Bhattacharya(HOTPOP)
Thanks Jan, Your solution worked perfectly!! Sudip -Original Message- From: Jan Vervecken [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 12:40 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: [RE-POST]: HOW TO Use Tiles parameters in Java maybe try to put

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 01:34:26 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 01:34:26 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

RE: [Poll] Action Form data types

2003-10-14 Thread Daniel Haynes
#1 -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 20:37 To: [EMAIL PROTECTED] Cc: Green, Matt Subject: [Poll] Action Form data types Here's my weekly(ish) question: For the purposes of this discussion, ActionForms also mean DynaActionForms and the

RE: URGENT :: LOGIC:EQUAL works only with one constant Value ?? Not R epeat Iterations ????

2003-10-14 Thread shirishchandra.sakhare
Try a combination of logic:equal and logic:NotEqual... Also try TRUE (In caps..)I had similar problems and i solved them using those techniques... -Original Message- From: Chawla, Yogesh [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:25 AM To: 'Struts Users Mailing List'

RE: URGENT :: LOGIC:EQUAL works only with one constant Value ?? N ot R epeat Iterations ????

2003-10-14 Thread Chawla, Yogesh
I can use the logic:NotEqual tag but I need to activate some display if the condition is true. How to handle that if I use logic:notEqual tag..Becuase then I need to go to the next counter in the iterate tag if the condition does not match.. logic:equal name=aUpdateForm property=viewChildRecord

IDE

2003-10-14 Thread virupaksha
Dear All, I am working on struts using exadel struts studio, Can any one know other open IDE for struts ..? especially for designing View(Drag drop approach..?) let me know please.. Regards, viru

LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Reference No t Clear

2003-10-14 Thread Chawla, Yogesh
What does this line in Struts doc mean for logic:equal tag Compares the variable specified by one of the selector attributes against the specified constant value. The nested body content of this tag is evaluated if the variable and value are equal. constant value does it imply that logic:equal

RE: LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Referenc e No t Clear

2003-10-14 Thread Chawla, Yogesh
That implies that logic:equal tag cannot be nested inside a logic:iterate. That means I cannot use the following logic.. logic:equal name=aUpdateForm property=viewChildRecord value=true logic:iterate id = childDetail name=coll logic:equal

Re: URGENT :: LOGIC:EQUAL works only with one constant Value ?? Not R epeat Iterations ????

2003-10-14 Thread Nicolas De Loof
You are missusing logic:equal tag : logic:equal name=childDetail parameter=rateClassTCSGRTE - if you want to test a bean property, use name= property= - if you want to test a request parameter, use parameter= using name + parameter has no sense. Nico I can use the logic:NotEqual tag but I

AW: LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Referenc e No t Clear

2003-10-14 Thread Otto, Frank
You can use a logic:equal tag nested inside a logic:iterate, because I use logic:equal tag in this way. I think there is only a logical problem. How are the value of viewChildRecord? Is coll your list, which you want to iterate? If yes, you have to use property=coll. -Ursprüngliche

RE: URGENT :: LOGIC:EQUAL works only with one constant Value ?? N ot R epeat Iterations ????

2003-10-14 Thread Chawla, Yogesh
I am using property only...Was trying earlier to see if parameter will work in case property does not work..Code below for your reference.. logic:equal name=awbDetailUpdateForm property=viewChildRecord value=true logic:iterate id = childDetail name=coll

Re: need calendar (maybe popup) calendar

2003-10-14 Thread Koni Roth
Calendar? Sure! Here my bookmarks on this topic. ;-) http://www.mattkruse.com/javascript/calendarpopup/ http://dynarch.com/mishoo/calendar.epl http://www.aoc.nrao.edu/~bwaters/pub/taglib/calendar-taglib.html http://www.servletsuite.com/servlets/calendar.htm

best practices for providing data to input forms

2003-10-14 Thread Ahmet ISIK
Hi, It is a rather generic situation. When a form has a select field with predefined options from the database, where should the collection object to feed select form field be generated? What are the best practices for this problem? Thanks in advance

Re: URGENT :: LOGIC:EQUAL works only with one constant Value ?? Not R epeat Iterations ????

2003-10-14 Thread Nicolas De Loof
You're code has a XML error : property=rateClassTCSGRTE value=%=ss%/ The / close the tag without body content, so the equal test has no effect use : logic:equal name=childDetail property=rateClassTCSGRTE value=%=ss% System.out.println(THIS ALWAYS RUNS EVEN IF CONDITION FAILS) /logic:equal

RE: LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Referenc e No t Clear

2003-10-14 Thread Chawla, Yogesh
coll is something which I receive from the session. Its a collection which is not a part of the main form bean.. -Original Message- From: Otto, Frank [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:42 PM To: 'Struts Users Mailing List' Subject: AW: LOGIC:EQUAL TAG COMPARISON.

[SOLVED] RE: URGENT :: LOGIC:EQUAL works only with one constant V alue ?? Not R epeat Iterations ????

2003-10-14 Thread Chawla, Yogesh
Nicolas, there was an error like you mentioned in the ending tag.. It did not give any compilation errors however... SURPRISE!! Anyway, I corrected that and its working now... Great input people and thanks to all and specially to NICOLAS.. Cheers :) -Original Message- From: Nicolas

Re: [SOLVED] RE: URGENT :: LOGIC:EQUAL works only with one constant Value ?? Not R epeat Iterations ????

2003-10-14 Thread Nicolas De Loof
You're welcome. Nico. Nicolas, there was an error like you mentioned in the ending tag.. It did not give any compilation errors however... SURPRISE!! Anyway, I corrected that and its working now... Great input people and thanks to all and specially to NICOLAS.. Cheers :)

RE: newbie question: results display on same page?

2003-10-14 Thread jagadeesh kumar movva
Hi, Though I am also a newbie, when I faced a similar problem, I used bean:define id=myId I am not very sure whether it will work for you. I tried a few other options before finally getting the result, as none answered my question on struts user list... I only can hope it helps...not sure

RE: best practices for providing data to input forms

2003-10-14 Thread Daniel Haynes
One way is to store the List of objects as LabelValueBeans in the application context (using ServletContextListener) which can be initialised on startup. In a project I worked on we provided easy access to this type of stuff through methods in our base action class. -Original Message-

Re: best practices for providing data to input forms

2003-10-14 Thread Ahmet ISIK
Thanks for the answer, but if the objects to be selected among can be added or deleted at runtime, caching at application context won't help. Daniel Haynes wrote: One way is to store the List of objects as LabelValueBeans in the application context (using ServletContextListener) which can be

RE: best practices for providing data to input forms

2003-10-14 Thread Daniel Haynes
In that case another way to do it is simply define a 'service' class which provides your action class with the 'getObjectList' methods. The service class queries the database at runtime. In your action class populate your form with the stuff you need. Not sure if this is 'best practice' but it

why is there no attribute name for html:form in struts???

2003-10-14 Thread jagadeesh kumar movva
Hi, I want to submit a form from a frame, while the button I click to submit is in another frame. I am able to do this easily using the following code in Model 1 architecture : if((parent.frames[frame3].document.forms[roadinfo].name) == (roadinfo)){

Re: Redirect w. generic parameter using action forward

2003-10-14 Thread Morten
Robert Taylor wrote: You can do this in your action class manually: ActionForward forward = mapping.findForward(success); String path = forward.getPath(); path += ?file= + fileName; // url encoded file name return new ActionForward(path, true); // redirect Ooh, thanks. There are more slick ways

Drop down boxes

2003-10-14 Thread Todor Sergueev Petkov
Hello every body, any suggestions on the following : 1. I use a drop down box associated with a Struts LookupDispatchAction. 2. I Have another textfield form associated with the same action on the same page. 3. I would like when users selects something in the drop down box the text field

Re: why is there no attribute name for html:form in struts???

2003-10-14 Thread Nicolas De Loof
the name of the form is the name of the form-bean it uses. Nico. - Original Message - From: jagadeesh kumar movva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:59 AM Subject: why is there no attribute name for html:form in struts??? Hi, I want to

Re: why is there no attribute name for html:form in struts???

2003-10-14 Thread Caroline Lauferon
you have to use StyleId attribute Caroline - Original Message - From: jagadeesh kumar movva [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 11:59 AM Subject: why is there no attribute name for html:form in struts??? Hi, I want to submit a form from a frame,

java.net.URL

2003-10-14 Thread Stefan Trcko
Hello I'm using java.net.URL to get content from other web site. The problem is when this url address which I want to open (openConnection()) is very slow. When this happens I want that some kind of time out exception is thrown (and the content of this other web site on my site is not shown). How

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:42 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:42 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:42 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:42 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:43 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:43 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:43 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:42 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

Returned mail: User unknown

2003-10-14 Thread Mail Delivery Subsystem
The original message was received at Tue, 14 Oct 2003 03:34:43 0800 - The following addresses had permanent fatal errors - [EMAIL PROTECTED] - Transcript of session follows - ... while talking to : RCPT To:[EMAIL PROTECTED] 550 [EMAIL PROTECTED]... User unknown 550 [EMAIL

java.lang.IllegalArgumentException: No bean specified

2003-10-14 Thread Deepak
Hi, Submission of a page after using browser back button results in "java.lang.IllegalArgumentException: No bean specified" error. Initially I thought may be the form is not in the session, so I put a check in the corresponding action class. But the exception is thrown before the

Accessing Application Ressources

2003-10-14 Thread Todor Sergueev Petkov
Hello, does anybody know how, from a Struts Action class I can access the name of the Application Ressources file defined inside web.xml. Or is there a simpler way to access directly the properties, one by one from the properties file? Thanks, Todor

[SOLVED] Drop down boxes

2003-10-14 Thread Todor Sergueev Petkov
Todor Sergueev Petkov wrote: Hello every body, any suggestions on the following : 1. I use a drop down box associated with a Struts LookupDispatchAction. 2. I Have another textfield form associated with the same action on the same page. 3. I would like when users selects something in the

RE: html:hidden, disabled attribute

2003-10-14 Thread Chen, Haiwei (H.)
Thanks for your response. We have a need to include a hidden tag in the form; but sometime we want the hidden tag to be disabled so its value will not be posted to the server. I have filed a bug report. The problem will be fixed in the future Struts releases. -Original Message- From:

URGENT: html:options

2003-10-14 Thread ajay brar
hi! i'm getting a problem with my html:options what i have is a MyUtils class with a method to retrieve a list of agency id's from the database class MyUtils { //gets agencyIds creates LabelValueBeans and chucks them into a Vector public static Vector getAgencyIds() } in my jsp page i had

AW: Accessing Application Ressources

2003-10-14 Thread Otto, Frank
Hello Todor, you can access directly: MessageResources resources = (MessageResources)request.getAttribute(Globals.MESSAGES_KEY); resource.getMessage(locale, property.key); Regards, Frank -Ursprungliche Nachricht- Von: Todor Sergueev Petkov [mailto:[EMAIL

Re: AW: Accessing Application Ressources

2003-10-14 Thread Todor Sergueev Petkov
Thanks a lot Frank Otto, Frank wrote: Hello Todor, you can access directly: MessageResources resources = (MessageResources)request.getAttribute(Globals.MESSAGES_KEY); resource.getMessage(locale, property.key); Regards, Frank -Ursprungliche Nachricht- Von:

RE: URGENT: html:options

2003-10-14 Thread Daniel Haynes
I think your collection needs to implement the List interface (use an ArrayList instead of a vector) -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:45 To: [EMAIL PROTECTED] Subject: URGENT: html:options hi! i'm getting a problem with my html:options

RE: DynaActionForms

2003-10-14 Thread Mark Galbreath
Yes. -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 1:35 PM ...I would like to populate the (DynaAction)forms myself. Does anyone have any experience with how this behaves in struts?

RE: [Poll] Action Form data types

2003-10-14 Thread Edgar P Dollin
None of the above. I use java data types but use getters and setters in the ActionForm to perform the casting and any other manipulations necessary. Edgar Mainguy, Mike wrote: Here's my weekly(ish) question: For the purposes of this discussion, ActionForms also mean DynaActionForms

Re: news.basebeans.com problem

2003-10-14 Thread Vic Cekvenic
It works fine. Outlook? Try removing the newsgroup server and adding it again. .V Sudip Kumar Bhattacharya(HOTPOP) wrote: Hi I have been using Outlook Express to connect to the news.basebeans.com to download the struts newsgroup mails. For the last few days, it is giving some errors. Is the

RE: DynaActionForms

2003-10-14 Thread Edgar P Dollin
Interesting idea. My other choice is to stick a map in a standard action form. What view technology are you using with these lists? Edgar -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 4:07 PM To: Struts Users Mailing List Subject:

RE: [SOLVED] Drop down boxes

2003-10-14 Thread Paul McCulloch
How about some javascript (to call submit()) on the onchange event of the dropdown? Paul -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:42 To: Struts Users Mailing List Subject: [SOLVED] Drop down boxes Todor Sergueev Petkov wrote:

Re: java.net.URL

2003-10-14 Thread ian_d_stewart
As far as I can tell, there is no easy way to do this. In theory, you could provide your own URLStreamHandlerFactory, that sets an appropriate timeout on the underlying Socket, then pass it in to the URL constructor, but this would be a non-trivial solution. HTH, Ian Ian D. Stewart Open

User authentication and Intranet single sign on

2003-10-14 Thread Robert Lamping
Dear all, For our Struts application we are looking for a single sign on solution. (Sign on in the network, NOT single-sign on in Tomcat) With much interest I followed the thread about user-authentication by Caroline Jen, Gregg and finally the examples of Matt Raible. I tried the code and it

[OT] JavaPro 2003 Readers Choice Awards

2003-10-14 Thread Mark Galbreath
These topics come up often enough that I thought this might help some people and/or spark some discussion: CategoryProduct -- IDE Borland JBuilder Development Suites

RE: URGENT: html:options

2003-10-14 Thread ajay brar
hi! I think your collection needs to implement the List interface (use an ArrayList instead of a vector) but a vector implements the List interface, or so says the api any other ideas -Original Message- From: ajay brar [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:45 To: [EMAIL

[REPOST] Best Practice Question - html links

2003-10-14 Thread Joanne L Corless
I know this may seem a little rude but no-one picked up on my question and I really could use some help with this Regards Joanne Corless - Forwarded by Joanne L Corless/UK/CSC on 14/10/03 13:36 -

RE: [OT] Forum solutions

2003-10-14 Thread Robert Taylor
Thanks Sandra, I'll take a look. robert -Original Message- From: Sandra Cann [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:05 PM To: 'Struts Users Mailing List' Subject: RE: [OT] Forum solutions Robert No need to roll your own. Please also have a look at

Re: URGENT: html:options

2003-10-14 Thread Nicolas De Loof
collection attribute of html:options tag is used to set the name of a bean (in some scope) that is a collection of the items off the select-box. You need to put your Vector into page or request scope to use this tag: % request.setAttribute(items, agencyIds); % html:select

RE: DynaActionForms

2003-10-14 Thread Robert Taylor
I'm not sure what you mean when you ask what view technology. You can find ListUtils here: http://jakarta.apache.org/commons/collections/api/org/apache/commons/collect ions/ListUtils.html I've rendered these lists using a variety of html:* .../ components - checkboxes, multiboxes, select lists,

Re: URGENT: html:options

2003-10-14 Thread ajay brar
hi! thanks for the reply. doesn't the jsp import statement followed by the usebean ie, %@ page import=MyUtils % jsp:useBean id=agencyIds type=java.util.Vector / introduce the agencyIds into page scope. also with the example you gave me should html:select property=agencyId html:options

Re: URGENT: html:options

2003-10-14 Thread Nicolas De Loof
jsp:useBean id=agencyIds type=java.util.Vector scope=page / create a scripting variable agencyIds and a page scope bean agencyIds. This created vector is empty. % agencyIds= MyUtils.getAgencyIds(); % chags the object referenced by the scripting variable, but not the page scoped bean. You

RE: Passing parameters between forms

2003-10-14 Thread Shyam A
Carey, Thanks for your mail. I knew about the option you suggested and mentioned it in my mail. quote: I know I can save the foo attribute into session in Action A class and access it in Action B, or set the scope of Form A to session in struts-config and access Form A from Action B. unquote:

RE: [Slightly OT] Where/how to start?

2003-10-14 Thread Nicholson, Robb
Here's what I did at my last job: I was mostly a C, JAM, Oracle developer but wanted to learn Java and J2EE. Try to find an approach that will let you learn J2EE while benefiting the company in some way. Let your managers know that you want to learn the technology. They'll know that you aren't

Re: [REPOST] Best Practice Question - html links

2003-10-14 Thread Kris Schneider
If you're using a JSP 1.2 container, JSTL can help out a bit. It doesn't look like you need an HTML form for any of this, you're constructing a bunch of links that will issue GETs to the action mapped to /changePage. As long as that mapping uses a (Struts) form with a property called pageName, it

Re: OT: Managing Modifications to Struts

2003-10-14 Thread Greg Reddin
I've only submitted a very small amount of code to this group so I'm preaching to the choir :-) But, now that I'm learning, there are only a few reasons why I would not submit code back to the community: 1) The code was written under a non-disclosure agreement and I am not permitted to give

RE: DynaActionForms

2003-10-14 Thread Edgar P Dollin
Doesn't this answer require an [OT] designation. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 7:03 AM To: Struts Users Mailing List Subject: RE: DynaActionForms Yes. -Original Message- From: Edgar P Dollin

Re: Urgent: username case insensitive for j_security_check?

2003-10-14 Thread Mick Knutson
The issues is that I have seen the users that will be on my system. and they are already adding TheUserFromOhio as a username etc... Now I can always change everything to lower case when they register. But then I still have the issue about the login. And many of my users are Mac users, so I seem

RE: [Slightly OT] Where/how to start?

2003-10-14 Thread Mark Galbreath
and you may want to subscribe to other lists that are more J2EE-centric, like [EMAIL PROTECTED] Mark -Original Message- From: Nicholson, Robb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 9:53 AM To: 'Struts Users Mailing List' Subject: RE: [Slightly OT] Where/how to start?

RE: DynaActionForms

2003-10-14 Thread Edgar P Dollin
My question was regarding, JSTL, Velocity, etc. I prefer the standard tags with the nested extensions and standard JSP expressions (I can read the JSP after I walk away for a week), which is probably what I will end up doing. Yes, you answered my question. I don't use reset, if I can help it.

Re: OT: Managing Modifications to Struts

2003-10-14 Thread David Graham
--- Greg Reddin [EMAIL PROTECTED] wrote: I've only submitted a very small amount of code to this group so I'm preaching to the choir :-) But, now that I'm learning, there are only a few reasons why I would not submit code back to the community: 1) The code was written under a

RE: Passing parameters between forms

2003-10-14 Thread Edgar P Dollin
My preference is to emulate the session functionality in your own classes, i.e. publish / subscribe. Stick a static map in your class and use a unique key generated from objects both threads are aware of to index the object, then you can pull it out when you need to. Synchronize if you need to

Re: Urgent: username case insensitive for j_security_check?

2003-10-14 Thread Adam Hardy
Mick, it depends on your login framework. Are you using a tomcat realm or have you rolled your own? If you are using a JDBC realm with a database, you could change the query to make the conversion, for instance. Adam On 10/14/2003 04:06 PM Mick Knutson wrote: The issues is that I have seen the

RE: [Slightly OT] Where/how to start?

2003-10-14 Thread Brian McSweeney
I reckon you should try to read the source code of a good open source j2ee app. Furthermore, J2EE is big - there's a lot of stuff you could use. I would recommend sticking to standards. Struts is good for this, so why not look at the struts examples that come with the struts download. Another

RE: Passing parameters between forms

2003-10-14 Thread Joe at Team345
This approach might work for a small system, but I would not encourage it for a large business app. If I follow you correctly, this assumes that subsequent pages will be served by the same container. This is infrequently (at least in systems I've seen) the case... -Original Message-

Re: Urgent: username case insensitive for j_security_check?

2003-10-14 Thread Mick Knutson
Currently I am just using the JBoss framework, and have not done my own. --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our Personal Emergency Alert Contact System can help you Play Smart. +00 1 (708) 570-2772 Fax MSN:

passing html:link tag to bean:message tag

2003-10-14 Thread david chan
Hi, I am trying to do like this: bean:message key=cancel.message arg0='html:link forward=emailemail us/html:link' / I am hoping the final cancel message will has the email us link that is link to the email action. But of course this doesn't work because bean treat the arg0 as a string only.

RE: passing html:link tag to bean:message tag

2003-10-14 Thread Paul McCulloch
Use the jstl: fmt:message key=cancel.message fmt:param html:link forward=emailemail us/html:link /fmt:param /fmt:message You probably want the text of the link to come from the resources as well: fmt:message key=cancel.message fmt:param

Re: IDE

2003-10-14 Thread Duncan Mills
Depends on your interpretation of the word open in this context, if it's Free to download and evaluate then try Oracle JDeveloper 10g Preview release http://otn.oracle.com/products/jdev If the definition is Product that I will never, ever, ever have to pay for then ignore this. Regards Duncan

RE: DynaActionForms

2003-10-14 Thread Robert Taylor
I tend to use DynaActionForms exclusively because they are easy to create (declarative). I haven't had a need to use non Dyna ActionForms. robert -Original Message- From: Edgar P Dollin [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 10:15 AM To: Struts Users Mailing List

Actions and html:form

2003-10-14 Thread Sonam Belbase
Hi, I have an actionA whose success should display jspA using properties from formA. These properties were set in actionA. Once the user is done with jspA, they click on a submit button and it should go to actionB, which has it's own form bean formB and display jspB on success. jspA looks

RE: passing html:link tag to bean:message tag

2003-10-14 Thread david chan
I am new to JSTL, it seems very nice, but has two questions about JSTL: Does JSTL compatiable with Struts 1.1, for example the fmt:message, will it get same local as bean:message in same context? Also does the JSTL works on Webshere 4.x ? (Servlet 2.2 and JSP 1.1 only I think). Thanks. David

Help needed using struts with database and sessions

2003-10-14 Thread Jeroen Breedveld
Hi all, I'm creating a webapp using struts and a database. The jsp pages access (for read and write) a resource object in a custom ActionForm like this: html:text property=resource.name/ (causes setName() to be called on the resource object when submitting form) bean:write name=XMLResourceForm

Re: Passing parameters between forms

2003-10-14 Thread Susan Bradeen
Hi Shyam, If you change html:text property=foo/ to html:hidden property=foo write=true/ OR if you just add html:hidden property=foo/ does it work? Susan Bradeen On 10/13/2003 08:27:41 PM Shyam A wrote: Hi, I have a scenario where I need to pass parameters between forms.i.e, I have

RE: passing html:link tag to bean:message tag

2003-10-14 Thread Paul McCulloch
fmt:message is pretty much a drop in replacement for bean:message. I don't know about JSP 1.1 - I've got a *feeling* it's 1.2 only, but you'd better do some research. You can achieve the same with the struts tags: bean:define id=the_link html:link forward=email

RE: [Poll] Action Form data types

2003-10-14 Thread Trieu, Danny
#1 Danny Trieu Internet Business Group Downey Savings and Loan Association, F.A. [EMAIL PROTECTED] (949) 509-4564 The beginning of knowledge is the discovery of something we do not understand. - Frank Herbert (1920-1986) -Original Message- From: Daniel Haynes [mailto:[EMAIL

Indexed Properties examples?

2003-10-14 Thread Michael Blair
I am still trying to get this to work. I simply want to display records in table format in a browser and be able to change the data, do a submit and have access to the changes back in the action. Currently I am getting : HTTP ERROR: 500 No getter method for property AwardIndexed[0].safAwardCode of

ActionForm

2003-10-14 Thread Mariano García
Hi all, I have a jsp page with a form, so I want to fill dinamically this form. I have a action which generates form data (request.setAttribute(devices, devicesList)). In my struts-config.xml I have this: action path=/editConnection type=myapp.action.EditConnectionAction

RE: ugly ugly ugly [SOLVED]

2003-10-14 Thread Fenderbosch, Eric
I finally got it to work like this: fmt:message key=message.benefits fmt:parambean:message key=href.shippingToolkit//fmt:param /fmt:message -Original Message- From: Fenderbosch, Eric Sent: Monday, October 13, 2003 12:05 To: Struts Users Mailing List Subject: RE: ugly ugly ugly I'm

Re: Accessing Application Ressources

2003-10-14 Thread Craig R. McClanahan
Todor Sergueev Petkov wrote: Hello, does anybody know how, from a Struts Action class I can access the name of the Application Ressources file defined inside web.xml. Or is there a simpler way to access directly the properties, one by one from the properties file? To find out the *name* of

Re: ActionForm

2003-10-14 Thread Barry Volpe
You an ActionForm or a DynaActionForm Barry - Original Message - From: Mariano García [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 9:18 AM Subject: ActionForm Hi all, I have a jsp page with a form, so I want to fill dinamically

  1   2   >