Incompatibility between STRUTS TAGS and JSTL TAGS

2003-12-10 Thread Todor Sergueev Petkov
Hello everybody. I have a small problem that maybe someone has already had in the past. In a jsp page I try to retrive request parameters thus ( STRUTS + Jakarta TAGLIBS ) : req:parameters id=loop Name: bean:write name=loop property=name/ Value: bean:write name=loop property=value/

JSTL and Struts tags problem...

2003-11-27 Thread Todor Sergueev Petkov
Hello everybody, Any idea why the following shouldn't work: html:submit property=act -- struts taglib fmt:message key=search.generic.reset/ -- jstl taglib /html:submit I also tried to replace the middle line with fmt:message key=${search.generic.reset}/. I also

STRUTS LOG4J

2003-11-21 Thread Todor Sergueev Petkov
Hi everybody... I know that one of the ways to use log4j with struts is to load a log4j.properties file at servlet container startup... But what if I have a business layer that has no direct connection to a servlet container or I want to run some stand-alone tests and logging... Do I have to

Re: STRUTS - Image/Img tags - Thanks

2003-11-11 Thread Todor Sergueev Petkov
, and the archive for this mailing list has enough code and information to understand the issues (caching is one -- Craig McClanahan had a really good reply about this to one of my messages in the past month or two) and implement a good solution. -Max - Original Message - From: Todor Sergueev Petkov

STRUTS - Image/Img tags

2003-11-10 Thread Todor Sergueev Petkov
Hello everybody, is there a way to use struts Image or Img tags to display thumbnails ( pictures - gif or tiff or jpeg ) on a page from a Stream and not from file. The idea is to pick the picts up directly from a database and display them together with text on the same page? Thanks, Todor

Re: Multiple parameters

2003-10-26 Thread Todor Sergueev Petkov
Are you sure you can use float arrays in an ActionForm. I think ActionForm beans accept only String values. It's up to you to do conversion from/to Float. Rajat Pandit wrote: Hello mark, This is my situtation This is an extract from my action form private float[] bidAmount; public

Re: Logging using commons.logging

2003-10-23 Thread Todor Sergueev Petkov
Try this : http://www.vipan.com/htdocs/log4jhelp.html Ritvik wrote: Hi There, In our system we have a requirement to generate two seperate logs, system log and auditing log. The system log must log details of request and processing details. This log is mainly used by developer at the time of

EVALUATION of TEST FRAMEWORKS

