Re: Using Menu Links In Tiles2 + Struts 2
2008/7/8 DEEP JADHAV <[EMAIL PROTECTED]>: > > I am using tiles 2 in struts 2 and I have configured it. I created one > layout containing title,menu,body and footer regions and in each > region I inserted tiles(jsp's). > In menu region I have list of menu links and I want 'body' region of > layout to be rendered corresponding to the link clicked. How can I do > that..?? Means what configurations needs to be done in tiles.xml file? Please ask the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2.0.11 and Tiles 2.0.5
2008/7/7 Francisco Spaeth <[EMAIL PROTECTED]>: > Searching in the internet I notice that tiles 2.0.6 has a problem with UTF8, Eh? What problem? I am not aware of it. And anyway please ask the Tiles Users mailing list: http://tiles.apache.org/mail.html Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Menu Links In Tiles2 + Struts 2
I am using tiles 2 in struts 2 and I have configured it. I created one layout containing title,menu,body and footer regions and in each region I inserted tiles(jsp's). In menu region I have list of menu links and I want 'body' region of layout to be rendered corresponding to the link clicked. How can I do that..?? Means what configurations needs to be done in tiles.xml file? Thanks. DEEP JADHAV wrote: > > Hi everybody, > I want list of links in menu region of my layout and I am not > getting how to configure it for rendering body region corresponding to > particular link. > If anybody can solve plz reply..!! > Thanks in advance. > -- View this message in context: http://www.nabble.com/Using-Menu-Links-In-Tiles2-%2B-Struts-2-tp18312481p18332676.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
web forums are a nightmare for the dynamics shown by this list. There are a core few who respond to many of the questions asked, and there is a lot of traffic, which means with a web forum those few would need to either check for new posts every so often (which is a chore), or receive an endless string of messages saying "New thread, click here to read". Web forums are OK when then volume is low or there is a higher peer-to-peer solution ratio is high, but personally I'd read even less of the posts if I had to go to a web page and click through a few times just to see whats been said. Al. Gabriel Belingueres wrote: I personally would like to interact using a web based forum where you can post with formatted java and xml code and even with emoticons instead of this email based mailing list, but this would be even more utopianphpBB would do :) 2008/7/7 Jason Wyatt <[EMAIL PROTECTED]>: Dave, may I ask why it has been consistently voted down (and voted by who?). It would seem to be a logical separation IMHO, what's the benefit of keeping them together when the platforms have nothing in common except the name struts? If people still don't know about or use the [S1] and [S2] convention, which seems to be the case, its likely that won't change because new members will be joining the list all the time. +1 to split Regards Jason -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 July 2008 2:40 AM To: Struts Users Mailing List Subject: Re: Struts1 and Struts2 mailing lists separation ? This has been brought up from time to time over the years and has been consistently voted down. (I suggested it once myself and am in favor of it as well.) In lieu of that happening I'd urge people to tag the subject line of all list messages with either [S1] or [S2] (or whatever, as long as it's adopted as an ad-hoc convention) and deal with it on the client side. Dave --- On Mon, 7/7/08, Chris Pratt <[EMAIL PROTECTED]> wrote: Not that my vote counts, but +1 again. On Mon, Jul 7, 2008 at 6:40 AM, Owen Berry <[EMAIL PROTECTED]> wrote: And another, +1 On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G <[EMAIL PROTECTED]> wrote: +1 me too Alessio Mereu wrote: +1 for me too 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>: +1 for the suggestion Marc On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Could Struts project admins separate Struts1 and Struts2 users mailing lists? I think it is bad for the users to have two frameworks under the same mailing list. Ahora también puedes acceder a tu correo Terra desde el móvil. Infórmate pinchando aquí. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** DISCLAIMER ** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe,
Re: [S2] File download save dialog
Struts Two wrote: Even afterI extended the StreamResult to be able to set the content-desposition dynamically, Internet explorer would open the file in a separate browser while firefox was prompting with the save/open dialog. However, the issue was fixed when I directly got the httpresponse and set the header there. IE behaviour depends on the type of content it "sniffs", not just the disposition and mime content-type. See my comments in WW-2647 and WW-2711 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ajax based login not working in IE but Working in FF
Hi all, I'm new to sturts 2.0.Currently i'm developing a web application in which i have a login screen which is ajax based(using ) It works fine in FF but when i used to login through IE it is not working. Whether Struts2.0 + ajax functionality will support IE. looking forward to ur reply. Thanks, Srini -- View this message in context: http://www.nabble.com/Ajax-based-login-not-working-in-IE-but-Working-in-FF-tp18331893p18331893.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] File download save dialog
Oops, I forgot there are two parts to this, you should set two headers Content-Type = application/download Content-Disposition = attachment; filename=foo.bar I didn't look back through the thread to see if you were also setting content-type. If so, add a test case to your JIRA (WW-2711?). -Wes On Mon, 2008-07-07 at 18:59 -0700, Struts Two wrote: > Even afterI extended the StreamResult to be able to set the > content-desposition dynamically, Internet explorer would open the file in a > separate browser while firefox was prompting with the save/open dialog. > However, the issue was fixed when I directly got the httpresponse and set the > header there. > > > - Original Message > From: Wes Wannemacher <[EMAIL PROTECTED]> > To: Struts Users Mailing List > Sent: Monday, July 7, 2008 4:19:02 PM > Subject: Re: [S2] File download save dialog > > Although Chris's solution works, I've always been partial to setting > content-disposition to attachment. > > I can't tell you off the top of my head the struts-y way to do it, but > this is what it's meant for. > > -Wes > > > __ > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your > favourite sites. Download it now at > http://ca.toolbar.yahoo.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] File download save dialog
Even afterI extended the StreamResult to be able to set the content-desposition dynamically, Internet explorer would open the file in a separate browser while firefox was prompting with the save/open dialog. However, the issue was fixed when I directly got the httpresponse and set the header there. - Original Message From: Wes Wannemacher <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, July 7, 2008 4:19:02 PM Subject: Re: [S2] File download save dialog Although Chris's solution works, I've always been partial to setting content-disposition to attachment. I can't tell you off the top of my head the struts-y way to do it, but this is what it's meant for. -Wes __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
I personally would like to interact using a web based forum where you can post with formatted java and xml code and even with emoticons instead of this email based mailing list, but this would be even more utopianphpBB would do :) 2008/7/7 Jason Wyatt <[EMAIL PROTECTED]>: > Dave, may I ask why it has been consistently voted down (and voted by who?). > It would seem to be a logical separation IMHO, what's the benefit of keeping > them together when the platforms have nothing in common except the name > struts? > > If people still don't know about or use the [S1] and [S2] convention, which > seems to be the case, its likely that won't change because new members will > be joining the list all the time. > > +1 to split > > Regards > Jason > > -Original Message- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 8 July 2008 2:40 AM > To: Struts Users Mailing List > Subject: Re: Struts1 and Struts2 mailing lists separation ? > > This has been brought up from time to time over the years and has been > consistently voted down. (I suggested it once myself and am in favor of it as > well.) > > In lieu of that happening I'd urge people to tag the subject line of all list > messages with either [S1] or [S2] (or whatever, as long as it's adopted as an > ad-hoc convention) and deal with it on the client side. > > Dave > > --- On Mon, 7/7/08, Chris Pratt <[EMAIL PROTECTED]> wrote: >> Not that my vote counts, but +1 again. >> >> On Mon, Jul 7, 2008 at 6:40 AM, Owen Berry <[EMAIL PROTECTED]> >> wrote: >> > And another, +1 >> > >> > On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G >> <[EMAIL PROTECTED]> wrote: >> >> +1 me too >> >> >> >> Alessio Mereu wrote: >> >>> >> >>> +1 for me too >> >>> >> >>> 2008/7/7 Marc Logemann >> <[EMAIL PROTECTED]>: >> >>> >> >>> >> >> +1 for the suggestion >> >> Marc >> >> On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), >> "[EMAIL PROTECTED]" >> <[EMAIL PROTECTED]> wrote: >> >> > >> > Could Struts project admins separate >> Struts1 and Struts2 users mailing >> > lists? >> > I think it is bad for the users to >> have two frameworks under the same >> > mailing list. >> > >> > >> > >> > Ahora también puedes acceder a tu >> correo Terra desde el móvil. >> > Infórmate pinchando aquí. >> > >> > >> > >> > >> - >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> >> >> - >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> >> >> >> >> >> >> >> >> >> ** DISCLAIMER ** >> >> Information contained and transmitted by this >> E-MAIL is proprietary to Sify >> >> Limited and is intended for use only by the >> individual or entity to which it >> >> is addressed, and may contain information that is >> privileged, confidential >> >> or exempt from disclosure under applicable law. If >> this is a forwarded >> >> message, the content of this E-MAIL may not have >> been sent with the >> >> authority of the Company. If you are not the >> intended recipient, an agent of >> >> the intended recipient or a person responsible >> for delivering the >> >> information to the named recipient, you are >> notified that any use, >> >> distribution, transmission, printing, copying or >> dissemination of this >> >> information in any way or in any manner is >> strictly prohibited. If you have >> >> received this communication in error, please >> delete this mail & notify us >> >> immediately at [EMAIL PROTECTED] >> >> >> >> >> - >> >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> >> >> >> > >> > >> - >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > For additional commands, e-mail: >> [EMAIL PROTECTED] >> > >> > >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts1 and Struts2 mailing lists separation ?
Dave, may I ask why it has been consistently voted down (and voted by who?). It would seem to be a logical separation IMHO, what's the benefit of keeping them together when the platforms have nothing in common except the name struts? If people still don't know about or use the [S1] and [S2] convention, which seems to be the case, its likely that won't change because new members will be joining the list all the time. +1 to split Regards Jason -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, 8 July 2008 2:40 AM To: Struts Users Mailing List Subject: Re: Struts1 and Struts2 mailing lists separation ? This has been brought up from time to time over the years and has been consistently voted down. (I suggested it once myself and am in favor of it as well.) In lieu of that happening I'd urge people to tag the subject line of all list messages with either [S1] or [S2] (or whatever, as long as it's adopted as an ad-hoc convention) and deal with it on the client side. Dave --- On Mon, 7/7/08, Chris Pratt <[EMAIL PROTECTED]> wrote: > Not that my vote counts, but +1 again. > > On Mon, Jul 7, 2008 at 6:40 AM, Owen Berry <[EMAIL PROTECTED]> > wrote: > > And another, +1 > > > > On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G > <[EMAIL PROTECTED]> wrote: > >> +1 me too > >> > >> Alessio Mereu wrote: > >>> > >>> +1 for me too > >>> > >>> 2008/7/7 Marc Logemann > <[EMAIL PROTECTED]>: > >>> > >>> > > +1 for the suggestion > > Marc > > On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), > "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: > > > > > Could Struts project admins separate > Struts1 and Struts2 users mailing > > lists? > > I think it is bad for the users to > have two frameworks under the same > > mailing list. > > > > > > > > Ahora también puedes acceder a tu > correo Terra desde el móvil. > > Infórmate pinchando aquí. > > > > > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > >> > >> > >> > >> ** DISCLAIMER ** > >> Information contained and transmitted by this > E-MAIL is proprietary to Sify > >> Limited and is intended for use only by the > individual or entity to which it > >> is addressed, and may contain information that is > privileged, confidential > >> or exempt from disclosure under applicable law. If > this is a forwarded > >> message, the content of this E-MAIL may not have > been sent with the > >> authority of the Company. If you are not the > intended recipient, an agent of > >> the intended recipient or a person responsible > for delivering the > >> information to the named recipient, you are > notified that any use, > >> distribution, transmission, printing, copying or > dissemination of this > >> information in any way or in any manner is > strictly prohibited. If you have > >> received this communication in error, please > delete this mail & notify us > >> immediately at [EMAIL PROTECTED] > >> > >> > - > >> To unsubscribe, e-mail: > [EMAIL PROTECTED] > >> For additional commands, e-mail: > [EMAIL PROTECTED] > >> > >> > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] File download save dialog
Although Chris's solution works, I've always been partial to setting content-disposition to attachment. I can't tell you off the top of my head the struts-y way to do it, but this is what it's meant for. -Wes On Mon, 2008-07-07 at 11:31 -0700, Chris Pratt wrote: > One way is to set the content type of the downloaded item to something > the browser doesn't know how to handle itself, like > application/octet-stream > (*Chris*) > > On Mon, Jul 7, 2008 at 10:21 AM, Struts Two <[EMAIL PROTECTED]> wrote: > > I have an action class that downloads a file from db2 database. However; > > when the download occurs, the file is displayed in the browser. I would > > like to have the user prompted with the save/open dialog. I was wondering > > what I am missing here. Below are my configuration and action class for the > > file download: > > > class="ccol.action.ticket.TicketFileDownload"> > > > > application/octet-stream > > > > > > public class TicketFileDownload extends ActionSupport { > > @EJB3Local > > TicketLocal ticketLocal; > > private long attachmentId; > > > > private InputStream inputStream; > > public long getAttachmentId() { > > return attachmentId; > > } > > public void setAttachmentId(long attachmentId) { > > this.attachmentId = attachmentId; > > } > > public void setInputStream(InputStream inputStream) { > > this.inputStream = inputStream; > > } > > > > public InputStream getInputStream() { > > return inputStream; > > } > > > > public String execute(){ > > Attachment attachment = ticketLocal.findAttachment(getAttachmentId()); > > setInputStream(new ByteArrayInputStream(attachment.getAttachment())); > > return Action.SUCCESS; > > > > } > > } > > I would appreciate any hints in this regard, thanx. > > > > > > __ > > Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! > > Canada Messenger at http://ca.beta.messenger.yahoo.com/ > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Menu Links In Tiles2 + Struts 2
Hi, Could you provide some more details, maybe some examples? Right now I don't know what kind of problem you have. Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
static list with problem.
Hi All, I need to populate static list of values in tag in struts2. How to add single quote in (Don't have caller ID) value in static list. Thanks, Sharath.
Re: Getting Struts2 Parameters?
Your setter is private. It needs to be public. On Mon, Jul 7, 2008 at 5:49 PM, Chris Miles <[EMAIL PROTECTED]> wrote: > No exceptions. > > The action class is as follows. > > public class AddToCartAction extends ActionSupport implements Action { > private String productId = ""; > private int quantity = 0; > > private void setProductId(String productId) { > this.productId = productId; > } > > private void setQuantity(int quantity) { > this.quantity = quantity; > } > > public String execute() { > System.out.println("Product Id = " + productId); > System.out.println("Quantity = " + quantity); > return Action.SUCCESS; > } > } > > My struts.xml is > > >"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" > "http://struts.apache.org/dtds/struts-2.0.dtd";> > > > > > >class="com.opensymphony.xwork2.interceptor.StaticParametersInterceptor" /> >class="com.opensymphony.xwork2.interceptor.ParametersInterceptor" /> > > > > > > > > > > > >class="cakeinabox.struts2.actions.AddToCartAction"> > /jsp/checkout/viewCart.jsp > /jsp/checkout/error.jsp > > > > > and my JSP is: > > > > > .. > > pId renders as a valid productId in the HTML - this has been checked. > > I have also tried a POST rather than a GET with no joy. > > many thanks > > Chrix > - Original Message - From: "Musachy Barroso" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Monday, July 07, 2008 4:46 PM > Subject: Re: Getting Struts2 Parameters? > > > Are there any exceptions in the logs? Does your class implement >> ModelDriven? if you posts the relevant parts of your configuration >> (jsp fragment, action and xml fragment), it will be easier to get >> help. >> >> musachy >> >> On Mon, Jul 7, 2008 at 11:38 AM, <[EMAIL PROTECTED]> wrote: >> >>> In my struts.xml I have set up a stack for "defaultStack" to include the >>> Parameters Interceptor, and I have then set the default stack to >>> "defaultStack". >>> >>> In my action class I have set up a setter injector called >>> setProductId(String productId) which sets to a local variable. >>> >>> I then have a form which points to that action, which is AddToCart.action >>> to be precise. I have an hideen HTML input with the name "productId" and >>> a >>> value set, however when I submit the form the productId variable in the >>> action class has not been set? >>> >>> Is there something obvious that I might be missing? >>> >>> Many thanks and best regards, >>> >>> Chris >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> -- >> Internal Virus Database is out-of-date. >> Checked by AVG Free Edition. >> Version: 7.5.446 / Virus Database: 268.18.12/724 - Release Date: >> 16/03/2007 12:12 >> >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jim Kiley Technical Consultant | Summa [p] 412.258.3346 [m] 412.445.1729 http://www.summa-tech.com
Re: Getting Struts2 Parameters?
No exceptions. The action class is as follows. public class AddToCartAction extends ActionSupport implements Action { private String productId = ""; private int quantity = 0; private void setProductId(String productId) { this.productId = productId; } private void setQuantity(int quantity) { this.quantity = quantity; } public String execute() { System.out.println("Product Id = " + productId); System.out.println("Quantity = " + quantity); return Action.SUCCESS; } } My struts.xml is http://struts.apache.org/dtds/struts-2.0.dtd";> class="com.opensymphony.xwork2.interceptor.StaticParametersInterceptor" /> class="com.opensymphony.xwork2.interceptor.ParametersInterceptor" /> class="cakeinabox.struts2.actions.AddToCartAction"> /jsp/checkout/viewCart.jsp /jsp/checkout/error.jsp and my JSP is: .. pId renders as a valid productId in the HTML - this has been checked. I have also tried a POST rather than a GET with no joy. many thanks Chrix - Original Message - From: "Musachy Barroso" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, July 07, 2008 4:46 PM Subject: Re: Getting Struts2 Parameters? Are there any exceptions in the logs? Does your class implement ModelDriven? if you posts the relevant parts of your configuration (jsp fragment, action and xml fragment), it will be easier to get help. musachy On Mon, Jul 7, 2008 at 11:38 AM, <[EMAIL PROTECTED]> wrote: In my struts.xml I have set up a stack for "defaultStack" to include the Parameters Interceptor, and I have then set the default stack to "defaultStack". In my action class I have set up a setter injector called setProductId(String productId) which sets to a local variable. I then have a form which points to that action, which is AddToCart.action to be precise. I have an hideen HTML input with the name "productId" and a value set, however when I submit the form the productId variable in the action class has not been set? Is there something obvious that I might be missing? Many thanks and best regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.12/724 - Release Date: 16/03/2007 12:12 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Problem injecting String with Spring plugin
Thanks Musachy for your quick answer. Tried setting default-autowire="byName" in the beans tag but the behavior is the same, that is, the "templateDir" String bean is injected after method execution AND byType: 2008-07-07 16:52:40,562 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) - Autowiring by type from bean name 'org.apache.struts2.dispatcher.ServletDispatcherResult' via constructor to bean named 'templatesDir' Also I tested with an action that inject _other_ objects but NOT the templateDir one, and the log is the same (even when I never defined any setTemplateDir(String) method in the action!) I'm seriously thinking in just put this templateDir String in my web.xml context parameter list and move on... 2008/7/7, Musachy Barroso <[EMAIL PROTECTED]>: > Did you try forcing Spring to autowrie by name? Add > default-autowire="byName" to the "beans" tag in your spring config(s) > file(s). > > musachy > > On Mon, Jul 7, 2008 at 4:09 PM, Gabriel Belingueres > <[EMAIL PROTECTED]> wrote: > > Debugging the Spring output I found the following: > > > > 2008-07-07 16:52:40,421 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) > > - Returning cached instance of singleton bean 'allEventoService' > > 2008-07-07 16:52:40,421 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:1033) > > - Added autowiring by name from bean name 'admin.EditConstancia' via > > property 'allEventoService' to bean named 'allEventoService' > > 2008-07-07 16:52:40,421 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) > > - Returning cached instance of singleton bean 'constanciaService' > > 2008-07-07 16:52:40,421 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:1033) > > - Added autowiring by name from bean name 'admin.EditConstancia' via > > property 'constanciaService' to bean named 'constanciaService' > > 2008-07-07 16:52:40,515 DEBUG (orm.SfapconstanciaManager:213) - EXECUTE > > 2008-07-07 16:52:40,562 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) > > - Returning cached instance of singleton bean 'templatesDir' > > 2008-07-07 16:52:40,562 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) > > - Autowiring by type from bean name > > 'org.apache.struts2.dispatcher.ServletDispatcherResult' via > > constructor to bean named 'templatesDir' > > > > I found several weird things: > > > > 1) templatesDir _is well defined_ in Spring since I did the following > > in my app context listener and it worked OK: > > WebApplicationContext context = > > WebApplicationContextUtils.getWebApplicationContext(event.getServletContext()); > > System.out.println(context.getBean("templatesDir")); > > > > 2) In the above log trace, which corresponds to the execution of my > > action, the other Spring dependencies are injected correctly (before > > calling the action's execute() method) > > > > 3) The templateDir is NOT injected at this point (don't know why.) > > > > 4) AFTER my action's execute() method, templateDir _is_ injected into > > a ServletDispatcherResult instance!!: > > 2008-07-07 16:52:40,562 DEBUG > > (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) > > - Autowiring by type from bean name > > 'org.apache.struts2.dispatcher.ServletDispatcherResult' via > > constructor to bean named 'templatesDir' > > > > (even it is injected by _TYPE_, which I never specified it before, > > because AFAIK the Spring plugin uses byName as the default) > > > > I'm using Spring 2.5.5 and S2 2.1.2. > > > > 2008/7/7, Musachy Barroso <[EMAIL PROTECTED]>: > >> The plugin doesn't really inject anything, it is all up to Spring. > >> > >> musachy > >> > >> On Mon, Jul 7, 2008 at 3:03 PM, Gabriel Belingueres > >> <[EMAIL PROTECTED]> wrote: > >> > Hi, > >> > > >> > I want to inject a String defined in the Spring's > >> > applicationContext.xml file like this: > >> > > >> > > >> > /WEB-INF/templates/ > >> > > >> > > >> > but the Spring plugin does not try to inject it (It works with my > >> > other injected, non String class objects though) > >> > > >> > It is OK that the plugin does not try to inject String objects? > >> > (because they later can be overwritten with a parameter?) > >> > or is this just a bug in the plugin? > >> > > >> > Regards, > >> > Gabriel > >> > > >> > - > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > >> > >> > >> -- > >> "Hey you! Would you help me to carry the stone?" Pink Floyd > >> > >> - > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > - > > T
Struts2 and Jquery problem with LightBox or thickbox
I tried to implement thickbox functionality in a jsp ,to display iframe in a thickbox. If I use a simple a href using a jsp,thickbox works fine, but if i use s:url with *.action as the url ,and if i pass height,width attributes ,iam getting an error .I tried removing height and width, but iam getting an exception saying ParametersInterceptor exception using "random" ."Random" variable is used by jQuery.js internally. If i can not use Jquery 'thickbox, what other frameworks support thickbox kind of functionality, as i need thick box to show some dynamic content,such as user's information or it can be a form submit. Jul 2, 2008 3:39:54 PM com.opensymphony.xwork2.interceptor.ParametersInterceptor setParameters SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'height' on 'class com.hicom.web.action.UserSignupAction: Error setting expression 'height' with value '[Ljava.lang.String;@7a847a84' -- View this message in context: http://www.nabble.com/Struts2-and-Jquery-problem-with--LightBox-or-thickbox-tp18326073p18326073.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Problem injecting String with Spring plugin
Did you try forcing Spring to autowrie by name? Add default-autowire="byName" to the "beans" tag in your spring config(s) file(s). musachy On Mon, Jul 7, 2008 at 4:09 PM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > Debugging the Spring output I found the following: > > 2008-07-07 16:52:40,421 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) > - Returning cached instance of singleton bean 'allEventoService' > 2008-07-07 16:52:40,421 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:1033) > - Added autowiring by name from bean name 'admin.EditConstancia' via > property 'allEventoService' to bean named 'allEventoService' > 2008-07-07 16:52:40,421 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) > - Returning cached instance of singleton bean 'constanciaService' > 2008-07-07 16:52:40,421 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:1033) > - Added autowiring by name from bean name 'admin.EditConstancia' via > property 'constanciaService' to bean named 'constanciaService' > 2008-07-07 16:52:40,515 DEBUG (orm.SfapconstanciaManager:213) - EXECUTE > 2008-07-07 16:52:40,562 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) > - Returning cached instance of singleton bean 'templatesDir' > 2008-07-07 16:52:40,562 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) > - Autowiring by type from bean name > 'org.apache.struts2.dispatcher.ServletDispatcherResult' via > constructor to bean named 'templatesDir' > > I found several weird things: > > 1) templatesDir _is well defined_ in Spring since I did the following > in my app context listener and it worked OK: > WebApplicationContext context = > WebApplicationContextUtils.getWebApplicationContext(event.getServletContext()); > System.out.println(context.getBean("templatesDir")); > > 2) In the above log trace, which corresponds to the execution of my > action, the other Spring dependencies are injected correctly (before > calling the action's execute() method) > > 3) The templateDir is NOT injected at this point (don't know why.) > > 4) AFTER my action's execute() method, templateDir _is_ injected into > a ServletDispatcherResult instance!!: > 2008-07-07 16:52:40,562 DEBUG > (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) > - Autowiring by type from bean name > 'org.apache.struts2.dispatcher.ServletDispatcherResult' via > constructor to bean named 'templatesDir' > > (even it is injected by _TYPE_, which I never specified it before, > because AFAIK the Spring plugin uses byName as the default) > > I'm using Spring 2.5.5 and S2 2.1.2. > > 2008/7/7, Musachy Barroso <[EMAIL PROTECTED]>: >> The plugin doesn't really inject anything, it is all up to Spring. >> >> musachy >> >> On Mon, Jul 7, 2008 at 3:03 PM, Gabriel Belingueres >> <[EMAIL PROTECTED]> wrote: >> > Hi, >> > >> > I want to inject a String defined in the Spring's >> > applicationContext.xml file like this: >> > >> > >> > /WEB-INF/templates/ >> > >> > >> > but the Spring plugin does not try to inject it (It works with my >> > other injected, non String class objects though) >> > >> > It is OK that the plugin does not try to inject String objects? >> > (because they later can be overwritten with a parameter?) >> > or is this just a bug in the plugin? >> > >> > Regards, >> > Gabriel >> > >> > - >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Problem injecting String with Spring plugin
Debugging the Spring output I found the following: 2008-07-07 16:52:40,421 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'allEventoService' 2008-07-07 16:52:40,421 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:1033) - Added autowiring by name from bean name 'admin.EditConstancia' via property 'allEventoService' to bean named 'allEventoService' 2008-07-07 16:52:40,421 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'constanciaService' 2008-07-07 16:52:40,421 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:1033) - Added autowiring by name from bean name 'admin.EditConstancia' via property 'constanciaService' to bean named 'constanciaService' 2008-07-07 16:52:40,515 DEBUG (orm.SfapconstanciaManager:213) - EXECUTE 2008-07-07 16:52:40,562 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:214) - Returning cached instance of singleton bean 'templatesDir' 2008-07-07 16:52:40,562 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) - Autowiring by type from bean name 'org.apache.struts2.dispatcher.ServletDispatcherResult' via constructor to bean named 'templatesDir' I found several weird things: 1) templatesDir _is well defined_ in Spring since I did the following in my app context listener and it worked OK: WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(event.getServletContext()); System.out.println(context.getBean("templatesDir")); 2) In the above log trace, which corresponds to the execution of my action, the other Spring dependencies are injected correctly (before calling the action's execute() method) 3) The templateDir is NOT injected at this point (don't know why.) 4) AFTER my action's execute() method, templateDir _is_ injected into a ServletDispatcherResult instance!!: 2008-07-07 16:52:40,562 DEBUG (org.springframework.beans.factory.support.DefaultListableBeanFactory:601) - Autowiring by type from bean name 'org.apache.struts2.dispatcher.ServletDispatcherResult' via constructor to bean named 'templatesDir' (even it is injected by _TYPE_, which I never specified it before, because AFAIK the Spring plugin uses byName as the default) I'm using Spring 2.5.5 and S2 2.1.2. 2008/7/7, Musachy Barroso <[EMAIL PROTECTED]>: > The plugin doesn't really inject anything, it is all up to Spring. > > musachy > > On Mon, Jul 7, 2008 at 3:03 PM, Gabriel Belingueres > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I want to inject a String defined in the Spring's > > applicationContext.xml file like this: > > > > > > /WEB-INF/templates/ > > > > > > but the Spring plugin does not try to inject it (It works with my > > other injected, non String class objects though) > > > > It is OK that the plugin does not try to inject String objects? > > (because they later can be overwritten with a parameter?) > > or is this just a bug in the plugin? > > > > Regards, > > Gabriel > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2.0.11 and Tiles 2.0.5
I am already using Tiles 2.5 with struts 2.0.11. I was wondering if it can be something your configuration setup. Although there might be a very slight possibility that tomcat be culprit since my runtime environment is websphere. - Original Message From: Francisco Spaeth <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Monday, July 7, 2008 3:13:41 PM Subject: Struts 2.0.11 and Tiles 2.0.5 Hi All, Searching in the internet I notice that tiles 2.0.6 has a problem with UTF8, then I download the 2.0.5 version and put it in my project but it is not working. Now it is returning an exception with the bellow message: SEVERE: Exception sending context initialized event to listener instance of class org.apache.tiles.web.startup.TilesListener java.lang.IllegalStateException: Unable to instantiate container. at org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesListener..java:61) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) Thanks in advance. Francisco __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] File download save dialog
I have already set the content type to application/octet-stream in my xml file application/octet-stream The problems occurs with IE browser, Using firefox 2.0.15, I get the download dialog box but using IE the box is opened in a browser window. - Original Message From: Chris Pratt <[EMAIL PROTECTED]> To: Struts Users Mailing List Sent: Monday, July 7, 2008 2:31:08 PM Subject: Re: [S2] File download save dialog One way is to set the content type of the downloaded item to something the browser doesn't know how to handle itself, like application/octet-stream (*Chris*) __ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts 2.0.11 and Tiles 2.0.5
Hi All, Searching in the internet I notice that tiles 2.0.6 has a problem with UTF8, then I download the 2.0.5 version and put it in my project but it is not working. Now it is returning an exception with the bellow message: SEVERE: Exception sending context initialized event to listener instance of class org.apache.tiles.web.startup.TilesListener java.lang.IllegalStateException: Unable to instantiate container. at org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesListener.java:61) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337) Thanks in advance. Francisco
Re: [S2] Problem injecting String with Spring plugin
The plugin doesn't really inject anything, it is all up to Spring. musachy On Mon, Jul 7, 2008 at 3:03 PM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > Hi, > > I want to inject a String defined in the Spring's > applicationContext.xml file like this: > > > /WEB-INF/templates/ > > > but the Spring plugin does not try to inject it (It works with my > other injected, non String class objects though) > > It is OK that the plugin does not try to inject String objects? > (because they later can be overwritten with a parameter?) > or is this just a bug in the plugin? > > Regards, > Gabriel > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[S2] Problem injecting String with Spring plugin
Hi, I want to inject a String defined in the Spring's applicationContext.xml file like this: /WEB-INF/templates/ but the Spring plugin does not try to inject it (It works with my other injected, non String class objects though) It is OK that the plugin does not try to inject String objects? (because they later can be overwritten with a parameter?) or is this just a bug in the plugin? Regards, Gabriel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Firefox 3 and render issues
I've avoided some of the pitfalls of the ajax theme before by using jquery (datetimepicker). Only this time it's not an option.. I need to figure out how to get the theme to work reliably with Firefox 3. FF2 there were no issues. matt.payne wrote: > > > Don't use the theme or write your own that uses > jquery instead. > -- View this message in context: http://www.nabble.com/Firefox-3-and-%3Cs%3Ahead-theme%3Dajax-%3E-render-issues-tp18260192p18323888.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2 + Ajax and Back Button
Just give in and use (jquery syntax)) $("#back").click(function(event) { window.location.href='forgot.action'; }) where cree wrote: > > Hello All, > > I am attempting to resolve the ajax back button problem and have gotten > into a situation. I am using struts v 2.0.11 and I know it comes with its > own dojotoolkit. However I cannot find any support for the back button. > I looked throughout and found dojotoolkit v1.1 and downloaded it. It has > a back button fix in which I need to use. > > When I tried to implement it I used its tutorial code, which includes > importing the version 1.1 dojo.js. Inside the jsp I am using an s:div > theme="ajax" and also including s:head theme=ajax. When the jsp loads it > has a confliction with the version 1.1 dojo.js and the version of dojo.js > that is in struts 2.0.11. > > I tried to include all the javascript that is necessary to invoke the dojo > 1.1 that I downloaded in the other jsp (the jsp that gets loaded when the > s:div href gets called). And the javascript isnt being loaded or if it > is, it would not go any further then when I load back.js. > > I guess in short I am looking to see if there is any way that I can > utilize the back.js in the other jsp or throughout the two jsp's or if > there is support in struts 2.0.11's dojo toolkit. > > Always, thank you all very much, > > Cree > -- View this message in context: http://www.nabble.com/Struts-2-%2B-Ajax-and-Back-Button-tp18200250p18323527.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Firefox 3 and render issues
georz1 wrote: > > I'm using Struts 2.0.11 and it seem with Firefox 3 only there are > rendering issues on pages where I have . I can see > the page load fully and there is a quick flash of the browser and then a > blank page with FF3 stuck in a loading state. > > On certain pages I have made it theme=xhtml which solves the problem but > some pages in my application have a which requires the > ajax theme > > Has anyone else seen this type of behavior or know of a work around? > Don't use the theme or write your own that uses jquery instead. -- View this message in context: http://www.nabble.com/Firefox-3-and-%3Cs%3Ahead-theme%3Dajax-%3E-render-issues-tp18260192p18323490.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] File download save dialog
One way is to set the content type of the downloaded item to something the browser doesn't know how to handle itself, like application/octet-stream (*Chris*) On Mon, Jul 7, 2008 at 10:21 AM, Struts Two <[EMAIL PROTECTED]> wrote: > I have an action class that downloads a file from db2 database. However; when > the download occurs, the file is displayed in the browser. I would like to > have the user prompted with the save/open dialog. I was wondering what I am > missing here. Below are my configuration and action class for the file > download: > class="ccol.action.ticket.TicketFileDownload"> > > application/octet-stream > > > public class TicketFileDownload extends ActionSupport { > @EJB3Local > TicketLocal ticketLocal; > private long attachmentId; > > private InputStream inputStream; > public long getAttachmentId() { > return attachmentId; > } > public void setAttachmentId(long attachmentId) { > this.attachmentId = attachmentId; > } > public void setInputStream(InputStream inputStream) { > this.inputStream = inputStream; > } > > public InputStream getInputStream() { > return inputStream; > } > > public String execute(){ > Attachment attachment = ticketLocal.findAttachment(getAttachmentId()); > setInputStream(new ByteArrayInputStream(attachment.getAttachment())); > return Action.SUCCESS; > > } > } > I would appreciate any hints in this regard, thanx. > > > __ > Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! > Canada Messenger at http://ca.beta.messenger.yahoo.com/ > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Slow performance with Struts2
Use firebug to measure you http. Firebug will give you a detail view of what resources (e.g. dojo) are being pulled down with the http traffic. Matt yorlick kilroy-2 wrote: > > Hi, > > I was wondering if there is a way to tweak struts2 performance. > I ported an old struts1 application to struts2. I have jsps that have > rather large and complex lists that I now iterate using Struts2 > and OGNL instead of and EL used in > struts1. I noticed that the performance using Struts2 is pretty much > lower than that of the Struts1 application, especially when displaying > large lists and descending into complex objects using OGNL. > I read that using dojo can cause this, but as far as I know I'm not > (consciously) using dogo, ajax etc. just plain struts2 core. > > -- Joe > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Slow-performance-with-Struts2-tp18092204p18323440.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[S2] File download save dialog
I have an action class that downloads a file from db2 database. However; when the download occurs, the file is displayed in the browser. I would like to have the user prompted with the save/open dialog. I was wondering what I am missing here. Below are my configuration and action class for the file download: application/octet-stream public class TicketFileDownload extends ActionSupport { [EMAIL PROTECTED] TicketLocal ticketLocal; private long attachmentId; private InputStream inputStream; public long getAttachmentId() { return attachmentId; } public void setAttachmentId(long attachmentId) { this.attachmentId = attachmentId; } public void setInputStream(InputStream inputStream) { this.inputStream = inputStream; } public InputStream getInputStream() { return inputStream; } public String execute(){ Attachment attachment = ticketLocal.findAttachment(getAttachmentId()); setInputStream(new ByteArrayInputStream(attachment.getAttachment())); return Action.SUCCESS; } } I would appreciate any hints in this regard, thanx. __ Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
This has been brought up from time to time over the years and has been consistently voted down. (I suggested it once myself and am in favor of it as well.) In lieu of that happening I'd urge people to tag the subject line of all list messages with either [S1] or [S2] (or whatever, as long as it's adopted as an ad-hoc convention) and deal with it on the client side. Dave --- On Mon, 7/7/08, Chris Pratt <[EMAIL PROTECTED]> wrote: > Not that my vote counts, but +1 again. > > On Mon, Jul 7, 2008 at 6:40 AM, Owen Berry > <[EMAIL PROTECTED]> wrote: > > And another, +1 > > > > On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G > <[EMAIL PROTECTED]> wrote: > >> +1 me too > >> > >> Alessio Mereu wrote: > >>> > >>> +1 for me too > >>> > >>> 2008/7/7 Marc Logemann > <[EMAIL PROTECTED]>: > >>> > >>> > > +1 for the suggestion > > Marc > > On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), > "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: > > > > > Could Struts project admins separate > Struts1 and Struts2 users mailing > > lists? > > I think it is bad for the users to > have two frameworks under the same > > mailing list. > > > > > > > > Ahora también puedes acceder a tu > correo Terra desde el móvil. > > Infórmate pinchando aquí. > > > > > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > >> > >> > >> > >> ** DISCLAIMER ** > >> Information contained and transmitted by this > E-MAIL is proprietary to Sify > >> Limited and is intended for use only by the > individual or entity to which it > >> is addressed, and may contain information that is > privileged, confidential > >> or exempt from disclosure under applicable law. If > this is a forwarded > >> message, the content of this E-MAIL may not have > been sent with the > >> authority of the Company. If you are not the > intended recipient, an agent of > >> the intended recipient or a person responsible > for delivering the > >> information to the named recipient, you are > notified that any use, > >> distribution, transmission, printing, copying or > dissemination of this > >> information in any way or in any manner is > strictly prohibited. If you have > >> received this communication in error, please > delete this mail & notify us > >> immediately at [EMAIL PROTECTED] > >> > >> > - > >> To unsubscribe, e-mail: > [EMAIL PROTECTED] > >> For additional commands, e-mail: > [EMAIL PROTECTED] > >> > >> > > > > > - > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
2008/7/7 Musachy Barroso <[EMAIL PROTECTED]>: > There are also new classes under: com.opensymphony.xwork2.util.finder > (borrowed from xbeans) to find classes/resources in the classpath. > They are pretty handy if you use them with UrlSet (in that package > also). Interesting too, thanks Musachy :-) Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
Not that my vote counts, but +1 again. (*Chris*) On Mon, Jul 7, 2008 at 6:40 AM, Owen Berry <[EMAIL PROTECTED]> wrote: > And another, +1 > > On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G <[EMAIL PROTECTED]> wrote: >> +1 me too >> >> Alessio Mereu wrote: >>> >>> +1 for me too >>> >>> 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>: >>> >>> +1 for the suggestion Marc On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Could Struts project admins separate Struts1 and Struts2 users mailing > lists? > I think it is bad for the users to have two frameworks under the same > mailing list. > > > > Ahora también puedes acceder a tu correo Terra desde el móvil. > Infórmate pinchando aquí. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> ** DISCLAIMER ** >> Information contained and transmitted by this E-MAIL is proprietary to Sify >> Limited and is intended for use only by the individual or entity to which it >> is addressed, and may contain information that is privileged, confidential >> or exempt from disclosure under applicable law. If this is a forwarded >> message, the content of this E-MAIL may not have been sent with the >> authority of the Company. If you are not the intended recipient, an agent of >> the intended recipient or a person responsible for delivering the >> information to the named recipient, you are notified that any use, >> distribution, transmission, printing, copying or dissemination of this >> information in any way or in any manner is strictly prohibited. If you have >> received this communication in error, please delete this mail & notify us >> immediately at [EMAIL PROTECTED] >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting Struts2 Parameters?
Are there any exceptions in the logs? Does your class implement ModelDriven? if you posts the relevant parts of your configuration (jsp fragment, action and xml fragment), it will be easier to get help. musachy On Mon, Jul 7, 2008 at 11:38 AM, <[EMAIL PROTECTED]> wrote: > In my struts.xml I have set up a stack for "defaultStack" to include the > Parameters Interceptor, and I have then set the default stack to > "defaultStack". > > In my action class I have set up a setter injector called > setProductId(String productId) which sets to a local variable. > > I then have a form which points to that action, which is AddToCart.action > to be precise. I have an hideen HTML input with the name "productId" and a > value set, however when I submit the form the productId variable in the > action class has not been set? > > Is there something obvious that I might be missing? > > Many thanks and best regards, > > Chris > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Getting Struts2 Parameters?
In my struts.xml I have set up a stack for "defaultStack" to include the Parameters Interceptor, and I have then set the default stack to "defaultStack". In my action class I have set up a setter injector called setProductId(String productId) which sets to a local variable. I then have a form which points to that action, which is AddToCart.action to be precise. I have an hideen HTML input with the name "productId" and a value set, however when I submit the form the productId variable in the action class has not been set? Is there something obvious that I might be missing? Many thanks and best regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
There are also new classes under: com.opensymphony.xwork2.util.finder (borrowed from xbeans) to find classes/resources in the classpath. They are pretty handy if you use them with UrlSet (in that package also). musachy On Mon, Jul 7, 2008 at 11:19 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/7/7 Wes Wannemacher <[EMAIL PROTECTED]>: >> I'm not an XWork committer, and I think Don actually wrote the >> PatternMatcher, which is basically the main component behind >> ClassPathFinder. Don ended up committing the patch for me. None of the >> Struts code needed altered when this was added, so I never really >> worried about the header. >> >> WildcardHelper doesn't look for files, ClassPathFinder does though. It >> searches recursively, so use with caution. > > Thanks a lot Wes, I will check it :-) > > Antonio > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
2008/7/7 Wes Wannemacher <[EMAIL PROTECTED]>: > I'm not an XWork committer, and I think Don actually wrote the > PatternMatcher, which is basically the main component behind > ClassPathFinder. Don ended up committing the patch for me. None of the > Struts code needed altered when this was added, so I never really > worried about the header. > > WildcardHelper doesn't look for files, ClassPathFinder does though. It > searches recursively, so use with caution. Thanks a lot Wes, I will check it :-) Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
I'm not an XWork committer, and I think Don actually wrote the PatternMatcher, which is basically the main component behind ClassPathFinder. Don ended up committing the patch for me. None of the Struts code needed altered when this was added, so I never really worried about the header. WildcardHelper doesn't look for files, ClassPathFinder does though. It searches recursively, so use with caution. On Mon, Jul 7, 2008 at 10:50 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > 2008/7/7 Wes Wannemacher <[EMAIL PROTECTED]>: >> I added some wildcard support to XMLConfigurationProvider a while ago. >> It's not particularly feature-rich, but it works somewhat intuitively. >> Check the unit tests for examples of using it... >> >> http://svn.opensymphony.com/fisheye/browse/~raw,r=1833/xwork/trunk/src/test/com/opensymphony/xwork2/util/WildcardHelperTest.java > > Thanks a lot Wes, I will check it out this evening, it seems useful. > > But I have a couple of questions: > 1. Is WildcardHelper used to get a list of files and resources that > match a pattern? > 2. What about the header that I need to include in the modified > source? Since I know that there is a sort of "treaty" between XWork > and Struts 2, I think that no header is necessary... or yes? > > Thanks again > Antonio > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2 + Ajax and Back Button
Hello again everyone, I guess I would like to give an update on my struts 2 and ajax integration. I appreciate everyone's responses as they have helped a lot to resolve my problem with ajax and the back button. My seemingly last problem I have has to do with IE (no surprise). I have implemented some javascript state object that uses the prototype.back function to handle the back button. I also add that state object to the dojo.undo.browser.addToHistory. To give an idea of the test javascript functions I use they are: <%@ page language="java" %> <%@ taglib uri="/struts-tags" prefix="s" %> // Dojo configuration //djConfig = { isDebug: true, debugAtAllCosts: true, preventBackButtonFix: false }; djConfig = { isDebug: true, preventBackButtonFix: false }; dojo.require("dojo.lang.common"); dojo.require("dojo.undo.browser"); dojo.require("dojo.io.*"); //dojo.hostenv.writeIncludes(); var data = { link0: 'This is the initial state (page first loaded)', link1: 'This is data for link 1', link2: 'This is data for link 2', link3: 'This is data for link 3', link4: 'This is data for link 4', link5: 'This is data for link 5', link6: 'This is data for link 6', link7: 'This is data for link 7' }; var HistoryTracker = function(id){ this._id = id; //TODO: commenting this out breaks FF 1.5. Others? Can't seem to find iframe id/name? this.changeUrl = shouldChangeUrl(); } HistoryTracker.prototype.back = function(){ updateOutput('BACK for id: ' + this._id); showDataForId(this._id); } HistoryTracker.prototype.forward = function(){ updateOutput('FORWARD for id: ' + this._id); showDataForId(this._id); } createXhrHistoryTracker = function(url){ var request = new dojo.io.Request(url, 'text/xml', null, shouldChangeUrl()); dojo.lang.mixin(request, { data: null, load: function(type, evaldObj){ if(type == "load"){ this.data = evaldObj.getElementsByTagName('data')[0].childNodes[0].nodeValue; //evaldObj.getElementsByTagName('data')[0].text;//.getElementsByTagName('data')[0]; updateDataDisplay(this.data); } }, back: function(){ updateOutput('XHR BACK for URL: ' + this.url); updateDataDisplay(this.data); }, forward: function(){ updateOutput('XHR FORWARD for URL: ' + this.url); updateDataDisplay(this.data); } }); return request; } function goIoBind(url){ dojo.io.bind(createXhrHistoryTracker(url)); } function goNav(id){ showDataForId(id); var historyTracker = new HistoryTracker(id); dojo.undo.browser.addToHistory(historyTracker); } function shouldChangeUrl(){ return document.getElementById('changeUrlCheckbox').checked; } function showDataForId(id){ updateDataDisplay(data[id]); } function updateDataDisplay(dataString){ document.getElementById('dataOutput').innerHTML = dataString; } function updateOutput(message){ document.getElementById('output').innerHTML += message + '
'; } dojo.addOnLoad(function(){ dojo.undo.browser.setInitialState(new HistoryTracker('link0')); }); At this point, I can make it work fine for FF version <= 3.0. When I try to u
Re: [Semi-OT] Loading resources/files with wildcards
2008/7/7 Wes Wannemacher <[EMAIL PROTECTED]>: > I added some wildcard support to XMLConfigurationProvider a while ago. > It's not particularly feature-rich, but it works somewhat intuitively. > Check the unit tests for examples of using it... > > http://svn.opensymphony.com/fisheye/browse/~raw,r=1833/xwork/trunk/src/test/com/opensymphony/xwork2/util/WildcardHelperTest.java Thanks a lot Wes, I will check it out this evening, it seems useful. But I have a couple of questions: 1. Is WildcardHelper used to get a list of files and resources that match a pattern? 2. What about the header that I need to include in the modified source? Since I know that there is a sort of "treaty" between XWork and Struts 2, I think that no header is necessary... or yes? Thanks again Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
Antonio, I added some wildcard support to XMLConfigurationProvider a while ago. It's not particularly feature-rich, but it works somewhat intuitively. Check the unit tests for examples of using it... http://svn.opensymphony.com/fisheye/browse/~raw,r=1833/xwork/trunk/src/test/com/opensymphony/xwork2/util/WildcardHelperTest.java On Sun, Jul 6, 2008 at 6:00 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Hi all, > I would like to know if in S1 or in S2 there is a mechanism to load > resources (from classpath) and/or files using wildcards. I really > would like to use it inside Tiles. > I noticed that there such a mechanism in Spring: > http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/core/io/support/PathMatchingResourcePatternResolver.html > but I wish to remain in the Apache world to avoid licensing and > dependencies implications. > > TIA > Antonio > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
2008/7/7 Owen Berry <[EMAIL PROTECTED]>: > In terms of licensing, from the bottom of http://springframework.org/about > > "All Spring projects are licensed under the terms of the Apache > License, Version 2.0." > You're right, sorry for using the wrong term. The problem is that, using a 3rd party software source, we need to create a different header in source files, and I don't want to do so and, if it is possible, I want to use software developed @Apache. Anyway thank you :-) Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multipage forms
Hi all, I'm starting to use multipage forms to have an organisation registration, along with some codes and an admin, 3 steps in total. In the first page, I check in the action if some data from the organisation already exist, to give an error that the organisation is already registered. Does this really belong there or should I move it after the final step and forward to the first step? Thanks Dimitris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Preserving messages across a Redirect in Struts 2
dusty wrote: > > I have found > > name="operationMode">AUTOMATIC > > to work great for addActionMessage. To tell you the truth I haven't tried > it for addActionError or fieldErrors. You would redirect after an error > that should render input? Really? > > Sorry, don't know what "messages" is, it's not part of the struts-default.xml (2.0.11.1). I wanted an Interceptor that didn't require any per-action configuration and would preserve all messages across a redirect. I have it configured as part of my default stack. (I don't have a use-case where the fieldErrors would be useful across a redirect but somebody may and it was easy enough to include them.) -- View this message in context: http://www.nabble.com/-S2--Preserving-messages-across-a-Redirect-in-Struts-2-tp18245061p18317448.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Semi-OT] Loading resources/files with wildcards
In terms of licensing, from the bottom of http://springframework.org/about "All Spring projects are licensed under the terms of the Apache License, Version 2.0." On Sun, Jul 6, 2008 at 6:00 AM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Hi all, > I would like to know if in S1 or in S2 there is a mechanism to load > resources (from classpath) and/or files using wildcards. I really > would like to use it inside Tiles. > I noticed that there such a mechanism in Spring: > http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/core/io/support/PathMatchingResourcePatternResolver.html > but I wish to remain in the Apache world to avoid licensing and > dependencies implications. > > TIA > Antonio > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
And another, +1 On Mon, Jul 7, 2008 at 8:28 AM, ManiKanta G <[EMAIL PROTECTED]> wrote: > +1 me too > > Alessio Mereu wrote: >> >> +1 for me too >> >> 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>: >> >> >>> >>> +1 for the suggestion >>> >>> Marc >>> >>> On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" >>> <[EMAIL PROTECTED]> wrote: >>> Could Struts project admins separate Struts1 and Struts2 users mailing lists? I think it is bad for the users to have two frameworks under the same mailing list. Ahora también puedes acceder a tu correo Terra desde el móvil. Infórmate pinchando aquí. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> > > > > ** DISCLAIMER ** > Information contained and transmitted by this E-MAIL is proprietary to Sify > Limited and is intended for use only by the individual or entity to which it > is addressed, and may contain information that is privileged, confidential > or exempt from disclosure under applicable law. If this is a forwarded > message, the content of this E-MAIL may not have been sent with the > authority of the Company. If you are not the intended recipient, an agent of > the intended recipient or a person responsible for delivering the > information to the named recipient, you are notified that any use, > distribution, transmission, printing, copying or dissemination of this > information in any way or in any manner is strictly prohibited. If you have > received this communication in error, please delete this mail & notify us > immediately at [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to access new javascript struts2 templates/xhtml/validation.js
few options: * you can replace the js file inside struts-core jar(quick and dirty) * write a filter that checks the request URL and writes your version of the file. * overwrite the template that imports that file, and make it import your own file (best option IMO) musachy On Mon, Jul 7, 2008 at 1:21 AM, webdev2 <[EMAIL PROTECTED]> wrote: > > Validation.js is available in the struts core jar file. There was a fix in > Aug 2007 that I would like to have working. I have the download, and I > think I have found the patch too. Now how do I apply the update so that my > project uses the fix, and not the file currently in the core jar? Thanks. > -- > View this message in context: > http://www.nabble.com/how-to-access-new-javascript-struts2-templates-xhtml-validation.js-tp18310213p18310213.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
+1 me too Alessio Mereu wrote: +1 for me too 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>: +1 for the suggestion Marc On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Could Struts project admins separate Struts1 and Struts2 users mailing lists? I think it is bad for the users to have two frameworks under the same mailing list. Ahora también puedes acceder a tu correo Terra desde el móvil. Infórmate pinchando aquí. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** DISCLAIMER ** Information contained and transmitted by this E-MAIL is proprietary to Sify Limited and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail & notify us immediately at [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts1 and Struts2 mailing lists separation ?
+1 for me too 2008/7/7 Marc Logemann <[EMAIL PROTECTED]>: > > +1 for the suggestion > > Marc > > On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: > > Could Struts project admins separate Struts1 and Struts2 users mailing > > lists? > > I think it is bad for the users to have two frameworks under the same > > mailing list. > > > > > > > > Ahora también puedes acceder a tu correo Terra desde el móvil. > > Infórmate pinchando aquí. > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Struts1 and Struts2 mailing lists separation ?
+1 for the suggestion Marc On Mon, 7 Jul 2008 12:53:14 +0200 (MEST), "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Could Struts project admins separate Struts1 and Struts2 users mailing > lists? > I think it is bad for the users to have two frameworks under the same > mailing list. > > > > Ahora también puedes acceder a tu correo Terra desde el móvil. > Infórmate pinchando aquí. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Actions, properties and validation in separate packages?
Wow, you think like I think :-) That´s exactly what I want, structure during development. Thanks alot! dusty wrote: > > Do you really want them in separate packages or do you just want them in > separate directories. It seems to me that you are looking for a > particular organization of files during development, so you can keep all > the like files together. Seems reasonable enough. If that is the case > then you can create a series of "src" directories that mirror the > classpath but only hold particular files. > > So, > > src/main/java/actions/se/intranet/apps/actions/myAction.java > src/main/java/properties/se/intranet/apps/actions/myAction.properties > src/main/java/validation/se/intranet/apps/actions/myAction-validation.xml > > They all have the same packages and classpath, but they are organized how > you think of them. I thinkor you thinkor I think you think > > > > Dallas wrote: >> >> Hi all! >> >> I´m wondering if there´s any way of configuring struts2 to allow >> me to keep actions, properties and validation in separate packages? >> >> At the moment I have one packages, se.intranet.apps which includes >> all my actions, properties and validations. >> >> I´d rather keep them in separate packages, like >> se.intranet.apps.actions >> se.intranet.apps.properties >> se.intranet.apps.validation >> >> Any idea on how to do this? >> I´ve tried reading up on localazation, but looking at >> http://struts.apache.org/2.0.6/docs/localization.html the documentation >> it doesn´t look possible... >> > > -- View this message in context: http://www.nabble.com/Actions%2C-properties-and-validation-in-separate-packages--tp18274471p18314783.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts1 and Struts2 mailing lists separation ?
Could Struts project admins separate Struts1 and Struts2 users mailing lists? I think it is bad for the users to have two frameworks under the same mailing list. Ahora también puedes acceder a tu correo Terra desde el móvil. Infórmate pinchando aquí. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Menu Links In Tiles2 + Struts 2
Hi everybody, I want list of links in menu region of my layout and I am not getting how to configure it for rendering body region corresponding to particular link. If anybody can solve plz reply..!! Thanks in advance. -- View this message in context: http://www.nabble.com/Using-Menu-Links-In-Tiles2-%2B-Struts-2-tp18312481p18312481.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]