localize messages in JSP without session

2003-04-01 Thread Nicolas De Loof
On logon.jsp I would like messages to be localized. AFAIK to do this with Struts I have to put this tags : html:html locale=true bean:message key=logon.welcome / ... /html:html This tags use a Locale objet stored in session scope. My boss doesn't want this logon JSP to create a new session

OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Stephen Smithstone
Any one using the ojb stuff ?? which jar files do i need to deploy with my struts app i have trouble when i include the xercesImpl.jar and xml-apis.jar in my struts app /WEB-INF/lib folder the struts actionservelet throws up some nasty java.lang.VerfiyError upon loading of tomcat any help

Re: OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Kwok Peng Tuck
Shouldn't the xercesImpl.jar and xml-apis.jar be in $CATALINA_HOME/common/endorsed ? Stephen Smithstone wrote: Any one using the ojb stuff ?? which jar files do i need to deploy with my struts app i have trouble when i include the xercesImpl.jar and xml-apis.jar in my struts app /WEB-INF/lib

Re: OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Thomas CORNET
I'm using OJB 0.9.8 with Struts 1.1 rc1, and the only jars I've included in my WEB-INF/lib are 'jakarta-ojb-0.9.8.jar', 'jakarta-ojb-0.9.8-junit.jar' and 'jdbc2_0-stdext.jar'. I had no problems with that config for the moment. Thomas At 11:37 01/04/2003, you wrote: Any one

RE: [OT] Taglib reference and IntelliJ

2003-04-01 Thread Thomas . Gaudin
Hi, Concerning errors for Taskdef in build.xml : I ran into the same problem to declare Tomcat custom tasks. It's been solved by adding catalina-ant.jar in the properties of Idea ant panel (not in the project properties). Hope that helps Thomas It still does not stop this problem :( Also I

RE: [OT]Credit card processing

2003-04-01 Thread Robert Taylor
I use java API CyberSource provides: http://www.cybersource.com/products_and_services/electronic_payments/credit_ card_processing/ We also ended up writing a thin wrapper to abstract the implementation. In general it's been easy to use. robert -Original Message- From: Jeff Caddel

RE: [OT]Credit card processing

2003-04-01 Thread Mick . Knutson
PayFlow PRO has a java API. What is wrong with that? I looked at it and it looked _very_ easy. I use PFP in my Miva storefront, and am about to use it in my new application. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 1:14 PM To: Struts

a small query

2003-04-01 Thread Balraj Goulikar
hi, firstly, i am very new to struts. these questions may sound very basic. my application has put all the text content to be seen in the view in .properties files. what is the need purpose to take data from the file.properties files? is it only for multi lingual sites? or any other reasons?

Re: Action change in form

2003-04-01 Thread Raj Atchutuni
I am trying to submit the form with different actions basing on the user action. I am using java script to change the form action dynamically. struts config file has /aboutus action. Here is my code. Some how form is not submitted. Once i click the 'aboutus' link nothing is happening. Can

RE: Tiles with logic:iterate and JavaScript to sort table

2003-04-01 Thread Heligon Sandra
I placed the line script src=sortTable.js/script in the header of the page. But it is perhaps the call to the initTable() method that is bad. I must this call scriptinitTable(table0);/script after the definition of the table, isn't it ? I thus do not have several solutions. I think that it is

OnMouseOut

2003-04-01 Thread Alessio
Hi, i' ve a problem with StrutsMenu...how use OnMouseOut with StrutsMenu? i try in this way: Menu name=menu title=Mymenu Item name=first title=item 1 toolTip=mymenu.item1 location=javascript:document.forms.MyForm.submit() OnMouseOut=...OnMouseOut

RE: [OT]Credit card processing

2003-04-01 Thread David Bolsover
I use worldpay I suggest you look at their Junior guide first http://support.worldpay.com/downloads/results.php?id=47 If that looks good then check out the Pro Guide - complete with Java API http://support.worldpay.com/downloads/results.php?id=48 db -Original Message- From: P

