RE: Concatinating 2 strings for a bean:message???

2005-04-05 Thread Günther Wieser
try to use bean:message key='label.owner.section.info.${ownerNumber}' / instead (assuming ownerNumber is a defined bean in any context of this JSP) kr, guenther -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 04, 2005 10:21 PM To:

Re: Forward to tile definition when using modules-modules

2005-04-05 Thread brenmcguire
Check out the controller element of your struts-config.xml. It must be: controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ Otherwise you won't be able to forward to a tile definition. Ciao Antonio Petrelli haim wrote: The project is growing and we need few developers to

Re: Struts with Tiles

2005-04-05 Thread brenmcguire
... but the the problem i'm facing is how to point to a particular region in tiles framework from struts config. What do you exactly mean? Please expose your problem with more details. - To unsubscribe, e-mail: [EMAIL

Re: [OT] tool to compate properties file

2005-04-05 Thread brenmcguire
NetBeans (www.netbeans.org) has a support for multiple-language properties file. It displays them in the same window. Ciao Antonio Petrelli Ashish Kulkarni wrote: Hi is there a tool which will compare properties file and highlight missing keys. I have a situtation where i have properties files

Problem with URL encoding/decoding of UTF-8 characters

2005-04-05 Thread Steve Bosman
The application I am working on has some frameset stuff (which I personally hate, but some things you are forced to live with), occasionally frames within the frameset are set with parameters in the URL which is output using html:rewrite (normally as the result of failed actions). If a parameter

Re: Struts/Spring integration Struts 1.3

2005-04-05 Thread Ted Husted
Since Struts 1.3.x is unreleased, a better place for a thread like this might be the DEV list. On Apr 4, 2005 11:53 PM, Joe Germuska [EMAIL PROTECTED] wrote: Marco: This is clumsy, but you could probably figure out a way to instantiate commands and chains as Spring managed beans and then,

Re: Problem with URL encoding/decoding of UTF-8 characters

2005-04-05 Thread Steve Bosman
On Apr 5, 2005 9:38 AM, Steve Bosman [EMAIL PROTECTED] wrote: The application I am working on has some frameset stuff (which I personally hate, but some things you are forced to live with), occasionally frames within the frameset are set with parameters in the URL which is output using

RE: Struts/Spring integration Struts 1.3

2005-04-05 Thread Marco Mistroni
Hello Joe, Thanx a lot for the reply.. Actually in searching I found out following link http://weblogs.java.net/blog/dcengija/archive/2005/03/commonschain_a.htm l which might be a starting point.. I can use then DelegatingACtionProxy as normal, by setting a property 'command' on my

Struts Unit Tests / Alternative getUserPrincipleCall

2005-04-05 Thread Tim Christopher
Hi, Does anyone know how to code a response to request.getUserPrinciple().getName()? I've used that call at the start of many of my Actions so that only relevant content would be displayed, however I'm now trying to run unit tests I'm getting no where as the User Principle is not in the request.

How to submit a variable number of text fields ?

2005-04-05 Thread Stéphane Zuckerman
Hello, I'm trying to submit a form where the user fills a field with a number, making text fields appear (via Javascript). I've looked around for indexed properties, but the examples aren't addressing my problem, and suppose that the collection where one iterates is already created... Thanks

Re: Concatinating 2 strings for a bean:message???

2005-04-05 Thread Lucas Bern
this way?: bean:message key='%=label.owner.section.info.+ ownerNumber %' / I wish it helps you Lucas [EMAIL PROTECTED] wrote: I am trying to make the following work without success: for a property of... label.owner.section.info.1 = Owner One Details -- Thanks... Mick Knutson

Reloading ApplicationResources

2005-04-05 Thread Mark Benussi
Sorry, cant search the archive list as the link seems to have broken. Does anyone know a way I can configure Struts to watch for changes in the application resources? If it is not possible is there a class I can overload to do it manually?

Html:messages vs html:errors

