Passing request from Action to another action

2003-07-18 Thread rajendra . x . yadav
Hi, In perform() of Action1, I put a Object in setAttribute and submit to a xxx.do which forward my page to 2nd jsp. In the perform() of Action2 (this gets called when i submit xxx.do), I try to get the atribute... but it's giving me null. What could be wrong ? Is request the best way to pass

What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Caroline Jen
I want to put the label and value pairs of the 51 states of the U.S. in a file, read in the file into an ArrayList, and then create a drop-down menu in a .jsp file. Question 1. Where is the proper place to put those label and value pairs? Create a table in the database? or put those pairs in a

RE: Passing request from Action to another action

2003-07-18 Thread Navjot Singh
If you are *disptaching* the request to another url. you can use REQUEST object to pass java objects BUT if you are redirecting the request to another url, SESSION is the way to go. Reason - HTTP cannot maintain the state b/w 2 requests. HTH -navjot |-Original Message- |From: [EMAIL

template theme idea

2003-07-18 Thread Dan Allen
I have an idea which I think would help to make struts more flexible when it comes to skinning an application. I might get shot down for this, but it makes a lot of sense to be, so here goes. Currently in struts, the paths in the configuration file (and taglibs) can follow a forwardPattern and

Re[2]: Can a form bean be repopulated w/same data if 'validate()' fa ils?

2003-07-18 Thread Martin Naskovski
Thursday, July 17, 2003, 8:02:12 PM, you wrote: WS Martin wrote: I am curious, I cannot get the form to reappear with the data that I am validating. WS I have my forms in session scope and don't have this problem. What scope WS are your forms in? Hi Wendy - I was initially placing them in

Re: Passing request from Action to another action

2003-07-18 Thread Martin Naskovski
There's 2 common ways to pass data between subsequent HTTP requests - through the request scope and the session scope. If you use the request scope, then make sure none of your global/local forwards in your struts-config.xml are set to redirect=true. On the other hand, if you dont mind poluting

Re: What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Martin Naskovski
Thursday, July 17, 2003, 11:30:03 PM, you wrote: CJ I want to put the label and value pairs of the 51 CJ states of the U.S. in a file, read in the file into an CJ ArrayList, and then create a drop-down menu in a .jsp CJ file. The United States has 50 states. :) CJ Question 1. Where is the

Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Ajay Patil
Hi, Is it possible to retrieve the Action mapping object in the Filter class ? To describe further, I am writing the filter (as per Servlet 2.3) to authenticate the Strut actions and was wondering if I could get the roles for the action triggered. I think Struts 1.1 allows for roles to be

Problem in Multiple Application