2003-10-22 Thread Todor Sergueev Petkov
I have to choose a testing framework for my webapp( written using Struts. I am currently reviewing documentation on CACTUS - especially StrutsTestCase and on the other hand HTTPUnit. Is that what people use to test medium size web-applications. Can someone with experience point out some

STRUTS TAGLIBS USAGE question

2003-10-22 Thread Todor Sergueev Petkov
I have the following in a jsp search page: html:textarea property=field(SourceArea) rows=0 cols=0 styleClass=searchTextArea/ field is an ActionForm and is a map. In this example SourceArea is hard coded as string. Is it possible to retrive this hard coded string from properties file? I tried

Re: AW: STRUTS TAGLIBS USAGE question - SOLVED

2003-10-22 Thread Todor Sergueev Petkov
- Von: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 22. Oktober 2003 11:39 An: Struts Users Mailing List Betreff: STRUTS TAGLIBS USAGE question I have the following in a jsp search page: html:textarea property=field(SourceArea) rows=0 cols=0 styleClass=searchTextArea

TILES - jsp pages hierarchy structure

2003-10-22 Thread Todor Sergueev Petkov
Hello everymody, yet another question... To help users navigate in my web-site ( using tiles ) I would like to indicate in each page where in the page hierarchy the user is. Example: current page is : home-search-advanced search. Since I am already using TILES I wander if Tiles stores already

Drop down boxes

2003-10-14 Thread Todor Sergueev Petkov
Hello every body, any suggestions on the following : 1. I use a drop down box associated with a Struts LookupDispatchAction. 2. I Have another textfield form associated with the same action on the same page. 3. I would like when users selects something in the drop down box the text field

Accessing Application Ressources

2003-10-14 Thread Todor Sergueev Petkov
Hello, does anybody know how, from a Struts Action class I can access the name of the Application Ressources file defined inside web.xml. Or is there a simpler way to access directly the properties, one by one from the properties file? Thanks, Todor

[SOLVED] Drop down boxes

2003-10-14 Thread Todor Sergueev Petkov
Todor Sergueev Petkov wrote: Hello every body, any suggestions on the following : 1. I use a drop down box associated with a Struts LookupDispatchAction. 2. I Have another textfield form associated with the same action on the same page. 3. I would like when users selects something

Re: AW: Accessing Application Ressources

2003-10-14 Thread Todor Sergueev Petkov
: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. Oktober 2003 13:41 An: Struts Users Mailing List Betreff: Accessing Application Ressources Hello, does anybody know how, from a Struts Action class I can access the name of the Application Ressources file defined inside web.xml

[ACTION]- Struts Actions and drop down boxes

2003-10-06 Thread Todor Sergueev Petkov
Hello everybody, Some ideas about the following scenario: I have input fields associated with submit button and clear button and Struts LookupDispatchAction. Intermingled between the fields I have drop down boxes. My form bean associated with the Struts action uses a Map to store the field

[Question] : Close popup after Action has exited...

2003-10-01 Thread Todor Sergueev Petkov
Hi, Does somebody know how I can close a popup window for which I have ActionForms and Action when some method in the action has performed its job ( exited )? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [Question] : Close popup after Action has exited... -- SOLVED

2003-10-01 Thread Todor Sergueev Petkov
that. - Original Message - From: Todor Sergueev Petkov [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:37 AM Subject: [Question] : Close popup after Action has exited... Hi, Does somebody know how I can close a popup window for which I have

[STRUTS]? Synchronization between different browser windows...

2003-09-25 Thread Todor Sergueev Petkov
Hello everybody, I have two web browser pages opened. I would like to display ( or update ) the contents of one of the pages when a method in Struts LookupDispatchAction class has completed ( the LookupDispatchAction is triggered in the other page ). Is there some simple and elegant way to do

? Synchronization between different browser windows...

2003-09-24 Thread Todor Sergueev Petkov
Hello everybody, I have two web browser pages opened. I would like to display ( or update ) the contents of one of the pages when a method in Struts LookupDispatchAction class has completed ( the LookupDispatchAction is triggered in the other page ). Is there some simple and elegant way to do

?open new browser window after struts action

2003-09-22 Thread Todor Sergueev Petkov
Hello everybody, I have a search page with a few fields and two buttons : search, clear Search is supposed to query for some data in the database. Clear to reset all form fields to . How can I do the following: 1. If user presses search - SearchAction gets results from search - open popup

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
with submit value Eg: Document.formbean.action=search.do+value; Regards Rohit -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:49 PM To: Struts Users Mailing List Subject: Re: Button labels and DispatchActions mix

Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
Hello people, I have the following code : html:submit property=action value=resetg bean:message key=search.button.reset / /html:submit What I am trying to do is have a Dispatch Action so that when this button is pressed the request is something like search.do?action=resetg But I don't

Drop down Boxes help

2003-08-14 Thread Todor Sergueev Petkov
Hello everybody, I have a form containing multiple fields and drop down boxes... I have one ActionForm and one DispatchAction associated with all of them and I would like to distinguish which if the drop down boxes was chosen... Something like the following : html:select

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
=action value=bean:message key=search.button.reset / /html:submit -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:29 PM To: Struts Users Mailing List Subject: Button labels and DispatchActions mix? Hello people, I have

Newbie question: Testing if collection is != null before iterating

2003-08-14 Thread Todor Sergueev Petkov
How can I test if a collection is not null before iterating through it? Does the logic:iterate tag do this ckeck and skip the iteration if the collection is null? Thanks a lot, Todor - To unsubscribe, e-mail: [EMAIL

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
labels and DispatchActions mix? This will work .. html:submit property=action value=bean:message key=search.button.reset / /html:submit -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:29 PM To: Struts Users

Re: Button labels and DispatchActions mix?

2003-08-14 Thread Todor Sergueev Petkov
buttons, with the same label doing different things? Surely this would just confuse the user? -Original Message- From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED] Sent: 07 August 2003 13:58 To: Struts Users Mailing List Subject: Re: Button labels and DispatchActions mix? Even

[APPLICATION SCOPE] -How and Where to store in app scope

2003-08-11 Thread Todor Sergueev Petkov
Hello everybody, I have some objects that I would like to store in application scope. I am useing Strust 1.1. I have the following question: 1. Where (in which Struts class) is the most convinient place to make this. 2. How can I store the objects at startup and than not have to

Dynamic multimedia content with Struts...

2003-08-10 Thread Todor Sergueev Petkov
Hello everybody : is it possible with struts tag libraries to retrive dynamically for example pictures from a database and place them on the jsp page on the fly And also another question : I would like a user to be able to select from a page certain file names ( dynamicaly generated ) and

Re: [OFF TOPIC] JavaScript + select tag question

2003-08-08 Thread Todor Sergueev Petkov
Sorry but I have still the same problem. The following ( which is actualy static ) doesn't work I get a :Request[/search] does not contain handler parameter named action Whats wrong with his one ? SCRIPT language=javascript function doSubmit() { var url =

[OFF TOPIC] JavaScript + select tag question

2003-08-06 Thread Todor Sergueev Petkov
I am not very profficient in JavaScript so any help would be appreciated : I would like to do the following : I have a form with different fields and drop down boxes When A drop down box is selectd I would like to do a submit that looks

Buttons and Actions without forms

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

Validating fields only in some situations question....

2003-07-30 Thread Todor Sergueev Petkov
Hello, I have a question : I am using Validator framework with Struts. I have a login form on my web page which is associated with 3 buttons - Login, to log the user in Reset , to reset the form fields Register, which brings the user to a new registration page I