RE: SSLEXT

2003-07-31 Thread Nagendra Kumar O V S
hi amit, yes, i tried with method=post but still it appends... ---Original Message--- From: Struts Users Mailing List Date: Thursday, July 31, 2003 10:48:42 AM To: [EMAIL PROTECTED] Subject: RE:

Re: Need help for design

2003-07-31 Thread Prashanth.S
Hi, U can use authenticator classes of whatever server u use...Example is to use cauchoauthenticator [if u r using resin web server]...etc Thnks Prashanth Anubhav Kale [EMAIL PROTECTED] wrote: Hello I want to create a simple JSP page with login and password fields. If i/p is correct (verified

RE: How to add action errors from action class's execute method

2003-07-31 Thread Steve Raeburn
If you add an error in your action: errors.add(username, new ActionError(error.username.unique,regform.getUsername())); ... saveErrors(request, errors); // And don't forget to save them ;-) You can refer to the error by the property name (e.g. username) in your JSP html:errors

Could one figure out the context path in Servlet.init() method?

2003-07-31 Thread Jing Zhou
Hi, Maybe I overlook something. We can get context path from HttpServletRequest.getContextPath() at request time. But could one get the same path when the servlet is initialized? Or simply say why we do not have an API like ServletContext.getContextPath()? Jing Netspread Carrier

Path Finder

2003-07-31 Thread Altug B. Altintas
Hi, My Jsp page include the followings; link TITLE=risk style REL=stylesheet HREF=../inc/risk.css TYPE=text/css script LANGUAGE=JavaScript1.2 SRC=../js/Calendar1-82.js/SCRIPT script LANGUAGE=JavaScript1.2 SRC=../js/Validate.js/SCRIPT script

RE: Path Finder

2003-07-31 Thread Steve Raeburn
Place the html:base/ tag in the 'head' section of your JSP. Relative paths will be then be calculated based on the location of your JSP. Alternatively, use the html:rewrite tag to rewrite the value of the URL as a context-relative path. link TITLE=risk style REL=stylesheet HREF=html:rewrite

RE: Could one figure out the context path in Servlet.init() method?

2003-07-31 Thread Steve Raeburn
The ServletContextListener interface has a callback method - contextInitialized() - that passes in a ServletContextEvent parameter. You can get the context from getServletContext() method of ServletContextEvent. This was added in Servlet 2.3 spec. Steve -Original Message- From: Jing

AW: Validator Framework: Can not evaluate regular expression

2003-07-31 Thread Dirk Behrendt
Hello! This field is not declared as a password field yet. It is a normal textfield.. Other ideas? Dirk -Ursprüngliche Nachricht- Von: David Graham [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 30. Juli 2003 23:25 An: Struts Users Mailing List Betreff: Re: Validator Framework: Can

Re: Need help for design

2003-07-31 Thread Anubhav Kale
I am using Tomcat server. Can you please tell me how exactly to do that (what code I have to write etc) Thanks Anubhav - Original Message - From: Prashanth.S [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 11:33 AM Subject: Re: Need help

Validator: Is validwhen available ?

2003-07-31 Thread Koni
Hi In the Struts Validator User Guide (http://jakarta.apache.org/struts/userGuide/dev_validator.html) I read under Designing Complex Validations with validwhen the following sentence: ... The new validwhen validation rule, which will be included into the Struts release immediately after the 1.1

Re: Validator: Is validwhen available ?

2003-07-31 Thread Nagendra Kumar O V S
hi, 'validwhen' is available in the nightly builds... -- nagi ---Original Message--- From: Struts Users Mailing List Date: Thursday, July 31, 2003 02:08:30 PM To: [EMAIL PROTECTED] Subject:

RE: struts-el example app not working?

2003-07-31 Thread Hue Holleran
Yep, I've been bitten by this one too. There are a few workarounds: 1) Change the JSP compiler to not compile JSPs: http://marc.theaimsgroup.com/?l=struts-userm=105334711431267w=2 2) Workaround by Brian Cross (at end of this thread) - this works well for us:

Re: Need help for design

2003-07-31 Thread Prashanth.S
hi, Try looking through the following url...since i havent used tomcat..I use resin and done authentication using resin http://www.jguru.com/faq/subtopic.jsp?topicID=221898 Thanks Prashanth Anubhav Kale [EMAIL PROTECTED] wrote: I am using Tomcat server. Can you please tell me how exactly to

Cannot find bean error in any scope

2003-07-31 Thread Altug B. Altintas
Hi, My form extends ValidationForm, and of course i have got validator-rules and validation.xml. But when i want to make a custom valition in validate() method , i took javax.servlet.jsp.JspException: Cannot find bean error in any scope My jsp page includes the code below to show the

Dynamic Html Tree Menus - Java Beans.

2003-07-31 Thread Pat Quinn
I'm looking for a tag library to aid the rendering of a Tree Menu using session/request stored objects. I want to included the menu data as a Java Bean in HttpSession for each user and then use tag libs in my JSP's. I've looked into the StrutsMenu Offering for Dynamic Menus but it loads menu

Survey Builder

2003-07-31 Thread Marco Fabbri
Hi all, does someone knows how can I find a struts application to dynamically build a survey? An example is : http://www.surveytime.com/. But I need less features than this... Thanks a lot in advance. Marco Fabbri

RE: Cannot find bean error in any scope

2003-07-31 Thread Altug B. Altintas
Strange ! Now i have got no custom validation *** public ActionErrors validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request) { ActionErrors errors = null ; errors =

RE: Survey Builder

2003-07-31 Thread PREETAM Balijepalli
Do u need it for money or free -Original Message- From: Marco Fabbri [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 3:02 PM To: Struts Users Mailing List Subject: Survey Builder Hi all, does someone knows how can I find a struts application to dynamically build a survey? An

Re: request.getSession().invalidate() problem

2003-07-31 Thread manglu
Hi, This is my experience in WebSphere(Container Managed Security) WebSphere stores Authenticated credentials in a Cookie (a LTPA Cookie) The other App Servers might implement things differently. So as long as this cookie is valid then the user would not be challenged again. So this has got

RE: Survey Builder

2003-07-31 Thread Prashanth.S
how much do u charge for that kind of an application.. PREETAM Balijepalli [EMAIL PROTECTED] wrote: Do u need it for money or free -Original Message- From: Marco Fabbri [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 3:02 PM To: Struts Users Mailing List Subject: Survey Builder

Bean Write!

2003-07-31 Thread manglu
Hi, This is what i want to achieve. Every JSP has a some title info the Logged in User's name displayed at the top of the page. I have a baseFormObject which has this attribute called title and user. BaseForm | | FormA--FormB (Children of

Re: Need help for design

2003-07-31 Thread manglu
Anubhav This should be simple Use Container managed Security as specified in (J2EE) Use Form based Login - login.jsp and secure the JSPs which you want to by specifiying hte constraints in Web.xml If the user accesses these secured JSPs then he would be automatically routed to login.jsp (if

Creating JSP's with Adobe GoLive and struts.

2003-07-31 Thread Carlos Urtasun
Hi all. We are a team that develop a online using struts. Inside the team exists two groups: the software developers and the interface designers. Our designers needs to give expression to the interface accross the JSP's. They are using Adobe GoLive 6.0 Exists any method to build the JSP's with

Javascript validation for struts form field elements

2003-07-31 Thread Veena B N
Hi I am using struts form for jsp pages. I have a actionForm which initialises a value object(which has getter and setter methods). So my form field elements are specified as below in my jsp page-- html:form action=createItemdata method=GET name=inqform type=com.xyz.abc.forms.oma.InquiryForm

html:radio..javascript

2003-07-31 Thread Prashant Samant
Hello Group, I want to put javascript validations on my page. In simple words i have 4 radio buttons and submit button. if i don't click any of the radio buttons and click submit, then i should get a javascript error. I tried a lot.I am getting the error using html:errors tag on the page. But i

hashmap in formbean

2003-07-31 Thread Pramod . P
Hi, Is it possible to pass a variable like the following? bean:write name=myFormBean property=nameList(var1)/ I am having a HashMap in the formbean, and I want to get an element from the map with key as the content of var1. if i use the hardcoded value instead of var1, i am able to get

Database Connection

2003-07-31 Thread Chirag Mehta
Hello, I have just started developing with Struts and was wondering if anyone could help me connect to a Sybase Database using my webapp? I have set up my JSP page, actionform and action. I have set the datasource properies in my config.xml and am calling them from my action. It is giving me a

html:select multiple pre select

2003-07-31 Thread Daniel Massie
I have a html:select with multiple=true how can I get this to have options highlighted when it loads? based on the elements already stored for this select field. Thanks Daniel Massie - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Database Connection

2003-07-31 Thread rajendra . x . yadav
Make sure the driver class is in classpath. thanks -raj Chirag Mehta

Re: hashmap in formbean

2003-07-31 Thread Nagendra Kumar O V S
try this. bean:write name="myFormBean" property='%= "nameList("+var1+")" %'/ -- nagi ---Original Message--- From: Struts Users Mailing List Date: Thursday, July 31, 2003 04:48:20 PM To: Struts Users

RE: Database Connection

2003-07-31 Thread Navjot Singh
the jar file for your sybase driver should in the class path of tha app server. If it's tomcat put your jar file in tomcat_home/common/lib it will work. -navjot singh |-Original Message- |From: Chirag Mehta [mailto:[EMAIL PROTECTED] |Sent: Thursday, July 31, 2003 5:01 PM |To: Struts

Re: html:select multiple pre select

2003-07-31 Thread Nagendra Kumar O V S
hi. docs say multiple="true" IS selected - The corresponding property should be an array of any supported data type. so try populating the array (html:select property) with the required elements to be selectedbefore hand. -- nagi

RE: Javascript validation for struts form field elements

2003-07-31 Thread Suzette Daniel
Use struts validation, don't give the form it's own name this is done in the struts config file. See Struts in Action chapter 12 (http://www.manning.com/husted/chap12.pdf). Suzette H. Daniel -Original Message- From: Veena B N [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 7:13

Re: Survey Builder

2003-07-31 Thread Vic Cekvencih
Fixed bid development: http://basebeans.com/do/cmsPg?content=DEVELOPMENT Most likely it is a few screens. (Ex: Create Survey, Take a survey) .V Prashanth.S wrote: how much do u charge for that kind of an application.. PREETAM Balijepalli [EMAIL PROTECTED] wrote: Do u need it for money or free

Re: Database Connection

2003-07-31 Thread Marc Ende
Hi Navjot, I ran into trouble as I put it in the classpath you mentioned. (Connection works, connection works not, and so on) I think it's better to put it in the webapps classpath, if you're not using jndi. yours Marc Am Donnerstag, 31. Juli 2003 13:37 schrieb Navjot Singh: the jar file

RE: Javascript validation for struts form field elements

2003-07-31 Thread Veena B N
Thanks daniel, I am using the same. but due to my property tag having a dot(.) in b/n even the validations in validation.xml and validator-rules.xml are not gng through Veena -Original Message- From: Suzette Daniel [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 5:14 PM To:

RE: Database Connection

2003-07-31 Thread Navjot Singh
yes, you can put your class file in webapp CP also - whichever way it works for you. However, docs say that it should be under tomcat common dir. Can you explain a little more why/how the connection behaviour is toggling? Did you print the state of the connection before you use it? rgds navjot

FW:

2003-07-31 Thread Sachin
What is the difference between a burned toast and and pregnant girlfriend . Ans- in both cases a a guy think ki kash thoda phel nikal liya hota. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Struts Test Case (new Bie..)

2003-07-31 Thread Sachin
Hi All, can any body suggest me what is best test case approach to write testcases for Actions and Forms Whether it should be MockStrutsTestCase Approach or CactusStrutsTestCase And where will i get examples on it.. Thanks Sachin

Buttons and Actions without forms

2003-07-31 Thread Todor Sergueev Petkov
Hello everybody, I was wandering if Struts framework and taglibs permit to have a button and an action associated with this button with no forms however. Example - when I click on that button just a pop up window comes up ? Todor

RE: html:select multiple pre select

2003-07-31 Thread Daniel Massie
I've tried this, I passed in Strin[] as the value, but no options were selected. -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 12:50 To: [EMAIL PROTECTED] Subject: Re: html:select multiple pre select hi. docs say

Re: FW:

2003-07-31 Thread Alen Ribic
Great joke! but what language? Very Struts related, must say. ;) --Alen - Original Message - From: Sachin [EMAIL PROTECTED] To: Ajit (E-mail) [EMAIL PROTECTED]; Amit Singh (E-mail) [EMAIL PROTECTED]; Amri Mishra (E-mail) [EMAIL PROTECTED]; Struts Users Mailing List (E-mail) [EMAIL

testing, Please ignore

2003-07-31 Thread Kalra, Ashwani
This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not

How to rename file in FormFile in struts 1.1 final release

2003-07-31 Thread Andrew Hill
Whats the deal with org.apache.struts.upload.CommonsMultipartRequestHandler.CommonsFormFile being immutable? Its broken my (production) code that was working with struts 1.1 b1 and relied on using setFileName() :-( What is the rationale for the FormFile interface still having these methods when

Re: Struts Test Case (new Bie..)

2003-07-31 Thread Andrew Geery
It depends what type of tests you are writing. The cactus site has a discussion about the mock object approach vs. the container approach both on the main page (Different kinds of unit tests http://jakarta.apache.org/cactus) and at http://jakarta.apache.org/cactus/mock_vs_cactus.html For

How to show GLOBAL ERRORS in a JSP

2003-07-31 Thread Dirk Behrendt
Hello! I my ActionClass I set a Global Error. How can I display this error in my JSP? ActionErrors errors = new ActionErrors(); ActionError loginError = new ActionError(error.login.failed); errors.add(ActionErrors.GLOBAL_ERROR, loginError);

RE: Buttons and Actions without forms

2003-07-31 Thread Mainguy, Mike
#1 you could just include javascript in the jsp #2 you could use validator to create a rule (I believe) that could do that for you. -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 7:59 AM To: Struts Users Mailing List Subject:

using checkboxes inside iterate tags

2003-07-31 Thread vellosa
Good afternoon people! I have been hunting through the struts documentation with out luck and was hoping that someone could point me in the right direction? In the back end of my system I have built a list of hash maps which I'm displaying on the JSP using the iterate tag something like:

RE: html:radio..javascript

2003-07-31 Thread Mainguy, Mike
I my html:javascript looks like this html:javascript formName=logonSubmit dynamicJavascript=true staticJavascript=true/ don't know if those other two attributes matter or not... In addition, I put the html:javascript tag at the bottom of my page. For What It's Worth -Original Message-

RE: Validator: Is validwhen available ?

2003-07-31 Thread Kamholz, Keith (corp-staff) USX
So it's not available in the initial Struts 1.1 final release? Is there an alternative to validwhen that can do the same job? - Keith -Original Message- From: Nagendra Kumar O V S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:49 AM To: [EMAIL PROTECTED] Subject: Re:

html:errors/ not working!

2003-07-31 Thread Samanth Athrey
Hi, I have this tag html:errors/ in my jsp file. But when error occurs, this fails to display the error messages on the jsp file. There is only single copy of my ApplicationResources.properties file. I am overriding the validate() method of the ActionForm class. Could anybody tell me where am

Re: html:errors/ tag

2003-07-31 Thread Andrew Geery
Look at the logic:messagesPresent tag. From the description of the messagesPresent tag (http://jakarta.apache.org/struts/userGuide/struts-logic.html#messagesPresent): Evaluates the nested body content of this tag if an |ActionMessages| object, |ActionErrors| object, a String, or a String array

Antwort: using checkboxes inside iterate tags

2003-07-31 Thread pklassen
Hi, why don't you use the multibox-tag? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:errors/ not working!

2003-07-31 Thread Prashanth.S
Hi u need to paste ur actionform as well as action class to gave us some idea of what is goin wrong?? Thanks Prashanth Samanth Athrey [EMAIL PROTECTED] wrote: Hi, I have this tag in my jsp file. But when error occurs, this fails to display the error messages on the jsp file. There is only

Re: Database Connection

2003-07-31 Thread Marc Ende
Am Donnerstag, 31. Juli 2003 13:53 schrieb Navjot Singh: yes, you can put your class file in webapp CP also - whichever way it works for you. However, docs say that it should be under tomcat common dir. Yes of course, they should be under tomcats common dir especially when using jndi for

Re: using checkboxes inside iterate tags

2003-07-31 Thread vellosa
OK, sorry to have troubled you all, but I have got it running now. All I needed to do was to look at the bean:write tag and learn from there! When I included: tdhtml:checkbox name=item property=secondValue valueY//td it all worked great! Thanks for your time IV from:[EMAIL PROTECTED]

handling multiple resource messages

2003-07-31 Thread Ramiah Tin
My application module contains multiple resource messages, each corresponds to each subcomponent within the module, storing all the localized error messages. I wonder if there is a way to display these error messages in the JSP without explicitly specifying the resource by the JSP writer.

How to show GLOBAL ERRORS in a JSP

2003-07-31 Thread Dirk Behrendt
Can you give me a code fragment? The same way you display any other struts error in a JSP page: html:errors/ Dirk Behrendt wrote: Hello! I my ActionClass I set a Global Error. How can I display this error in my JSP? ActionErrors errors = new ActionErrors();

RE: [OT] Best super-class for context handling.

2003-07-31 Thread ian_d_stewart
getResourceAsStream() is an instance method of java.lang.Class, so as long as you stick with that, you're not tied to any particular deployment environment. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100

Re: Struts and Jetspeed

2003-07-31 Thread Joe Germuska
At 22:22 -0600 7/30/03, jakarta-lists wrote: Has anyone successfully use Struts with Jetspeed? I'm looking into the possiblilty of having jetspeed do the authentication, templating and layout.. while struts will handle the control of the app. It sounds like a good idea to me, but I haven't

struts access to protected jsp

2003-07-31 Thread Tridev Kodamasingh
Hello everybody, I want to access a jsp which is inside /web-inf/ directory. I am using tomcat4.1.18. There is an entry inside the action maaping in structs-config.xml as following:- action path=/cramerLoad type=com.web..action.LoadPageAction forward name=loadPage

Re: How to show GLOBAL ERRORS in a JSP

2003-07-31 Thread Andrew Geery
The process is something like this: (1) create an ActionErrors object (2) add any errors to it (3) if the ActionErrors is not empty (i.e., you've added errors to it), save the errors and go (back) to the input form (4) display the error messages using the html:errors tag on the jsp page. I think

RE: Struts and Jetspeed

2003-07-31 Thread Mainguy, Mike
I'll agree, if you're already using Turbine, then struts is really a waste of time and effort. Just use the turbine framework (it's more complete anyway IMHO). If you really want to use struts for portlets, I'd recommend using struts in a different servlet context and then wrapping it in a

RE: struts access to protected jsp

2003-07-31 Thread Mainguy, Mike
You should be able to go to cramerLoad.do and all will be well. I put my .jsp files in WEB-INF with not problems... I Noticed that you didn't capitalize WEB-INF, that could be a potential problem. -Original Message- From: Tridev Kodamasingh [mailto:[EMAIL PROTECTED] Sent: Thursday,

JSTL and Struts

2003-07-31 Thread Mainguy, Mike
I'm in a quandary. We're examining a way to do simple formatting of our model data. For example, when currency data comes out of the database, it needs to be rendered as $1,000.00 or whatever. This is a very common thing and we where going to do it using a custom formatting object to do

Re: Struts and Jetspeed

2003-07-31 Thread Steve B.
Also, be sure to read up on Tiles for creating your layout. On the other hand, I am a big fan of Jetspeed as a service aggregator. Jahia (also a portal product with content management) allows you to drop-deploy struts applications which is very useful. IOW, If you are just trying to create a

RE: Javascript validation for struts form field elements

2003-07-31 Thread Mike Jasnowski
One such way is this document.forms[0].elements[ ele name with dot here ] -Original Message- From: Veena B N [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 7:58 AM To: 'Struts Users Mailing List' Subject: RE: Javascript validation for struts form field elements Thanks daniel,

Action uses Request Dispatcher

2003-07-31 Thread andmer
Hi, we have inherited an application and it my task to get it up and running on WebSphere, I believe it was previously running in Tomcat, In one particular action there is a call to RequestDispatcher's include method to do some processing with a jsp page, the processing is not used in the view at

Re: JSTL and Struts

2003-07-31 Thread Vic Cekvencih
One way is to localize inside the getter of the formbean. .V Mainguy, Mike wrote: I'm in a quandary. We're examining a way to do simple formatting of our model data. For example, when currency data comes out of the database, it needs to be rendered as $1,000.00 or whatever. This is a very

RE: How to show GLOBAL ERRORS in a JSP

2003-07-31 Thread Steve Raeburn
http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-s ummary.html#doc.Other.messages http://www.husted.com/struts/tips/017.html Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 6:22 AM To: [EMAIL PROTECTED]

RE: JSTL and Struts

2003-07-31 Thread Mainguy, Mike
I did it that way in a previous application and it seemed to work well, but it just seems like this functionality is so necessary that it would be built into the presentation taglib (and perhaps with the validator framework). Is it safe to say that perhaps it has not been implemented or

RE: newbie-question: validation across multiple pages

2003-07-31 Thread Yansheng Lin
You might want to use session to store all the values entered in page=1. Then when there is an error in page=2 or page=3, and forward the control back to page=1. Since all the values are session scope, you can access them in your page=1. Remember you have to clean the session though:).

RE: Validator: Is validwhen available ?

2003-07-31 Thread Steve Raeburn
The nightly builds are not working for now because of a problem with the build machine. ValidWhen has been added to the source but, for now, you'll need to check it out from CVS and do your own build. It will be included in the 1.2 release which will come along a lot sooner than the 1.1 release

RE: Validator: Is validwhen available ?

2003-07-31 Thread Kamholz, Keith (corp-staff) USX
Hmm. I'm not going to be impatient, but do we have any rough idea how long it will be until the 1.2 release comes out? Just curious. Anyway, thanks for answering my question. - Keith -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003

RE: struts access to protected jsp

2003-07-31 Thread Tridev Kodamasingh
Thanks Mike. That was the problem. Regards -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 3:15 PM To: 'Struts Users Mailing List' Subject: RE: struts access to protected jsp You should be able to go to cramerLoad.do and all will be well.

Re: Could one figure out the context path in Servlet.init() method?

2003-07-31 Thread Jing Zhou
From within the Servlet.init() method, one could get the ServletContext by calling getServletConfig().getServletContext(). My question is could we figure out the context path inside the Servlet.init() method? The ServletContextListener interface could provide the ServletContext, but not the

RE: html:radio..javascript

2003-07-31 Thread Steve Raeburn
html:javascript defaults to true for both dynamic and static parameters so that shouldn't make a difference. Also, location on the page doesn't matter (I stick it in the head section). Steve -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: July 31, 2003 6:03 AM

RE: html:select multiple pre select

2003-07-31 Thread Steve Raeburn
I've put together a set of Struts examples at http://www.ninsky.com/struts, one of which focuses on populating and options. struts-config.xml: form-bean name=optionsForm type=org.apache.struts.action.DynaActionForm form-property name=fruit3 type=java.lang.String[] initial=Banana Orange /

Re: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Pat Quinn
Is anyone out there working with dynamic HTML trees at the moment (i.e. displaying data loaded from a data base) as i'm pulling my hair out here at the moment. I downloaded the source for Struts Menu and implemented a change to allow me to place a java bean with my tree menu details into

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Raible, Matt
I'm willing to help if you send me the code. Which Displayer are you using? Matt -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 9:20 AM To: [EMAIL PROTECTED] Subject: Re: Dynamic Tree Menus --- HELP!!! Is anyone out there working with

RE: Validator: Is validwhen available ?

2003-07-31 Thread Steve Raeburn
The only possible answer is when it's ready. I would cautiously say within the next quarter. It could be a lot sooner than that and I doubt it will be any longer. What I do know is that there won't be any major new features. It's primarily a 'tidy-up' release with internal reorganization of the

logic tags with mapped properties

2003-07-31 Thread André
Gurus, do logic tags suport mapped properties? In other words, I want to have a HashMap wrapped inside a java bean and use its values in a tag like logic:equal name=beanName property=mappedProperty(key) value=true/ Any help is appreciated. Regards, André. = O mundo é bom pra quem sabe

RE: JSTL and Struts

2003-07-31 Thread Karr, David
I think it would help if you spelled out for yourself exactly what this functionality really means. -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 7:44 AM To: 'Struts Users Mailing List' Subject: RE: JSTL and Struts I did it that way

RE: JSTL and Struts

2003-07-31 Thread Mainguy, Mike
To quote my earlier message: I'm in a quandary. We're examining a way to do simple formatting of our model data. For example, when currency data comes out of the database, it needs to be rendered as $1,000.00 or whatever. This is a very common thing and we where going to do it using a

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Pat Quinn
I appreciate your kind offer my details are as follows: I've broken it down into a very basic example once you view this the third node will appear with a series of plus images. --- Menu-Config.xml --- ?xml version=1.0 encoding=UTF-8 ? MenuConfig

RE: Dynamic Tree Menus --- HELP!!!

2003-07-31 Thread Pat Quinn
I appreciate your kind offer my details are as follows: I've broken it down into a very basic example once you view this the third node will appear with a series of plus images. --- Menu-Config.xml --- ?xml version=1.0 encoding=UTF-8 ? MenuConfig

RE: JSTL and Struts

2003-07-31 Thread Canning, Chuck
Hey Mike, Why would you need the formatting inside of an input tag? You are only processing the data on the server side and that doesn't require formatting or am I missing something here? Chuck -Original Message- From: Mainguy, Mike [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31,

Re: Need help for design

2003-07-31 Thread Erik Price
Anubhav Kale wrote: Hello I want to create a simple JSP page with login and password fields. If i/p is correct (verified against a database) I should give user access to some JSP pages. If user tries to go to these JSP pages directly without entering correct username and password then he should

Re: Could one figure out the context path in Servlet.init() method?

2003-07-31 Thread Craig R. McClanahan
On Thu, 31 Jul 2003, Jing Zhou wrote: I am wondering if there is a way to get the context path without using init parameters during the initialization of a servlet. Any clues? We have ServletContext.getRealPath(), but not the ServletContext.getContextPath(). Why can't the ServletContext

RE: JSTL and Struts

2003-07-31 Thread Mainguy, Mike
When I return a currency or date value, the client has a specific format they want it in. i.e. $1,000.000 or 02/02/2003. -Original Message- From: Canning, Chuck [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 11:55 AM To: 'Struts Users Mailing List' Subject: RE: JSTL and

Re: Struts and Jetspeed

2003-07-31 Thread BaTien Duong
Joe Germuska wrote: At 22:22 -0600 7/30/03, jakarta-lists wrote: Has anyone successfully use Struts with Jetspeed? I'm looking into the possiblilty of having jetspeed do the authentication, templating and layout.. while struts will handle the control of the app. It sounds like a good idea

Re: JSTL and Struts

2003-07-31 Thread Erik Price
Mainguy, Mike wrote: When I return a currency or date value, the client has a specific format they want it in. i.e. $1,000.000 or 02/02/2003. Do you mean you are using an input tag for display purposes (i.e. returning data to the browser with an input tag that has a default value). Erik

RE: JSTL and Struts

2003-07-31 Thread Mainguy, Mike
exactly -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 12:16 PM To: Struts Users Mailing List Subject: Re: JSTL and Struts Mainguy, Mike wrote: When I return a currency or date value, the client has a specific format they want it in.

RE: JSTL and Struts

2003-07-31 Thread Mainguy, Mike
Or rather, the value stored in my database -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 12:16 PM To: Struts Users Mailing List Subject: Re: JSTL and Struts Mainguy, Mike wrote: When I return a currency or date value, the client has a

Design Question

2003-07-31 Thread Travis Stevens
Hello, I have some functionality in my web application that allows a user to select a record. This functionality is plugged into other types of functions, such as combine a record or select a component record. Steps to combine a record: 1. select a record 2. configure combining 3. combine

extending Struts taglibs to indicate form field states

2003-07-31 Thread Witbeck, Shane
Im considering extending the Struts taglibs (specfically the form object tags). What Im thinking about doing is adding a formStateObject to my ActionForm beans and having it dictate the state of specifc elements of a form. For example, if a particular field should be disabled, then I would add

Any tool for struts?

2003-07-31 Thread JavaXML Developer
Hello group, I want to know if there is any tool available in the market to develop struts applications faster? Thanks, Vicky - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Design Question

2003-07-31 Thread shane
Why not just define the forward action in the selectRecord action mapping element in your struts-config.xml? shane Quoting Erik Price [EMAIL PROTECTED]: Travis Stevens wrote: As you can see, the select a record functionality is common. To implement this I would like to create

Re: Any tool for struts?

2003-07-31 Thread Adam Levine
Google is your friend: struts tools Also, there's an archived list of struts-user somewhere... Check the jakarta pages for more info. From: JavaXML Developer [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Any tool for struts? Date: Thu,

Re: Any tool for struts?

2003-07-31 Thread Steve Muench
The BC4J Toy Store Demo (and its accompanying whitepaper) help you understand what facilities that Oracle JDeveloper has to offer for Struts developers. Building a Web Store with Struts and BC4J (BC4J Toy Store Demo) http://otn.oracle.com/sample_code/products/jdev/bc4jtoystore

  1   2   >