Getting the id of an object in the value tag

2003-04-01 Thread JONATHAN PHILIP HOLLOWAY
I wonder whether someboyd knows how to do the following: If I have: html:radio value=2 property=answer/ How do i change this so the value tag takes the id from a bean instead of 2 Is it like this: html:radio value= bean:write id=AnswerBean property=answerId/ property=answer/ Or is there

Re: Action change in form

2003-04-01 Thread Susan Bradeen
Raj, Maybe document.form.action=act; should be document.form.action=action; since your setAction function has 'action' as a parameter instead of 'act'? Susan Bradeen On 04/01/2003 06:57:22 AM Raj Atchutuni wrote: I am trying to submit the form with different actions basing on the user

Re: Getting the id of an object in the value tag

2003-04-01 Thread Nicolas De Loof
JSP tags follow XML syntax, so you cannot embend a tag inside another like you do. You can use this : bean:define id=value name=AnswerBean property=answerId/ html:radio value=%= value % property=answer/ Nico. I wonder whether someboyd knows how to do the following: If I have: html:radio

Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
I am using struts 1.1rc1 TomCat 3.3. In my struts-config.xml I have the following line; message-resources parameter=messages / I have messages.properties in /WEB-INF/classes. If I call a JSP straight after a Tomcat 3.3 restart, I get javax.servlet.ServletException: Cannot find message

Problem forwarding from a Tile or Template.

2003-04-01 Thread Anthony . Leon
I get Cannot forward because the response has already been committed. I get the same response using Templates or Tiles. Here is a simplistic version of my problem. My JSP is ... %@ taglib uri=/WEB-INF/tld/struts-tiles.tld prefix=tiles % tiles:insert page=/one-pane-template.jsp tiles:put

Re: a small query

2003-04-01 Thread Nicolas De Loof
Using resourceBundle for application messages has some advantages : - application can be localized easily if needed - messages can be updated without recompile - messages can be managed by customers on deployed app if they want - bundle can be sent to customer for update / validation - developers

Re: Message resources are not loaded until an action is called.

2003-04-01 Thread Stephen Smithstone
is your ActionServlet load priority set as 1 or maybe 2 to ensure that the servlet is loaded first ? On Tuesday 01 April 2003 2:02 pm, [EMAIL PROTECTED] wrote: I am using struts 1.1rc1 TomCat 3.3. In my struts-config.xml I have the following line; message-resources parameter=messages

Struts in Cocoon

2003-04-01 Thread kavitha ramesh
Hi, I have a loginpage which runs with cocoon 2.0 and Tomcat 4.1.12.But I have problems in restoring the sessions of the users.So I would like to use Struts for solving the session problems.Now I would like to make the Struts work inside Cocoon without affecting my design using xslt.I would like

RE: Message resources are not loaded until an action is called.

2003-04-01 Thread Anthony . Leon
Works now - thanks. -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 14:08 To: Struts Users Mailing List Subject: Re: Message resources are not loaded until an action is called. is your ActionServlet load priority set as 1 or maybe 2 to ensure

[OT] Is there a taglib documentation generator (Javadoc-like)?

2003-04-01 Thread Jorge Mascena
How are the taglibs' api references generated? I believe there must be some sort of documentation generator, like javadoc, but I can't seem to find it out. Jorge Mascena - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Antwort: Getting the id of an object in the value tag

2003-04-01 Thread Manuel Lenz
You geht directly the value from the Form-Bean with this code: value=%=banfForm.getLieferdatum()% Maybe there exists a struts-tag to get the value too. Mit freundlichen Gruessen i.A. Manuel Lenz e-mail: [EMAIL PROTECTED] web: www.viessmann.com |-+--- |

Re: [OT] Is there a taglib documentation generator (Javadoc-like)?

2003-04-01 Thread James Mitchell
On Tue, 2003-04-01 at 08:33, Jorge Mascena wrote: How are the taglibs' api references generated? I believe there must be some sort of documentation generator, like javadoc, but I can't seem to find it out. The taglib documentation is generated as part of the site documentaion

