USage of bean:struts, bean:resource tag

2005-02-17 Thread [EMAIL PROTECTED]
Dear all What is the exact usage of bean:struts and bean:resource tag Please mail me back thanks senthil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts and jsp

2005-02-17 Thread Andrew Hill
Its considered best practice to go through an action first - even in those cases where the action doesnt need to do anything. In such cases its recommended (though not unanimously - we had a bit of a debate about this a couple of weeks ago on the list!) that you also put your JSPs under WEB-INF

Re: [OT] java date and time issue

2005-02-17 Thread Andrew Hill
1. How to find out what time zone the user is in? You cant (afaik). The closest you can get is to use javascript to determine their current GMT offset, that however will not give you the actual timezone (including such things as daylight savings rules and so forth) but it may be close enough for

Does Javascript validation support Array?

2005-02-17 Thread Anthony Hong
I have a question about validation framework use javascipt in struts. If I define a rule in validation.xml with field "customerName" required, and there are two input text items use this name, then javascript validation doesn't work. What should I do? I use struts 1.1 -- Anthony Hong -

struts and jsp

2005-02-17 Thread jonathan zhang
is it a good idea to have a direct link to jsp instead of going through an action in a jsp page? thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[HELP] Understanding clearly about function of Nested Tags

2005-02-17 Thread Pham Anh Tuan
Hi all, I don't know clearly about functions of Nested Tags. I have not used it before. I read in struts.apache.org about it, and all I know is it's somthing like logic ... plz, show me the powerful ability of Nested Tags Thanks for advance Anh Tuan ---

Re: [OT] Auto comment generation

2005-02-17 Thread Shed Hollaway
try http://javadocbuilder.sourceforge.net/ - Original Message - From: "Frank W. Zammetti" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, February 17, 2005 11:00 AM Subject: RE: [OT] Auto comment generation > I wound up using NetBeans. I couldn't find the function

Taglib error in SUN One Java Server version 8, PLS HELP!!!

2005-02-17 Thread Vincent Ho
When i deploy my application to the newly download Sun One Java System Server Platform Edition version 8, i got this error when i trying to call the first JSP page to display. The application has been running well in JBOSS Server. ANy help will be much appreciate, tq. The Error i got from the

Re: Struts or SpringFramework

2005-02-17 Thread Dakota Jack
You might profit from dropping into you local bookstore and perusing through Rod Johnson's "J2EE Development without EJB" which is really good. Chapter 13 covers web tier design and the Web MVC that comes with Spring. (Rod is the primary author of the ideas behind as well as the code behind the S

RE: You must specify exactly one of "forward", "href", or "page"

2005-02-17 Thread Vijay Kumar
Hai Thx for ur answer can u tell me why we have to use old plain html Bye vijay -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal Sent: Thursday, February 17, 2005 8:04 PM To: user@struts.apache.org Subject: Re: You must specify exactly one of "forward", "href"

Re: Struts or SpringFramework

2005-02-17 Thread Dakota Jack
I assume you know this but just in case: Struts (a web application framework) is not a "rival" not for the Spring Framework (which is a lightweight j2ee applicatoin framework). I assume, then, that you must mean the standard web application framework that comes with Spring? Is that right? Jack

[OT] Gmail Invites

2005-02-17 Thread Dakota Jack
I have 50 gmail invites, if anyone wants one. Jack -- "You can lead a horse to water but you cannot make it float on its back." "Heaven has changed. The Sky now goes all the way to our feet. ~Dakota Jack~ "This message may contain confidential and/or privileged information. If you are not the

Struts or SpringFramework

2005-02-17 Thread Eric Chow
Hello, I have used Struts for four years. And I am evaluating SpinrgFramework. Anybody can give me some suggestions on them ?? Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tiles scope headache assistance needed.

2005-02-17 Thread Brian Moseley
Jason Long wrote: I switched my code to the following jstl tags as suggested. The first part works with no problem, but I get no output from the tile attempt except for the layout being applied with the word "testing". Do I need to use or some other tag to make the quote bean accessible from the

Re: Caching Appliction Level Data?

2005-02-17 Thread David Johnson
Hi again a related question. if I load up the data I need from within a plug in and store it in the application scope, is this an acceptable sepatation of "view" and "Model" as long as I am doing so from a service? Remember, this app architecture I'm using has a "service factory" (which was set u

