Re: [S2] Tree lazy loading

2007-05-06 Thread Petit Pas De Lune
Ok. I'm going to load Struts 2.1 and work on it. Thanks a lot. PPDL. On 5/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Following up on this: https://issues.apache.org/struts/browse/WW-1910 implemented for 2.1 musachy On 5/5/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > I'm planni

pagination problem

2007-05-06 Thread jalal udeen
hi all I have to use pagination in jsp so i did it with logic:iterate tag as follows but when i use 2 links next and previous but next link is not disapppearinng when it reaches the last one can any help me for this pls the code follows <% String strOffset ="0"; if(request.getPara

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-06 Thread Manudath Gurudatha
Well, I dont think we have used struts action chaining (Although I dont know what it means since I am pretty new to Struts) in our application... With Dave's idea about specifying something other than "action", the result is the same Instead of I put the property as some other form e

Re: [S1] Application container during development for fastest code/test cycle?

2007-05-06 Thread Antony Stubbs
Thanks for the info! And yes I did mean JNDI (slaps head!). Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Antony, > > Antony Stubbs wrote: >> We're developing a Struts application which will be deployed onto >> Websphere eventually. > > Honestly, it's

Re: [S1] Application container during development for fastest code/test cycle?

2007-05-06 Thread Antony Stubbs
Haven't actually gotten that far yet, just anticipate problems... I've been trying to get our app running on Jetty but have immediately hit library problems... I've removed code for the moment which references Websphere library code for now, and have been hitting this exception when Jetty starts

RE: [s2] Dreamweaver plugin for Struts 2?

2007-05-06 Thread Jason Wyatt
Hi Robin, I bought the Struts 1 plugin for Dreamweaver from the same FWA company, but it was a couple of years ago, so I don't know if it's the same version... I assume they have upgraded the plugin since then. The library worked fine and was a great help, but we had to pay a fee (fairly small as

[s2] Tabindex not working on

2007-05-06 Thread Jason Wyatt
Hi Struts 2 developers, It seems the tabindex isn't working on the tag for Struts2 v2.0.6. The jsp tag I am using: The resulting HTML: The tabindex seems to not make it through to the HTML... it'd be great if this can be fixed. Thanks in advance, kind regards Jason - Falun Daf

Re: Too many open files

2007-05-06 Thread Martin Gainty
JRE/JDK version??? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and de

Too many open files

2007-05-06 Thread Jon Wynacht
Hi, I've got an app that, when it gets heavy usage, often dies with this message: May 5, 2007 5:38:36 PM org.apache.catalina.core.StandardServer await SEVERE: StandardServer.await: accept: java.net.SocketException: Too many open files I've done some research and came across a number of artic

Re: Trouble with DispatchAction

2007-05-06 Thread zuban
Laurie Harper wrote: > > zuban wrote: >> It is working if I type manualy ExampleSubmit.do?method=delete >> (The delete-method in the action-class ist calling) >> >> It is also working with this submit-button: >> >> >> But why doesn't work > onclick="this.form.method.value='delete'"> >>

Re: Help to configure Data Source in Struts 1.3.8

2007-05-06 Thread Dave Newton
Or JNDI. --- Paul Benedict <[EMAIL PROTECTED]> wrote: > Use the Spring Framework or configure it in code. > > On 5/6/07, Saravanan Vijayappan <[EMAIL PROTECTED]> > wrote: > > > > Hello, > > > > Could you explain me how should data-sources be > configured in struts 1.3.8? > > > > Thanks & Regards

Re: Help to configure Data Source in Struts 1.3.8

2007-05-06 Thread Paul Benedict
Use the Spring Framework or configure it in code. On 5/6/07, Saravanan Vijayappan <[EMAIL PROTECTED]> wrote: Hello, Could you explain me how should data-sources be configured in struts 1.3.8? Thanks & Regards, Saravanan Vijayappan, +91 9448833571. - Original Message From: Dave Newto

Re: Help to configure Data Source in Struts 1.3.8

2007-05-06 Thread Saravanan Vijayappan
Hello, Could you explain me how should data-sources be configured in struts 1.3.8 ? Thanks & Regards, Saravanan Vijayappan, +91 9448833571. - Original Message From: Dave Newton <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Sunday, May 6, 2007 9:33:20 PM Subject: Re: Help to

Re: [S2] Tree lazy loading

2007-05-06 Thread Musachy Barroso
Following up on this: https://issues.apache.org/struts/browse/WW-1910 implemented for 2.1 musachy On 5/5/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: I'm planning to implement this next week. musachy On 5/5/07, Petit Pas De Lune <[EMAIL PROTECTED] > wrote: > > On 5/3/07, Musachy Barroso

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-06 Thread Martin Gainty
Where is the original post? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or em

Re: attempting to use time Converter?

2007-05-06 Thread Martin Gainty
assuming your stack param is Date value this statement is causing exception String s=((String[])value)[0]; you need to either use DateFormat.toString() http://java.sun.com/j2se/1.4.2/docs/api/java/text/DateFormat.html OR date.toString() e.g. http://java.sun.com/j2se/1.4.2/docs/api/java/util/Date

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-06 Thread Dave Newton
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > Good Morning Dave.. Good morning. > Assuming you have included struts-actionchaining.xml > in your struts.xml > > > Can you display contents of struts-actionchaining.xml? I am not always convinced you read the messages before you reply to them

Re: Help to configure Data Source in Struts 1.3.8

2007-05-06 Thread Dave Newton
--- Saravanan Vijayappan <[EMAIL PROTECTED]> wrote: > org.apache.commons.digester.Digester error > SEVERE: Parse Error at line 43 column 15: Element > type "data-sources" must be declared. IIRC data-sources is not a legal 1.3.8 element, hence the exception. d. ___

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-06 Thread Martin Gainty
Good Morning Dave.. Assuming you have included struts-actionchaining.xml in your struts.xml Can you display contents of struts-actionchaining.xml? Thanks M This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this em

Help to configure Data Source in Struts 1.3.8

2007-05-06 Thread Saravanan Vijayappan
Hi, I'm getting the below exception message on console when i configured data source elements in struts-config.xml. May 6, 2007 8:18:43 PM org.apache.struts.action.ActionServlet initChain INFO: Loading chain catalog from jar:file:/C:/saravvij/Projects/eclipse/.metadata/.plugins/org.eclipse.wst.

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-06 Thread Dave Newton
What happens if it's called something other than "action"? --- Manudath Gurudatha <[EMAIL PROTECTED]> wrote: > Thanks guys... I have put the relevant parts of the > struts-xml and the > actual jsp with relevant parts highlighted in > blue... Please see if you can > figure out why does IE send the

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-06 Thread Manudath Gurudatha
Thanks guys... I have put the relevant parts of the struts-xml and the actual jsp with relevant parts highlighted in blue... Please see if you can figure out why does IE send the action value as "" when I submit the JSP... Thanks again for your help... *struts-config.xml*

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
I tried everything but still can't figure out The code in the AdvertEditAction.java AdvertsForm advertForm=new AdvertsForm(); advertForm.setLocation(advert.getLocation()); request.setAttribute("advertsForm",advertForm); request.setAttribute("advert",advert); In the jsp fil

Re: Enabling SSL in Struts 2

2007-05-06 Thread Petit Pas De Lune
If you want a good security framework, just use Acegi Security for Spring : http://www.acegisecurity.org/ Just configure a channelProcessingFilter as follow : web.xml (put Acegi filter before struts2 one) ... Acegi Filter Chain Proxy org.acegisecurity.util.FilterToBeanProxy

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
I got that I have to type something like <%advertForm.setLocation(3);%> But can you please specify the code for the same i.e. the taglib that is to be used and in what scope is the ActionForm available Can you please post me an example of the code Thanks in advance CSJakharia --- Nuwan Chandr

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
Can you please explain me in detail which form I am sorry I am a little newbie type to Struts and so could not understand what are you conveying? Thanks in advance CSJakharia --- Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote: > Hi, > > Set the location property in your from to the > default val

Re: How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Nuwan Chandrasoma
Hi, Set the location property in your from to the default value you wan to select, then the tag will automatically select the option that matches this value Thanks, Nuwan - Original Message - From: "Chirag" <[EMAIL PROTECTED]> To: Sent: Sunday, May 06, 2007 9:23 AM Subject: How

How to set default value in the html:select which is populated with html:optionsCollection tag?

2007-05-06 Thread Chirag
I am a little newbie type in Struts I already have the following code All Now I want to modify this code in such a way that it selects a default value . How to do that Thanks in advance CSJakharia Subscribe to bermudaEmail: [input] [input] Browse Archives at groups.google.com