Re: JSTL API docs?

2003-08-28 Thread Mark Lowe
I think that would be for the var might be the confound choice of attribute name that jstl uses.. I believe. - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 4:30 PM Subject: Re: JSTL API doc

Re: Struts Validator and Hidden Field

2003-08-28 Thread Octavia Yung
Thanks for the responses, David and Wendy. In order to determine if a particular form field is required, I need to determine the property of another field. Therefore, I thought it would be best to hold this other property in a hidden field. I have tried to validate it as any other input field, b

RE: Struts Validator and Hidden Field

2003-08-28 Thread Wendy Smoak
> I was wondering if it is possible to validate a hidden field using the > Struts Validator framework. If so, an example would be extremely helpful. Validator is a separate project in the Jakarta Commons, it's not part of Struts proper. Sure you could validate a hidden field, but what's the po

Re: JSTL API docs?

2003-08-28 Thread David Erickson
I believe. - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 4:30 PM Subject: Re: JSTL API docs? > Basically what I wanted to find out is what the jstl equivalent of > > > > would be? > > > Ad

Re: JSTL API docs?

2003-08-28 Thread Adam Hardy
Basically what I wanted to find out is what the jstl equivalent of would be? Adam On 08/29/2003 12:22 AM Adam Hardy wrote: I can't find the docs for JSTL anywhere. I mean the API, like the API for the struts taglibs bean:, html: etc with every tag and it's required and optional attributes an

Re: J2EE IDE

2003-08-28 Thread Barry Volpe
$30.00 because www.genuitec.com does not provide the plugin stand-alone anymore. It is now part of the MyEclipse plugin which is only available in a free 30 day trial offer. Barry - Original Message - From: "Barry Volpe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PRO

Re: JSP not displaying data when in Edit Mode

2003-08-28 Thread Jason Lea
I think that form beans default to session scope. But you specified scope="request" in /testPage, so that is where the form bean would be stored. Your /saveTestPage was looking in session scope for the form bean but of course it wasn't stored there. You could leave the scope out of both actio

Re: Struts Validator and Hidden Field

2003-08-28 Thread David Erickson
As far as I was aware validating a hidden field is the exact same as validating any other field.. just make sure the name of the field in your To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 4:13 PM Subject: Struts Validator and Hidden Field Hi Everyone, I was wondering if it is possibl

JSTL API docs?

2003-08-28 Thread Adam Hardy
I can't find the docs for JSTL anywhere. I mean the API, like the API for the struts taglibs bean:, html: etc with every tag and it's required and optional attributes and a brief desc. I've looked all over jakarta and sun, and not found anything. I downloaded the jakarta taglibs and they have i

Struts Validator and Hidden Field

2003-08-28 Thread Octavia Yung
Hi Everyone, I was wondering if it is possible to validate a hidden field using the Struts Validator framework. If so, an example would be extremely helpful. Thanks in advance! Octavia

Re: Struts Tag Question

2003-08-28 Thread Mark Lowe
single quotes may be what you want. But this is less tourtured ')">... cheers mark On Thursday, August 28, 2003, at 10:57 PM, David Erickson wrote: Here is the code I'm trying to get to work: test but what I need are double quotes around the ${indexedBean.id} part. I've tried using both "

Struts Tag Question

2003-08-28 Thread David Erickson
Here is the code I'm trying to get to work: testtest the link when moused over shows: javascript:Start( same thing if I try " instead of \" any ideas? Thanks! -David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

RE: PLEASE HELP with Exception in error.jsp with Tiles

2003-08-28 Thread Richard Mixon
Hue, Thanks. That did help as it showed it had nothing to do with the error.jsp. Turned out to be a real rookie mistake - a mispelled message key. I'm embarrassed, to say the least - but very, very happy to be on my way again. - Richard -Original Message- From: Hue Holleran [mailto:[EMA

RE: XML Parsing Dilemma

