help?

2006-11-17 Thread Mallik
Hi friends this is my situation: here i am going do app for a college, there may be any no of colleges and each college may have any no of blocks. i have a jsp where i display all the details of blocks in row wise(this is a view block details page) and there will be some provision to modify any ro

Re: Indexed Properties

2006-11-17 Thread Adam K
Thanks for the suggestion I'll keep trying things and see what I can get from it. On 11/17/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: Lots of people have done it. Search the archives [1]. Search for "indexed" and "lazyList". I've done it with both ActionForm and DynaActionForm. Hubert [

log4j problem, need solution

2006-11-17 Thread Sreenivas M
I am getting the following message in tomcat console properties info:log4j: Warn no appenders could be found for loggers( org.apache.catalina.session.ManagerBase). info: log4j:WARN Please initialize the log4j system property. I am using Tomcat 5.1, and running a struts application. can any one f

Re: Indexed Properties

2006-11-17 Thread Hubert Rabago
Lots of people have done it. Search the archives [1]. Search for "indexed" and "lazyList". I've done it with both ActionForm and DynaActionForm. Hubert [1] http://struts.apache.org/mail.html On 11/17/06, Adam K <[EMAIL PROTECTED]> wrote: I think I have found the problem - or at least a pote

Re: Indexed Properties

2006-11-17 Thread Adam K
I think I have found the problem - or at least a potential cause. Would it be correct in stating that this will not work using ActionForm (what I was using) and that I must instead use DynaActionForm ? Thanks for the time thus far. On 11/17/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: Adam,

Re: Indexed Properties

2006-11-17 Thread Hubert Rabago
Adam, Try adding a getResultsPage() that doesn't take params and always returns a valid collection. (Throw in the setResultsPage() that accepts a collection as well.) Hubert On 11/17/06, Adam K <[EMAIL PROTECTED]> wrote: This has been driving me nuts for the past little bit. I have a page tha

LazySortedMap of LazyList Objects in a Form

2006-11-17 Thread Eric Benedetti
I've got a Form which contains a LazySortedMap, the keys being Strings and the values being LazyList objects. Each LazyList object contains a list of Checkbox objects (basically just like LabelValueBean objects). In the jsp, I would like to iterate through the sorted map, and for each LazyLis

RE: Indexed Properties

2006-11-17 Thread Juan Espinosa
Hi to all i have two questions... First question... is possible to remove spring dependecies in struts2 or spring stuff (jars, applicationContext.xml and ContextLoadListener) are neccesary to run struts2 Second question or advise... i want to give a try to ajax, i want some parts of me site to

Indexed Properties

2006-11-17 Thread Adam K
This has been driving me nuts for the past little bit. I have a page that is populated using indexed properties. The prepopulation works fine, and I get the results as I would expect them, but trying to submit the form I get an index out of bounds exception. I know that it is being caused becau

Re: [s2] mvn archetype

2006-11-17 Thread Martin Gainty
Good Morning All- executing http://www.planetstruts.org/struts2-showcase/ajax/remoteforms/ and locally http://localhost:8080/struts2-showcase-2.0.1/ajax/remoteforms/ click on 1st button (Remote form replacing another div) I see Struts Problem Report Struts has detected an unhandled exception:

[s2] Message resources from database

2006-11-17 Thread Nate Drake
Hi, We're in the process of migrating a Struts1 app to Struts2. In Struts1 we created a subclass of PropertyMessageResources to get our messages from the database instead of properties files. I can't seem to find how we'd go about doing this in Struts2. Do I just subclass com.opensymphony.xwork

Re: can not reach the jsp file

2006-11-17 Thread Ed Griebel
Does Welcome.do work correctly? I would first try to get that working because then you will know that your jsp's are in the correct directory and you are calling the do from the correct directory. If Welcome.do doesn't work, check out: - check that you have defined that *.do is mapped to Struts s

Asish Thomas/IM/FPL is out of the office.

2006-11-17 Thread Asish_Thomas
I will be out of the office starting 11/17/2006 and will not return until 11/20/2006. Please contact Mahesh Bhat for any OCS related queries. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: can not reach the jsp file

2006-11-17 Thread Lance Semmens
scrap that idea... I was being a stupid head. cdms is your context path which it ok. -Original Message- From: Lance Semmens [mailto:[EMAIL PROTECTED] Sent: 17 November 2006 13:01 To: 'Struts Users Mailing List' Subject: RE: can not reach the jsp file > The URL that I ask my browser to b

RE: can not reach the jsp file

2006-11-17 Thread Lance Semmens
> The URL that I ask my browser to browse is: > http://localhost:8080/cdms/ShowDocs.do Try hitting http://localhost:8080/ShowDocs.do Or change your action mapping to mailto:[EMAIL PROTECTED] Sent: 17 November 2006 10:40 To: Struts Users Mailing List Subject: RE: can not reach the jsp file

Re: can not reach the jsp file

2006-11-17 Thread WongTseng
You can check your source code of the blank page to see if there is and tags in it. If there are,that may be because the forward you use is missing or incorrect. 2006/11/17, Ken Hu <[EMAIL PROTECTED]>: No , I am using firefox. I can see no exception or warning in log file(tomcat's log). My pl

Asish Thomas/IM/FPL is out of the office.

2006-11-17 Thread Asish_Thomas
I will be out of the office starting 11/17/2006 and will not return until 11/20/2006. Please contact Mahesh Bhat for any OCS related queries. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: can not reach the jsp file

2006-11-17 Thread Ken Hu
No , I am using firefox. I can see no exception or warning in log file(tomcat's log). My platform is Tomcat 5.5 on Debian Linux, I develope and test my code in Netbeans IDE. Ken 於 五,2006-11-17 於 10:22 +,Lance Semmens 提到: > hmm... are you using IE? > You may need to turn off "show friendly err

RE: can not reach the jsp file

2006-11-17 Thread Lance Semmens
hmm... are you using IE? You may need to turn off "show friendly error messages" in the options somewhere. I'm thinking you've got a server error that IE is hiding from you. Any errors in the log? -Original Message- From: Ken Hu [mailto:[EMAIL PROTECTED] Sent: 17 November 2006 01:39 To

RE: custom tag for localization

2006-11-17 Thread Lance Semmens
Not exactly what you asked for but LocaleAction can set the locale then redirect to a page. http://struts.apache.org/1.x/struts-extras/apidocs/ -Original Message- From: Mahmoud Saeed(RSW) [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 23:30 To: user@struts.apache.org Subject: custom t

RE: Logging in Struts

2006-11-17 Thread Thomas Joseph
Hi Cab, As far as my experience, use Logger using log4j and use static declaration. There should not be any problems for your application. I think you are not writing a library application, that will be shared by other applications running on your server. So go ahead with the efficient way! Th

RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-17 Thread Lance Semmens
RequestProcessor is doing it's job by resetting the form. What should then happen is that your checkboxes should be set after reset() is called which doesn't seem to be happening. Somethings not right here, esp since when you comment out reset, it works. Can you post your code? pls. include the

Asish Thomas/IM/FPL is out of the office.

2006-11-17 Thread Asish_Thomas
I will be out of the office starting 11/17/2006 and will not return until 11/20/2006. Please contact Mahesh Bhat for any OCS related queries. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL