Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Steve Raeburn
Here's *one* way to achieve what you're after: [left] [right] link1 link2 Courtesy of Eric Meyer http://www.complexspiral.com/publications/containing-floats/ All that's different to your first example is the addition of an additional 'float' on the outer div. This causes it to expand

Re: Tomcat not displaying (or logging) runtime exceptions for STRUTS !!

2006-01-03 Thread Mon Cab
You were right Laurie. I thought I had commented out the , however, I had used instead of <%-- --%>, so the code was still included in the servlet. Thanks for the tip. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Mon Cab wrote: > > Please help. > > > > It seems that Tomcat is no lon

RE: Web Push Technology

2006-01-03 Thread souravm
Thanks Frank/Michael/Rick for your inputs. I'm in synch with your arguments and thought points. Simulating server side push by using polling solution with right interval should be the solution having the best trade off in terms of scalability, and interoperability. Regards, Sourav -Origina

Re: ErrorStyleClass

2006-01-03 Thread Niall Pemberton
For the errorStyleClass to be used there need to be a set of "ActionMessages" stored under the appropriate key (i.e. Globals.ERROR_KEY) and there needs to be a message for the field in error - i.e. in your case a message associated with the "lastName" property. If your returning an appropriate set

Re: forcing relative urls from struts instead of the absolute urls!

2006-01-03 Thread Michael P. Soulier
On 13/12/05 Max Cooper did say: > It sounds like your main challenge is that you have requests to a web > server that look like http://web.domain.com/foo/bar/me mapped to an app > deployed on an app server that you might access directly as > http://app.domain.com/me. The app will make site-root re

RE: struts logic:iterate ---- c:forEach of JSTL

2006-01-03 Thread George.Dinwiddie
Have you tried using instead of ? > -Original Message- > From: fea jabi [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 03, 2006 11:37 AM > To: user@struts.apache.org > Subject: struts logic:iterate c:forEach of JSTL > > > In struts config file I have it as > > > ...

Re: ErrorStyleClass

2006-01-03 Thread RathinaGanesh MeenakshiSundaram
Thanks. I figured out the issue. I had a different version of struts in another app, and somehow that was classloader was picking up that older version.. But, still after I get them right, the text field is not picking up the errorStyleClass and just has the styleClass, even incase of error..! Her

Re: Web Push Technology

2006-01-03 Thread Frank W. Zammetti
Indeed, Rick is correct, this is not really technically feasible given the basic nature of HTTP. Any solution would have to be of pull nature, unless you get into applets of ActiveX or such things. You essentially need to have a server running on the client... then the "real" server could, theore

Re: Web Push Technology

2006-01-03 Thread Michael Jouravlev
On 1/3/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > > 2. What are the relevant technologies avaialble in Java/J2EE for this - > > a) How AJAX an be used ? > > I'd use the buzz word Ajax for that. I only know the very basics of it How an async HTTP request can be a push technology? --

RE: struts-el tags

2006-01-03 Thread Sandhya Lakshmi
Lakshmi <[EMAIL PROTECTED]> wrote: > I downloaded from nightly builds but it has > code(struts-el-1.3.0-dev-20060103-src.zip) and > documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags > but not the libraries. The struts-el-1.3.0-dev.jar file is there. By "lib

Re: struts-el tags

2006-01-03 Thread Wendy Smoak
On 1/3/06, Sandhya Lakshmi <[EMAIL PROTECTED]> wrote: > I downloaded from nightly builds but it has > code(struts-el-1.3.0-dev-20060103-src.zip) and > documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags > but not the libraries. The struts-el-1.3.0-dev.jar

Re: Web Push Technology

2006-01-03 Thread Rick Reumann
souravm wrote the following on 1/2/2006 11:34 PM: The push will need to be initiated by an alert server or streaming engine, which will keep pushing data (alerts) to the users's browsers. I don't believe that is possible unless you create some kind of Applet, but then you aren't really using

RE: struts-el tags

2006-01-03 Thread Sandhya Lakshmi
Ted, I downloaded from nightly builds but it has code(struts-el-1.3.0-dev-20060103-src.zip) and documentation(struts-el-1.3.0-dev-20060103.zip) of the Struts EL tags but not the libraries. Eventhough on downloading the latest version of struts 1.2.8(struts-1.2.8-lib.zip ) version I did not find

Re: struts-el tags

2006-01-03 Thread Ted Husted
The nightly builds for the upcoming Struts EL 1.3.0 release are here: * http://svn.apache.org/builds/struts/maven/trunk/nightly/struts-el/ The best available version is bundled with the Struts 1.2.8 release: * http://struts.apache.org/download.cgi The libaries are labeled struts-bean-el, struts

Re: JSF with Struts

2006-01-03 Thread Ted Husted
There's a JSF integration library (as yet unreleased) that seems to be working for some people, but the general feeling is that the library breeds a clumsy architecture. * http://struts.apache.org/struts-faces/index.html Other than that, the best recommendation is that if you want to use JSF, it'

Re: reset method in ActionForm

