RE: how to learn Struts 2

2006-12-04 Thread Wesslan
This list has numerous posts with this question so search the archives. "Webwork in action" is a good resource because Struts 2 pretty much is Webwork(with a bunch of new features). Hth, Peter -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: den 5 december 2006

Re: more than one parameter in a link

2006-12-04 Thread Nuwan Chandrasoma
use JSTL c:url tag. eg: My Link Thanks, Nuwan - Original Message - From: "Pierre Goupil" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 05, 2006 6:51 AM Subject: more than one parameter in a link Hi, Strutsers ! For my first question here, I would like to know how to make

more than one parameter in a link

2006-12-04 Thread Pierre Goupil
Hi, Strutsers ! For my first question here, I would like to know how to make an which would contain more than one parameter without having to use a bean property. For example, I would like to be able to generate such a link : http://localhost/myApp/myAction.do?type=2&id=12 Of course, I could

Re: how to learn Struts 2

2006-12-04 Thread Nuwan Chandrasoma
http://struts.apache.org/2.x/docs/home.html go through the tutorials and other sections. - Original Message - From: "red phoenix" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, December 05, 2006 1:13 AM Subject: how to learn Struts 2 I am a newer of Struts 2,I

Re: 404 when enabling StrutsTilesListener in struts2

2006-12-04 Thread David H. DeWolf
Hmm, we have another open issue about tiles failure with 2.0.1. The problem seems to be with the version of tiles that's being used. Unfortunately, since 2.0.1 was rolled with a snapshot, it's hard to figure out exactly what it should be. . . Do you have a stack trace? there should be one i

404 when enabling StrutsTilesListener in struts2

2006-12-04 Thread Jared Blitzstein
When I add: org.apache.struts2.tiles.StrutsTilesListenerlistener-class> to my web.xml, all my actions are 404's now. If I comment that line out, my actions go back to working. I set break points in the actions to make sure they're just not finding JSP's, but it's not h

how to learn Struts 2

2006-12-04 Thread red phoenix
I am a newer of Struts 2,I find my application of Struts1 are can't run under Struts 2.I want to know Struts 2,but I don't know how to learn Struts2,would you give me some advice or material to learn? Thanks

Re: Pre-populated option values of a select not got on Submit

2006-12-04 Thread Laurie Harper
What do the 'category' property's getter and setter (getCategory and setCategory methods) in the form bean look like? L. Sridhar Raman wrote: I have a select/option in my JSP like this: property="category" multiple="yes"> I have also defined the bean for catSelList: In the Form java f

Re: how do I start with struts?

2006-12-04 Thread Jonathan Bailey
Check out http://myeclipseide.com . It is a decent eclipse plugin with struts support. Although the best way to learn any application architecture is to start out coding by hand in a terminal...or at least until you are familiar with its structure. On Dec 1, 2006, at 1:17 PM, SOF -

Re: SimpleMenuItem and tiles/putList