2005-04-05 Thread Fergal O'Shea
Hi, I'm a Struts newbie. A lot of the books and documentation I have on Struts is pre 1.2 and uses html:errors and ActionErrors. Given ActionErrors is deprecated, I'd like to use ActionMessages for some new JSPs I'm writing. Does anyone know of links to more up-to-date articles or

Re: Html:messages vs html:errors

2005-04-05 Thread Riyaz Mansoor
I'm a Struts newbie. A lot of the books and documentation I have on Struts is pre 1.2 and uses html:errors and ActionErrors. Given ActionErrors is deprecated, I'd like to use ActionMessages for some new JSPs I'm writing. the usage is the same. actionerrors are dependent on certain keys such

[OT] Connection time out DB2

2005-04-05 Thread Janarthan Sathiamurthy
Hi Group, My backend database is DB2. I have a junit test to check the time out of a DB2 connection. A snippet of it is as follows - Connection con = DBConnectionManager.getInstance().getConnection(POOL_NAME); try { System.out.println(Thread to sleep.. + new Date());

Re: Html:messages vs html:errors

2005-04-05 Thread Hubert Rabago
Here are wiki topics that discuss this: http://wiki.apache.org/struts/StrutsDeprecatedActionErrors http://wiki.apache.org/struts/ActionErrorsAndActionMessages Hubert On Apr 5, 2005 8:18 AM, Fergal O'Shea [EMAIL PROTECTED] wrote: Hi, I'm a Struts newbie. A lot of the books and

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Rick Reumann
Stéphane Zuckerman wrote the following on 4/5/2005 7:54 AM: I'm trying to submit a form where the user fills a field with a number, making text fields appear (via Javascript). Not sure what you mean? When the user fills in a number, other text boxes get filled in? If so this just acts like a

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Jeff Beal
If all of your controls have the same name, a String[] form property works, also. (This isn't guaranteed to preserve any order, though.) Other than that and indexed properties, I don't know of a really good way. In my very first web application, before I really knew anything at all, I created a

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Tom Ziemer
Hi, have you looked at map backed forms? Basically you have Hashmap, that stores any number of fields. What you need is something like: [your form] ... private HashMap properties = new java.util.HashMap(); ... public void setProperty(String key, Object value) { this.properties.put(key,

RE: Reloading ApplicationResources

2005-04-05 Thread Fogleson, Allen
Mark, Within struts messageResources are loaded at startup and that's it, they aren't loaded again unless the app is restarted of course. If you wanted this kind of functionality you would have to write a couple classes. 1) Write a MessageResourceFactory class that returns your specific

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Rick Reumann
Jeff Beal wrote the following on 4/5/2005 9:51 AM: I created a simple page like this where the dynamically created form properties were just named field0, field1, field2, field3, etc. I'll be willing to bet almost anything, that Stéphane does not need to do this. Stéphane could you explain a

Tag bean:write inside a cell.

2005-04-05 Thread Marcelo Epstein
Hi, When the attribute of an object is null, I always lost the border of the table.What is a good way to avoid it? ex: table tr tdbean:write namex property=y//td (when y = null, border seems strange!) /tr /table Thanks in advance. Marcelo

Re: How to submit a variable number of text fields ?

2005-04-05 Thread gdeschen
Hello Rick, Let me try to define a simular problem that I have that would most probably answer Stéphane's. But only Stéphane can confirm this. :) I have classes such as: public class Description { private String id; private String Description; ... } public class HistoryItem {

RE: PropertyMessageResourcesFactory not found?!

2005-04-05 Thread Ruth, Brice
So ... No idea from the list? Anyone seen this type of thing before? -Original Message- From: Ruth, Brice [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 4:22 PM To: Struts Users Mailing List Subject: PropertyMessageResourcesFactory not found?! I have a strange problem with

Re: [OT] Connection time out DB2

2005-04-05 Thread Simon Chappell
A couple of thoughts here: 1. The timeout for DB2 should be configurable. If it isn't then there's nothing you can do anyway. If it is configurable, then work with your DBA to get it set to something that you and they agree is reasonable. 2. Don't test the environment. It sounds like your trying

Re: PropertyMessageResourcesFactory not found?!

2005-04-05 Thread Hubert Rabago
Hey Brice, haven't seen you around here in a lng while. Sorry, I haven't seen this type of thing before. Perhaps try the tomcat user list? As you've seen, Struts is behaving correctly here. If anyone has seen this type of thing before, it's more likely been reported in the Tomcat list, or

Re: Tag bean:write inside a cell.

2005-04-05 Thread Jeff Beal
In CSS: table { empty-cells: show; } Another alternative is to include nbsp; in empty table cells See http://www.w3.org/TR/REC-CSS2/tables.html#empty-cells -- Jeff On Apr 5, 2005 10:23 AM, Marcelo Epstein [EMAIL PROTECTED] wrote: Hi, When the attribute of an object is null, I always lost

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Stéphane Zuckerman
Hello again, Let me try to define a simular problem that I have that would most probably answer Stéphane's. But only Stéphane can confirm this. :) Well, I do ! :-) This is the same kind of problem I have encountered. I don't use a list, just an array (although a List would do just fine, of

Re: Tag bean:write inside a cell.

2005-04-05 Thread Marcelo Epstein
Thanks Jeff, But it is not working. I inserted : table { empty-cells: show; } inside my css file. But the cells when the attribute of the bean is null still appears no border. :-( Any sugestion? Or sample code? Thanks in advance Marcelo Jeff Beal wrote: In CSS: table { empty-cells: show; }

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Rick Reumann
Stéphane Zuckerman wrote the following on 4/5/2005 11:06 AM: f.innerHMTL += input type='text' + name='persons[+i+]name' /; // ... and the same for fname and email ... What's the error you are getting? I haven't looked at

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Rick Reumann
Also you will be getting errors when you submit (probably index out of bounds exception) because your intial String[] isn't large enough. I think if you use a LazyList things will be easier. If you use indexed properties for a String[] things are going to become more tricky (although I think

Re: Tag bean:write inside a cell.

2005-04-05 Thread Brandon Mercer
Marcelo Epstein wrote: Thanks Jeff, But it is not working. I inserted : table { empty-cells: show; } inside my css file. But the cells when the attribute of the bean is null still appears no border. :-( Any sugestion? Or sample code? You'll have to make sure that the table you're

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Stéphane Zuckerman
What's the error you are getting? I haven't looked at everything but the above name='persons[+i+]name' / should be name='persons[+i+].name' / Ops. In the original JSP, there is no such mistake ;-) Rick Reumann a écrit : Also you will be getting errors when you submit (probably index out of

JSP error trapping?

2005-04-05 Thread Tommy Wareing
I'm using 1.2.4, with Tiles. (I don't know whether Tiles is relevant, but you might as well know!) I've got global-exceptions exception key=error.general type=java.lang.Exception path=/WEB-INF/globalError.jsp/ /global-exceptions in my struts-config.xml, which catches

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Tommy Wareing
On Tue, 5 Apr 2005 09:51:07 -0400, Jeff Beal [EMAIL PROTECTED] wrote: If all of your controls have the same name, a String[] form property works, also. (This isn't guaranteed to preserve any order, though.) Yes, I thought this too. Which would imply that if you have two controls in your form

How to assign value to variable from property?

2005-04-05 Thread PC Leung
Hello all, The following can print a value in jsp file. bean:write name=loginForm property=username/ How to assign the value to a variable in jsp from a property? Thanks PC Leung - To unsubscribe, e-mail: [EMAIL PROTECTED] For

re: How to assign value to variable from property?

2005-04-05 Thread Leon Rosenberg
bean:define id=variable_name type=...bean:write name=beanname property=propertyname//bean:define Do you mean this kind of assignment? Regards Leon -Ursprüngliche Nachricht- Von: PC Leung [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. April 2005 17:43 An: user@struts.apache.org

re: How to assign value to variable from property?

2005-04-05 Thread Leon Rosenberg
bean:define id=variable_name type=...bean:write name=beanname property=propertyname//bean:define Do you mean this kind of assignment? Regards Leon -Ursprüngliche Nachricht- Von: PC Leung [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. April 2005 17:43 An: user@struts.apache.org

JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Paulo Alvim
Hi, We've been used Struts since 2001 and developed lots of extensions - ActionMapping, LookupDispatchAction, ExceptionHandler, RequestProcessor, Validator, DynaFormBean, tag-files, etc. - along these years. Now we have productivity and a quite stable environment...thanks to the community and

RE: Tag bean:write inside a cell.

2005-04-05 Thread Fogleson, Allen
CSS is probably the easiest solution. An alternate solution would be to subclass the bean:write tag, and add an attribute. Call it alt although in html that often means something else (hmm maybe alttext but whatever...) alt will be the text returned if the write would return null. In this case

Re: JSP error trapping?

2005-04-05 Thread Joe Germuska
At 4:39 PM +0100 4/5/05, Tommy Wareing wrote: I'm using 1.2.4, with Tiles. (I don't know whether Tiles is relevant, but you might as well know!) I've got global-exceptions exception key=error.general type=java.lang.Exception path=/WEB-INF/globalError.jsp/

Re: JSP error trapping?

2005-04-05 Thread Tommy Wareing
On Tue, 5 Apr 2005 10:45:59 -0600, Joe Germuska [EMAIL PROTECTED] wrote: There's really not much Struts can do at this point, because control has been transferred to the JSP. Yeah, thought that might be the case. About the best you can do is judicious application of the JSTL c:catch tag. That

Re: jsp error

2005-04-05 Thread Tommy Wareing
On Tue, 5 Apr 2005 18:01:06 +0200, Andreas Solarik [EMAIL PROTECTED] wrote: Hi Tom! Do you know about the errorpage directive for jsps? Would that help you? Its something along the lines of %@ page contentType=text/html language=java errorPage=UncaughtJspError.jsp % hope that helps. andreas

AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Leon Rosenberg
Aehm, could you please explain what exactly the high level RAD+Html approach is? Regards Leon P.S. RAD as in Rapid Application Development? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Leon Rosenberg
Aehm, could you please explain what exactly the high level RAD+Html approach is? Regards Leon P.S. RAD as in Rapid Application Development? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Html:messages vs html:errors

2005-04-05 Thread Fergal O'Shea
We don't seem to have struts-examples.war readily available here at work. Does anyone have an example of overriding an ActionForm's validate() method, but using ActionMessage instead of ActionError (I presume you still have to use a Collection of ActionErrors), and using html:messages instead of

Re: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Frank W. Zammetti
On Tue, April 5, 2005 12:16 pm, Leon Rosenberg said: Aehm, could you please explain what exactly the high level RAD+Html approach is? Regards Leon P.S. RAD as in Rapid Application Development? I think that is indeed what he is referring to. I could probably just let him answer for

AW: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Leon Rosenberg
Thanx Frank, got it. Some years ago, a bunch of hp managers was trying to sell me (actually it was red bull, but i was in lead for the project) tons of man-days arguing, that with _their_ development process, they called RAD, and which is much better then RUP or XP, they can deliver much better

AW: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Leon Rosenberg
Thanx Frank, got it. Some years ago, a bunch of hp managers was trying to sell me (actually it was red bull, but i was in lead for the project) tons of man-days arguing, that with _their_ development process, they called RAD, and which is much better then RUP or XP, they can deliver much better

Re: AW: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Frank W. Zammetti
On Tue, April 5, 2005 12:50 pm, Leon Rosenberg said: Thanx Frank, got it. Some years ago, a bunch of hp managers was trying to sell me (actually it was red bull, but i was in lead for the project) tons of man-days arguing, that with _their_ development process, they called RAD, and which is

Re: AW: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Frank W. Zammetti
Gee, I kind of wish I had been paying attention and realized this was headed for the list :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 5, 2005 12:56 pm, Frank W. Zammetti said: On Tue, April 5, 2005 12:50 pm, Leon

Re: AW: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Simon Chappell
Not to worry. Just a couple of thousand of your closest friends. :-) On Apr 5, 2005 11:57 AM, Frank W. Zammetti [EMAIL PROTECTED] wrote: Gee, I kind of wish I had been paying attention and realized this was headed for the list :) -- Frank W. Zammetti Founder and Chief Software Architect

Shale And Spring: Using Spring Dependency Injection With Shale

2005-04-05 Thread Duong BaTien
I reply to dev list but the mail was not accepted. BaTien Dear Wiki user, You have subscribed to a wiki page or wiki category on Struts Wiki for change notification. The following page has been changed by CraigMcClanahan: http://wiki.apache.org/struts/ShaleAndSpring New page: +++-- Shale And

Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
Anyone have some code on using JavaScript to open and close popup windows with a Struts Action? Thanks. Jack -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~ - To unsubscribe, e-mail:

Re: Popup Windows with Struts Actions

2005-04-05 Thread Frank W. Zammetti
Not sure what you mean... You mean open the popup from WITHIN an Action? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 5, 2005 1:27 pm, Dakota Jack said: Anyone have some code on using JavaScript to open and close popup

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
No, have the popup url from the page be a struts action -- popup.do. Jack On Apr 5, 2005 10:37 AM, Frank W. Zammetti [EMAIL PROTECTED] wrote: Not sure what you mean... You mean open the popup from WITHIN an Action? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex

Re: Popup Windows with Struts Actions

2005-04-05 Thread Frank W. Zammetti
Ah, good, I was going to yell at you if it was the other :) myLeft = (screen.width) ? (screen.width - 1180) / 2 : 0; myTop = (screen.height) ? (screen.height - 924) / 2 : 0; myOpts = resizable,scrollbars,width=1180,height=924,top= + myTop + ,left= + myLeft + ,; window.open('startup.toa', 'TOA',

RE: Popup Windows with Struts Actions

2005-04-05 Thread Wiebe de Jong
Like this: html:link href=# onclick=window.open('findAccountCSV.do','csv')CSV/html:link Add the javascript to the onclick event. The first parameter is the action and the second is the window name. There are some additional optional parameters that you can add to control the window, etc. Wiebe

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
LOL -- heck, I should have said the other. On Apr 5, 2005 10:49 AM, Frank W. Zammetti [EMAIL PROTECTED] wrote: Ah, good, I was going to yell at you if it was the other :) myLeft = (screen.width) ? (screen.width - 1180) / 2 : 0; myTop = (screen.height) ? (screen.height - 924) / 2 : 0;

questions concerning Lists and indexes and lazy lists, oh my

2005-04-05 Thread Rick Reumann
Ok, I thought I had a pretty firm grasp on the use of Lists for form bean properties and everything works fine in my applications that use Lists for properties. (If I need to make sure the List can grow I wrap them in a LazyList in the reset method like.. //reset(..) myList =

Re: How to submit a variable number of text fields ?

2005-04-05 Thread Rick Reumann
Stéphane Zuckerman wrote the following on 4/5/2005 11:31 AM: because your intial String[] isn't large enough. OK, that explains my problem then. I think if you use a LazyList things will be easier. If you use indexed properties for a String[] things are going to become more tricky (although I

RES: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Paulo Alvim
Thanks for your help, Frank... My English is not so good - but that's exactly what I'd like to say. (you know - after 20 years migrating to lots of tools - COBOL, UNIX, RAD C/S, Java App Server, J2EE, Open-Source, we know that, at the end, delivery value to the end customers has to be the main

Re: Shale And Spring: Using Spring Dependency Injection With Shale

2005-04-05 Thread Craig McClanahan
Please try out the latest nightly version of the use cases sample app. It uses Spring to provide the business logic object (and associated DAO) for the login use case. Craig On Apr 5, 2005 10:13 AM, Duong BaTien [EMAIL PROTECTED] wrote: I reply to dev list but the mail was not accepted.

Re: RES: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Frank W. Zammetti
Did you provide a link for Laszlo? I might have missed it. I've frankly never heard of it, I'd like to take a look. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 5, 2005 2:52 pm, Paulo Alvim said: Thanks for your help,

Re: Html:messages vs html:errors

2005-04-05 Thread Niall Pemberton
From this and other messages I think you've got the wrong end of the stick regarding the html:errors tag. You can use either html:errors or html:messages with ActionMessage, its just down to personal preference. I've added a page comparing html:errors and html:messages here:

(Newbie question) tiles:getAsString error attribute not found

2005-04-05 Thread Neil Aggarwal
Hello: I am a newbie to struts and am trying to get a handle on tiles:getAsString tag. I am having a problem in that is complains that the attribute I am trying to get does not exist. Here is what I have in my tiles-defs.xml: tiles-definitions !-- Base Tiles Definition -- definition

Re: Shale And Spring: Using Spring Dependency Injection With Shale

2005-04-05 Thread Duong BaTien
Thanks. I will find time to do it. BaTien DBGROUPS Craig McClanahan wrote: Please try out the latest nightly version of the use cases sample app. It uses Spring to provide the business logic object (and associated DAO) for the login use case. Craig On Apr 5, 2005 10:13 AM, Duong BaTien [EMAIL

Re: RES: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Van
On Apr 5, 2005 12:15 PM, Frank W. Zammetti [EMAIL PROTECTED] wrote: Did you provide a link for Laszlo? I might have missed it. I've frankly never heard of it, I'd like to take a look. Google Laszlo and it could be your lucky day. :-) http://www.laszlosystems.com/ -- Frank W. Zammetti

Re: questions concerning Lists and indexes and lazy lists, oh my

2005-04-05 Thread Wendy Smoak
From: Rick Reumann [EMAIL PROTECTED] My question is how does Struts/BeanUtils handle two get methods that have different signatures but the same method name, and what exactly is going on? See section 7.2 of the JavaBeans Specification for info on indexed properties. The indexed get/set

Re: RES: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Dave Newton
Frank W. Zammetti wrote: Did you provide a link for Laszlo? I might have missed it. I've frankly never heard of it, I'd like to take a look. I just ran across it, coincidentally, two days ago: it's basically a Flash-generated-via-servlet technology. I'm evaluating it for use almost nearly as we

Re: RES: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Dave Newton
Frank W. Zammetti wrote: Did you provide a link for Laszlo? I might have missed it. I've frankly never heard of it, I'd like to take a look. Uhhh. Yeah. Thank goodness for necks and all that. http://www.laszlosystems.com/ Dave

[OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Fogleson, Allen
Paulo, I can certainly agree that value to the customer is the prime ingredient in any solution. However the problem I have seen, at least here in the US (I can't speak to the west coast but I have had clients up and down the east coast, most of the Midwest, and very little on the west coast) is

Re: questions concerning Lists and indexes and lazy lists, oh my

2005-04-05 Thread Rick Reumann
Wendy Smoak wrote the following on 4/5/2005 3:50 PM: In light of that, I would bet the BeanUtils code always uses the getWhatever() method, and then gets/sets the requested index directly on the List or array. Seems logical to me, but I have not run it in a debugger or looked at the code to be

Re: Locale-specific ActionForm population

2005-04-05 Thread Bernd Hofner
Hello Hubert, thanks for your reply, I'll have a look at your link. possible solutions to your problem using the approach you're following Is there another approach? Do people specify there ActionForm fields as string and do the locale specific parsing when copying the ActionForm fields to their

RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Paulo Alvim
Please check carefully all these Laszlo demos, Al, and you'll see that it's a real killer MVC-View approach that deliver great value for customers (in its segment - of course): http://www.laszlosystems.com/demos/ And please note that you don't have MVC-Control in Laszlo - it's focused in the

RE: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo +Struts

2005-04-05 Thread Fogleson, Allen
Ohh I agree that Laszlo is pure view stuff. My contention is that because it is it doesn't belong in struts core really at all, but it is possible that a contrib module that integrates Laszlo into struts is possible. Al - To

Re: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Rick Reumann
I'm going to have to take a real good look at laszlo. Thanks for bringing it up. I'm so tired of the front end limitations of HTML. Paulo Alvim wrote the following on 4/5/2005 4:37 PM: Please check carefully all these Laszlo demos, Al, and you'll see that it's a real killer MVC-View approach

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
THANX, Wiebe On Apr 5, 2005 10:53 AM, Wiebe de Jong [EMAIL PROTECTED] wrote: Like this: html:link href=# onclick=window.open('findAccountCSV.do','csv')CSV/html:link Add the javascript to the onclick event. The first parameter is the action and the second is the window name. There are

Re: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo +Struts

2005-04-05 Thread Dakota Jack
What is odd about this is that using something like Lazlo, if you know what you are doing, is just using code. Why would you tell a client if you wanted to use some code? What if you coded it yourself? Then could you use it? Do you understand what I am wondering? Jack On Apr 5, 2005 1:39 PM,

RE: Popup Windows with Struts Actions

2005-04-05 Thread Barnett, Brian W.
Sorry, I'm a javascript beginner. Can you provide a sample javascript onclick event? Thanks... -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:54 AM To: 'Struts Users Mailing List' Subject: RE: Popup Windows with Struts Actions Like

Re: why complicate? was: Eliminate Setup Actions

2005-04-05 Thread Dakota Jack
Heck, Tapestry is way ahead of JSF, etc. I have no idea why JSF is seen as new when Tapestry is ahead of the game. On Mar 11, 2005 8:34 PM, Tak Yoshida [EMAIL PROTECTED] wrote: Rick, I really appreciated that you have looked at my small idea. Please write or see the sample code. You must

RES: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Paulo Alvim
you're welcome, Rick... I believe that the Open-Source community have to let the Darwin law works. Without commercial pressure and - yes - sometimes against a few 'not so good or necessary' conventions. That guys provided us great results - so we want to share it and help them! -Mensagem

Re: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Leon Rosenberg
-Ursprüngliche Nachricht- Von: Paulo Alvim [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. April 2005 23:08 An: Struts Users Mailing List Betreff: RES: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts you're welcome, Rick... I believe that the

Re: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Leon Rosenberg
-Ursprüngliche Nachricht- Von: Paulo Alvim [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. April 2005 23:08 An: Struts Users Mailing List Betreff: RES: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts you're welcome, Rick... I believe that the

RE: Popup Windows with Struts Actions

2005-04-05 Thread Wiebe de Jong
The onlick=window.open ... portion is the javascript onclick event. Just use the snippet as presented, changing the two parameters and the link name to suit your needs. Wiebe -Original Message- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 1:47 PM To:

RE: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo+Struts

2005-04-05 Thread Fogleson, Allen
Jack, Oh yeah, that has always been my argument... ok Im using spring. Its just a FRAMEWORK for pete's (usually I want to use a more.. ahem appropriate word there) sake. If I write a custom IOP framework I am allowed to use it, but because we are using external frameworks we suddenly have to

Re: Popup Windows with Struts Actions

2005-04-05 Thread [EMAIL PROTECTED]
Dakota Jack wrote: Anyone have some code on using JavaScript to open and close popup windows with a Struts Action? Thanks. Jack I like very much: html:form action=/yourAction ... target=dontCareThatName onsubmit=window.open('',this.target,'scroolbar=no, toolbar=no');return true; html:text...

RE: Html:messages vs html:errors

2005-04-05 Thread Michael Oliver
This seems to be one of the biggest problems for Struts users, I am still on 1.1 but had so much trouble with html:errors/ that I am sure moving to html:messages will be better, I too want to do that, but not finding what to do. Michael Oliver CTO Alarius Systems LLC 3325 N. Nellis Blvd, #1 Las

html-el:submit 'value' attribute behavior change 1.2.0 to 1.2.6

2005-04-05 Thread Wendy Smoak
I'm getting the following HTML rendered from the JSP below: html-el:submit property=submit value= onclick=setUserAction('Add Prospect'); styleClass=addButton titleKey=button.add.prospect / input type=submit name=submit value=Submit onclick=setUserAction('Add Prospect'); class=addButton

RE: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Smith, Thad
I evaluated Laszlo a few months ago and it is a very impressive (at least visually). It's a good RIA framework and no one can thumb their nose at the fact that it's now open source. Not sure if I can say to definitely use Laszlo over JSF. My question is how are you planning on using Struts as

Re: html-el:submit 'value' attribute behavior change 1.2.0 to 1.2.6

2005-04-05 Thread Niall Pemberton
Apologies, this was my fault - I added a trim() to the value when I re-factored this tag :-( I'll change this back. Niall - Original Message - From: Wendy Smoak [EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:28 PM I'm getting the following HTML rendered from the JSP below:

RES: RES: [OT] RE: AW: JSF (the same old stuff?). We prefer Laszlo + Struts

2005-04-05 Thread Paulo Alvim
Our first tests mixed JSP pages and Laszlo: - flash sometimes call jsp pages for export CSV/XML, print preview, and a few other utilities - struts based portal JSP pages embedeed Laszlo sub-apps - a few cache - form-bean firewall - ...abd we'd like to keep an architecture that could delivery

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
This looks cool to me as well. What is with the target=dontCareThatName? Is this necessary, and, if so, what should dontCareThatName be? Thanks, On Apr 5, 2005 2:29 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dakota Jack wrote: Anyone have some code on using JavaScript to open and close

RE: Html:messages vs html:errors

2005-04-05 Thread Michael Oliver
I tried the example from the HelpTagsErrorsAndMessages.html in my jsp near the top of the body. logic:messagesPresent h3font color=red/fontMessages:/h3 ul html:messages id=msg libean:write name=msg //li /html:messages

RE: New to Struts

2005-04-05 Thread Ruben Cepeda
Balajj, I would go to the struts home page and start looking thru the documentation and tutorial. Here is a link: http://struts.apache.org/userGuide/index.html to the user guide it come in handy. * Ruben Cepeda [EMAIL PROTECTED]

Session Idle

2005-04-05 Thread Eain Mat
What is the simplest way to track the session idle? We cannot use session-timeout in web.xml because there may be leftover operation that is needed to process. Eain Mat

Re: Session Idle

2005-04-05 Thread Martin Gainty
--web.xml contents-- web-app session-config Session-timeout5/session-timeout !-- 5mintimeout-- /session-config then trap on the invalidate method for your HttpSession object Makes sense??? Martin- - Original Message - From: Eain Mat [EMAIL PROTECTED] To: user@struts.apache.org Sent:

RE: Popup Windows with Struts Actions

2005-04-05 Thread Smith, Thad
The window.open javascript method takes an optional target which is the named frame/window that you want to be the destination output. There are a few built in names such as _parent, _blank, _self that serve special purposes. If the browser is unable to find a frame called dontCareThatName, it

Re: Html:messages vs html:errors

2005-04-05 Thread Niall Pemberton
One cause of this is if it can't find the message key in your application resources and you have your message resources configured with null=true. If you change your message resources config to null=false in your struts-config.xml message-resources null=false

Obtaining size of java.util.Collection through Struts/JSTL

2005-04-05 Thread Greg Pelly
What is the prefered way to obtain the size of elements that implement the Collection interface, such as a Vector? I would like something like: c:out value=${requestScope.myVector.size} default=/ elements exist in this Vector! But since the method is called size() and not getSize(), Struts

  1   2   >