Antwort: RE: Tiles with logic:iterate and JavaScript to sort table

2003-04-01 Thread Manuel Lenz
Why don´t you sort your table with java-code? We prefer to use java instead of javascript! And you can decide on which layer the table is sorted... Greetings, i.A. Manuel Lenz Viessmann Werke GmbH Co KG 35107 Allendorf e-mail: [EMAIL PROTECTED] web: www.viessmann.com

RE: How to do ORing using struts:logic Tag

2003-04-01 Thread Sri Sankaran
Your two options are: Option 1: logic:equal name=user_role value=guest %-- do something --% /logic:equal logic:equal name=user_role value=temp %-- do same thing --% /logic:equal Option 2: Write a method in your form bean that returns true iff the value of user_role is guest

Re: how to switch of logging with log4j at initialization

2003-04-01 Thread Martin Monsorno
Edgar Dollin [EMAIL PROTECTED] writes: In commons-logging.properties (somewhere on the classpath) I have these two lines org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategory Log

Re: OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Guido
What JDK version are you using? I had that exception when I was compiling my classes with a JDK and running them in a Tomcat using a different version. Regards, Guido. Stephen Smithstone wrote: Any one using the ojb stuff ?? which jar files do i need to deploy with my struts app i have trouble

Re: how to switch of logging with log4j at initialization

2003-04-01 Thread Martin Monsorno
Niesen, Nathan [EMAIL PROTECTED] writes: There is a bug in commons-logging 1.0.2+ that causes log4j to be used if it's found in the classpath. Just remove the log4j jar from your webapps lib dir. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17561 There is also a bug in the

RE: [OT] Contract Work: Going Rate?

2003-04-01 Thread mike . witt
People I have talked to who have posted jobs say they get 100's to 1000's of resumes, with about 1/3 locally. I know that 5 years ago I was able to get $50/hr from a contract agency (analysts international), but now the rate they are willing to pay is much less. Companies are putting a lot of

Re: OJB Deployment With Sturts 1.1rc1

2003-04-01 Thread Stephen Smithstone
Im running 1.4.1_01 On Tuesday 01 April 2003 3:41 pm, Guido wrote: What JDK version are you using? I had that exception when I was compiling my classes with a JDK and running them in a Tomcat using a different version. Regards, Guido. Stephen Smithstone wrote: Any one using the ojb

Using HTML tags to build complete URL's?

2003-04-01 Thread Greg Hess
Hi All, I am building the functionality to send a HTML email as a result of a transaction. The HTML is generated via a jsp page. All the images I reference must be done with complete URL's. I have been doing this by using the ServletContext and HttpRequest to build the baseHref and then then

Struts London Square Mile Java Developers