Re: [ANNOUNCEMENT] New Struts subproject: Struts Flow

2005-02-17 Thread Dakota Jack
At the risk of causing people to run around in little circles [ ;-) ], can you tell me what Faces is? Is that MyFaces? How does Faces differ from Shale? Thanks for any information. If the question upsets anyone, my apologies. Jack On Thu, 17 Feb 2005 14:03:32 -0800, Don Brown <[EMAIL PROTECT

Re: Newbie Page flow question

2005-02-17 Thread Nic Werner
Thanks for the help, that set me down the right path. Now, on just a normal page with an ActionForm, all the data is automatically 'set' into the Bean by the ActionForm because the property names match. Do I need to write this code now to take each param and map it to a setter or is there a bett

multiple bean params getting clobbered on form submit

2005-02-17 Thread Kirby Vandivort
so i have a couple of beans that i'm sending to the frontend. They are getting their initial values just like they should. (the jsp is behind an action that saves values to bean1 and bean2. The jsp page looks something like: - This is for bean

RE: Tiles Question

2005-02-17 Thread David G. Friedman
Matthew, I don't think that "extends" can be used with the "path" attribute. I have always understood, and practiced, tiles where one definition extends the main definition (like a template) and overloads the COMPONENTS of the original template. I have always thought extends should NEVER be used

error while deploying the war file

2005-02-17 Thread bala pamarti
Hi All, I am new to struts and am trying to learn it... I configured the action and forward in the struts confuguration file and when i deploy the war file in tomcat and restarted iti saw the following errorcan anyone help me figure out where i am going wrong. TIA, kishore --- Feb 17, 2

RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
I switched my code to the following jstl tags as suggested. The first part works with no problem, but I get no output from the tile attempt except for the layout being applied with the word "testing". Do I need to use or some other tag to make the quote bean accessible from the tile?

RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
I switched my code to the following jstl tags as suggested. The first part works with no problem, but I get no output from the tile attempt except for the layout being applied with the word "testing". Do I need to use or some other tag to make the quote bean accessible from the tile?

[OT] java date and time issue

2005-02-17 Thread Ashish Kulkarni
Hi We have a situtation where we will be hosting our web server in USA and users from all over the world will be accessing this, these users will do some transaction which will update the database. Now the problem is with date and time, we dont want to enter system date and time, but the local date

??? Re: I have a jsp. that has two included jsp's, only one shows up.

2005-02-17 Thread Joe Germuska
At 10:30 PM + 2/17/05, Eric Lemle wrote: Tried but nothing shows up. Is this what you meant? So if I get the latest struts.. this might work? You definitely can't pass parameters through a call; the end result of the insert tag is a call to requestDispatcher.include(...), which doesn't acc

RE: Newbie Page flow question

2005-02-17 Thread Karr, David
You'll have a form with at least two submit buttons. One to submit the form, and another to lookup some other data. You'll probably use a LookupDispatchAction (or something similar) to map each submit button to different methods in your Action class. The lookup method will lookup the data, store

[ANNOUNCEMENT] New Struts subproject: Struts Flow

2005-02-17 Thread Don Brown
The Apache Struts team is pleased to announce the adoption of its latest subproject, Struts Flow, a continuations-based approach to complex web workflows. Struts Flow originated at the struts.sf.net project and has been formally adopted now as a Struts subproject. Struts Flow is a port of Apache

??? Re: I have a jsp. that has two included jsp's, only one shows up.

2005-02-17 Thread Eric Lemle
Tried but nothing shows up. Is this what you meant? So if I get the latest struts.. this might work? -Eric Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail

Tiles Question

2005-02-17 Thread Matthew Hughes
I think I am misunderstanding something. I have two layout JSPs in my application doc.mainLayout doc.admin ... Basically mainLayout.jsp does 99% of the layout work. adminLayout.jsp just looks like this: --adminLayout.jsp--- <%@ page language="java" contentType="text/html;

RE: ActionMessage without using a key from application.properties

2005-02-17 Thread Chaikin, Yaakov Y.
This might not be good for I18n, but if you just have some custom message you want to bundle together with your ActionMessages, it would be nice to do this without this hack... or having to resort to sticking it straight on the request under some key. I think, this is a pretty good question, flexi

RE: ActionMessage without using a key from application.properties

2005-02-17 Thread Chaikin, Yaakov Y.
Right. I thought of this. Is there a way to do this without this hack? Whoops... I mean simulation... :) Thanks. -Original Message- From: Scott Piker [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 4:21 PM To: user@struts.apache.org Subject: Re: ActionMessage without using a

Re: ActionMessage without using a key from application.properties

2005-02-17 Thread Scott Piker
You usually want to avoid doing this because you lose a lot of flexibility, but you can pretty easily simulate this behavior by just defining an empty message in your .properties file with one argument: message.custom={0} and then use the arg0 slot for your hard-coded custom message new ActionMe

ActionMessage without using a key from application.properties

2005-02-17 Thread J Q
Is there a way to construct a completely custom message without using a key from application.properties? ActionMessage constructor seems to insist on having a key that would be mapped to the application.properties. Thanks, JQ. -

Thank you all for answering Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Yan Hu
Hello Guys: First and foremost, I wanted to thank you all for answering my question. I believe I can learn a lot of Struts skills and other related skills here. Thanks again. > Yan Hu wrote: > > >Hello Guys: > > This is my first real Struts-based project. I am fairly new to Struts. I > >

Re: Mapped properties and STRUTS-FACES

2005-02-17 Thread Craig McClanahan
On Thu, 17 Feb 2005 10:25:23 +0100, Ramiro Alba Queipo <[EMAIL PROTECTED]> wrote: > Hello everybody: > > I am trying to migrate from an struts application to STRUTS + JSF + > TILES. The problem I have is that the old struts application is using > heavily mapped properties at the action forms bean

Re: [OT] Auto comment generation

2005-02-17 Thread Ashish Kulkarni
Hi http://jalopy.sourceforge.net/ this is a pretty cool plug-in to format the code as well as add java documentation Ashish --- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > Anyone know of a tool (Eclipse plug-in perhaps?) > that will take a Java > source file and put javadoc comments (a ske

Re: Tiles scope headache assistance needed.

2005-02-17 Thread Brian Moseley
Jason Long wrote: try: tho i recommend using jstl's c:foreach instead of logic:iterate :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
Where are all the Tiles gurus? I asked this question in less detail about a month ago and I still have not made any progress in this matter. Please see original message below. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.super

RE: Tiles scope headache assistance needed.

2005-02-17 Thread Jason Long
Where are all the Tiles gurus? I asked this question in less detail about a month ago and I still have not made any progress in this matter. Please see original message below. Thank you for your time, Jason Long CEO and Chief Software Engineer BS Physics, MS Chemical Engineering http://www.super

Re: Building accurate URI

2005-02-17 Thread Karan
Matt, Try this: href='<@html.rewrite page=""/>/FTL/resources/css/mainstyle.css' (its in the freemarker syntax, so change that for JSPs) When I use this, all links, etc. have to be given the path relative to the context and not to your current document. That way I can keep everythign in order, and

Building accurate URI

2005-02-17 Thread Matt Hughes
Previously all the JSPs in my application were in the same folder. To organize things a bit, I categorized them according to action and now they are nice, but the problem is all the links in my application are relative. And they all expect that they are in the same base folder, but now they'r

RE: [OT] Auto comment generation

2005-02-17 Thread Slattery, Tim - BLS
> I'm not seeing that option Tim... I'm using v9.0.3.1... I > don't see anything about comments when I right-click > anywhere, nor do I see a Source menu (or source anywhere that > I looked). I'm using 9.0.5.2, so maybe they've added it since your version. -- Tim Slattery [EMAIL PROTECTED] -

Re: Temp file being written to / with Font

2005-02-17 Thread Shey Rab Pawo
Do you have any idea why that is not working for me? Is there something I should do with the Font object to close it or something? That seems unlikely but I wonder. I am running this on XP Professional on a laptop in development. On Thu, 17 Feb 2005 09:54:57 +, Mark Benussi <[EMAIL PROTECT

RE: [OT] Auto comment generation

2005-02-17 Thread Frank W. Zammetti
I'm not seeing that option Tim... I'm using v9.0.3.1... I don't see anything about comments when I right-click anywhere, nor do I see a Source menu (or source anywhere that I looked). I'm not all that familiar with jDeveloper, I usually stay away from IDEs in general unless I have something specif

RE: [OT] Auto comment generation

2005-02-17 Thread Slattery, Tim - BLS
> I wound up using NetBeans. I couldn't find the function in > jDeveloper Right-click in your Java class, choose "Add Javadoc Comments". Or "Source|Add Javadoc Comments". -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-

RE: [OT] Auto comment generation

2005-02-17 Thread Frank W. Zammetti
I wound up using NetBeans. I couldn't find the function in jDeveloper, and Eclipse seems to be a manual process (which is still helpful). Thanks for all the suggestions everyone that responded! -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com

Re: [OT] Auto comment generation

2005-02-17 Thread Larry Meadors
In eclipse, you can do them one at a time easily: Go above the method, and type /** and press enter. It fills in the skeleton for you. You can also press Alt+Shift+J while in the method to do the same thing. Larry On Thu, 17 Feb 2005 13:04:56 -0500 (EST), Frank W. Zammetti <[EMAIL PROTECTED]

RE: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Arvind.Bir
Hi, This is pretty simple application and the requirements are not new for web based projects. You don't have to create individual JSP pages for each of the student. But yes, layout (template for each of the student is going to be same). Information inserted can vary from student to student. Mor

Trying to create a form object in code

2005-02-17 Thread Norris Shelton
FormBeanConfig cfg = mapping.getModuleConfig().findFormBeanConfig(name); form =(DynaActionForm) DynaActionFormClass.createDynaActionFormClass(cfg).newInstance(); The cfg object has the properties for my dyna bean, but I get: java.lang.IllegalArgumentException: ActionForm is not dynamic at

RE: [OT] Auto comment generation

2005-02-17 Thread Andy Dailey
netbeans has this feature. www.netbeans.org > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 1:05 PM > To: user@struts.apache.org > Subject: [OT] Auto comment generation > > > Anyone know of a tool (Eclipse plug-in perhaps

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Nic Werner
It looks like your issue isn't about customized page names, but customized links. I don't know your implementation, and I'm going to abstract out the Tiles/Struts portion, but here is how I would do it: - For the intro page, load the class schedule from the database, and its according class co

RE: [OT] Auto comment generation

2005-02-17 Thread Slattery, Tim - BLS
> Anyone know of a tool (Eclipse plug-in perhaps?) that will > take a Java source file and put javadoc comments (a skeleton > basically) before each method, that will include all > parameters, methods and throws?, and then I just have to fill > in the details? Oracle JDeveloper (free from Or

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Karan
Apart from all the other suggestions, if you're going to be doing this kind of work often you might want to look at Freemarker: just create the template and retreive all customizable data from ur framework. HTHs, Karan Yan Hu wrote: Hello Guys: This is my first real Struts-based project. I am

[OT] Auto comment generation

2005-02-17 Thread Frank W. Zammetti
Anyone know of a tool (Eclipse plug-in perhaps?) that will take a Java source file and put javadoc comments (a skeleton basically) before each method, that will include all parameters, methods and throws?, and then I just have to fill in the details? Thanks! -- Frank W. Zammetti Founder and Chie

Re: common information in every view

2005-02-17 Thread Larry Meadors
The only thing I do not like about that solution is that it marries you to both Struts and Tiles. Both are fine tools, but I do not understand how they simplify the process enough to justify using them over a simpler filter+jstl+tiles solution. Larry On Thu, 17 Feb 2005 18:45:31 +0100, Mark Low

Newbie Page flow question

2005-02-17 Thread Nic Werner
Greetings, I've searched through the archives but can't really seem to find a solution. If one exists, please just point me there. I have a form that is to be filled out. However, one of the fields needs to have a seperate lookup, and then return back to the original page with the results.

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Mark Lowe
For example, a student is taking Eng101, Chem101, and CS120 this semester These all look like modules you'll want to search for "indexed properties" on the archieves, and you'll start to see how to go about this. StudentBean student = new StudentBean(); CourseBean course = new Course(); course.se

Re: common information in every view

2005-02-17 Thread Mark Lowe
I agree that tiles controller is the nicest option in terms of design, but last time i use tiles controllers for exactly this problem I found that tiles controllers don't throw exceptions in such a way that a handler can deal with them, and an informative way during development. But they are a nice

Re: ?

2005-02-17 Thread Mark Lowe
Similar to c:url, rarely useful for media like stylesheet, javascripts and images as appends session ids. Mark On Thu, 17 Feb 2005 10:11:49 -0700, Eric Lemle <[EMAIL PROTECTED]> wrote: > > definition is ... Renders a URI > > What exactly does this do? Is it similar to > -Eric > > Eric D.

?

2005-02-17 Thread Eric Lemle

Re: how to integrate struts project with hibernate?

2005-02-17 Thread Eric Lemle
I was referring to just the LabelValueBean class not the entire Struts jar. Eric D. Lemle Senior Programmer / Analyst Intermountain Health Care 36 South State Street, Suite 1100 Salt Lake City, Utah 84111 United States of America (USA) (801) 442-3688 -- e-mail: [EMAIL PROTECTED] >>> [EMAIL PR

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Jerry Tan
Hello Yan, While the concept of constructing JSP's dynamically is an intriguing one, I am still of the opinion that you can handle your situation below in a more conventional manner. For example, one simper way would be to have an array of String, which represents that particular student's cours

Re: Newbie--->Construct JSPs on the fly

2005-02-17 Thread Frank W. Zammetti
Do you really need to construct JSPs on-the-fly or do you instead need to create a template that contains sections that are modified on a per-student basis? The student-specific page sounds to me from what you wrote to more or less just be a links page with links to the classes specific to each st

Newbie--->Construct JSPs on the fly

2005-02-17 Thread Yan Hu
Hello Guys: This is my first real Struts-based project. I am fairly new to Struts. I know some basics and tried a few toy examples. Now it is time for a serious one. My project involes students. Each student has her own page that might take her to pages that are customized just for her.

Customizing Validator

2005-02-17 Thread _3_Sergio Stateri Junior
Hi, I´m trying to do a Validator class in Struts 1.2 with J2SE 1.4.2. I have got some sample codes, but all sample codes use Struts 1.1, and they don´t work at Struts 1.2... Can anyone send me a sample code of a Validator Class using Struts 1.2 ? Here´s the code that is

Re: how to integrate struts project with hibernate?

2005-02-17 Thread Bill Schneider
IMO, it is not wise to have your DAO return a list of LabelValueBean objects. I would be more likely to use a Map or a simple bean to do that instead of marrying your DAO layer to Struts. Struts' tag can introspect the label and value from the bean properties of your choice. This works for *all*

Re: common information in every view

2005-02-17 Thread Bill Schneider
3. load the menu options one time from the database and place in the application scope. While this is the best memory option (and probably the most efficient for speed), I'm not sure how I would reload this after a change was made to the underlying database (or even detect that a change was made).

Re: You must specify exactly one of "forward", "href", or "page"

2005-02-17 Thread [EMAIL PROTECTED]
Check your relative path of image file give image fiel alone Webappa name wil be appended automatically by struts regards Senthil Vijay Kumar wrote: Hai I am new to struts I am using to call a java script and for displaying the images But it's giving an error javax.servlet.jsp.JspException: Canno

Re: JavaScript Integer Validation - Leading zeros

2005-02-17 Thread snekse
> Although JavaScript is not Java, the language designers adopted the > same syntax for integer literals that is found in Java (and C/C++/C#) > ... integer literals with a leading 0 are interpreted to be octal > literals, unless they start with 0x or 0X to indicate hexadecimal > literals. > > Crai

RE: Struts tags inside struts tags

2005-02-17 Thread Paul McCulloch
It is not possible. This a restriction of JSP rather than Struts. One workaround would be: Paul > -Original Message- > From: Ann Vah [mailto:[EMAIL PROTECTED] > Sent: 17 February 2005 14:34 > To: Struts Users Mailing List > Subject: Struts tags inside struts tags > > > I

Re: You must specify exactly one of "forward", "href", or "page"

2005-02-17 Thread Jeff Beal
Don't use to execute a JavaScript. Just use plain old HTML. -- Jeff Vijay Kumar wrote: Hai I am new to struts I am using to call a java script and for displaying the images But it's giving an error javax.servlet.jsp.JspException: Cannot create rewrite URL: java.net.MalformedURL Exception: You

Struts tags inside struts tags

2005-02-17 Thread Ann Vah
Is it not possible to use Struts tags inside struts tags? For example, is not possible to do this: "> thanks in advance

Re: common information in every view

2005-02-17 Thread Larry Meadors
Use a caching DAO layer (like iBATIS), and let it cache the data. Then, to get the data, use a filter and have it run on requests for resources that match "*.do" and "*.jsp". The filter can put the menu into request scope (remember, it is just a reference to the menu, not the entire menu structure,

Re: [OT] For those who love fur, please take a look

2005-02-17 Thread Larry Meadors
This is TOTALLY inappropriate. You have just won a free entry in my "delete immediately" filter. Larry On Thu, 17 Feb 2005 14:57:35 +0800, Koon Yue Lam <[EMAIL PROTECTED]> wrote: > ** Be prepared, rate R ** - To unsubscribe, e

Re: common information in every view

2005-02-17 Thread Mark Lowe
If the menu is to be the same for all users, then I'd have a servlet that contructs the menu at startup and places it in the application context. Mark On Wed, 16 Feb 2005 17:29:37 -0700, Mr Maillist <[EMAIL PROTECTED]> wrote: > Hello, > > I am building an application that will store menu options

Re: Interating through a Map [ which has DTO in the values ] using l ogic:iterate

2005-02-17 Thread Robert Taylor
It may be better to create a value object containing the Dept DTO and its respective collection of EmpDetails DTO. Then you don't have to "jump through hoops" when using Maps. /robert Sachin Bhutada wrote: hi, I have a HashMap which has Key and Value both as DTOs

Compiling STRUTS and STRUTS-FACES with servlet 2.4 and jsp 2.0

2005-02-17 Thread Ramiro Alba Queipo
Hello everybody: I was using tomcat 4.0.24 to develop an application with struts, I and decided to migrate to tomcat 5.0.28 so as I could user EL natively from JSP 2.0. I thought it would be a good idea to compile STRUTS 1.2.4 under servlet 2.4 and JSP 2.0 from tomcat 5.0.28. Everything went wrigh

Re: Temp file being written to / with Font

2005-02-17 Thread Mark Benussi
Yes it did. Original Message Follows From: Shey Rab Pawo <[EMAIL PROTECTED]> Reply-To: Shey Rab Pawo <[EMAIL PROTECTED]> To: Mark Benussi <[EMAIL PROTECTED]> CC: user@struts.apache.org Subject: Re: Temp file being written to / with Font Date: Wed, 16 Feb 2005 13:20:50 -0800 I was too fast i

re: bean:message default value

2005-02-17 Thread lukas_oesterreicher
As noone has responded to my problem placing a default value in case of a non-existent tag, I found my own solution for it: I created my own tld and corresponding class, adding parameters like baseKey and defaultValue. It was pretty easy: Just copy and past the existing struts implementation and

Mapped properties and STRUTS-FACES

2005-02-17 Thread Ramiro Alba Queipo
Hello everybody: I am trying to migrate from an struts application to STRUTS + JSF + TILES. The problem I have is that the old struts application is using heavily mapped properties at the action forms beans, and I can manage to make them work under JSF. For example, at the old application: and

Re: Regarding HTML:options tag

2005-02-17 Thread Pavel Kolesnikov
I guess you should better use the "collection" attribute instead of "name". See http://struts.apache.org/userGuide/struts-html.html#options Pavel On Thu, 17 Feb 2005 14:05:06 +0530, Krishna Mohan Radhakrishnan <[EMAIL PROTECTED]> wrote: > > > HI, > > I have one doubt regarding the use of html

Regarding HTML:options tag

2005-02-17 Thread Krishna Mohan Radhakrishnan
HI, I have one doubt regarding the use of html:options tag. In the jsp itself I have got a set of values like List questions= "SOME VALUE OBTAINED FROM THE DATABASE- ie name value pairs". In the jsp I have a html:options tag. I don't have any entries in the form bean for the collection . O

Re: log4j struts

2005-02-17 Thread Jan-Jaap Endenburg - Vera
Hi! Can you give me an example of specifying log4j as init-param. within struts-config.xml? Thanks, Jan-Jaap Ye, Young wrote: yes, you can. -Original Message- From: Brian McGovern [mailto:[EMAIL PROTECTED] Sent: 2005/02/16 4:48 PM To: Struts Users Mailing List Subject: log4j struts I want

Interating through a Map [ which has DTO in the values ] using l ogic:iterate

2005-02-17 Thread Sachin Bhutada
hi, I have a HashMap which has Key and Value both as DTOs Key contains Dept DTO (Dept has Dept No, Dept Name) Value contains Collection of EmpDetails DTO (It has Name, Email-Id, etc information) In the jsp page I want to iterate through this Map using logic iterate tag so