2006-12-04 Thread Adam Gordon
Oh sweet! Thanks. That saves us a TON of potential work. --adam Strachan, Paul wrote: HTH -Original Message- From: Adam Gordon [mailto:[EMAIL PROTECTED] Sent: Tuesday, 5 December 2006 10:20 AM To: user@struts.apache.org Subject: SimpleMen

RE: SimpleMenuItem and tiles/putList

2006-12-04 Thread Strachan, Paul
HTH -Original Message- From: Adam Gordon [mailto:[EMAIL PROTECTED] Sent: Tuesday, 5 December 2006 10:20 AM To: user@struts.apache.org Subject: SimpleMenuItem and tiles/putList We have a home grown menu system we're using to display our web app's

Re: [offtopic] periodic cleanup task scheduling for webapp?

2006-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, Leon Rosenberg wrote: >> On 12/4/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: >>> J. Patrick Bedell wrote: >>> Hello, >>> Sorry for the offtopic question! >>> How might I configure my servlet container or webapp web.xml so >>> that a p

RE: Map backed properties

2006-12-04 Thread Strachan, Paul
try something like: ... -Original Message- From: Gundersen, Richard [mailto:[EMAIL PROTECTED] Sent: Monday, 4 December 2006 11:00 PM To: user@struts.apache.org Subject: Map backed properties Hi I've been happily working with map based properties in my forms for a while now, but I

SimpleMenuItem and tiles/putList

2006-12-04 Thread Adam Gordon
We have a home grown menu system we're using to display our web app's menu system and it includes, amongst other things, a method that tells whether or not the menu is visible. SimpleMenuItem does not have this, however, our menu item does and we've extended this class. We have some submenu i

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Dariusz Wojtas
I posted a patch to WW-1536 that solves these date/if-modified-since issues. Minor changes that affect only 1 method. I believe it even simplified some of these things - and it fixes a bug. Any chance to think about it (and if it makes sense) before releasing 2.0.2? At least these headers ... Dar

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Musachy Barroso
I think there should be two jira tickets, one with the Dojo stuff(I created one for that already), and another with the servlet/date stuff. On a side note, I created a custom profile and compiled Dojo(really easy) and everything worked fine, with caching and all, I will mention it on the dev l

Re: [offtopic] periodic cleanup task scheduling for webapp?

2006-12-04 Thread Leon Rosenberg
On 12/4/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, J. Patrick Bedell wrote: > Hello, > Sorry for the offtopic question! > How might I configure my servlet container or webapp web.xml so > that a periodic application performs a c

Re: Autocomplete attribute in Struts tags

2006-12-04 Thread Albert L Sapp
Thanks, I will add that to my cheat sheet on html. Al Asthana, Rahul wrote: "I think the original question was how to *avoid *displaying previous information that was entered by a previous user, I believe." Thats what I meant.Extend the tag to support autocomplete attribute and set it to "off

Re: Autocomplete attribute in Struts tags

2006-12-04 Thread Mitchell James
You can also do this with a bit of javascript that manipulates the dom, which ultimately does as Rahul suggests, only no need for a custom tag. -- James Mitchell 678.910.8017 On Dec 4, 2006, at 4:12 PM, Albert L Sapp wrote: I think the original question was how to *avoid *displaying pr

RE: Autocomplete attribute in Struts tags

2006-12-04 Thread Asthana, Rahul
"I think the original question was how to *avoid *displaying previous information that was entered by a previous user, I believe." Thats what I meant.Extend the tag to support autocomplete attribute and set it to "off". -Original Message- From: Albert L Sapp [mailto:[EMAIL PROTECTED] Sen

Re: Autocomplete attribute in Struts tags

2006-12-04 Thread Albert L Sapp
I think the original question was how to *avoid *displaying previous information that was entered by a previous user, I believe. Firefox does retain form field information to "help" the user enter information in the field the next time they use the form. If, however, more than one user makes

RE: Autocomplete attribute in Struts tags

2006-12-04 Thread Asthana, Rahul
Extend html:text to support "autocomplete"? -Original Message- From: grifoxx [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 3:43 PM To: user@struts.apache.org Subject: Autocomplete attribute in Struts tags Hi I am developing a web application that allow the user to make onlin

Autocomplete attribute in Struts tags

2006-12-04 Thread grifoxx
Hi I am developing a web application that allow the user to make online payments, so my question is: How can avoid the browser to redisplay or autocomplete an input when a user type in. For instance in firefox the user can see what other users typed before. I know that the html:text or any other

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Dariusz Wojtas
Hello again, The static content is served by the main Struts2 Filter: org.apache.struts2.dispatcher.FilterDispatcher method: findStaticResource(String, HttpServletResponse) 1) The response headers in non english-locale --- The (possible) issue with date hea

wildcards not working for me in struts-config & tiles-def

2006-12-04 Thread Jeff Horan
Hi, I'm using struts-tiles in ver 1.3.5. i get the dreaded : Path ... does not start with a "/" character Here is what I am doing: My struts-config is using wildcards like: and my tiles-def is using wildcards like: They work fine independently, but not together. Is this by design, a bug

Re: tiles: error

2006-12-04 Thread David H. DeWolf
It looks like a null pointer from within the tile to me. David maya wrote: please what does this error mean? ServletException in '/tiles/news_tiles.jsp': null javax.servlet.jsp.JspException: ServletException in '/tiles/news_tile.jsp': null it looks like server can't file the tile,

Re: [offtopic] periodic cleanup task scheduling for webapp?

2006-12-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick, J. Patrick Bedell wrote: > Hello, > Sorry for the offtopic question! > How might I configure my servlet container or webapp web.xml so > that a periodic application performs a cleanup task for my webapp's > database? I want to have a cle

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Musachy Barroso
I found this: "Dojo also provides a mechanism for building "profiles"; the build system takes as input a list of packages, and uses Apache Ant to create a single compressed JavaScript file containing those packages and all their dependencies. This all

Re: [offtopic] periodic cleanup task scheduling for webapp?

2006-12-04 Thread Wendy Smoak
On 12/4/06, J. Patrick Bedell <[EMAIL PROTECTED]> wrote: Sorry for the offtopic question! How might I configure my servlet container or webapp web.xml so that a periodic application performs a cleanup task for my webapp's database? I want to have a cleanup application (say, a particular j

[offtopic] periodic cleanup task scheduling for webapp?

2006-12-04 Thread J. Patrick Bedell
Hello, Sorry for the offtopic question! How might I configure my servlet container or webapp web.xml so that a periodic application performs a cleanup task for my webapp's database? I want to have a cleanup application (say, a particular java class) run periodically without triggering it on u

RE: Multiple struts apps

2006-12-04 Thread Dave Newton
From: Rahul Patel [mailto:[EMAIL PROTECTED] > I figured out the issue. It was happening because I was using > localhost to run both the applications (one on tomcat, and one on > weblogic). This caused the session in my first application to be > overwritten). Sessions are maintained by the server

Re: [s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
Mark Shifman wrote: Does anybody have an example of using a LazyDynaBean with the ModelDriven interface? http://struts.apache.org/2.x/docs/struts-1-solutions.html implies that it should work. I have a simple action: public final class MyAction extends ActionSupport implements ModelDriven{ p

[s2] LazyDynaBean and ModelDriven interface

2006-12-04 Thread Mark Shifman
Does anybody have an example of using a LazyDynaBean with the ModelDriven interface? http://struts.apache.org/2.x/docs/struts-1-solutions.html implies that it should work. I have a simple action: public final class MyAction extends ActionSupport implements ModelDriven{ private LazyDynaBean f

Re: Struts, AJAX, JSP, and JavaScript question

2006-12-04 Thread Adam Gordon
Martin- I could, but it's really nasty. I've pasted the function where I use execScripts() below. See my response to Frank prior to this response. Basically the JSP page we're requesting via the AJAX call is dynamically building an HTML table with options retrieved from the database and pr

Re: Struts, AJAX, JSP, and JavaScript question

2006-12-04 Thread Adam Gordon
Frank- Yikes, I had no idea this thread would take on a life of its own...regardless, the execScripts function was exactly what I was looking forhad to tweak it to accomodate for the "type='text/javascript'" attribute on an opening

Re: Multiple struts apps

2006-12-04 Thread Rahul Patel
Thanks for the response Nitin. I figured out the issue. It was happening because I was using localhost to run both the applications (one on tomcat, and one on weblogic). This caused the session in my first application to be overwritten). It would be very good to have a link to article(s) that al

RE: tiles: error

2006-12-04 Thread Edward Song
When I run into that error, I usually look for a spelling error in my tiles definition. -Original Message- From: Asthana, Rahul [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 11:49 AM To: Struts Users Mailing List Subject: RE: tiles: error This error comes due to a variety

RE: tiles: error

2006-12-04 Thread Asthana, Rahul
This error comes due to a variety of reasons.There may be a bean in one of your tiles that is null and preventing that tile from displaying.If I cant infer anything from the log,I remove everything from the JSP and add incrementally to find out the code block that is the root cause.Hope this hel

RE: tiles: error

2006-12-04 Thread Gundersen, Richard
It could be that you have an error INSIDE the tile JSP. Are you doing anything that could result in a null pointer? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya Sent: Monday, December 04, 2006 4:01 PM To: user@struts.apache.org Subject: tiles: error please wha

tiles: error

2006-12-04 Thread maya
please what does this error mean? ServletException in '/tiles/news_tiles.jsp': null javax.servlet.jsp.JspException: ServletException in '/tiles/news_tile.jsp': null it looks like server can't file the tile, but the tile is there.. thank you very much.. -

Re: [S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Musachy Barroso
In short, I don't know the answer to any of your questions :), but I will dig into them. I created a jira ticket for 1-4. (https://issues.apache.org/struts/browse/WW-1536). As for the servlet question, the other guys probably know. regards musachy Dariusz Wojtas wrote: Hi I have just built

Re: [s2] Error setting 'dojo.transport'

2006-12-04 Thread Musachy Barroso
Dojo adds that. There must be a way to avoid it(I will check it out), you could log a jira ticket for it(insufficient memory problem :) ). musachy Don Brown wrote: Well, you should only see that error when your logs have debug enabled. You could clean it out via an interceptor, if you really

Re: [s2] Ajax template tutorial?

2006-12-04 Thread Musachy Barroso
I will work on one soon. I will be on the wiki. musachy Don Brown wrote: Not at the moment. Take a look at the showcase example application, which demonstrates all the ajax tags. Don On 11/16/06, wolverine my <[EMAIL PROTECTED]> wrote: Hi! Any idea if there is any good Struts 2's Ajax tutor

RE: [OT] Did JIRA copy from LucasArts?

2006-12-04 Thread Gundersen, Richard
Forget about the logo and help me with my Map-backed property problem - I'm desperate! Only kidding! ;-)) -Original Message- From: Romu [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 2:14 PM To: Struts Users Mailing List Subject: Re: [OT] Did JIRA copy from LucasArts? similar

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-04 Thread Wesley Wannemacher
Could you also copy/paste the code that attempts to construct the database connection? I've found that it is a bit tricky to pull a connection out of the JNDI context. It appears that the datasource is configured correctly, so my thought is that the problem may be in the Java code. -Wes [SNIP]

Re: [OT] Did JIRA copy from LucasArts?

2006-12-04 Thread Romu
similar but one has a crown & the other plays with balls :) 2006/12/4, Antonio Petrelli <[EMAIL PROTECTED]>: It is strange how JIRA logo is very similar to LucasArts' one. http://www.atlassian.com/software/jira/ http://www.lucasarts.com/ Ciao Antonio ---

Re: Multiple struts apps

2006-12-04 Thread Nitin M. Mandolkar
Hi Rahul what don't you use single sign on. I do;t know very much about single sign on but it will reslove your problem. nitin On 12/2/06, Rahul Patel <[EMAIL PROTECTED]> wrote: How can I access multiple struts applications (running on different servers) from current struts application? I have

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-04 Thread nagesh.kumar
i tryed this one also perfectly but still same error iam facing -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 1:34 PM To: user@struts.apache.org Subject: RE: Cannot create JDBC driver of class '' for connect URL 'null' Did you ch

[OT] Did JIRA copy from LucasArts?

2006-12-04 Thread Antonio Petrelli
It is strange how JIRA logo is very similar to LucasArts' one. http://www.atlassian.com/software/jira/ http://www.lucasarts.com/ Ciao Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Map backed properties

2006-12-04 Thread Gundersen, Richard
Hi I've been happily working with map based properties in my forms for a while now, but I've come across something that I really can't figure out. I started off with a DynaValidatorForm, and in the mapping, I had this: I was able to use this nicely, by populating it in the action

Re: datasource creation problem?

2006-12-04 Thread Mallik
Hi Friend How to add jar files to path in Exadel stuio? Ur's Mallik Venkata Phani Kumar wrote: > > Hi mallik, > just try by adding commons-dbcp.jar to build path. > > - Original Message - > From: "Mallik" <[EMAIL PROTECTED]> > To: > Sent: Monday, December 04, 2006 3:22 PM > Subject

Re: datasource creation problem?

2006-12-04 Thread Venkata Phani Kumar
Hi mallik, just try by adding commons-dbcp.jar to build path. - Original Message - From: "Mallik" <[EMAIL PROTECTED]> To: Sent: Monday, December 04, 2006 3:22 PM Subject: datasource creation problem? > > Hi friends > i started my application in Struts using IDE Eclipse. > when i create

REPOST: Internationalized messages for pure JavaScript client side validations

2006-12-04 Thread Tarek Nabil
-Original Message- From: Tarek Nabil Sent: Wednesday, November 29, 2006 10:17 AM To: Struts Users Mailing List Subject: Internationalized messages for pure JavaScript client side validations Hi, I read the following in the documentation Errors are reported using the default validation

datasource creation problem?

2006-12-04 Thread Mallik
Hi friends i started my application in Struts using IDE Eclipse. when i create datasource like this: in struts-config.xml i am getting the error: java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp.BasicD

[S2] TabbedPanel, static content from struts, If-Modified-Since

2006-12-04 Thread Dariusz Wojtas
Hi I have just built Struts 2.0.2 snapshot based on the latest svn code (03 Dec 2006). I can see huge improvement over the 2.0.1 code in tabbedPanel handling, also the default css styles are much nicer. But here are some questions about this: 1) Does it really need to download 500+ kB of javascr

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2006-12-04 Thread Chandra.Ravinithala
Did you check http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h tml - examples Chandra -Original Message- From: nagesh.kumar [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 9:43 AM To: Struts Users Mailing List Subject: Cannot create JDBC driver of cla