struts 2

2006-02-13 Thread Robin Ericsson
Hi, With the merger of Struts and WebWork, where is the best end to start looking? WebWork website says WebWork 2.2 is a good start, is that the basic idea from the Struts side aswell? regards, Robin - To unsubscri

Re: Is there any Jsp template like Smarty template ?

2005-06-29 Thread Robin Ericsson
minhnguyet wrote: Hi All , I write web application using Struts framewok . Model layer is ok . But in view layer , although I almost use taglib . I feel that it is not flexible . If after that we want to change template (html), so , we have to find and edit each code that we include valu

Re: Struts and XML/XSL

2005-05-18 Thread Robin Ericsson
Gaet wrote: In fact, initially I was looking for an alternative to tag that are not part of XHTML specifications anymore. I think that tags were great as I was able to reload only a part of my web page (the body)could I retrieve this functionlity with xsl (is there a caching implementation...i

Re: [OT] Help !! Too many select-box in one page

2005-05-10 Thread Robin Ericsson
the select-boxes can be rendered using javascript on the clientside? Or maybe Ajax, since that seems to be popular at the moment :) -- Robin Ericsson http://robin.vill.ha.kuddkrig.nu/ - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Struts with PHP

2005-05-02 Thread Robin Ericsson
Craig McClanahan wrote: http://jcp.org/en/jsr/detai?id=223 The objectives of this JSR include the ability to connect the object models of a scripting language (with PHP being an obvious target) and a Java virtual machine. Servlet containers make a natural place to integrate this sort of functina

RE: HTML Stripping Spaces.

2005-04-28 Thread Robin Ericsson
You could also try css white-space: pre. Beware though that this doesn't work in IE. Also note that this is a CSS1 feature that was support back in NS4. abcdefg123 006 Regards, Robin -Original Message- From: Neil Meyer [mailto:[EMAIL PROTECTED] Sent: den 28 april 2005 11:25 To:

Re: Using Apache URL Rewriting with Struts?

2005-04-13 Thread Robin Ericsson
Jonathan Corbin wrote: Is there a better way to accomplish this? Or am I stuck with Struts hacks for the time being? You could try rewriting the url in your appserver instead. Haven't got time to try it myself yet though :(. http://tuckey.org/urlrewrite/ -- Robin Ericsson

which tier?

2005-02-13 Thread Robin Ericsson
Hi, I'm doing a small timesheet app with struts using PostgreSQL as backend and as I'm new to struts and also somewhat new to Java I'm trying to decide where I should put the logic. Each row contains a day, start time, end time and break time. Now, I want the business layer to calculate the dur

Re: DynaActionForm problem (newbie probably :)

2005-01-31 Thread Robin Ericsson
Kishore Senji wrote: The idea is that the Converter should be available only when saving the specific form (atleast for now). Once you register it, the same converter is available for that type from that point onwards. It doesn't matter whether you do it in the Plugin or an Action. So, if you want

Re: DynaActionForm problem (newbie probably :)

2005-01-30 Thread Robin Ericsson
Robert Taylor wrote: If the Converters are valid across the entire application, you can register them using a ServletContextListener or a Struts Plugin. ServletContextListeners are only available for containers supporting the Servlet 2.3 spec or higher. The idea is that the Converter should be avai

Re: DynaActionForm problem (newbie probably :)

2005-01-30 Thread Robin Ericsson
Robert Taylor wrote: The reason for the error is that the beanutils package cannot convert the date string into a Date object. You can either populate the form with the formatted date or register a Converter to handle the conversion appropriately. I haven't yet used Converter but this problem has

DynaActionForm problem (newbie probably :)

2005-01-29 Thread Robin Ericsson
Hi, This is my form: This is how I populate it: List days = new ArrayList(); --fill list-- form.set("days", (MyClass[]) days.toArray(new MyClass[days.size()])); This is my jsp-code: The generated html seems correct as it finds the actual data in the MyCla

Re: newbie problem

2005-01-26 Thread Robin Ericsson
Tim wrote: Rick, While you are at it, I suggest you may consider dynamic Forms, DynaActionForm, or Map backed forms, they give you ways to handle form's properties without even knowing the the property names at development time. Its worth trying. I was going for map backed forms as the contents o

Re: newbie problem

2005-01-25 Thread Robin Ericsson
Rick Reumann wrote: Robin Ericsson wrote the following on 1/25/2005 10:52 AM: The select is only there to figure how to populate the next page, however I would like the have the selectlist on the next page aswell so the client may jump between different months, as it will be in this case. For

Re: newbie problem

2005-01-25 Thread Robin Ericsson
Rick Reumann wrote: So, If the first page is to be used only to figure out how to populate the next page based on a parameter selected from the select list, just have the form submit to your Action (assuming a dispatch action it might go to "setUpForm" and in that method you pull out from the Re

newbie problem

2005-01-25 Thread Robin Ericsson
Hi, I'm new to struts and trying to understand all the new things, but this is my problem right now. I have two forms, one form used for a select-list, and another form that will be dynamically build based on the value selected in the first list. So, how would I go on doing this? I've come so