2006-01-03 Thread Andre Van Klaveren
Q: When exactly this method has to be used and when does this get called? A: The reset method is called for each new request, for both request and session scoped ActionForms, before the ActionForm is populated from the request. Here's the sequence of events: 1. Request received by controller. 2.

Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Michael Jouravlev
On 1/3/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I would even go so far as to ask, aside from the obvious benefit of being > able to change the look and feel of a site by pointing to a new > stylesheet, what is the problem with table-based layouts? Is the easy > swapping of stylesheets th

Re: reset method in ActionForm

2006-01-03 Thread Ted Husted
On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Reset gets called just before the form is populated and the most common use > is for resetting boolean properties set using checkboxes. This is because if > the checkbox is not "checked" browsers do no submit a value, so the > "population" mec

Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Rick Reumann
Dave Newton wrote the following on 1/3/2006 1:01 PM: I would just have a div with a table in it to avoid all those issues. Right that's what I typically do. I just keep hearing about how you should use divs for layouts, so every so often, I go back to wrestling div junk and get frustrated.

Re: reset method in ActionForm

2006-01-03 Thread Niall Pemberton
Reset gets called just before the form is populated and the most common use is for resetting boolean properties set using checkboxes. This is because if the checkbox is not "checked" browsers do no submit a value, so the "population" mechanism doesn't set the property to "false" if the checkbox is

reset method in ActionForm

2006-01-03 Thread fea jabi
When exactly this method has to be used and when does this get called? Why do the checkboxes have to be reset? Prepopulating the formbean is done in Action class. hence, it's not clear to me the exact use of using the reset method. Thanks.

Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Dave Newton
Rick Reumann wrote: What I just want as a test is a div with a border around it and then two divs inside that div with text = One set of text aligned in a div to the left, the other in a div text-aligned to the right. Then below the main div some text: I would just have a div with a table in

Re: ErrorStyleClass

2006-01-03 Thread Niall Pemberton
OK but a "setter" does exist for that property in the tag in Struts 1.2.7 and Struts 1.2.8 so somethings wrong in your app somewhere. Niall - Original Message - From: "RathinaGanesh MeenakshiSundaram" <[EMAIL PROTECTED]> Sent: Tuesday, January 03, 2006 5:23 PM Niall, I checked up the

Re: ErrorStyleClass

2006-01-03 Thread RathinaGanesh MeenakshiSundaram
Niall, I checked up the struts version in the war file. And, Iam sure, Iam using 1.2.8 version. Although, I previously used 1.2.7 Thanks, Ganesh. On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > Ganesh, > > This is almost certainly a problem in your deployment/application rather > than

struts-el tags

2006-01-03 Thread Sandhya Lakshmi
I am trying to download struts-el tags .But I could not find them can anyone mail me the link to download the struts-el tag library Thanks Sandhya --- St Jude Children's Research Hospital is internationally recogni

Re: OT/ JSF & Indexed properties

2006-01-03 Thread Craig McClanahan
On 1/3/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > Hello all, > Sorry for the OT ... I was wondering, for anyone who has switched > From struts to JSF, how have you dealt with indexed properties? > I am currently using MyFaces, and looks like I have an usecase in which > I need to use

Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Nick Heudecker
Have you tried the table, table-row and table-cell display properties? But if that works, I'd just go back to tables.