2003-08-28 Thread Mark Galbreath
That is an option, Saul...thanks for the input -Original Message- From: Yuan, Saul (TOR-ML) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 5:40 PM To: Struts Users Mailing List Subject: RE: XML Parsing Dilemma Or, a non-parser way, read the xml file to a buffer, send the buff

Best XML Parser

2003-08-28 Thread Mark Galbreath
I followed Jason's and Brett's development efforts at JDOM.org for years and it looks like a very cool piece of tech, yet it seems no one is using it...why? Is there an open source Java utility that will simply read a validated XML doc and return a name=value pair for every tag in a record and dis

RE: XML Parsing Dilemma

2003-08-28 Thread Yuan, Saul (TOR-ML)
Or, a non-parser way, read the xml file to a buffer, send the buffer to a jsp, using jstl's xml parsing capability (mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 5:31 PM > To: 'Struts Users Mailing List'; [EMAIL PROTECTED] > Subject: RE: XML Parsing Dilemma > > > > > > This is my

RE: XML Parsing Dilemma

2003-08-28 Thread Mark Galbreath
This is my real dilemma. I think an XML parsing engine should be able to take a validated XML file and output: tag_name = tag_value and understand where one record stops and another record begins. For crying out loud, I can write the thing myself in a few hours, but I want to remain open-source

Re: XML Parsing Dilemma