2003-07-18 Thread Naoki Wada
Hi. (B (BI making Multiple Application. (BBut. I have problem. (B (B"html:link forward="forward2"forward2/html:link" (B cannot be used in subapplication. (B (B"forward1" can be usually used. (Bhtml:link forward="forward1"forward1/html:link (B (Bbut. how to use of "forward2"? (B (Bhelp

RE: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Navjot Singh
correct me if i am wrong The filter servlet is hit before the request reaches the main servlet - ActionServlet in struts case. As the request has not even reached ActionServlet, ActionMapping object has not been initialized as of now. so, you CANNOT have Mapping object in filter navjot

RE: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Andrew Hill
ActionMappings are initialised at startup surely and available from the servlet context? -Original Message- From: Navjot Singh [mailto:[EMAIL PROTECTED] Sent: Friday, 18 July 2003 15:47 To: Struts Users Mailing List Subject: RE: Is it possible to get the ActionMapping object in a filter ?

Re: File Upload size restriction ??

2003-07-18 Thread Nicolas De Loof
I submited a bug on bugzilla for this. I discovered that I get this strange freeze when generated HTML is *long*. As I use the validator, I restricted the generated javascript to the 3 functions we use on the webapp and it works. If I add some hundred of basic HTML at JSP end, if freeze. You

Re: Workflow Extension: Hurting struts functionality?

2003-07-18 Thread Matthias Bauer
I think the answer from Joe already addressed your question very good. The general problem about extending Struts is the need to subclass the RequestProcessor. Thus, two Struts extensions normally cannot be used together without the one knowing about the other. Consider extension A and

Re: question on heavy load website design using struts

2003-07-18 Thread Nicolas De Loof
You could look at this : http://c-jdbc.objectweb.org/ this intermediate JDBC driver allow you to cluster databases. Notice I never used it, use it at your own risk ;-) Nico. Hi, I am sure that someone here must have worked on a large website with heavy load using struts and I wonder if

Re: question on heavy load website design using struts

2003-07-18 Thread guo yingshou
Nico, Great! That is exactly what I'm looking for.Maybe I'll have some hard time to setup a testing environment and write some code to see what will happen. Thanks a lot! Guo Yingshou --- Nicolas De Loof [EMAIL PROTECTED] You could look at this : http://c-jdbc.objectweb.org/ this

Re: question on heavy load website design using struts

2003-07-18 Thread Nicolas De Loof
Please could you send me feedback if you experiment this jdbc-cluster-driver ? Nico Nico, Great! That is exactly what I'm looking for.Maybe I'll have some hard time to setup a testing environment and write some code to see what will happen. Thanks a lot! Guo Yingshou --- Nicolas De

Re: question on heavy load website design using struts

2003-07-18 Thread guo yingshou
Sure! Only a little bit patience,please.It may take me one or two weeks to go over the test.I used to meet a problem on container managed security using jboss cluster.That is,jboss'clusterring feature works fine except when I use declarative security model to protect my page,the authenticated

Re: question on heavy load website design using struts

2003-07-18 Thread Nicolas De Loof
No problem, I'll be patient. I just want my boss to stop saying Oracle replication each time we get load-ballancing needs. Nico. Sure! Only a little bit patience,please.It may take me one or two weeks to go over the test.I used to meet a problem on container managed security using jboss

RE: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread ashwani . kalra
Only if you load the servlet at startup ? Other wise on the first request which may pose problem in filter . Correct me if I am wrong Andrew Hill

RE: question on heavy load website design using struts

2003-07-18 Thread Mohd Amin Mohd Din
You could try Oracle Real Application Clusters or Dataguard -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 5:16 PM To: Struts Users Mailing List Subject: Re: question on heavy load website design using struts No problem, I'll be patient. I

Re: Struts in iPlanet/Sun ONE Web Server 6.0 SP5 throws exception

2003-07-18 Thread thirumalai . veeraswamy
Hi, When I debugged the location of the line of messagetag.java, i found it is not able to retrieve the message from the properties file. But the message source has been configured in the struts-config.xml file. I said null=true in action servet configuration, then it started

Re: question on heavy load website design using struts

2003-07-18 Thread Vic Cekvencih
FYI, one site I worked on PT (performance and tuning) we improved performance by removing replication. Also look at postgresql.org, it is much like Oracle. (self-promo: keep me in mind for engineering larger sites, I have some useful experience with good ROI) Nicolas De Loof wrote: No problem,

Re: question on heavy load website design using struts

2003-07-18 Thread Nicolas De Loof
Thanks Vic. We allready used PostgreSQL on a non strategic project, but our customers aren't open-source addicts (until they need to reduce costs !) Nico. FYI, one site I worked on PT (performance and tuning) we improved performance by removing replication. Also look at postgresql.org, it

how to solve case sensitive variable into a criteria

2003-07-18 Thread Mario Signorelli
Hi to all I'have a problem with case sensitive variable into a criteria Criteria crit = new Criteria(); crit.addEqualTo(USERNAME, username); crit.addEqualTo(PASSWORD, password); Query query = new QueryByCriteria(Utenti.class, crit); Collection lista = broker.getCollectionByQuery(query); Into

Re: question on heavy load website design using struts

2003-07-18 Thread Vic Cekvencih
Nicolas De Loof wrote: Thanks Vic. We allready used PostgreSQL on a non strategic project, but our customers aren't open-source addicts (until they need to reduce costs !) Nico. Yup! :-) Open source rant: Some people just do not care about profitably until they are laying people

OT: JSR-168 is available for review

2003-07-18 Thread Michael Baldwin
The portlet API specification has been released for public review. If you've been waiting (im)patiently to see what the Portlet API holds for us, go take a look at: http://jcp.org/aboutJava/communityprocess/review/jsr168/index.html cheers, --Michael

actions best practice question

2003-07-18 Thread Erez Efrati
I have a login page with a link with forgot password? for users to retrieve the passwords to their email account in case they forgot it. It's pretty trivial but still using struts what is the best practice? Should the link inside the login page point to the ForgotPassword.jsp or to a

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
According to MVC pattern ,alway link to action, not to JSP. This way you controler always knows what the user is doing, and you can add some logic if needed. Using a request parameter to addapt action behaviour is a common Struts use (take a look at DispatchAction). Nico. I have a login

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Nico, I agree with that, and that is basically how I did. But I was wondering for the first time the action is called, basically just for displaying the page letting the user type in the fields values and click submit, what action do you use, if any? Cause, it's only the next time the action is

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
I use to set a specialized action-mapping for such init request, that is a simple forward (no Action class needed) /newUser/init.do = forward to newUser.jsp /newUser/register.do = RegiterUserAction = welcome.jsp^ if needed, forward to newUser.jsp can be easily changed by a full Action class

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Nico, thanks a lot for the prompt answers. Do you use for that the org.apache.struts.actions.ForwardAction ? Erez -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 2:48 PM To: Struts Users Mailing List Subject: Re: actions best practice

Re: actions best practice question

2003-07-18 Thread Nicolas De Loof
I use a Forward action-mapping : action path=/newUser/init forward=/newUser.jsp / You can use ForwardAction instead : action path=/newUser/init type=org.apache.struts.actions.ForwardAction parameter=/newUser.jsp/ I think ForwardAction is prefered

RE: actions best practice question

2003-07-18 Thread Erez Efrati
Thanks again Nico. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 3:06 PM To: Struts Users Mailing List Subject: Re: actions best practice question I use a Forward action-mapping : action path=/newUser/init

DynaValidatorForm property type

2003-07-18 Thread Eugen Bushuev
Hi. Is it possible to have form-property of a DynaValidatorForm of some type but String? Since it is stated so in dtd I had humble hope about it, but got javax.servlet.ServletException: Exception creating bean of class org.apache.struts.validator.DynaValidatorForm: {1} senx. -- , ..

Re: What Is The Proper Location To Place Inputs For Creating A Drop-Down Menu

2003-07-18 Thread Sandeep Takhar
I'd put it in the database. The value can be the abbreviated state name and the label can be the resource property that you look up. You can do something like what I saw in Struts in Action book. It uses an action in scaffolding contrib project (part of start) that is called ExistsAttribute

Re: Struts in iPlanet/Sun ONE Web Server 6.0 SP5 throws exception

2003-07-18 Thread JavaXML Developer
Sometimes back i had issue with iPlanet web server 6.0 with SP1. Now my app is running well on iWS with SP1. Am sure it should work well with later SP versions. Did you make sure your lib and tlds are getting picked up? Take a look at your _Welcome_jsp.java line 226 on which you are getting

DispatchAction role

2003-07-18 Thread Witbeck, Shane
Is there any disadvantage of to letting a DispatchAction handle both the setup and submission of a form something like the following: DispatchAction contains the following methods: 1. init() - sets up the form with initial values for select lists, etc. 2. submitForm() - handles the validation

RE: How to map multiple submit actions for a single form

2003-07-18 Thread Witbeck, Shane
Take a look at LookupDispatchAction -Original Message- From: pradeep bhargav [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 11:54 PM To: [EMAIL PROTECTED] Subject: How to map multiple submit actions for a single form Hi All, I'm creating a basic struts application. In my

RE: how to solve case sensitive variable into a criteria

2003-07-18 Thread Hookom, Jacob
You can do a couple of things: Turn off case sensitivity on the server (probably not a good idea) Crit.addEqualTo(USERNAME, username.toLowerCase()); Jacob Hookom Senior Analyst/Programmer McKesson Medical-Surgical Golden Valley, Minnesota http://www.mckesson.com -Original Message-

[Struts 1.0.2] How to detect errors in JSP

2003-07-18 Thread bruno . morin
Hello, I need to know if there are errors message or not in my JSP. I tried logic:present name=org.apache.struts.action.ERROR scope =request but it don't work. How to do that with Struts 1.0.2 ? Thank you for your help. Bruno. Cet e-mail et ses annexes (le message) sont strictement

action mapping 'input' question

2003-07-18 Thread Erez Efrati
I guess it's simple, but why can't I put an action /MyAction.do in the 'input' field in a action-mapping in the struts-config.xml? Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: action mapping 'input' question

2003-07-18 Thread Amit Kirdatt
You can but have to account for the state the form associated with /MyAction.do. Before I try to suggest a solution can you please tell us specifically what problem you are experiencing? -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 9:46 AM

Re: How to map multiple submit actions for a single form

2003-07-18 Thread Sandeep Takhar
Lots of ways, but best to read more about them.. 1. LookupDispatchAction 2. You can have different forms for each of them quite easily. 3. Cancel should be an html:cancel and you can check (preferabbly in a BaseAction) if isCancelled(request). 4. Can have an action that one form points to and

RE: action mapping 'input' question

2003-07-18 Thread Erez Efrati
I am using struts/tiles/validator in my application. Using the following configuration works fine, still I see that on the first invocation the form gets validated and I get validation errors. My ForgotPasswordAction action is used both for the INIT and the SUBMIT operations. The only solution I

Complex form data

2003-07-18 Thread Joe Zendle
Hi all, In general I have noticed that if a form class is 'complex', i.e., it contains collections of other beans (that may contain other collections) and the form is defined to have request scope I get 'array index out of bounds' exceptions from the controller when the form is submitted (before

Re: DynaValidatorForm property type

2003-07-18 Thread mohan
Yes we can do this i guess try this form name=xyzForm type=org.apache.struts.validator.DynaValidatorForm form-property name=person type=com.abcd.youejbbean / I am sure it shud work, lemme know if it does --Mohan Hi. Is it possible to have form-property of a DynaValidatorForm of some

Re: DispatchAction role

2003-07-18 Thread Rick Reumann
On Fri, Jul 18,'03 (09:22 AM GMT-0400), Witbeck, wrote: Is there any disadvantage of to letting a DispatchAction handle both the setup and submission of a form something like the following: DispatchAction contains the following methods: 1. init() - sets up the form with initial values

Re: DispatchAction role

2003-07-18 Thread Rick Reumann
On Fri, Jul 18,'03 (10:49 AM GMT-0400), Rick wrote: 1. init() - sets up the form with initial values for select lists, etc. 2. submitForm() - handles the validation and data associated with the completed form setup above and forwards to another DispatchAction's init() method. I do

RE: Complex form data

2003-07-18 Thread Amit Kirdatt
Joe, I had similar problems...check out this thread http://www.mail-archive.com/[EMAIL PROTECTED]/thrd3.html#73162 thanks, Amit -Original Message- From: Joe Zendle [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 9:31 AM To: Struts Users Mailing List Subject: Complex form data

RE: DispatchAction role

2003-07-18 Thread Witbeck, Shane
Thanks for the reply Rick. The reason for my #2 submitForm() method is to handle the validation of the form submission within the same Action as the setup and update methods. This way everything is contained within one Action for a specific JSP form rather than the typical cross-pollination of

Re: Multiple row selection

2003-07-18 Thread Erik Price
Goldy J wrote: Hello, I am facing a peculiar problem . I have a Action Class1 which gets RS from DB. I set the elements of FormBean1 and add them into a ArrayList1. So at the end of my Action Class1 i have a Array List 1 which has objects of my formbean1. I call this ArrayList1 in my JSP1

Re: Is it possible to get the ActionMapping object in a filter ?

2003-07-18 Thread Erik Price
Navjot Singh wrote: correct me if i am wrong The filter servlet is hit before the request reaches the main servlet - ActionServlet in struts case. As the request has not even reached ActionServlet, ActionMapping object has not been initialized as of now. You can always have the access code

RE: Complex form data

2003-07-18 Thread Joe Zendle
I see. Very subtle (at least to me!) Since the form is defined as request scope, upon submission, a brand new form is instantiated with a default nested Collection of 0 size (via my c'tor). As struts attempts to populate the vector it will call getIndexedProperty(int size) which will add a new

[OT] Precompiling JSP with JSTL tag Libs

2003-07-18 Thread Pat Quinn
Sorry guys this is not a struts question but i'm hoping someone on here has had this problem before ive got an ANT task to precompile my jsp's everything worked fine until i decided to upgrade to use JSTL tag libs not i get the following error, [echo] Precompiling JSPS 2003-07-18 04:27:26

Re: [OT] Precompiling JSP with JSTL tag Libs

2003-07-18 Thread David Graham
--- Pat Quinn [EMAIL PROTECTED] wrote: Sorry guys this is not a struts question but i'm hoping someone on here has had this problem before ive got an ANT task to precompile my jsp's everything worked fine until i decided to upgrade to use JSTL tag libs not i get the following error,

RE: Complex form data

2003-07-18 Thread Amit Kirdatt
Joe, I agree with you, because I too had to fish for a while and it seems a like a fairly common question/problem. Can somebody, who controls the FAQ section of the Struts site, please put this on the FAQ or Examples section of the site? Pretty please??? Thanks, Amit -Original Message-

Bread crumb trail

2003-07-18 Thread Curtney Jacobs
Greetings! About two weeks ago someone said they would post the Tiles implementation of a Bread crumb trail, if requested. I requested. What happened to the Bread crumb trail post? _CJ - To unsubscribe, e-mail: [EMAIL

[Friday] How far can we let the clients push us?

2003-07-18 Thread Yansheng Lin
To them, Online spreadsheet data-entry is a reasonable request. They don't want to change their ways of practise, what can we do? They are paying us! Darn, life is so hard! - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [OT] Precompiling JSP with JSTL tag Libs

2003-07-18 Thread Craig R. McClanahan
On Fri, 18 Jul 2003, Pat Quinn wrote: Date: Fri, 18 Jul 2003 16:41:33 +0100 From: Pat Quinn [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] Precompiling JSP with JSTL tag Libs Sorry guys this is not a struts question but i'm

Re: [Friday] How far can we let the clients push us?

2003-07-18 Thread Erik Price
Yansheng Lin wrote: To them, Online spreadsheet data-entry is a reasonable request. They don't want to change their ways of practise, what can we do? They are paying us! Darn, life is so hard! Can you embed an applet that replicates spreadsheet functionality into a web page? Erik

order of bean form population

2003-07-18 Thread Joe Zendle
This is probably a JSP question but here goes: What is the order in which bean properties are populated. Is it from 1st to last as defined in the class (assuming reflection is used)? Can I reliably use a property's value defined 1st to make a decision of how to populate a later attribute? I am

Validator form 'vs' reset method in ActionForm and DynaActionForm

2003-07-18 Thread José Fortunato H. Tomás
Hi! I'm trying to evaluate how to move my ActionForm's to Validator one's. I found a problem for which I don't see the solution. In basic (Dyna)ActionForm we have the reset() method, where we have access to the request, and from there we can set some request.Atributes (for example ArrayList

Re: actions best practice question

2003-07-18 Thread Wes Rood
Currently I used a ForgotPassword.do, and in the action I check if there's an 'action' parameter with the value of 'send'. If the 'action' parameter does not exist then I locally forward to the ForgotPassword.jsp using struts-config.xml local forwards configuration. If it does exist and equals to

Re: Validator form 'vs' reset method in ActionForm and DynaActionForm

2003-07-18 Thread José Fortunato H. Tomás
Thanks any way, I have already the solution. Hi! I'm trying to evaluate how to move my ActionForm's to Validator one's. I found a problem for which I don't see the solution. In basic (Dyna)ActionForm we have the reset() method, where we have access to the request, and from there we can set

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Mike Jasnowski
I worked on projects with similar request, one client wanted to be able to have Rich TExt editing of memos. Re: the Spreadsheet , have you looked at Forumla One? Or ExtenXSL? -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 12:18 PM To: Struts

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Yansheng Lin
No, too slow(hope 1.5 will improve the start-up time). Beside we got the struts framework set up for all other apps. Can I use swing with struts:). Hey, may be that's a good idea. After all, it all comes down to request/response and plus session stuff. Had a rough week, that's all. Sometimes

Re: order of bean form population

2003-07-18 Thread Craig R. McClanahan
On Fri, 18 Jul 2003, Joe Zendle wrote: Date: Fri, 18 Jul 2003 10:22:34 -0600 From: Joe Zendle [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: order of bean form population This is probably a JSP question but

RE: action mapping 'input' question

2003-07-18 Thread Michael Ruppin
Unless validation suceeds, this looks like an infinite loop to me: input=/ForgotPassword.do path=/ForgotPassword m --- Erez Efrati [EMAIL PROTECTED] wrote: I am using struts/tiles/validator in my application. Using the following configuration works fine, still I see that

Re: order of bean form population

2003-07-18 Thread David Graham
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 18 Jul 2003, Joe Zendle wrote: Date: Fri, 18 Jul 2003 10:22:34 -0600 From: Joe Zendle [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: order of

Re: [Friday] How far can we let the clients push us?

2003-07-18 Thread David Graham
--- Yansheng Lin [EMAIL PROTECTED] wrote: To them, Online spreadsheet data-entry is a reasonable request. They don't want to change their ways of practise, what can we do? This implies that they are currently using an online spreadsheet program. Are they, or do they want you to build

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Mark Galbreath
What's the issue? They paying you, aren't they? Be glad to have a job! -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 12:54 PM To: Struts Users Mailing List Subject: Re: [Friday] How far can we let the clients push us? --- Yansheng Lin

Scope Issues Between Struts Tags and JSTL

2003-07-18 Thread Hunter Hillegas
I am trying to use both Struts tags and JSTL in a page. I have the following: nested:iterate property=lineItems !-- FS: c:out value=${fulfillmentStatus}/ SO: c:out value=${sampleOrigin}/ -- c:if test=${fulfillmentStatus == 'In Process' sampleOrigin == 'special_order'} ... THIS IS NEVER

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Raible, Matt
We had the same requirement from our client - and we actually implemented it! Using JavaScript and the DOM, we're able to add/delete rows, sort by columns, have tabs for different sheets - pretty slick IMO. Of course, it's an intranet app, so we require standards-compliant browsers

Re: [Friday] How far can we let the clients push us?

2003-07-18 Thread Erik Price
Raible, Matt wrote: We had the same requirement from our client - and we actually implemented it! Using JavaScript and the DOM, we're able to add/delete rows, sort by columns, have tabs for different sheets - pretty slick IMO. That is cool. DOM is unwieldy, but it's an incredibly powerful

Re: dificult problem, preventing population (repost)

2003-07-18 Thread Sandeep Takhar
I suppose you would get the page expired if you are using noCache... So what do people do? Do they just right their own stuff. On the application that we have built over the last year - we have opened another window and with the parameters passed to the open window we have removed the menu

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Casey Forbes
We also had to write a web app which includes a spreadsheet-ish interface. The fun starts when they want cells that contain calculations. Welcome to javascript hell :) Casey On Fri, 18 Jul 2003, Raible, Matt said: We had the same requirement from our client - and we actually implemented it!

RE: Scope Issues Between Struts Tags and JSTL

2003-07-18 Thread Chen, Gin
Remember that JSTL and struts are not the same. Therefore, JSTL tags cant auto pick up the current element that a Struts tag is looking at. You should have: nested:iterate id=foo property=lineItems !-- FS: c:out value=${foo.fulfillmentStatus}/ SO: c:out value=${foo.sampleOrigin}/ -- c:if

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread David Graham
--- Raible, Matt [EMAIL PROTECTED] wrote: We had the same requirement from our client - and we actually implemented it! Using JavaScript and the DOM, we're able to add/delete rows, sort by columns, have tabs for different sheets - pretty slick IMO. Of course, it's an intranet app, so we

Re: Scope Issues Between Struts Tags and JSTL

2003-07-18 Thread Hunter Hillegas
Thanks. This did the trick. Just didn't see this documented anywhere. From: Chen, Gin [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] Date: Fri, 18 Jul 2003 13:41:26 -0400 To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Scope Issues Between Struts Tags

Re: [Friday] How far can we let the clients push us?

2003-07-18 Thread Vic Cekvencih
baseBeans did it for a client we already built a MVC Struts app that grew. They wanted Excel to be the GUI as well (so same info in JSP and Excell) Design was PocketSoap (on baseBeans.com cheat sheets) via Excel VBA talking to Struts FormBeans via Axis. Nice to be MVC. They were very happy

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Yansheng Lin
Thanks Mark! You made me feel much better. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: July 18, 2003 11:11 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: RE: [Friday] How far can we let the clients push us? What's the issue? They paying

Action Under a Tile?

2003-07-18 Thread Aaron Longwell
I am intermediately experienced with Struts, but I hit a brick wall today trying to solve the following problem: I am about 90% finished with a web app for a client. In discussions yesterday they decided to add an at-a-glance section to each page of the web site. You can think of this as a

RE: Action Under a Tile?

2003-07-18 Thread Mike Jasnowski
We have a tile definition that does something similar, it includes a JSP with an import of another JSP on it The JSP the tile points to has this code on it c:import url=/url/ Additionally the url is parameterized via tiles controller, so the actual tag usage looks like this: c:import

Re: Action Under a Tile?

2003-07-18 Thread K.C. Baltz
I suspect the problem is somehow specific to your at-a-glance action. Is it possible that it's trying to redirect? I know that it's possible to do: tiles:insert page=/someaction.do / which is basically what you're trying to do I assume. K.C. Aaron Longwell wrote: I am intermediately

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Yansheng Lin
Haha, that's what I did with my table when I have to submit the whole table at one. Old string + new string. - Javascript: sorry, I don't know you. what's your name again? JSP: jsp, stands for javaserver page. Javascript: nope, sorry buddy. Object not found - -Original Message-

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Mike Jasnowski
You could also bind the JS to an applet which just pushes the updates back to the server, the applet is not visible on the page. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 2:15 PM To: 'Struts Users Mailing List' Subject: RE: [Friday] How

Nested iterator and radio button name

2003-07-18 Thread Zeswitz, Andrew
I'm having an issue getting radio buttons on a JSP to be named properly using the iterate tags available in Struts 1.1. I have a list of questions; each question has a list of answers. The code is [supposed to be] looping through the primary list (question), writing the pertinent data,

Re: Action Under a Tile?

2003-07-18 Thread Aaron Longwell
KC, I tried your setup, and I double-checked to make sure my forward said redirect=false. I am still getting the same error: Cannot forward after response has been committed. Are you sure that's a legal process? Here's the top of the stack trace: 2003-07-18 12:33:42 ApplicationDispatcher[]

Re: [Friday] How far can we let the clients push us?

2003-07-18 Thread Jing Zhou
Hi, Yansheng, The slow start-up time (of applets) has been improved significantly in the latest release J2SE 1.4.2. A high quality applet will also find ways to improve the initialization time as we do in our product, Carrier. It is available for download at http://www.netspread.com In the

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Adam Levine
Somewhere about 6months ago I saw a demo, danged if I can remember who it was, for software that wrapped around your swing application and delivered it in html. was quite slick, it handled the conversion for almost every component quite well -- the demo site used the standard Java SwingSet

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Mark Galbreath
I'm serious, dude! I know many unemployed developers right now. -Original Message- From: Yansheng Lin [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 1:59 PM To: 'Struts Users Mailing List' Subject: RE: [Friday] How far can we let the clients push us? Thanks Mark! You made me

Re: [OT] (SOLVED) Redirecting forwards under WAS 4.0.4

2003-07-18 Thread José Ventura
Sorry for the delay -- it worked! Thanks, Susan! You're a life-saver! And here I was almost making a workaround by duplicating every single mapping in my struts-config (I'd remove them someday. No, really, I would. I just needed to get it working for the time being ;) []'s - ventura -

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Raible, Matt
Every cell contains a form element (i.e. input type=text), and then using indexed properties, they're submitted just like a regular form. Validation is done in the validate() method of the form, as usual. Matt -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Yansheng Lin
50% of them will pick the second choice:). My 0.001 cents, IMO, if everyone uses open-source, companies(esp medium and small sized) can afford to hire a lot of real good programmers to write better products. But a good buddy of mine(Microsoft certified) replies that it's because of the

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Yansheng Lin
Yeah I know. That's why I have been working to get that app out this week. But again, if we save money by making sane decisions, maybe a lot of our buddies will get hired sooner. -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: July 18, 2003 12:58 PM To: 'Struts

Which JSTL impl?

2003-07-18 Thread Herrick, Mike
Hi, I'm starting to use JSTL and am wondering which JSTL impl is my best bet. I know of the Jakarta one and the one that ships with the Sun Web Services Dev Kit. Thanks in advance, Mike - To unsubscribe, e-mail: [EMAIL

[Friday] How do you describe the greatest general?

2003-07-18 Thread Jing Zhou
He defeats every opponent in enemy's camp. How do you describe the greatest politician? Jing

Re: Which JSTL impl?

2003-07-18 Thread David Graham
--- Herrick, Mike [EMAIL PROTECTED] wrote: Hi, I'm starting to use JSTL and am wondering which JSTL impl is my best bet. I know of the Jakarta one and the one that ships with the Sun Web Services Dev Kit. I use the Jakarta version without problems. David Thanks in advance, Mike

Re: [Friday] How do you describe the greatest general?

2003-07-18 Thread Jeff Kyser
blind fornicating deer On Friday, July 18, 2003, at 02:31 PM, Jing Zhou wrote: He defeats every opponent in enemy's camp. How do you describe the greatest politician? Jing - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [Friday] How far can we let the clients push us?

2003-07-18 Thread Mike Jasnowski
I saw that product also, probably at least a year ago. But it's name and a Google search escape me at the moment. -Original Message- From: Adam Levine [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 2:47 PM To: [EMAIL PROTECTED] Subject: RE: [Friday] How far can we let the clients

  1   2   >