Re: [OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Frank W. Zammetti
No, you are not alone :) I too have found it to be, shall we say, not as straight-forward as table-based layouts. And I am relatively conversant in CSS (no guru or anything, but I can usually make it to do what I want in the end). Of course, the benefits are pretty obvious (anyone as yet unconvi

Re: Which method sets bean into desired scope

2006-01-03 Thread Niall Pemberton
Theres no way of extending it since all the logic is in a single execute(ActionContext) method - however you can simply create your own Command implementation and configure the ComposableRequestProcessor in Struts 1.3 to use your implementation. Confuguring Struts 1.3 to use your own command you c

struts logic:iterate ---- c:forEach of JSTL

2006-01-03 Thread fea jabi
In struts config file I have it as ... In prepare action have the below which creates this list private ArrayList getItems(DynaValidatorForm form1) { LabelValueBean lblValueBean1 = new LabelValueBean("Visa1", "V1"); LabelValueBean lblValueBean2 = new

Re: Which method sets bean into desired scope

2006-01-03 Thread Jim Reynolds
Naill, Is there a way to extend the CreateActionForm class? It is called from in the RequestProcessor Class? On 1/3/06, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Its still in the processActionForm method in Struts 1.2.x - but in Struts > 1.3 its moved into the CreateActionForm command: > > h

Re: Which method sets bean into desired scope

2006-01-03 Thread Niall Pemberton
Its still in the processActionForm method in Struts 1.2.x - but in Struts 1.3 its moved into the CreateActionForm command: http://svn.apache.org/viewcvs.cgi/struts/action/trunk/src/java/org/apache/struts/chain/commands/ There is also another place that creates the form beans - the jsp tag will a

[OT] If you hate positioning with css raise your hand... actually some help:)

2006-01-03 Thread Rick Reumann
I always end up with nothing but trouble trying to position divs with css that is a BREEZE to do with tables. css positioning is supposed to be the layout savior yet my experience with it always ends up with headaches - try something, see if it works, try something else, set if it works. Oh and

Re: ErrorStyleClass

2006-01-03 Thread Niall Pemberton
Ganesh, This is almost certainly a problem in your deployment/application rather than a bug in struts - I use this feature with Struts 1.2.8 and it works fine. Unless you can demonstrate that its a bug in struts rather than your app then I am likely to close any bug you open for this as "WORKSFORM

Re: Which method sets bean into desired scope

2006-01-03 Thread David Evans
In struts 1.1 (the only one i have the source for) its in the processActionForm method. dave On Tue, 2006-01-03 at 08:38 -0600, Jim Reynolds wrote: > Hello and Happy New Year > > I am trying to figure out which method (of the many) in the request > processor physically takes the form bean and s

Re: Which method sets bean into desired scope

2006-01-03 Thread Srinivas Jadcharla
May be this article is helpful.If it is helpful please let us know. http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html On 1/3/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: > > Hello and Happy New Year > > I am trying to figure out which method (of the many) in the request > proces

Which method sets bean into desired scope

2006-01-03 Thread Jim Reynolds
Hello and Happy New Year I am trying to figure out which method (of the many) in the request processor physically takes the form bean and sets it into the desired scope? Based upon the configuration for said Action Mapping. Regards ---

JSF with Struts

2006-01-03 Thread Markus
Hi everybody! can anybody tell me good links about using JSF with Struts? best regards, markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts -- Logging

2006-01-03 Thread Ted Husted
You might want to look at how the latest MailReader application handles logging. * http://tinyurl.com/7jhxo Look for the "log." statements. Unfortunately, it's not being included in a nightly build right now, so the only other way to view the source is through a Subversion checkout. * file:///e

Re: move from PHP to Struts

2006-01-03 Thread Tuna Ozkasap
You do not need any help for using eclipse with struts, just learn the struts and you will see that my-eclipse plug-in is self-explanatory for struts application development. On 1/3/06, Bogdan Paduraru <[EMAIL PROTECTED]> wrote: > > Hi all, > > Thanks for answers so far. > > The thing is the ori

Re: managing files

2006-01-03 Thread Ted Husted
I'm replying to the User list, Rakesh, since this not a development question. My favorite approach is to use a separate configuration for each "story" (use-case, workflow, whatever) in the application, and one other for global elements. That way, in a multi-developer situation, different develope

Re: ErrorStyleClass

2006-01-03 Thread RathinaGanesh MeenakshiSundaram
Thanks Laurie I was going thru' over the versions of struts all thru' my application. I was previously using 1.2.7. But did'nt help. Then, again, changed to 1.2.8 version..But, still it throws me the same error message. I'm sure, Iam using the errorStyleClass in only one html:text tag. I'll t

using drop down menu in struts

2006-01-03 Thread Sony Thomas
Hello Friends, "Happy NewYear to all" I have a problem in displaying a set of languages in a dropdown menu in my struts application. Problem:: I have to display some four langauges in a drop down menu. Name : English Code: en; Name: Portughese Code:pt; Name: French Code: fr I am setting t

RE: move from PHP to Struts

2006-01-03 Thread Bogdan Paduraru
Hi all, Thanks for answers so far. The thing is the original people who wrote this PHP project didn't know too much about programming and I inherited this project. I'm an object programming addict and also I would prefer to use something that has been proved by industry as good technology. I'm n

Re: move from PHP to Struts

2006-01-03 Thread hicham abassi
I think that before choosing a Java Web framework, you should perhaps analyze the migration. Many php webapps doesn't implement MVC design pattern. I think that you should calculate the necessary time to completly refactor your existing webapp into a new webapp. Sometime, we think that porting a ph

Re: move from PHP to Struts

2006-01-03 Thread Dave Newton
Bogdan Paduraru wrote: I'm managing a PHP/postgreSQL project. The purpose of the project is to display some items (i.e : houses etc) on webpages, along with HTML text. The problem is this project became too big and almost impossible to handle since you can't separate very well presentation fr

Re: move from PHP to Struts

2006-01-03 Thread Rick R
Bogdan Paduraru wrote: Any advice would be helpful, also when you recommend me something would be nice to point some links with tutorials too because I also want to train my programmers. I'm in the process of finishing up an upgrade to my old struts site which people have found helpful with

Data Grid in Web Application

2006-01-03 Thread Raghuveer
Is there Any possiability of implementing Data Grid in Web Application . Can Any One Give Some information on this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

move from PHP to Struts

2006-01-03 Thread Bogdan Paduraru
Hi, I'm managing a PHP/postgreSQL project. The purpose of the project is to display some items (i.e : houses etc) on webpages, along with HTML text. The problem is this project became too big and almost impossible to handle since you can't separate very well presentation from logic. I convi

OT/ JSF & Indexed properties

2006-01-03 Thread Marco Mistroni
Hello all, Sorry for the OT ... I was wondering, for anyone who has switched >From struts to JSF, how have you dealt with indexed properties? I am currently using MyFaces, and looks like I have an usecase in which I need to use indexed properties.. I was told that JSF does not support htat.