2003-04-01 Thread PILGRIM, Peter, FM
On 26/03/2003 10:26 Chris May wrote: Maybe, if it was south Manchester (I'm based in the Midlands). Any takers? Chris I'm in the Midlands too - just north of Brum. Anyone in the square mile! -- Peter Pilgrim, Struts/J2EE Consultant, RBoS FM, Risk IT Tel: +44 (0)207-375-4923

RE: how to switch of logging with log4j at initialization

2003-04-01 Thread Niesen, Nathan
If you put the properties files in your webapps classes dir, it will only apply to your webapp. Try putting the properties files in your app servers classpath. With Tomcat you'd put them in tomcat/common/classes. -Original Message- From: Martin Monsorno [mailto:[EMAIL PROTECTED]

Undetermined tag

2003-04-01 Thread ronanoc
I tried to follow an example and the documentation but I still don't know what is wrong I'm sure it is something very simple (?) html:select property=day html:option value=0101/html:option ... ... /html:select I get a JasperException - undetermined tag. Thanks. Ronan O'Ciosoig One Louder

RE: Struts link to map viewer

2003-04-01 Thread Niesen, Nathan
I posted this one: http://206.144.170.252/cit-framework/citExampleWelcome.jsp Nathan A. Niesen Application Developer ObjectFX Corporation 10 Second St NE, Suite 400 Minneapolis, MN 55413 612-312-2002 x2633 mailto:[EMAIL PROTECTED] www.objectfx.com -Original Message- From: Peter

Re: Struts link to map viewer

2003-04-01 Thread Balraj Goulikar
hi, i have a small problem, which might be for html. i have a form called frm form name=frm action = abc.jsp input type =text value=1234 name=action wen i refer document.frm.action.value it refers to text box how to refer the value of action of form. i think i m confused or missing my basics

RE: Web sphere and productivity

2003-04-01 Thread John Cavacas
Well, Thanks for your answers. I'm surprised ... The most interesting: Noone gave me advantages to use WSAD !!! [John Cavacas] I can give you some advantages. XML editing and XML project tools, Database tools, JSP, HTML editing support is better then any plug-in for eclipse. Also since WSAD

RE: Struts link to map viewer

2003-04-01 Thread Mike Thompson
rename your text box. frm.action should be the actual action that your form posts/gets to. --m -Original Message- From: Balraj Goulikar [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Struts link to map viewer hi, i

RE: Struts link to map viewer

2003-04-01 Thread Angelo . Andreetto
document.formName.action will return the string rappresenting in the action attribute of the Form object -Original Message- From: Balraj Goulikar [SMTP:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 7:08 PM To: Struts Users Mailing List Subject: Re: Struts link to map

Forwarding to an ActionClass

2003-04-01 Thread Manuel Lenz
Hi, does anybody know, how I can do a forwarding to an action class? I did this enty in the struts.config file, but my IDE tells me, that the requested file is not found! action name=bestellverfolgungForm path=/bestellverfolgungAction

Re: Forwarding to an ActionClass

2003-04-01 Thread Nicolas De Loof
use this : forward name=updateWE path=/BestellverfolgungAction.do - Don't forget the .do (or the servlet mapping you use) - use absolute path to avoid path errors Nico. Hi, does anybody know, how I can do a forwarding to an action class? I did this enty in the struts.config file, but my

Struts logoff cookies

2003-04-01 Thread Mohan Radhakrishnan
Hi I usually see the logout action implemented like this HttpSession session = request.getSession(); User user = (User)session.getAttribute(Constants.USER_KEY); session.removeAttribute(Constants.USER_KEY);

RE: Struts link to map viewer

2003-04-01 Thread Andrew Hill
Not in this case as he has shadowed that property by calling his field action - which is why instead of getting the forms action attribute he gets the action field in that form. action is not a suitable name for any form fields if one intends to make use of the form.action attribute to read or

html:multibox vs html:checkbox with logic:iterate

2003-04-01 Thread Heligon Sandra
Can soemone explain me the difference between the two tags html:multibox and html:checkbox in aJSP page which used logic:iterate tag. For example: logic:iterate id=fruits name=nameOfMyDynaValidatorForm property=fruits type=com.org.Fruit

Redirects

2003-04-01 Thread Damian Staniforth
Hi, We are currently using 1.1 b3 and are having problems with redirect ActionForwards in certain servlet containers. In WebSphere 4.0.3 if I have an application deployed with a context root of '/app' and within an ActionForward redirect to '/add.do', the browser actually redirects to

RE: Struts link to map viewer

2003-04-01 Thread Andrew Hill
btw: I dont see where the 'map viewer' mentioned in the subject comes into any of this? -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, 1 April 2003 23:54 To: Struts Users Mailing List Subject: RE: Struts link to map viewer Not in this case as he has

RE: Struts link to map viewer

2003-04-01 Thread Angelo . Andreetto
'sorry didn't noticed that. Obviously you cannot use any reserved word as variable name ;-] -Original Message- From: Andrew Hill [SMTP:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 5:54 PM To: Struts Users Mailing List Subject: RE: Struts link to map viewer Not in this

Re: Redirects

2003-04-01 Thread David Graham
This is fixed in RC1. David From: Damian Staniforth [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Redirects Date: Tue, 01 Apr 2003 16:54:20 +0100 Hi, We are currently using 1.1 b3 and are having problems with redirect ActionForwards in

A bean:define question

2003-04-01 Thread Binaghi Mauro
Hi I have the user.name property in my ApplicationResource.properties file. Can I take its value with the following instrucition in my JSP page? bean:define id=varName bean:message key=%= request.getParameter(httpParameter) %.name/ /bean:define Of course, I call my JSP with this URI

Re: do we have to wrtie a methods in bean classes to iterate

2003-04-01 Thread mohan
Hi, i have field in my dbtable on which i need to iterate and display on the webpage, do i need to write a method in the bean class to iterate on that field and call that in my JSP. --Mohan - To unsubscribe, e-mail: [EMAIL

RE: A bean:define question

2003-04-01 Thread Robert Taylor
You will have to do something like this: % String key = request.getParameter(httpParameter) + .name; % bean:define id=varName bean:message key=%=key%.name/ /bean:define robert -Original Message- From: Binaghi Mauro [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 11:09 AM

RE: A bean:define question

2003-04-01 Thread Karr, David
This might work: bean:define id=varName bean:message key='%= request.getParameter(httpParameter) + .name %'/ /bean:define -Original Message- From: Binaghi Mauro [mailto:[EMAIL PROTECTED] Hi I have the user.name property in my

RE: Redirects

2003-04-01 Thread Witbeck, Shane
This is a known issue with WebSphere. There is an e-fix for this but you also have to explicitly set a System Properties value. In the admin console under Application Servers Default Server JVM Settings add: name com.ibm.websphere.sendredirect.compliance value 1 This makes WebSphere compliant

RE: OnMouseOut

2003-04-01 Thread Raible, Matt
Try the struts-menu user list. I didn't write this displayer, but I'm guessing it doesn't support these attributes. Matt -Original Message- From: Alessio [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 5:33 AM To: Struts User Subject: OnMouseOut Hi, i' ve a problem

RE: [OT]Credit card processing

2003-04-01 Thread P Dunham
Thanks a lot -Philip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 5:21 AM To: [EMAIL PROTECTED] Subject: RE: [OT]Credit card processing PayFlow PRO has a java API. What is wrong with that? I looked at it and it looked _very_ easy. I

[RESEND] : Error coming in AppLogin tag - CheckLogin.java - Sample mail application

2003-04-01 Thread Tapan Nanawati
Hi friends, I am working on struts -1.1 rc and tomcat 4.0.6. I have installed mail registration application and it is working fine. I can see all the pages properly. However if I open a new browser window and type the URL direcly :- http://localhost:8080/myExample/mainMenu.jsp I get a null

Logic Tag - Type

2003-04-01 Thread Puneet Agarwal
We wish to develop a TILE that could render a typical table listing in our application. This TILE shall access a particular arraylist to display the table. This arraylist shall be of different DTO's for different screens. I want to pass the type of DTO to this TILE while I do tile:get

[log4j]

2003-04-01 Thread Pat Quinn
Has anyone tried using log4j-1.2.7.jar with Struts _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail - To

Logic Tag - Type

2003-04-01 Thread Puneet Agarwal
We wish to develop a TILE that could render a typical table listing in our application. This TILE shall access a particular arraylist to display the table. This arraylist shall be of different DTO's for different screens. I want to pass the type of DTO to this TILE while I do tile:get inside

RE: [log4j]

2003-04-01 Thread Jimmy Emmanual
yup. no problems... -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED] Sent: April 01, 2003 11:37 AM To: [EMAIL PROTECTED] Subject: [log4j] Has anyone tried using log4j-1.2.7.jar with Struts _ Help STOP SPAM

Re: [log4j]

2003-04-01 Thread Rick Reumann
On Tue, 01 Apr 2003 17:37:27 +0100 Pat Quinn [EMAIL PROTECTED] wrote: Has anyone tried using log4j-1.2.7.jar with Struts I use it. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Netscape 4.7 disable fields

2003-04-01 Thread Mark Lowe
A couple of years back i had to get disabled form element behaviour working on ns4 and used dynamically gnerated and positioned divs with a tranparent image to cover the elements ... But i think its very silly and a waste of time. It quite a lot of dhtml fiddlyness for all 3 ns4 users.. :)

Re: how to switch of logging with log4j at initialization

2003-04-01 Thread Craig R. McClanahan
On Tue, 1 Apr 2003, Martin Monsorno wrote: Date: Tue, 01 Apr 2003 16:42:32 +0200 From: Martin Monsorno [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Niesen, Nathan [EMAIL PROTECTED] Cc: 'Edgar Dollin' [EMAIL PROTECTED], 'Struts Users Mailing List' [EMAIL

RE: Netscape 4.7 disable fields

2003-04-01 Thread Moore, Scott R.
Potential workaround to keep those 3 ns4 users happy (actually i think there's more like 7): - Clicking the button sets a Javascript variable disableTextBoxes to true - The textboxes have an onchange function that: - if disableTextBoxes is false, it stores the textbox value in an array -

[OT] April Fools?

2003-04-01 Thread Mark Galbreath
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How does Struts handle A list attribute in an AcitonForm

2003-04-01 Thread Cruz, Edward J.
Hi All, I have a question regarding an ActionForm. I have an ActionForm public class OrderForm extends ActionForm { String orderID; Header header; List items; } I have looked at the struts-exercise-taglib example and see how to display the

Re: DynaBeans

2003-04-01 Thread Thorbjørn Ravn Andersen
Mark Lowe wrote: Anyone got any cunning suggestions/workarounds as to change property type in a DynaBean? I'm attempting to replace an int that has been created from a ResultSetDynaClass with a DynaBean, or other useful object I do not fully understand your problem. I had a problem

Re: How does Struts handle A list attribute in an AcitonForm

2003-04-01 Thread Ian Hunter
What I've done in the past is something like this -- first, I try to always use DynaActionForms. In my struts-config file I'd declare something like form-bean name=familyForm type=org.apache.struts.validator.DynaValidatorForm form-property name=address1 type=java.lang.String/

[sslExt] Switching from HTTPS to HTTP and avoiding the You are about to be redirected to a connection.

2003-04-01 Thread Robert Taylor
I'm using Struts1.1rc1 and sslExtRC1-2. BTW, thanks to Steve for this package. There is one caveat however... If you submit a request to the server via HTTPS and that request is redirected to HTTP before returning to the client (server side code does a Response.sendRedirect() switching the

RE: Right way to extends Action

2003-04-01 Thread Van Riper, Mike
-Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 5:58 PM To: [EMAIL PROTECTED] Subject: Re: Right way to extends Action What about DispatchAction and LookupDispatchAction? Anyone have a good solution for reuse of common action logic

DynaActionForm with logic:present

2003-04-01 Thread Susan Bradeen
Can I use logic:present with DynaActionForm properties? If my form property is null, I don't want the property text box, to display in my jsp page. This works fine with an ActionForm, but using a DynaActionForm I get a blank text box for the property showing up. In the code below, the

Vlidation problem by using indexed=true in logic:iterate

2003-04-01 Thread Kosigi Gururaj
Hi I am facing a problem with validation by using indexed=true in logic:iterate... My form is AmountForm and here is the code public class AmountForm extends ActionForm { private ArrayList amountVO = null; public ArrayList getAmountVO() { return m_promiseToPay; }

RES: [OT] Is there a taglib documentation generator (Javadoc-like)?

2003-04-01 Thread Jorge Mascena
Could I get some references on how to do that? I would need to know the step-by-step to achieve a documentation similar to the struts taglibs' documentation. I'm developing a taglib and want my documentation to follow the struts standards. Thanks in advance and sorry for the inconvenience.

Re: [OT] Is there a taglib documentation generator (Javadoc-like)?

2003-04-01 Thread James Mitchell
I would just copy the relevant files and targets from the build.xml and replicate it for your build. Open the build.xml (from the source distribution) and take a look at 'compile.library' target and also the 'compile.website' target. Just copy and change what you need. -- James Mitchell

Re: A bean:define question

2003-04-01 Thread James Mitchell
or using the scriptlet-free version bean:parameter id=myparam name=httpParameter/ bean:define id=msgKey bean:write name=myparam/.name /bean:define bean:define id=varName bean:message name=msgKey/ /bean:define bean:write name=varName/ -- remove this unless you just want to print it out

Why is generateToken() protected?

2003-04-01 Thread Paul Yunusov
I think at least one reason is the wish to separate the business tier from the Struts API as in the business tier shall not call Struts methods mantra. Besides, generateToken() seems to be meant for collaboration with Struts tags. However, the cost of this decision is that direct extensibility

RE: How does Struts handle A list attribute in an AcitonForm

2003-04-01 Thread Cruz, Edward J.
The header and items are related to each other. In the business validation there are rules which require both to be present for validation and therefore are in a single class in the business layer. For the presentation each page of the multi-page form must redisplay the information from the

RE: How does Struts handle A list attribute in an AcitonForm

2003-04-01 Thread Cruz, Edward J.
This actual helps me we another problem I had not found until I thought through my order process. Thanks, Jamie Cruz Software Engineering [EMAIL PROTECTED] (301)688-1430 -Original Message- From: Ian Hunter [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 12:59 PM To:

design question about action chaining

2003-04-01 Thread Thorin Linderholm
I have been tasked with porting an existing web application with it's own proprietary controller architecture to using Struts. As they are both web controller architectures, they have many similarities, but I'm running into one difference in overall architecture that I'm having difficulty

RE: OnMouseOut

2003-04-01 Thread Niesen, Nathan
I haven't used StrutsMenu so these are just suggestions: 1. Do you have JavaScript enabled? 2. Should location=javascript:... be href=javascript:..., if not in the tag at least when the html is rendered. You probably don't need the javascript:. 3. Is the tag rendering the html event names in all

Re: design question about action chaining

2003-04-01 Thread Paul Yunusov
On Tuesday 01 April 2003 02:30 pm, Thorin Linderholm wrote: I have been tasked with porting an existing web application with it's own proprietary controller architecture to using Struts. As they are both web controller architectures, they have many similarities, but I'm running into one

RE: Netscape 4.7 disable fields

2003-04-01 Thread Niesen, Nathan
You could also have an onfocus event handler that calls blur() on the field or sets focus to the next field. They can't change the field if they can't put the cursor in it. This affects tabbing from field to field. -Original Message- From: Moore, Scott R. [mailto:[EMAIL PROTECTED]

Re: Why is generateToken() protected?

2003-04-01 Thread David Graham
The Action class' token methods are moving to RequestUtils in 1.2 to allow the RequestProcessor to use them. Your classes can then use the token methods as well. David From: Paul Yunusov [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

Re: Why is generateToken() protected?

2003-04-01 Thread Paul Yunusov
On Tuesday 01 April 2003 02:45 pm, David Graham wrote: The Action class' token methods are moving to RequestUtils in 1.2 to allow the RequestProcessor to use them. Your classes can then use the token methods as well. David Good news! Paul From: Paul Yunusov [EMAIL PROTECTED]

Re: design question about action chaining

2003-04-01 Thread David Graham
I think Filters would be a good choice for your needs. You can define a filter for each piece of logic and then configure them in web.xml for groups of pages. You'll need to put related pages in the same path scheme so that you can map a filter to the group instead of each page. David

RE: design question about action chaining

2003-04-01 Thread Thorin Linderholm
The static method you suggest would be very cumbersome to implement and maintain, requiring hard-coding calls to each bit of functionality I wanted on each page (aghh!) But thanks for the reply :-) I have to disagree that 'If they are a business tier concept, Struts should have nothing to do

RE: design question about action chaining

2003-04-01 Thread Jacob Hookom
I had come to the conclusion that Struts Actions are moreover 'View Adapter Components' or VAC's (you can quote me on that one!) and should not be relied on for handling business logic or data collection by any means, just as a facsimile for pulling model/controller data into the view. I wrote a

RE: design question about action chaining

2003-04-01 Thread Thorin Linderholm
Filters are one of the design/imp choices I've considered under the 'parallel system' heading, though I hadn't thought of trying to use the web.xml for this. I'd have to look into these more. I take it you recomending that a second, parallel system of specifying functionality on a per-page or

Re: Does a degree matter?

2003-04-01 Thread Alexandre Jaquet
a read actuall a nice book called Underworld Survival Guide he got's some nice tip : FREE EDUCATION Usually when you ask somebody in college why they are there, they'll tell you it's to get an education. The truth of it is, they are there to get the degree so that they can get ahead

Re: [OT]Credit card processing

2003-04-01 Thread louis majanja
Check out http://www.openecho.com/ pretty easy to use JAVA API and well documented too Louis Majanja On Mon, 2003-03-31 at 18:13, P Dunham wrote: Hi all, Anyone here have recommendations on credit card processing services? As well as any resources for implementing credit card

Re: design question about action chaining

2003-04-01 Thread Paul Yunusov
On Tuesday 01 April 2003 03:00 pm, Thorin Linderholm wrote: The static method you suggest would be very cumbersome to implement and maintain, requiring hard-coding calls to each bit of functionality I wanted on each page (aghh!) But thanks for the reply :-) I have to disagree that 'If they

Re: DynaActionForm with logic:present

2003-04-01 Thread Susan Bradeen
It appears (I am sure I missed some docs about this somewhere ... ) that DynaActionForm String properties are initialized to an empty String, unless otherwise set in the config file. The logic:present will never work as expected, since there aren't any null String property values. Subclassing

Re: DynaActionForm with logic:present

2003-04-01 Thread Ian Hunter
check logic:empty - Original Message - From: Susan Bradeen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 3:32 PM Subject: Re: DynaActionForm with logic:present It appears (I am sure I missed some docs about this somewhere ... ) that

Re: DynaActionForm with logic:present

2003-04-01 Thread Susan Bradeen
Yes, thanks, that would have been too simple! I believe that tag looks for an empty string also, and in my case it is alright to have an empty. I just need to weed out the null properties ... the ones not specifically set in the action. On 04/01/2003 03:42:31 PM Ian Hunter wrote: check

Re: design question about action chaining

2003-04-01 Thread Igor Shabalov
You can not possibly imagine how useful and powerful can be good GUI tool when you handle really big and cumbersome struts-config file. Actually it can give you much more capability to implement such pipes, filers and assembling of application from pre-defined action components.

html:link

2003-04-01 Thread Matt Cox
Does html:link automatically encode any parameters in the generated url? Is there a way to turn this off? I believe the answer to the first question is yes. I have a problem where I need to pass as a parameter to a action a link to another document including any anchor reference in that

Re: Is Strut too primitive for really useful Controller function?

2003-04-01 Thread Igor Shabalov
I can not find original post from Thorin - but I'm 100% agree with his point. Moreover I have real experience with system that allows me to implement what Thorin is talking about. We implements almost all business logic in controller layer, moreover we have two sub-layer inside controller

BeanUtils ArrayIndexOutOfBoundsException on session timeout of formsubmit.

2003-04-01 Thread Ka-Wai Chan
Hello I currently have arrays of objects in my Session Form object which gets populated by struts. All is fine except when the session times out, Struts still wants to populate the arrays but can't because they aren't initialized to the right size anymore. And the place where I handle

RE: design question about action chaining

2003-04-01 Thread David Graham
You need to understand what Struts does for you. The Action classes are *not* for business logic, they are part of the controller and define page flow and call business logic methods. If you need special authentication, logging, etc. for particular views then a filter is your best choice.

  1   2   >