Re: Reading Date

2003-02-28 Thread Rick Reumann
On Fri, Feb 28,'03 (11:36 AM GMT+0530), varma wrote: I Declared Timestamp obj in my bean to store the date, it is giving IllegalArugumentException in jsp, when i'm trying to get it from jsp using html:text property=startDate/ It's ok if you have a business object has a Timestamp field, but

Re: Results in multiple pages

2003-02-28 Thread Richard Raquepo
www.javanovic.com - see articles. i'm sure it can help you and try going browsing to this thread http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=58t= 000767 hope this helps - Original Message - From: Konstantina Stamopoulou [EMAIL PROTECTED] To: Struts Users

RE: STRUTS With TORQUE

2003-02-28 Thread James Turner
-Original Message- From: Dan Allen [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 2:36 AM To: [EMAIL PROTECTED] Subject: STRUTS With TORQUE There are some great examples in the book Struts Kick Start using the torque framework. It does seem to be pretty amazing.

Re: Results in multiple pages

2003-02-28 Thread Chetan Sahasrabudhe
man, this question is asked so many times on this list any how, check logic-iterate tag from logic tag lib. put ur records in arraylist and later iterate on jsp - Original Message - From: Konstantina Stamopoulou [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Validating html: select tags

2003-02-28 Thread Kwok Peng Tuck
If I validate a html:select tag and if there is a error in any of the field it seems that when directing back to the input page, the form no longer contains the collection of values used in the optionsCollection tag any more. The specific error is 'Failed to obtain specified collection. How

Re: Reading Date

2003-02-28 Thread varma dvk
Thank you, Yeah i converted that in to string and Changed that to time stamp in Action Regards Varma From: Rick Reumann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Reading Date Date: Fri, 28 Feb 2003

Re: Tiles: dynamically adding definitions

2003-02-28 Thread Cedric Dumoulin
Hi, The doc is temporarily available at http://www.lifl.fr/~dumoulin/howto/ It will be added to the official doc asap. It is not planned yet to add the feature you describe to Tiles. Such future can be implemented and used by extending the current core implementation, without changing it.

Re: Results in multiple pages

2003-02-28 Thread Konstantina Stamopoulou
Richard , Many thanx!! With all these resourses I sould be able to find the solution. I knew I could count on the mailing list! Konstantina - Original Message - From: Richard Raquepo [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:15

Re: Results in multiple pages

2003-02-28 Thread Richard Raquepo
im just passing it forward... :p - Original Message - From: Konstantina Stamopoulou [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, February 28, 2003 4:54 PM Subject: Re: Results in multiple pages Richard , Many thanx!! With all these resourses I sould

Re: Results in multiple pages

2003-02-28 Thread Dirk Markert
Hello Konstantina, you should also take a look at http://edhill.its.uiowa.edu/display-0.8/ Of course, you can also use logic-iterate as suggested elsewhere, but why reinvent the wheel? Friday, February 28, 2003, 8:59:04 AM, you wrote: KS Hello, KS I have the following problem and I'm not sure

AW: AW: AW: Question about html:select (again)

2003-02-28 Thread Hirschmann, Bernhard
So this is what you have: html:select name=test multiple=true property=list size=8 html:optionsCollection property=list label=label value=name/ /html:select You're using the field list from the form bean for two purposes, which result in a conflict. In the html:select, the 'property' is

Re: STRUTS With TORQUE

2003-02-28 Thread Christoph Rooms
Hi, I also use Torque ... I had no problems with it, it works fine AND it is easy! Ofcourse don't do big transactions with it ... but that goes for any JDO framework. Christoph Christoph Rooms TAM + 32 475 531 529 Novell Positioned as a Leader in Analyst Firm's Metadirectory Magic Quadrant

Re: AW: AW: AW: Question about html:select (again)

2003-02-28 Thread Kwok Peng Tuck
I've managed to fix this problem and if you click submit without validation then it is able to get the values :) But if you validate it and the page gets redirected back to the input page then the input page complains that it no longer able to get the collection. Where or how should I

RE: prepopulate a form with values

2003-02-28 Thread Mohan Radhakrishnan
Hi, Our prepopulation works like this. protected void prepopulate( HttpServletRequest request, String name ){ ReportForm form = null; form = ( ReportForm )request.getSession().getAttribute( reportForm ); if( form == null) {

AW: AW: AW: AW: Question about html:select (again)

2003-02-28 Thread Hirschmann, Bernhard
If you get your values out of the form bean, and this form bean is valid not only for one request (configured in struts-config.xml), then you don't have to repopulate. If you explicitly want to repolulate, then this should be done in your action. But as I said, this is not necessary if you

Re: STRUTS With TORQUE

2003-02-28 Thread Kwok Peng Tuck
Just curious Christoph but why can't it be used for big transcations ? I normally write my own classes to access the db and have been looking into things like torque. Christoph Rooms wrote: Ofcourse don't do big transactions with it ... but that goes for any JDO framework.

AW: Results in multiple pages

2003-02-28 Thread Hirschmann, Bernhard
Konstantina, if you want something like in Google, where you can view the first 10 hits, the clicking on next to see the next 10 hits, then you can use the pager taglib for this. http://jsptags.com/tags/navigation/pager/ Greetings to Greece! Bernhard -Ursprüngliche Nachricht- Von:

How to disable automatic session creation

2003-02-28 Thread Eric Jain
After upgrading to RC-1, I notice that Struts now always automatically creates sessions. For example, the html:form tag adds a jsessionid to the url for the first request, something it previously didn't do. Bug or feature? How do I disable sessions? This interferes with my caching strategy! --

AW: How to disable automatic session creation

2003-02-28 Thread Hirschmann, Bernhard
Eric, as far as I know, there has been no changes in this way. Besides, Struts doesn't create sessions, but your servlet engine does. Struts recognizes if you deactivated cookies in your browser, in this case the session id is attachted to the URL. Regards, Bernhard -Ursprüngliche

tomcat-apache.conf perhaps irrelevant??

2003-02-28 Thread Franklin Phan
I use Tomcat 4.1.12 on MS Windows 2000. (I've never installed any Apache HTTP server.) I am new to struts and am trying to install it. I downloaded the zipped binaries from http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.2/ . The zipped file contains an INSTALL file, which has a

Re: STRUTS INTERNATIONALIZATION

2003-02-28 Thread James Prance
I agree with Mr Mitchell... (thats three james' replied to this post.. any more out there) scarter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a way in struts to maintain a default application resources file that can be referred to in the event that a requested resource

Re: 1.1rc1 Error: Path index.jsp does not start with a / character

2003-02-28 Thread Max Cooper
/index.jsp gets translated (as needed) to account for the context path automatically. The paths that start with / are evaluated relative to your web app. You can use the /index.jsp style paths and deploy your app with any context path without having to change anything. -Max On Thu, 2003-02-27 at

First point of access to a struts application.

2003-02-28 Thread Simon Kelly
Hi all, I am struggling on creating a start access point to my struts/strutscx application. I need to fill in a bean with some relevant page data for the login page. This will be the start point for all access to the application. HOWEVER! I am not using jsp (at all) or html pages in a

automatic send mail

2003-02-28 Thread alexj
Hi all, I got one more question : How can I solve this use case, I need to automatic delivering mail to student who have not validate some exercices or they are late in the execution of them. I have a view page how show by courses and by class all the students and all the state of theirs

RE: More Than Form On A JSP

2003-02-28 Thread Jack Zakarian
Hi, I have seen the pager. How are you getting it to run with iterate tags. I thought you had to keep going back to the database to get the next set of information. Thanks, Jack -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 11:02 PM To:

Re: [Ann]: Live online advanced Struts training by 4 authors for$350 - last chance

2003-02-28 Thread Vic Cekvenich
Vic Cekvenich wrote: One place for more details and info here: http://www.postgresql.org/event.php?EventID=122 .V In addition to above, we might have bonus session(s) at the end, in April for the paid students, subject to changes. Possible topics following, maybe 2 per week in April, TBA and

RE: logic:iterate examples plz.

2003-02-28 Thread James Mitchell
Not in my browser. It looks fine. Try this different format: table border=1 tr thArtist/th thFirst Name/th thLast Name/th /tr logic:iterate id=artist name=artists indexId=index tr tdbean:write name=artist property=key//td tdnbsp;/td tdnbsp;/td /tr logic:iterate id=title

Re: How to disable automatic session creation

2003-02-28 Thread Eric Jain
Eric, as far as I know, there has been no changes in this way. Besides, Struts doesn't create sessions, but your servlet engine does. Struts recognizes if you deactivated cookies in your browser, in this case the session id is attachted to the URL. All I know is that no sessions where

html:multibox and bean:write

2003-02-28 Thread shashi_struts
hi hi i am using multibox and in the value i want a data comes from the logic:iterate and write through the bean:write but it gives a problem logic:iterate id=styleData name=style property=styleData indexId=index tr td valign=middle width=83 html:multibox name=style

Re: Is struts-config too verbose?

2003-02-28 Thread James Holmes
Struts Console makes working with the config files alot easier. May alleviate some of your frustations. http://www.jamesholmes.com/struts/ -james --- Mark [EMAIL PROTECTED] wrote: Ah! Answer a question with a question, I like that ;) I believe its just a matter of setting up additional

Each Tile can have its own controller ?

2003-02-28 Thread Rick Ashley
Tiles site http://www.lifl.fr/~dumoulin/tiles/ says that each tile can have its own controller. =It is now possible to associate a controller to each Tile. This controller (Java code or struts action) is called immediately before the Tile jsp page. It is useful to prepare data to be shown by jsp

Each Tile can have its own controller ?

2003-02-28 Thread Rick Ashley
Tiles site http://www.lifl.fr/~dumoulin/tiles/ says that each tile can have its own controller. =It is now possible to associate a controller to each Tile. This controller (Java code or struts action) is called immediately before the Tile jsp page. It is useful to prepare data to be shown by jsp

JSP Exceptions not being correctly handled

2003-02-28 Thread Victor Batista
Hello! My web application is redirecting all exceptions to an error page (through web.xml confs). Although, when exceptions occur on JSPs, the application isn't being redirected to the error page. My error occurs on the following situation: If the User's Session expires,

Re: logic:iterate examples plz.

2003-02-28 Thread shashi_struts
Thank James I checked my code and now the issue is solved. please help me on the other issue that i has been posted over forum. Thanks Again Shashi - Original Message - From: James Mitchell [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 28,

Re: How to disable automatic session creation

2003-02-28 Thread Kris Schneider
Depending on which Struts features you make use of, Struts may create a session on your behalf. In particular, if the controller tag in struts-config.xml has its locale attribute set to true, then a session may be created. Also, if the html:html tag in a JSP has its locale attribute set to true,

How do you display action error messages in jsp?

2003-02-28 Thread julian green
I have a jsp page that is being pre-populated by the action, the action is writing values directly into the form bean. But I also want to display error messages generated by the action. I am doing a: saveErrors(request, errors); return mapping.findForward(success); at the end

Re: How do you display action error messages in jsp?

2003-02-28 Thread alexj
Exemple : public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { ArrayList students = new ArrayList (); HttpSession session = request.getSession(); String target = new String (success);

Struts-EL

2003-02-28 Thread Josh Rayls
Hi, Is there a property that I can use to get the size of a collection? Basically, I want to do this: ${resultBean.result.length} Where result is a Collection. Thanks for any help! -Josh

Re: Struts-EL

2003-02-28 Thread alexj
have you tried result.size ? - Original Message - From: Josh Rayls [EMAIL PROTECTED] To: Struts Users Mailing List (E-mail) [EMAIL PROTECTED] Sent: Friday, February 28, 2003 2:47 PM Subject: Struts-EL Hi, Is there a property that I can use to get the size of a collection?

Re: How do you display action error messages in jsp?

2003-02-28 Thread Gemes Tibor
julian green wrote: saveErrors(request, errors); return mapping.findForward(success); This seems to be ok. - Is errors not empty? (if empty there will be no error of course) - Is your ActionForward not redirected? (this would create a new request, so everything you've saved in

Re: How to disable automatic session creation

2003-02-28 Thread Eric Jain
if the controller tag in struts-config.xml has its locale attribute set to true, then a session may be created. I tried adding a controller element with locale set to false, but no difference... Also, if the html:html tag in a JSP has its locale attribute set to true, then a session may be

Re: How to disable automatic session creation

2003-02-28 Thread Kris Schneider
Another possibility - by default, form beans are stored in session scope. In struts-config.xml, you'd need: action ... scope=request ... / for all your actions that receive a form bean. Quoting Eric Jain [EMAIL PROTECTED]: if the controller tag in struts-config.xml has its locale attribute

RE: Struts-EL

2003-02-28 Thread Jarnot Voytek Contr AU HQ/SC
This issue has been discussed this week, and last week, and probably the week before... http://marc.theaimsgroup.com/?l=struts-userw=2r=1s=jstl+collection+sizeq =b -- Voytek Jarnot Quidquid latine dictum sit, altum viditur. -Original Message- From: Josh Rayls [mailto:[EMAIL

Re: automatic send mail

2003-02-28 Thread alexj
nop thanks :) -- Alexandre Jaquet - Original Message - From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, February 28, 2003 3:08 PM Subject: RE: automatic send mail Have you looked at

Best place to wrap validator error messages in css class selectors?

2003-02-28 Thread Jeff Kyser
Hello, Is there a better way to wrap up the error messages returned from the validator framework in a css class selector? It works 'ok' to use: span class=formErrorMessage html:error property=username bundle=VALIDATOR_BUNDLE/ /span directly in my jsp, but that

Re: How to disable automatic session creation

2003-02-28 Thread Eric Jain
action ... scope=request ... / Thanks, checked that, already set correctly... -- Eric Jain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do I control logging in Struts? -- Was: Re: Tiles - Stop from logging

2003-02-28 Thread Kris Schneider
Pretty sure you wanna add: log4j.additivity.org.apache.struts.tiles=false Hope that's the right properties file syntax, I usually use XML... Quoting Eddie Bush [EMAIL PROTECTED]: You really should be able to get such examples off the components' respective sites, but, seeing as how folks

DispatchActions - can I use a path parameter

2003-02-28 Thread Raible, Matt
Is it possible to configure dispatch actions to recognize a path parameter, rather than a true parameter: I'd like to do: /user/search rather than: /user?action=search I guess I could do this with a forward eh? Matt - To

Re: Some questions about struts

2003-02-28 Thread Rajan Gupta
How about writing a Servlet which is loaded on Startup configured as such in web.xml. This servlet can load the data from the files store them in a responsible context --- Peng Tuck Kwok [EMAIL PROTECTED] wrote: Thanks for the prompt reply Jacob. I do need the xml data to persist, one xml

Re: How do I control logging in Struts? -- Was: Re: Tiles - Stopfrom logging

2003-02-28 Thread Eddie Bush
Actually, with a single appender, it really shouldn't matter. If he winds up adding additional appenders, then, yes, he may want to do that. The problem solved by that, unless I'm mistaken, is that output shows up on multiple appenders. Hence, with only a single appender, it really isn't

Re: How to disable automatic session creation

2003-02-28 Thread Kris Schneider
Huh. Are you using any other libraries/frameworks besides Struts that might be creating a session? I'm assuming that since you're attemping to go session-less, you don't have application code that calls the no-arg version of HttpServletRequest.getSession...right? If you've got some test code

Re: How do I control logging in Struts? -- Was: Re: Tiles - Stop from logging

2003-02-28 Thread Kris Schneider
Nope, you're right, good call. I've just gotten into the habbit of doing that regardless of the number of appenders I've got. Quoting Eddie Bush [EMAIL PROTECTED]: Actually, with a single appender, it really shouldn't matter. If he winds up adding additional appenders, then, yes, he may want

Re: How to disable automatic session creation

2003-02-28 Thread Eric Jain
Huh. Are you using any other libraries/frameworks besides Struts that might be creating a session? Don't think so. Anyways, as mentioned sessions only started being created after I upgraded to RC1. Looks like I'll need to set up AspectJ to figure out who the culprit is :-) -- Eric Jain

Re: How do you display action error messages in jsp?

2003-02-28 Thread julian green
Done all of your suggestions, and still fails. this is the end of my action method System.out.println(errors.size()= + errors.size()); if (errors.size() 0) { saveErrors(request, errors); return mapping.findForward(fail); } return

Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
Does any one have a spare simple war that shows off switching modules im having to many problems at the minute :/ if you could email them to [EMAIL PROTECTED] it would be great ta - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: changing ApplicationResources.properties runtime

2003-02-28 Thread David Graham
In properties file: lastJDBCError.value={0} Then construct the error message with the exception text as the first replacement value. David From: Arunachalam Jaisankar [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

Re: Each Tile can have its own controller ?

2003-02-28 Thread David Graham
http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200 From: Rick Ashley [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Each Tile can have its own controller ? Date: Fri, 28 Feb 2003 12:46:42 + Tiles site

RE: STRUTS with TORQUE

2003-02-28 Thread Mitchell Morris
Please summarize your findings to the list, if you would; I would be interested in seeing the group consensus on Torque as well. From following Jetspeed and Turbine user lists it seems that there's a lot of confusion about where the various Turbine projects are going especially with respect to

Re: How do you display action error messages in jsp?

2003-02-28 Thread Gemes Tibor
julian green wrote: Done all of your suggestions, and still fails. this is the end of my action method System.out.println(errors.size()= + errors.size()); You'd better use log4j for debugging, imho. if (errors.size() 0) { saveErrors(request, errors);

RE: deploy with ant, best practices

2003-02-28 Thread Mitchell Morris
I have a separate deploy target using the unwar task to unroll the WAR file myself. Build your WAR normally and then unroll it for Tomcat. You could easily then use the reload task as desired. I'd also like to take a moment to express my (mild) distaste at forcing your build tree to look like

[Tiles] Whay can't a controller be assigned in the put tag?

2003-02-28 Thread jennings, christofer \BOZ\ j
I'm curious why Tiles controllers can't be assigned in the put tag. As far as I can tell, a controller can only be assigned at the level of definition or input, which means that the controller must know enough to format data for mutiple put sections of a page or tile. What I want, though, is

best practice: date widget

2003-02-28 Thread Bill Schneider
What is the best-practice with Struts for making something like an HTML date-widget control, that has three different input fields but maps to a java.util.Date in a form bean? The idea is I want to be able to put something like html:date property=startDate/ in a JSP page, and call Date d =

FormFile results in BeanUtils.populate error

2003-02-28 Thread Susan Bradeen
I just got through implementing an upload function into my application, which is working perfectly, and now I am trying to incorporate the same upload functionality into an existing add action in my application. (Struts 1.1b3) My new upload action and this add action use different

Re: STRUTS with TORQUE

2003-02-28 Thread Vic Cekvenich
If you like Torque, you would LOVE CommonsSQL in the commons CVS sandbox. .V Mitchell Morris wrote: Please summarize your findings to the list, if you would; I would be interested in seeing the group consensus on Torque as well. From following Jetspeed and Turbine user lists it seems that

Re: FormFile results in BeanUtils.populate error

2003-02-28 Thread Stephen Smithstone
have u got the encrpt line in your jsp form ?? or what ever it is On Friday 28 February 2003 3:04 pm, Susan Bradeen wrote: I just got through implementing an upload function into my application, which is working perfectly, and now I am trying to incorporate the same upload functionality into

RE: Struts Sub-modules

2003-02-28 Thread James Mitchell
What kind of problems are you having? -- James Mitchell Web Developer/Struts Evangelist http://www.microsoft.com/struts/ -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 9:45 AM To: Struts Users Mailing List Subject: Struts

Re: FormFile results in BeanUtils.populate error

2003-02-28 Thread Susan Bradeen
No, I forgot that! I made very sure to *not* forget that the first time around, but alas, it slipped my mind this time. It works fine now. Thanks a lot Stephen. Susan On 02/28/2003 10:11:39 AM Stephen Smithstone wrote: have u got the encrpt line in your jsp form ?? or what ever it is On

Re: best practice: date widget

2003-02-28 Thread Brian Lee
My current project uses something like this, but with wrapper class around Calendar (since Date.day/month/year is deprecated). Also makes it easier once you start to use TimeZone and Locale. BAL From: Bill Schneider [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

RE: How do you display action error messages in jsp?

2003-02-28 Thread James Mitchell
I agree, I just finished the test suite against the ErrorsTag so I know it does exactly what its supposed to. -- James Mitchell Web Developer/Struts Evangelist -Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 9:53 AM To: Struts Users

RE: STRUTS with TORQUE

2003-02-28 Thread Mitchell Morris
I don't know that I'd love TORQUE since I'm not using it. I can say, however, that I'm using Hibernate and think quite a great deal of it. -Original Message- From: Vic Cekvenich [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:06 AM To: [EMAIL PROTECTED] Subject: Re:

Re: how do people work in project with one server for development

2003-02-28 Thread Gerhard Poul
Ashish Kulkarni [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] But now we are moving to websphere, and it is not possible to have each one one copy to play with on his machine Don't get me wrong, but why isn't that possible? A development license of WAS is included with every copy

Re: [OT] how do people work in project with one server for development

2003-02-28 Thread Gerhard Poul
If you have WSAD on your workstation where is the problem with just using the WAS development license that was installed with it? Chappell, Simon P [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Mark Galbreath [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
Just on how to set it up and get it workin correctly i understand that u make up a new config file say struts-mod1.xml and mod1 becomes the prefix then i create a folder under the main webapp folder called mod1 then in my default struts-config.xml i have global forward say called toMod1

Re: FormFile results in BeanUtils.populate error

2003-02-28 Thread Stephen Smithstone
no problem susan i make the same mistake on several occasions On Friday 28 February 2003 3:17 pm, Susan Bradeen wrote: No, I forgot that! I made very sure to *not* forget that the first time around, but alas, it slipped my mind this time. It works fine now. Thanks a lot Stephen. Susan On

RE: [OT] how do people work in project with one server for development

2003-02-28 Thread Chappell, Simon P
The test server in WSAD is not a full version of WAS. It does not handle db connections and some aspects of EJBs very well, not to mention that it is single server, so there is no way to test multi-server code. All told, don't rely on the quasi-WAS in WSAD ... get a real version of WAS or an

Re: Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
James Mitchell or anyone ive just uploaded an example i made to www.skullboxhouse.co.uk/downloads/smt.war it would be great if u can download and run and help me solve the problem :-) Ta Stephen - To unsubscribe, e-mail:

Declarative Exception Handling Options

2003-02-28 Thread scarter
I'm using struts declarative exception handling mechanism, however, I need to associate a custom exception type with a specific field on the page so that they can be handled similar to exceptions that occur as a result of the validator. For example, we have built a custom extension that

how to get original requestURI within a tile?

2003-02-28 Thread perry . tew
Hello, I'm using tiles to create a dynamic menu. It is a collapsable/expandable menu. The code behind the menu examines the requestURI and based on that determines which part of the menu to display. For example, if a particulate URL was requested, I am displaying that URL in the menu

Referencing an application level image

2003-02-28 Thread Christopher Cheng
How can I reference an image located in the application's root image folder with html:img in a mutiple module environment? For example if I use html:img page=/images/picture.gif it will generate /myapp/mymodule/images/picture.gif If I would like to reference /myapp/images/picture.gif instead,

Re: Declarative Exception Handling Options

2003-02-28 Thread David Graham
When your action calls the business layer validation it will catch the exception that is thrown then translate it into an ActionError for that form field. David From: scarter [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Declarative

RE: Referencing an application level image

2003-02-28 Thread Phillip Qin
I never tried, but what about ../../images/picture.gif? Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Christopher Cheng [mailto:[EMAIL PROTECTED] Sent: February 28, 2003 11:10 AM To: [EMAIL PROTECTED] Subject:

RE: Struts Sub-modules

2003-02-28 Thread James Mitchell
Ok, here ya go. Only thing missing is the lib directory. -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ -Original Message- From: Stephen Smithstone [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:53 AM To: Struts Users Mailing

RE: html:multibox and bean:write

2003-02-28 Thread Sri Sankaran
You cannot emded a tag inside another tag. You can achieve what you are trying as follows value=%=styleData.getKey()% Sri -Original Message- From: shashi_struts [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 7:23 AM To: Struts Users Mailing List Subject: html:multibox

RE: Referencing an application level image

2003-02-28 Thread James Mitchell
I do not recommend using relative links. It will only cause you more headaches down the road. -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 11:16

Re: Referencing an application level image

2003-02-28 Thread Louie Zhang
Think about make a symbol link of every /myapp/mymodule1/sharedimages/, /myapp/mymodule2/sharedimages/ to /myapp/images then you can refer to html:img page=/sharedimages/xxx.gif - Original Message - From: Christopher Cheng [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 28,

Re: How do you display action error messages in jsp?

2003-02-28 Thread julian green
Yes it does work exactly as it should. It would of course had helped if I had spelt the names of the messages in the messages.properties file correctly. Julian James Mitchell wrote: I agree, I just finished the test suite against the ErrorsTag so I know it does exactly what its supposed to.

RE: [OT] how do people work in project with one server for development

2003-02-28 Thread Ashish Kulkarni
Hi, I am working on websphere on AS400, and so cannot have each developer a seperate test enviornment, Although we develop all the code on NT, test it and put it on AS400, bt there is some code which works on AS400 only, but anyway, we come to a conclusion that, only one developer works with

Sessions

2003-02-28 Thread JONATHAN PHILIP HOLLOWAY
Does anybody know when a new session is started? Is it in any of the following: 1. When a new action is selected? 2. When a new page is linked to on the client side? 3. When a page is returned to via an action forward? Also when is a new actionform created? Is it for every request to a new

Re: deploy with ant, best practices

2003-02-28 Thread Craig R. McClanahan
On Fri, 28 Feb 2003, Dan Allen wrote: Date: Fri, 28 Feb 2003 01:29:46 -0600 From: Dan Allen [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: deploy with ant, best practices I have been studying ant very thoroughly over the past two

Re: Reading Date

2003-02-28 Thread Claude Betancourt
I am sure this has been beaten to death, but it is recommended you use String (or String[]) to capture submitted forms. Then handle the date conversion with business logic, whether in your action or business object. -c - Original Message - From: varma dvk [EMAIL PROTECTED] To: [EMAIL

action form error messages

2003-02-28 Thread Alex McLintock
Hi folks, I am using traditional action forms rather than DynaActionForms and when I get it slightly wrong (eg by missing out get/set methods) I get the following error No getter method for property seriesnumber of bean org.apache.struts.taglib.html.BEAN Why is it telling me the problem is

RE: Sessions

2003-02-28 Thread James Childers
-Original Message- From: JONATHAN PHILIP HOLLOWAY [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 11:05 AM Subject: Sessions Does anybody know when a new session is started? Is it in any of the following: 1. When a new action is selected? 2. When a new page is linked

RE: one more prepopulate question

2003-02-28 Thread Sri Sankaran
Here's what you are trying to do index.jsp - redirects to index.do - needs to build a bunch'o forms - forwards to home.jsp Am I understanding you correctly? The action corresponding to the path index can create any number of form-beans and persist them in any scope before

RE: action form error messages

2003-02-28 Thread Sri Sankaran
There are a few possibilities * your bean (form-bean or other) does not have a property called seriesnumber. Case is very important. Struts is looking for a method named getSeriesnumber(). Make sure you have such a method and that it is public * the tag that is causing this error isn't

RE: A new Struts book ....

2003-02-28 Thread PILGRIM, Peter, FM
-Original Message- From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED] I think you can add a new Struts book in Struts ressources page : http://blogs.application-servers.com/blogs/page/eboudrant/20030227 ---- It seems to be very specific to Eclipse. At work we have

Re: Each Tile can have its own controller ?

2003-02-28 Thread David Graham
The tiles controller should never perform any view logic. The controller just gets data and puts it in the request for the tile to display. David From: John Nikolai [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

RE: logic:iterate over a HashMap - can't pass key to get value method

2003-02-28 Thread Karr, David
Expression scriptlets have to be the entire attribute value, not just a portion of it. Change the value of the property attribute to (don't forget the wrapping single quotes): '%= locationroomValue( + (String)mapEntry.getKey() + ) %' -Original Message- From: Huw Jones [mailto:[EMAIL

RE: [update] nested tags...

2003-02-28 Thread Sri Sankaran
Arron: Can you please re-build the jar? Tomcat 4.1.18 throws a java.util.zip.ZipException: invalid END header (bad central directory offset) Error. Methinks, well I'll just unzip it and put it in WEB-INF/classes; unfortunately, Winzip too has problems with it. not.lazy I don't want to

RE: logic:iterate over a HashMap - can't pass key to get value method

2003-02-28 Thread Huw Jones
Thanks David that worked - I did try that in my investigations but must have missed something HUW -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: 28 February 2003 18:24 To: Struts Users Mailing List Subject: RE: logic:iterate over a HashMap - can't pass key to get

RE: deploy with ant, best practices

2003-02-28 Thread Jaye Bass
My ant targets build directly into my webapp directories...the root location is set in an env variable. This really seems to work for us on a variety of systems (linux, windows, and occasionally macs) from development to ultimate deployment and maintenance. -Original Message- From: Dan

  1   2   >