2003-08-28 Thread David Graham
I've only used Digester but it's super easy to setup and use. It literally requires under 5 lines of code to turn an XML file into a full object graph. Of course, this requires that you define the Digester rules in an XML file but that's pretty easy too. Check out Commons Validator's (your favor

RE: XML Parsing Dilemma

2003-08-28 Thread Mark Galbreath
I was told Digester was, though great, a PITA to learn. I don't have ANY time - I have to get this done in the next 24 hours. Mark -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 5:18 PM To: Struts Users Mailing List Subject: RE: XML Pars

variable in tag

2003-08-28 Thread LUCERO,DENNIS (HP-Boise,ex1)
Is there any way to do this: blah thanks We come from the land of the ice and snow With the midnight sun, where the hot springs glow The hammer of the gods, will drive our ships to new lands Fight the horde, Sing and cry Valhalla I am coming

Re: XML Parsing Dilemma

2003-08-28 Thread Greg Reddin
The front-runners on my list is Castor and JDOM. Any (related) suggestions are greatly appreciated. I've used both of these, though not JDOM enough to comment on it. My favorite XML tool right now is Digester. To me, it has a smaller development footprint than Castor and gives you at least the

RE: XML Parsing Dilemma

2003-08-28 Thread Robert Taylor
If you don't have time, then use JDOM. It's easy to use. If you have few cycles, you might want to investigate Digester. robert > -Original Message- > From: Mark Galbreath [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 4:58 PM > To: 'Struts Users Mailing List' > Subject: XML

Re: Formatting form data inside the *view* (JSP's)

2003-08-28 Thread Sasha Borodin
Jonathan, I like your system; if I understand it correctly, it automates conversion between Strings and other primitive data types. However, this formatting still takes place inside the ActionForm, not the JSP. I guess I've traditionally had a different view of "best practice". To me, it seems

XML Parsing Dilemma

2003-08-28 Thread Mark Galbreath
Guys, I am integrating my Struts app with a 3rd-party business process application called BizFlow (http://www.handysoft.com). I am validating user logins through the BizFlow Java Dev API, but the BizFlow class method returns a java.io.File in XML format. So I need to parse this XML file to extra

Re: Formatting form data inside the *view* (JSP's)

2003-08-28 Thread Sasha Borodin
Kris, Brandon: Thank you for your replies; I understand your code, and am able to access the form properties from within the JSP. My question is more about combining formatting tags (like and with and the like. I want to format the "default" values of form elements (the part that Struts autom

ActionForm transient variables

2003-08-28 Thread Sasha Borodin
I have not been able to use a reserialized ActionForm (ex. after restarting a context). Most methods (reset, validate, etc.) were throwing NullPointerExceptions. I have traced/researched the problem down to transient variables that aren't reinitialized. From Struts release notes 1.1 b1: "The Ac

RE: How to convert ApplicationResource.properties to a table

2003-08-28 Thread Yuan, Saul (TOR-ML)
You can use the import wizard that comes with most of the database tools (Access, SQL Manager, Msql Front etc) to import a text file into your database, be sure to use "=" as the delimiter. Saul > -Original Message- > From: Brunda Banavar (IT) [mailto:[EMAIL PROTECTED] > Sent: Thursday,

Re: Telling Users to Wait

2003-08-28 Thread Troy Hart
Mark, Still another approach is to use JMS and process the command asynchronously. This approach would not preclude you from using any of the tricks others have mentioned that keep the user "occupied" while the work is being done, but at the same time it would give you other options. Asside fr

How to convert ApplicationResource.properties to a table

2003-08-28 Thread Brunda Banavar (IT)
Hi I have to convert the existing ApplicationResource.properties text file to a simple database table. Can you please guide how can i achieve this ? Appreciate the help. Thanks Brunda Banavar IT BordersGroupInc

RE: Re[2]: can't pass parameters

2003-08-28 Thread Mark Galbreath
no problemo, dude! -Original Message- From: Sergey.Livanov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 2:38 PM To: Struts Users Mailing List Cc: Mark Galbreath Subject: Re[2]: can't pass parameters Hi Mark, It works, thank you ! regards , Sergey Thursday, August 28, 200

Re: J2EE IDE

2003-08-28 Thread Emerson Cargnin
you can do the same using eclipse with JBOSS IDE plugin for eclipse. Barry Volpe wrote: I agree for next to nothing ($30.00 per year) you can develop in J2EE with Xdoclet (rapid dev) and use an app server like JBoss (free). Barry - Original Message - From: "Riaan Oberholzer" <[EMAIL PR

Re: CreditCardValidator

2003-08-28 Thread Robert Leland
David Thielen wrote: Hi; CreditCardValidator is listed in the common-validator docs - but it's not in the jar file - any ideas where it is? thanks - dave Check out the recent announcement on the commons-dev, the 1.1.0 release is out. It is currently marked as Alpha, and may be voted to Beta

RE: can't pass parameters

2003-08-28 Thread Kruse, Matt
The other comments are probably valid, but I thought I would note this: >onclick='document.forms[this.form].param.value="save" ; This should be: onclick='this.form.param.value="save";' Matt Kruse

Re: Validation of indexed fields

2003-08-28 Thread Robert Leland
[EMAIL PROTECTED] wrote: I've got a nightly build...but I still can't get indexed field validation to work, either on the client or server side. Struts Nightly is built with a Aug 16th version of Validator, gotta open those jars. It's probably safe to download the reciently announced 1.1.0 re

Re[2]: can't pass parameters

2003-08-28 Thread Sergey.Livanov
Hi Mark, It works, thank you ! regards , Sergey Thursday, August 28, 2003, 8:30:34 PM, you wrote: MG> Because the value of param is not passed in the Request object; it is passed MG> in the Form object. Try: MG> ActionForm myForm = ( ActionForm ) form; MG> String sid = myForm.param; MG> or

RE: Accessing MessageResources

2003-08-28 Thread Paananen, Tero
I would think the easiest way to get the messages from MessageResources would be to extend PropertyMessageResources and implement a simple method: public Map getMessages() { return this.messages; } That'd return the internal HashMap PropertyMessageResources uses to

RE: Re[2]: can't pass parameters

2003-08-28 Thread Yee, Richard K,,DMDCWEST
Sergey, Try setting the name of your hidden variable to 'param' as I wrote in a previous email. Rgds, Richard -Original Message- From: Sergey.Livanov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:56 AM To: Struts Users Mailing List Subject: Re[2]: can't pass parameters

Re[2]: can't pass parameters

2003-08-28 Thread Sergey.Livanov
Thank you Mark, I changed my code. Now in JSP in Action Class: paydocForm pdr = (paydocForm) form ; String sid = pdr.getParam() ; But SID IS NuLL . regards , Sergey MG> Because the value of param is not passed in the Request object; it is passed MG> in the Form object. T

Re: Accessing MessageResources

2003-08-28 Thread Sasha Borodin
Lars, Struts loads the property files you declared in struts-config into a class called PropertyMessageResources, then binds that object to the ServletContext; that's where tags get their data from. The functionality you're looking for (retrieving a collection of keys) is not part of the Propert

Re: J2EE IDE

2003-08-28 Thread Barry Volpe
I agree for next to nothing ($30.00 per year) you can develop in J2EE with Xdoclet (rapid dev) and use an app server like JBoss (free). Barry - Original Message - From: "Riaan Oberholzer" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 28

Re: J2EE IDE

2003-08-28 Thread Konstadinis Euaggelos
NetBeans does it too, Vangos. - Original Message - From: "Barry Volpe" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 7:44 PM Subject: Re: J2EE IDE > For J2ee developing I am investingating > MyEclipse ($30.00) per year. It us

RE: CreditCardValidator

2003-08-28 Thread Bradley Handy
CreditCardValidator is in the dev release. Struts uses the 1.0.1 release of validator (I believe). What you want is located in org.apache.commons.validator.GenericValidator.isCreditCard(java.lang.Str ing) Brad Handy > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] >

Re: J2EE IDE

2003-08-28 Thread Barry Volpe
For J2ee developing I am investingating MyEclipse ($30.00) per year. It uses XDoclet for rapid development. Barry - Original Message - From: "Bill Chmura" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 6:50 PM Subject: RE: J2E

CreditCardValidator

2003-08-28 Thread David Thielen
Hi; CreditCardValidator is listed in the common-validator docs - but it's not in the jar file - any ideas where it is? thanks - dave

ApplicationResources

2003-08-28 Thread sangappan
Hi, I was of the assumption that the application resources and localization are implemented based on Java resource bundles. I was surprised that it did not. Can somebody explain why? Just curious. Thanks - The information contained in this communication (

RE: can't pass parameters

2003-08-28 Thread Mark Galbreath
Because the value of param is not passed in the Request object; it is passed in the Form object. Try: ActionForm myForm = ( ActionForm ) form; String sid = myForm.param; or DynaActionForm myForm = ( DynaActionForm ) form; String sid = myForm.get( "param" ); Mark -Original Message- Fro

RE: Re [OT] As the Struts world turns [was: Re: DO NOT REPLY [Bug 22519] - Allow multiple MessageResources files to be loaded under one key]

2003-08-28 Thread Greg Ludington
>Also, if your using IE it does that... A browser that regulates >popups (shameless mozilla plug) does not have that problem. If you are stuck with IE, and have the ability to install browser components on your machine, the new version of the Google Toolbar includes a popup blocker that does not w

RE: can't pass parameters

2003-08-28 Thread Slattery, Tim - BLS
> I can't pass parameters from javascript to Action Class. > My jS > > > onclick='document.forms[this.form].param.value="save" ; >document.forms[this.form].submit() ;' /> Use the struts tag

RE: can't pass parameters

2003-08-28 Thread Yee, Richard K,,DMDCWEST
Sergey, Change your HTML from to -Richard -Original Message- From: Sergey.Livanov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:21 AM To: [EMAIL PROTECTED] Subject: can't pass parameters I can't pass parameters from javascript to Action Class. My jS (

RE: HTML

2003-08-28 Thread Mark Galbreath
I simply duplicate what data I want Excel to display in another page (isExcel.jsp) with s using the same bean used to populate the previous HTML table and declare: <%@ page contentType="application/vnd.ms-excel" %> at the top of the page. You can even add Excel functions right in the HTML:

can't pass parameters

2003-08-28 Thread Sergey.Livanov
I can't pass parameters from javascript to Action Class. My jS ( Newbie FAQ ) Action: public class paramAction extends Action { public ActionForward perform ( ActionMapping mapping , ActionForm form , javax.servlet.http.HttpServletRequ

HTML

2003-08-28 Thread Mehta, Chirag (IT)
I know this is more of a HTML question but considering everyone in this mail group is fab! I have a HTML table that is dynamically generated using: I want to add a button below that will export the table into Excel (like it does when you right click on the table and click E

Again: Forwarding to existing Servlet

2003-08-28 Thread Manuel Lenz
Hi, your tip was good, but there is one problem, when do I have to call and create the existing servlet? If I call the servlet in the before going ActionClass, I don´t have a formwared-value. So I get an exception, because there is no forwarding page for the ActionClass. Does anybody have an idea

Validation of indexed fields

2003-08-28 Thread Murray . Bodor
I've got a nightly build...but I still can't get indexed field validation to work, either on the client or server side. I'm using a ValidatorActionForm, as I want to only validate fields on certain actions (not form-wide). The form has an ArrayList of beans, the form and the nested bean have

RE: Display Taglib

2003-08-28 Thread Robert Taylor
The collection can be in any scope (request, session, application, page). I usually have an action which is invoked which when executed places the results in the request scope where the tag can retrieve it by its named attribute. For example I might have a SearchAction which executes a search and

RE: A new way to handle multi-page entry

2003-08-28 Thread David Friedman
David, I like your solution. Thanks for figuring it out. I have a few questions: 1. You listed "/OrderSubmit.do" as your "/terms" action parameter but didn't show how you define it. What Action class do you derive it from? How do you return true or false from it to the forward action? I've on

Response committed exception with tiles and protected jsps

2003-08-28 Thread Wes Kubo
Sorry for the repost...but I didn't get any response and this problem is a real show-stopper: Due to standards beyond my control I had to move my jsps from beneath /WEB-INF/jsp to /jsp. In order to prevent access to my jsps I added a security-constraint, blocking access to the jsps. Unfortunately,

Re: Réf. : Re: Réf. : Re: user local confusion

2003-08-28 Thread ian_d_stewart
If you look in /etc/tomcat4 you'll see a tomcat4.conf file that contains various environment settings. This file gets sourced by /etc/init.d/tomcat4, which is used to start Tomcat (at least on Redhat). I can send you copies of tomcat4 and tomcat4.conf if you like. Ian Ian D. Stewart Open Sys

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like this: and I tri

RE: Display Taglib

2003-08-28 Thread Mehta, Chirag (IT)
ServletExec v4.1. I think it might be something to do with the scope. If the display taglib is iterating over a collection, what scope should the collection be and where should it be declared? -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 16:21 T

File Upload and Request Parameter

2003-08-28 Thread David Stemm
All, I have a form that is doing a file upload and on the confirmation page after the upload I'm trying to get a request parameter using the tag. The tag doesn't seem to find the request param. I know the parameter exists - I can see it in the debugger. The tag looks like this: and I tri

RE: How to reset a form

2003-08-28 Thread Cezar Nasui
You can try to tell the container not to cache the pages. This way each time a page is requested the browser it's (should be) asking the container for it, so you might get the new values. It has some drawbacks (a Refresh page) so you should test it to see if it's fit. If you use the ActionServlet

RE: Display Taglib

2003-08-28 Thread Robert Taylor
I'm using the Display Taglib with ServletExec and haven't had any issues. What version are you using? robert > -Original Message- > From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 10:07 AM > To: [EMAIL PROTECTED] > Subject: Display Taglib > > > Has a

A new way to handle multi-page entry

2003-08-28 Thread David Thielen
Hi; I have an order system where the user has to enter data on 4 pages, one after the other. I don't want them able to bookmark the 4th page and go back to it later and try to place an order from there - with the previous three pages left empty. So here is what I did. To get each page, I have:

RE: JSP not displaying data when in Edit Mode

2003-08-28 Thread Srinivas Gunturu
Actually, I didn't have any missing closing tags. Adding scope to saveTestPage action map, I was able to get my testPage action working properly. >>> [EMAIL PROTECTED] 08/28/03 09:23AM >>> What you cut and pasted suggested a typo of a missing closing slash before the end of the action tag: S

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
On Thu, 28 Aug 2003 17:53:43 +0300, Cameron Hickey wrote: > I don't have enough time right now to review the docs to figure out what > the difference is with the usages of these two tags, but I don't have a > problem using the get instead of the put at all. I'll have a look at that, thanks. > Al

RE: Display Taglib

2003-08-28 Thread Paul McCulloch
Try the mailing list specific to that taglib - https://lists.sourceforge.net/lists/listinfo/displaytag-user Paul -Original Message- From: Mehta, Chirag (IT) [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 15:07 To: [EMAIL PROTECTED] Subject: Display Taglib Has anyone had experience using

Re: LookupDispatchAction vs Unicode-utf8

2003-08-28 Thread Jason Lea
Maurice Wijtten wrote: I have a multilangual form handled by a LookupDispatchAction. When we recently added a spanish language, our action throwed an exception because it could not find the corresponding key of the submit button. It seemed that a non asci character was handled as UTF8 and not Un

How to reset a form

2003-08-28 Thread Koni
I have a form with two select boxes. When I change something in selectbox_1 the selectbox_2 changes also (by javascript). After successful saving the stuff I return to the same page. Unfortunately this page shows still the old values!? After pressing reload in the browser, the correct values show u

RE: Re [OT] As the Struts world turns [was: Re: DO NOT REPLY [Bug 22519] - Allow multiple MessageResources files to be loaded under one key]

2003-08-28 Thread Bill Chmura
Naw you can kill the task... Also, if your using IE it does that... A browser that regulates popups (shameless mozilla plug) does not have that problem. I ran it last night and only got one window - forwarded it to my ex who called me promptly this morning to ask me about the 50+ windows and coun

RE: Tiles not generating page properly

2003-08-28 Thread Cameron Hickey
I realize this may be meaningless, but once I got TILES working properly, I never thought about it again, so here is what I use: instead of I don't have enough time right now to review the docs to figure out what the difference is with the usages of these two tags, but I don't have a problem

Réf. : Re: Réf. : Re: user localconfusion

2003-08-28 Thread meissa . Sakho
Ian, I suppose you mean the server.xml file. I don't have any tomcat4.conf file. I'm using tomcat 4.1.18. Meissa [EMAIL PROTECTED] 28/08/2003 16:32 Veuillez répondre à "Struts Users Mailing List" Pour : "Struts Users Mailing List" <[EMAIL PROTECTED]> cc : Objet : Re

Display Taglib

2003-08-28 Thread Mehta, Chirag (IT)
Has anyone had experience using the Display taglib with ServletExec. I'm getting the following error on the jsp page with no error in the log file. It used to work fine using Tomcat ServletException in:GIM2ResultsContents.jsp] null' Please help. Thanks Chirag -- NOTICE: If received in er

Re: Réf. : Re: user local confusion

2003-08-28 Thread ian_d_stewart
In your tomcat4.conf (I'm assuming Linux here), ensure that the line LANG=en_US is commented out. It's near the bottom of the conf file, right after TOMCAT_USER. HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTECTED

Re: Re [OT] As the Struts world turns [was: Re: DO NOT REPLY [Bug22519] - Allow multiple MessageResources files to be loaded under onekey]

2003-08-28 Thread BaTien Duong
Yes Mozilla is good, especially with browser side junk file. I replace IE with Mozilla on windows (my development and server are in Linux) to prevent aggressive attitute of some sameless apps. Internet-based open-souce development will ultimately democratize the playing field. BaTien DBGROUPS K

RE: JSP not displaying data when in Edit Mode

2003-08-28 Thread David Friedman
What you cut and pasted suggested a typo of a missing closing slash before the end of the action tag: Should've been either: OR Regards, David -Original Message- From: Srinivas Gunturu [mailto:[EMAIL PROTECTED] Sent: Thursday, August 28, 2003 10:05 AM To: [EMAIL PROTECTED] Subje

Réf. : Re: user local confusion

2003-08-28 Thread meissa . Sakho
that's what we did. and when try to retrieve the user's prefered local by calling Locale preferredLocale = request.getLocale(); I get fr while the container's(given by servletContainerLocale = Locale.getDefault();) default locale is in us. why is there a diff beetween the default user and the c

RE: Get URL

2003-08-28 Thread Mehta, Chirag (IT)
Thanks everyone! Got it workin -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 15:02 To: Struts Users Mailing List Subject: RE: Get URL I do something similar with Struts tags: .. Susan Bradeen On 08/28/2003 08:17:40 AM "Robert Taylor

Re: JSP not displaying data when in Edit Mode

2003-08-28 Thread Srinivas Gunturu
I have resolved this issue. But can not explain how it is fixed. :-) Can any of the struts gurus out there shed some light on why this is so? My struts-config.xml By replacing following line w

RE: Get URL

2003-08-28 Thread Susan Bradeen
I do something similar with Struts tags: ... Susan Bradeen On 08/28/2003 08:17:40 AM "Robert Taylor" wrote: > You could "build" the appropriate URL before populating the requestURI. > One way to do this would be the following: > > <% > String requestURI = new StringBuffer("/wact/pa

RE: MessageResource, html:options & i182

2003-08-28 Thread Paul McCulloch
You could use a single key with some sort of delimter: sports.options=Football\Hockey\Badminton and parse the key to create your options. Paul -Original Message- From: Lars Bergström [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 12:25 To: [EMAIL PROTECTED] Subject: MessageResource, htm

Accessing MessageResources

2003-08-28 Thread Lars Bergström
Hi, I would like to retrieve all message resource keys held by Struts read from my application.properties file. Not only for one proprety. What I am looking for is something like the method propertyNames in java.util.Properties. BR Lasse

Re: user local confusion

2003-08-28 Thread ian_d_stewart
I suspect Tomcat get's the default locale from the Java runtime, which in turn gets it from the operating system it is running on (e.g., on UNIX set LANG=fr (or whatever)). HTH, Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure & Operations [EMAIL PROTEC

RE: Display img from DB

2003-08-28 Thread James Childers
See the following: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=82432 You'll find a detailed explanation, including source code, about how to write a servlet that will deliver images that are stored in a byte[]. -= J > -Original Message- > From: Sloan Seaman [mailto:[EMAI

Re: Tiles not generating page properly

2003-08-28 Thread Carl-Eric Menzel
An interesting update: I played around a bit with my tiles-defs. When I change the tiles-defs to this: --- --- ..i.e. I comment out the overriding editarea insert in the second definitio

RE: Display img from DB

2003-08-28 Thread Danny . Yates
Write an HTML img tag which passes an image ID to a custom servlet which retrieves the image from the database: -- Danny Yates -Original Message- From: Sloan Seaman [mailto:[EMAIL PROTECTED] Sent: 28 August 2003 14:05 To: Struts Users Mailing List Subject: Display img from DB I

Re: form submit - nested property problem

2003-08-28 Thread Adam Hardy
Great! On 08/28/2003 02:19 PM Heather Buch wrote: OK. I worked it out. It was necessary that the "id" in my iterate tag (and thus the page scope bean referenced by html:checkbox) have the same name as the getters/setters in my form bean. In other words, if my form bean has: getFag() setFag(in

Accessing alternative message-resource

2003-08-28 Thread Lars Bergström
Hi, How can I get an iterator so that I can loop all keys in a struts message resource bundle? With MessageResources it only gives me the default resource bundle. Best regards Lasse Bergström - To unsubscribe, e-mail: [EMAIL

Re: action-mapping forward - how do I use it?

2003-08-28 Thread David Thielen
That will work. But I am wondering why the action/forward doesn't work. Fromt he docs it seems like it should. thanks - dave - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 2:51 AM Subject: R

RE: Get URL

2003-08-28 Thread Robert Taylor
You could "build" the appropriate URL before populating the requestURI. One way to do this would be the following: <% String requestURI = new StringBuffer("/wact/pages/GIM2Search.do?") .append("sqltitle=").append(request.getParameter("sqltitle")).append("&") .append("gim2index=").append(request.

Display img from DB

2003-08-28 Thread Sloan Seaman
I've got some img files stored in a database as byte[]'s. Is there any easy way to get display the images in an HTML page? I figure I will have to write a custom tag for the img retrieval, but I can't just dump the byte[]. How do you go about doing this? Thanks! -- Sloan ___

Re: JSP not displaying data when in Edit Mode

2003-08-28 Thread Srinivas Gunturu
Thanks for the response Jason. I tried this. But didn't work. Same result. Any other ideas? I can email you all files associated with this pipeline if you prefer. Thanks again. >>> [EMAIL PROTECTED] 08/27/03 03:49PM >>> > My struts-config.xml > > > > > >

RE:BEGINEER FOR STRUTS

2003-08-28 Thread Christopher Jones (DHL UK)
mahavir Make sure the message-resources tag is in the struts-config.xml and that it refers to a file in a directory on your classpath. eg: and then have a file called ApplicationResources.properties in the WEB-INF/classes directory of your application. Chris

RE: Get URL

2003-08-28 Thread Robert Taylor
This is the edhill tag library. http://edhill.its.uiowa.edu/display/ robert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 7:00 AM > To: [EMAIL PROTECTED] > Subject: AW: Get URL > > > What kind of taglib is this? Does it come

RE: Not able to Retain Values in Screens in case of Error - WEBSP HERE

2003-08-28 Thread Susan Bradeen
On 08/28/2003 12:25:54 AM "Chawla, Yogesh" wrote: > We are using Websphere 4.0, Struts 1.0, Tomcat 4.0. > Susan, Can help in explaining the following :: > > Does the generated source of the tags between Tomcat and Websphere show > any discrepancies? I was thinking of a "view page source" from yo

RE: Another missing attribute in html-el

2003-08-28 Thread Slattery, Tim - BLS
From: Jason Lea [mailto:[EMAIL PROTECTED] >> Slattery, Tim - BLS wrote: > > The tag does not have an "accesskey" >> attribute. > You could use the tag which accepts an accesskey and > passes the focus onto another form field. That's an excellent suggestion, and I had not come close to thin

user local confusion

2003-08-28 Thread meissa . Sakho
hi all, I apologize in advance to ask this question that may look off topic. I have a problem with the Local parameter. I'm using tomcat 4.1.18 and I would like to know where to set the container default locale value. i know this question should be asked to tomcat users. But I have no answer .

Re: form submit - nested property problem

2003-08-28 Thread Heather Buch
OK. I worked it out. It was necessary that the "id" in my iterate tag (and thus the page scope bean referenced by html:checkbox) have the same name as the getters/setters in my form bean. In other words, if my form bean has: getFag() setFag(int index, Fag whatever) my iterate tag has to look

[OT] but IMPORTANT

2003-08-28 Thread Adam Hardy
If you haven't checked http://jakarta.apache.org/ today, do so and read the welcome page. Sounds dire, but in these times, predictable. Nothing to do with me, I just agree with it. Adam -- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9 -

Begineer For Struts

2003-08-28 Thread mahavir
hi i am begineer to struts.i had installed struts according to documentation but when ia m tring to browse the jsp file i had the following error Error: 500 Location: /hello-world/hello.jsp Internal Servlet Error: javax.servlet.ServletException: Cannot find message resources under key org.apa

  1   2   >