Have to set default value in reset method.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: February 26, 2003 1:18 PM
To: [EMAIL PROTECTED]
Subject: checkbox and
try Boolean.FALSE (Object) instead of false (which is a primitive type).
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: February 26, 2003 2:04 PM
To: [EMAIL
What is the bug that you discovered? Mine works just fine.
Tomcat 4.1.18
Struts 1.1-rc1
Oracle 8i
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: David Haynes [mailto:[EMAIL PROTECTED]
Sent: February 26, 2003 4:43
Make sure commons-dbcp and pooling are not in your common/lib, use tomcat's.
Besides, I don't use struts datasource, I use Tomcat JNDI datasource and
pooling.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: David
Sorry, make sure top use commons-dbcp and pooling in tomcat's common/lib.
Since Tomcat JNDI is tomcat's not struts'.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent:
Mine is Collection, so I iterate thru the collection and set false
(String) to each checked.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Neal [mailto:[EMAIL PROTECTED]
Sent: February 26, 2003 5:20 PM
To: [EMAIL
If you want to show your error message on the page where error occurs, there
is no easy way than html:error/.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]
Sent: February
I usually log SQLExceptions in log file and display An unexpected error
occurred, please contact your sys admin.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: John Espey [mailto:[EMAIL PROTECTED]
Sent: February
Solution 1:
- Add error to ActionMessage.
- Display the above message as a hidden field on the same page.
- Meanwhile, display a friendly message to user on the same page.
Solution 2:
- log exception to a file.
- display friendly message to user on the same page.
Regards,
PQ
This Guy
I have to disagree with Craig on the issue of banishing ns4. We are all
working on a *nix box. There are not many choices besides mozilla or ns.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Vinh Tran
This time I agree. :)
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: February 25, 2003 5:47 PM
To: Struts Users Mailing List
Subject: RE: Netscape 4.7x and
Craig,
Since you are one of the developers of struts, can you tell me how old is
this project?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
I asked this question is because there is a funny recruitment ad from a
major Canadian bank hiring some one with 2 - 3 years experience of struts.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Trieu, Danny
I suspect that you have to override reset method in your ActionForm class to
set default value of checkbox.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]]
Sent: February
If you don't want to pay for it right because of time constraint, you will
have to pay even more in the future. Upgrading from 1.0 to 1.1 as soon as
possible should reduce the pain.
Nested tag: I don't have any problem, could you post your code so we can
have a look?
Regards,
PQ
This Guy
I am not expert. I use Tomcat and struts. I found that even though my app
uses commons-dbcp, I don't have to include it into my WEB-INF/lib because it
is in Tomcat's common/lib. I guess the requirement is container based. Of
course, if not to include only works if all apps use the same release of
I remembered some one on the list had said that ActionMapping is deprecated
in 1.1b3. If ActionMapping is deprecated, why all those Action.execute still
accept ActionMapping as argument?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
I think Tomcat is more friendly to struts than other containers because it
has some of the commons-* jars installed in common/lib. Even though I didn't
include commons-pool and commons-dbcp in my WEB-INF/lib, my commons
implementation of connection pool still works - I know it breaks the rule.
Maybe they are trying to save disk space.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: February 5, 2003 12:58 PM
To: [EMAIL PROTECTED]
Subject: RE: How do i keep the
TreeMap should solve the problem, sorted + quick-lookup.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Rob Kischuk [mailto:[EMAIL PROTECTED]]
Sent: February 5, 2003 12:57 PM
To: 'Struts Users Mailing List'
Doesn't fit into a floppy.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: February 5, 2003 1:21 PM
To: [EMAIL PROTECTED]
Subject: RE: How do i keep the commons-*.jar
I used your struts console in forte/netbeans without any problem.
Now that I have switched to Eclipse and installed your plugin 3.2. Eclipse
throws NullPointerException when I try to access the Preference - Workbench
or - file association.
Regards,
PQ
This Guy Thinks He Knows Everything
Token works perfect for my app.
In my load action, I set token by saveToken(request).
In my submit action, I check token by isTokenValid(request); if invalid, I
forwards request to an error page.
Very simple.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What
In your DispatchTestAction class, after you populate the form bean
(request.setAttribute), call saveToken(request) ;
In your DoAction class, before you submit to database, check token
isTokenValid(request); if valid, continue process and resetToken(request);
otherwise, return a global forward
WEB-INF/lib
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Jay Wright [mailto:[EMAIL PROTECTED]]
Sent: February 4, 2003 3:35 PM
To: 'Struts Users Mailing List'
Subject: RE: DynaValidatorForm exception.
Where is
Those two parameters are totally different definitions.
Parameter in url is servlet request's parameter. Parameter in mapping is a
property of ActionConfig class.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From:
I want to bring up another issue.
The default behavior of RequestProcessor is to save everything into a new
ActionForm then do the validation. If token is invalid, why should we bother
populating the ActionForm at all?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He
In reset method of your ActionForm, set default value of checkbox.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Johan Kumps [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2003 4:47 PM
To: Struts mailing
Subject:
Then set unchecked value.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Johan Kumps [mailto:[EMAIL PROTECTED]]
Sent: January 31, 2003 4:53 PM
To: Struts Users Mailing List
Subject: RE: html:multibox no selection
You override the reset method to set unchecked value.
1. You know how many elements in your array, so instantiates your array.
2. You know the unchecked value of each element, so do a loop and set
default value to each element.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy
Any solution without using JavaScript?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: January 30, 2003 9:37 AM
To: 'Struts Users Mailing List'
Subject: RE: Automatic
Try to utilize the parameter in your action mapping.
For loading action, parameter = load; for submission action, parameter =
submit.
Base action class logic:
If parameter is load
saveToken(request)
If parameter is submit
isTokenValid(request)
submit
What do you need to get the ActionServlet in your ActionForm?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: bkafka [mailto:[EMAIL PROTECTED]]
Sent: January 30, 2003 4:28 PM
To: Struts Users Mailing List
Subject:
I prefer your workaround. It is simply not good idea to me to touch servlet
request or ActionMapping or ActionServlet in ActionForm.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: bkafka [mailto:[EMAIL PROTECTED]]
Means using JSTL?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Sundar Narasimhan [mailto:[EMAIL PROTECTED]]
Sent: January 29, 2003 9:27 AM
To: [EMAIL PROTECTED]
Subject: what does RT Expr mean
In the bottom of
public void reset(ActionMapping mapping, HttpServletRequest request) {
read = new ArrayList();
//skip others params
}
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Kafka [mailto:[EMAIL PROTECTED]]
I know the implementation of session is container dependant. I know struts
put a lot of stuff in the http session.
Can any one tell me how big is a session if I implement Tomcat 4.1.x +
struts 1.1 beta?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows
Instantaitates a new form bean, request.setAttribute, load page.
If it is DynaActionForm, set default in your struts config file.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Weber, Jeremy [mailto:[EMAIL
If you use oracle.jdbc.pool.OracleConnectionPoolDataSource, what will be the
url?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: January 23, 2003 11:53 AM
To: 'Struts
Will this filter work with struts Action class?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]]
Sent: January 22, 2003 7:58 AM
To: 'Struts Users Mailing List'
Subject:
Can you give me an example of your factory?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: January 22, 2003 7:56 AM
To: Struts Users Mailing List
Subject: RE:
I guess struts calls reset in order to save all your input and then does the
validation
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Jeremy Cavagnolo [mailto:[EMAIL PROTECTED]]
Sent: January 22, 2003 2:53 PM
To:
Replace with '
a class=menuItem href='html:rewrite page=/main.do/'Main/a
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Jagdish Arora [mailto:[EMAIL PROTECTED]]
Sent: January 21, 2003 2:06 AM
To: Struts Users
Is it possible to instantiate an instance of DynaActionForm before I
populate the page?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: January 20, 2003 7:58 PM
Last week I asked if action mapping's input accepts action. The answer is
Yes after I did a test.
action path=/myAction1 type=myActionClass1 input=/myAction2.do
forward../
/action
input can be a page or an action.
Regards,
PQ
This Guy Thinks He Knows
It only resets numeric. For example, there is an amount property of your
bean which is a Double. If you enter abc and submit, abc is reset to 0.0. To
avoid this, change Double to String so struts can keep the original value.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He
My writer writes binaries to output stream.
Stmt is an Oracle BFILE, response is HttpServletResponse, length doesn't
matter.
InputStream in = null ;
BufferedInputStream bis = null ;
ServletOutputStream writer = null ;
try
{
Is there a struts documentation that explains what those formats are?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: January 16, 2003 10:13 AM
To: 'Struts Users
That means struts supports all the java number formats. Great.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Gabrovsky, Ivaylo [mailto:[EMAIL PROTECTED]]
Sent: January 16, 2003 11:21 AM
To: [EMAIL PROTECTED]
Dot notation always works.
For example
public class ClassA
{
private ClassB b
public class ClassB
{
private String c
in struts, logic or bean:write, you refer a.b.c
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original
COM is similar to CORBA/RMI but not CORBA, am I right?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: January 16, 2003 11:15 AM
To: 'Struts Users Mailing List'
action path=/myAction type=fully.qualified.action.class.name
input=mypage.jsp
Can I set input=myAction2.do?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
My ActionForm is
public class MyActionForm extends ActionForm
{
private String myMessage ;
public String getMyMessage()
{
return myMessage ;
}
}
Now that I set myMessage to line_1brline_2 so as to display it on the
page as
line_1
line_2
If I use bean:write
Good point
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED]]
Sent: January 15, 2003 2:26 PM
To: Struts Users Mailing List
Subject: RE: bean:write and embedded html tag
Have
Agree. I also found that JK2 connector is much easier to setup and is very
stable.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: January 15, 2003 4:44 PM
To:
Try nested:iterate tag
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Cohan, Sean [mailto:[EMAIL PROTECTED]]
Sent: January 14, 2003 9:59 AM
To: Struts (E-mail)
Subject: Collection within Collection
I have a
I usually use two Action classes.
- LoadAction class to check if user is returned from page. Then I can
decide whether I shall populate page using what he has entered before or
instantiate a new page.
- Action class to process form submission and chain to next
LoadAction.
Regards,
Can you discard this bean and instantiate a new one?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Affan Qureshi [mailto:[EMAIL PROTECTED]]
Sent: January 13, 2003 12:07 AM
To: struts-user
Subject: How to reset
In your struts conf xml, define the action and set scope to request.
action path=/myAction
type=myActionClassName
input=myJSPPage
scope=request
forward name=success path=/nextAction /
/action
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy
html:errors bundle=yourbundle/
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: January 10, 2003 3:51 PM
To: Struts Users Mailing List
Subject: RE: ActionErrors question
I create two Actions, one for loading page, the other for form submission.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: January 9, 2003 11:29 AM
To: [EMAIL
I am a bit confused about session scope of ActionForm.
For example, in my ActionForm testForm
private String field1 ;
private String filed2 ;
I instantiate testForm in a PageOneLoadAction
TestForm testForm = new TestForm() ;
Request.getSession().setAttribute(testForm, testForm) ;
On page
No, it will still be set.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: January 8, 2003 3:55 PM
To: 'Struts Users Mailing List'
Subject: RE: value=bean:write../
Please excuse my curiosity and ignorant. If we can access pages using https
why bother using SSLext?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
Sent: January 6, 2003
What's the benefit of using commons-logging if I have log4j setup and
working?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]]
Sent: January 7, 2003 1:43 AM
To: Struts Users
So having a wrapper around my log4j won't reduce the performance?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Karl Baum [mailto:[EMAIL PROTECTED]]
Sent: January 7, 2003 11:12 AM
To: Struts Users Mailing List
One dirty trick is to use enable/disable.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
Sent: January 7, 2003 11:06 AM
To: '[EMAIL PROTECTED]'
Subject: Display the
Override reset method in your ActionForm
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Yujin Kim [mailto:[EMAIL PROTECTED]]
Sent: January 7, 2003 1:21 PM
To: 'Struts Users Mailing List'
Subject: Indexed property
I do it this way
In your action class, instantiate a new ActionForm, populate values, and
then request.set(yourformbeanname in struts conf xml, yourinstance).
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: ashokd
logic:equal = if...then
logic:notEqual else
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]]
Sent: January 6, 2003 9:19 AM
To: 'Struts Users Mailing List'
Subject: RE:
The template is like a super class, include jsp is like a subclass, can you
inherit super class imports in your subclass? No.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Yan Zhu [mailto:[EMAIL PROTECTED]]
Isn't it defined in struts config xml? message-resources parameter=/?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Jimmy Oh [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 12:27 AM
To: Struts Users
Subject:
On top of this question, I would like to know if this token can resolve
issues casuing by depressing BackSpace key?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Jason Yam [mailto:[EMAIL PROTECTED]]
Sent: January
Have you checked apache's ssl log?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 9:47 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject:
Don't understand why you prefer an absolute path? I use relative path,
In web.xml
taglib
taglib-uri/tags/struts-tiles/taglib-uri
taglib-location/WEB-INF/struts-tiles.tld/taglib-location
/taglib
tld file is in my WEB-INF, struts.jar is in my WEB-INF/lib, and tiles plugin
is
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Daniel Grey [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 2:20 PM
To: Struts Users Mailing List
Forget META-INF (sorry Craig). I think I finally figured it out.
Let's go back to old release (1.1b2). In my web.xml, I define
taglib
taglib-urimytiles/taglib-uri
taglib-location/WEB-INF/struts-tiles.tld/taglib-location
/taglib
taglib-uri is just a reference that you will use in
JNDI is way too easy.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Charlie Toohey [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 3:09 PM
To: [EMAIL PROTECTED]
Subject: Struts data-source vs. Tomcat JNDI
Are your tlds located in myapp/WEB-INF?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Daniel Grey [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 3:32 PM
To: Struts Users Mailing List
Subject: RE:
Check your jsp, is there any place in the jsp that explicitly looking for
tld in WEB-INF/pages?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Khalid K. [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 3:46 PM
To:
Can you use html-el?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Siggelkow, Bill [mailto:[EMAIL PROTECTED]]
Sent: January 3, 2003 3:53 PM
To: 'Struts Users Mailing List'
Subject: RE: Iterate Index Evaluation
Greg,
I have to correct my posting.
In my OrderEntryForm, there is an instance variable called lineItems.
In my reset method,
I first instantiate it using lineItems = getOrder(request).getLineItems().
Then I set the checkbox and let struts to populate the line items. You don't
have to keep a
When I load Tomcat, I can see sth like this in log
2003-01-03 16:14:09 ContextConfig[/lciponline]: Accumulating TLD resource
paths
2003-01-03 16:14:09 ContextConfig[/lciponline]: Scanning taglib elements
in web.xml
2003-01-03 16:14:09 ContextConfig[/lciponline]:Adding path
Odd and even is not the only way of doing that, you can also switch between
1 and -1 regardless which row index is.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Piper, James D CECOM SEC EPS
[mailto:[EMAIL
1.1b2
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Greg Bearth [mailto:[EMAIL PROTECTED]]
Sent: December 31, 2002 6:01 PM
To: 'Struts Users Mailing List'
Subject: RE: Updating collections of information
PQ, can
Oracle requires an explicit OracleConnection. Thus you have to get the
underlying connection of struts/tomcat connection by
((PoolableConnection) getConnection()).getDelegate()
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original
Did u close all the resources before u return null?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Srinivas Sampige [mailto:[EMAIL PROTECTED]]
Sent: December 30, 2002 9:13 PM
To: Sven Bischoff
Cc: [EMAIL
Can you provide a list of changes/bug fixes since 1.1b2? All I have seen is
additions/changes/bug fixes since 1.0
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent:
This is a classic question. You have to override reset in your form to
correctly populate all the elements.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Greg Bearth [mailto:[EMAIL PROTECTED]]
Sent: December 31,
Everybody is talking about struts-el. Is it part of struts.jar? where can I
find the doc for it?
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: December 31, 2002 11:02
public class OrderEntryForm extends ActionForm {
/**
* list of line items.
*/
private Collection lineItems ;
/**
* next withdraw from line item.
*/
private String nextWithdrawalDate ;
/**
* instantiates an empty collection of line items.
*/
On the page:
nested:iterate property=lineItems id=orderEntryLineItemForm
TR
TD nowrapnested:hidden property=assetID/nested:write
property=assetName//TD
TD align=centernested:text property=stringOrderAmount//TD
TD align=center
nested:select
My solution is pretty dumb because it keeps two copies of ActionForm.
1. In orderEntryLoad action (before I load order entry page)
I retrieve line items from database and save two copies of them. One in the
session (see point 2), the other in the request so I have all the initial
values of this
Did you return null? Since u write as pdf, you can only return null as
forward.
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
-Original Message-
From: Srinivas Sampige [mailto:[EMAIL PROTECTED]]
Sent: December 27, 2002 7:34 PM
To: Struts Users Mailing List
Subject: RE:
If I only use log4j, jar has to be placed in my app's WEB-INF/lib. Don't
know why it is in a different directory if commons-logging and log4j work
together.
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
-Original Message-
From: Paul Hodgetts [mailto:[EMAIL PROTECTED]]
In your html, action=/logon.do; in your struts config xml, define action
path=logon
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
-Original Message-
From: Loren Hall [mailto:[EMAIL PROTECTED]]
Sent: December 28, 2001 6:07 PM
To: Struts Users Mailing List
Subject:
Why don't you do it in your struts config xml? If authenticated, return a
forward for action/getaccountinformation; if failed, return mapping.getInput
(u need to define input as login page)?
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
-Original Message-
From: Suresh
What kind of detail you are looking at?
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
-Original Message-
From: Michael Marrotte [mailto:[EMAIL PROTECTED]]
Sent: December 30, 2002 1:00 PM
To: Struts Users Mailing List
Subject: Global Exception Handlers
Do you know of
Sorry, I am talking about Tomcat. Maybe it is bug for JRun.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Paul Hodgetts [mailto:[EMAIL PROTECTED]]
Sent: December 30, 2002 5:14 PM
To: [EMAIL PROTECTED]
Subject:
Dumb question. Is it able to disable Enter key without using JavaScript on
any struts-powered page?
Regards,
Phillip Qin
This Guy Thinks He Knows Everything
1 - 100 of 103 matches
Mail list logo