Re: [Stripes-users] Stripes framework
Hi Hemang, Yep, I still have some projects in production that use Stripes Best, Andrés M. Luna [image: Logo DW] www.digiworks.com On Tue, Jan 31, 2023 at 10:20 AM Hemang Vyas wrote: > Is any one still using Stripes framework in the production environment? > > > Best, > > -- > Hemang Vyas > Atomogy Corp > 2937 Veneman Ave, Ste-B155 > Modesto, CA 95356 > Desk -(209)523-0033 x222 > > __ > > NOTICE: This e-mail is intended solely for the use of the individual to > whom it is addressed and may contain information that > is privileged, confidential or otherwise exempt from disclosure. If the > reader of this e-mail is not the intended recipient or > the employee or agent responsible for delivering the message to the > intended recipient, you are hereby notified that any > dissemination, distribution, or copying of this communication is strictly > prohibited. If you have received this e-mail by > mistake, please notify the sender immediately and delete this e-mail from > your system. Thank you. > > > > ___ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] [Stripes-dev] Stripes 1.6 Released!
Yeah!!! Andres Saludos, Andrés M. Luna www.digiworks.com On Thu, Jul 23, 2015 at 4:11 PM, Joaquin Valdez wrote: > woohoo! > > -Joaquin > > > On Jul 23, 2015, at 3:09 PM, Rick Grashel wrote: > > Hi all, > > I wanted to take this opportunity to announce the formal release of > Stripes v1.6. For those who are running earlier versions of Stripes > (v1.5.8 or earlier) or even earlier versions of 1.6-SNAPSHOT, there are > significant improvements and defect fixes. The list of items included in > this release are at the following link: > > https://stripesframework.atlassian.net/issues/?filter=10230 > > You can download the latest release from Github here: > > https://github.com/StripesFramework/stripes/releases > > Or you can download it directly from Jenkins: > > > https://stripesframework.ci.cloudbees.com/job/Stripes%201.6.0/lastSuccessfulBuild/artifact/dist/target/ > > The 1.6 release has been published to Sonatype repo, so it is available > through Maven for inclusion in your POMs (thanks, Ben!). > > Planning for Stripes 2.0 is going to be underway. If you have suggestions > for improvements, fixes, or new features you'd like to see, please feel > free to enter an issue request in JIRA ( > https://stripesframework.atlassian.net/), post a message here > (stripes-users, stripes-devel), or let us know on IRC (#stripes). There > have been some great suggestions already for things to help take Stripes > 2.0 into the future. We'd love to hear your feedback. > > Thanks! > > -- Rick > > -- > ___ > Stripes-development mailing list > stripes-developm...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-development > > > > > -- > > ___ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > > -- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Integrate Stripes v1.5.6 and jQuery v1.7.1 attribute name Error
You were right. Thanks for suggesting. I used jQuery validation plugin for Stripes from http://www.stripesframework.org/display/stripes/Validation+Reference and this has form.find var field = ('[name =' + fieldName +']'); when substituted with form.find var field = ('[name = "' + fieldName +'"]'); no longer fails. This would have to change in the plugin. Thank you very much for suggesting. Regards. ____ De: Mike McNally Para: andres ; Stripes Users List Enviado: Domingo 29 de enero de 2012 18:44 Asunto: Re: [Stripes-users] Integrate Stripes v1.5.6 and jQuery v1.7.1 attribute name Error That has little to do with Stripes; that *is* an invalid selector. Somewhere in your JavaScript code there's something trying to find that element by name. The CSS selector syntax insists that the string in the bracketed attribute test be quoted when they're not simple identifiers. Thus your jQuery code needs to look something like: $('input[name="advert.categoryId"]') Note the quotes around "advert.categoryId". On Sun, Jan 29, 2012 at 11:28 AM, andres wrote: > Hello, > I'm developing web with Stripes. I found some problem integrate Stripes > v1.5.6 and jQuery v1.7.1. > If i declare on jsp Stripes nested properties in attribute name with a dot, > like jQuery v1.7.1 gives me a syntax error: "Syntax error, unrecognized > expression: [name=advert.categoryId]" > I was looking on google but i cant found a solution with a Stripes. > One thing, it seems the jQuery guys changed treatment of selectors. > http://api.jquery.com/category/selectors/ > If somebody can help me with a solution i appreciate it very much. > Thanks for attention. > > -- > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > ___ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > -- Turtle, turtle, on the ground, Pink and shiny, turn around.-- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] Integrate Stripes v1.5.6 and jQuery v1.7.1 attribute name Error
Hello, I'm developing web with Stripes. I found some problem integrate Stripes v1.5.6 and jQuery v1.7.1. If i declare on jsp Stripes nested properties in attribute name with a dot, like http://api.jquery.com/category/selectors/ If somebody can help me with a solution i appreciate it very much. Thanks for attention. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] A question about the Stripes form variable int
Muchas gracias por ayuda. Thank you very much for help. ;) --- El mié, 26/1/11, Nikolaos Giannopoulos escribió: De: Nikolaos Giannopoulos Asunto: Re: [Stripes-users] A question about the Stripes form variable int Para: "Stripes Users List" Fecha: miércoles, 26 de enero, 2011 21:08 Andres, IN general I find it is quite useful to avoid primitives for attributes exposed in Stripes forms... and instead use their object versions as Samuel pointed out... which has the nice effect of a blank form field converting to a null value vs. being set to a primitive default value like 0. IN this way by leveraging Objects null acts as if the user didn't supply a value which is very valuable... ;-) --Nikolaos Samuel Santos wrote: > Hi Andres, > > Define your field type as integer instead of int. > > -- > Samuel Santos > http://www.samaxes.com/ > > > On Wed, Jan 26, 2011 at 2:22 PM, andres <mailto:ispanand...@yahoo.es>> wrote: > > A question about the Stripes form variable. > > I have declared price variable as a int in the class. In the jsp > form stripes assigned to this field 0. My question is how to avoid > it then appears 0 in the field? > > Thank you very much for answers. > > > > >-- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > <mailto:Stripes-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/stripes-users > > > > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > ___ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > -- Nikolaos Giannopoulos Director of Information Technology BrightMinds Software Inc. e. nikol...@brightminds.org w. www.brightminds.org t. 1.613.822.1700 c. 1.613.797.0036 f. 1.613.822.1915 -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] A question about the Stripes form variable int
Hi, Samuel Many thanks, its work. ) Greetings. --- El mié, 26/1/11, Samuel Santos escribió: De: Samuel Santos Asunto: Re: [Stripes-users] A question about the Stripes form variable int Para: "Stripes Users List" Fecha: miércoles, 26 de enero, 2011 15:31 Hi Andres, Define your field type as integer instead of int. -- Samuel Santos http://www.samaxes.com/ On Wed, Jan 26, 2011 at 2:22 PM, andres wrote: A question about the Stripes form variable. I have declared price variable as a int in the class. In the jsp form stripes assigned to this field 0. My question is how to avoid it then appears 0 in the field? Thank you very much for answers. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] A question about the Stripes form variable int
A question about the Stripes form variable. I have declared price variable as a int in the class. In the jsp form stripes assigned to this field 0. My question is how to avoid it then appears 0 in the field? Thank you very much for answers. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Question about Stripes form
You are right with xml configuration is cleaner. ;) --- El dom, 23/1/11, Nikolaos Giannopoulos escribió: De: Nikolaos Giannopoulos Asunto: Re: [Stripes-users] Question about Stripes form Para: "Stripes Users List" Fecha: domingo, 23 de enero, 2011 15:16 Andres, That is exactly what we do... i.e. a skeleton class subclass of BeanFirstPopulationStrategy However, I wasn't previously aware of the web.xml init parameter: PopulationStrategy.Class net.sourceforge.stripes.tag.BeanFirstPopulationStrategy ... that appears to accomplishes the same thing and for me at least is MUCH more explicit. i.e. I really like the way Stripes picks up everything in an extensions folder but the above option for me at least makes it clear to new programmers that this option is explicitly different from its default. Thanks Ben. --Nikolaos andres wrote: I know how to do it. For those who find the same problem the solution is. You have to create (on stripes package extensions) class your package ... public class MyPopulationStrategy extends BeanFirstPopulationStrategy{ } As it stands, empty... And it work perfect, Stripes is a very good framework! Thanks to Ben Gunter suggested to me. Greetings to everyone. --- El sáb, 22/1/11, andres escribió: De: andres Asunto: Re: [Stripes-users] Question about Stripes form Para: "Stripes Users List" Fecha: sábado, 22 de enero, 2011 21:27 Thank you very much my friend for the answer, I'll see it. --- El sáb, 22/1/11, Ben Gunter escribió: De: Ben Gunter Asunto: Re: [Stripes-users] Question about Stripes form Para: "Stripes Users List" Fecha: sábado, 22 de enero, 2011 17:34 Form inputs are populated by the PopulationStrategy. DefaultPopulationStrategy, which you are probably using right now, populates an input's value first from a request parameter having the same name as the input, if any, then from the (nested) property of the form's ActionBean, and finally from the "value" attribute. You can change to BeanFirstPopulationStrategy to reverse the first two. That is, the value will be pulled first from the ActionBean property then from the request parameter then from the "value" attribute. To switch the whole application to bean-first, add the following to your StripesFilter configuration: PopulationStrategy.Class net.sourceforge.stripes.tag.BeanFirstPopulationStrategy In my opinion, the default strategy is the better one. Bean-first can be useful sometimes, as in this case. Ideally, one would be able to switch between the two as needed. Such a strategy is described here http://www.stripesframework.org/display/stripes/Overriding+PopulationStrategy+per+ActionBean -Ben On Sat, Jan 22, 2011 at 2:54 AM, andres wrote: Hello everyone. I have a question about Stripes form. I want to change hidden value in the form from action, but Stripes do not want to do it. My form action="/Test/newSearch" name="item" name="item.filterText" name="item.filterPageIndex" class="buttons" ActionBean . ItemVO private item; ItemVO public getItem () { return item; } public void setItem (ItemVO item) { this.item = item; } Resolution newSearch public () { / / print form input values log.debug ("filterText text" + getItem (). getFilterText ()); log.debug ("filterPageIndex value" + getItem (). getFilterPageIndex ()); / / change form hidden value (I want to change hidden value) getItem().setFilterPageIndex (1); return new ForwardResolution ("/ jsp / test.jsp"); } Value received from a
Re: [Stripes-users] Question about Stripes form
I know how to do it. For those who find the same problem the solution is. You have to create (on stripes package extensions) class your package ... public class MyPopulationStrategy extends BeanFirstPopulationStrategy{ } As it stands, empty... And it work perfect, Stripes is a very good framework! Thanks to Ben Gunter suggested to me. Greetings to everyone. --- El sáb, 22/1/11, andres escribió: De: andres Asunto: Re: [Stripes-users] Question about Stripes form Para: "Stripes Users List" Fecha: sábado, 22 de enero, 2011 21:27 Thank you very much my friend for the answer, I'll see it. --- El sáb, 22/1/11, Ben Gunter escribió: De: Ben Gunter Asunto: Re: [Stripes-users] Question about Stripes form Para: "Stripes Users List" Fecha: sábado, 22 de enero, 2011 17:34 Form inputs are populated by the PopulationStrategy. DefaultPopulationStrategy, which you are probably using right now, populates an input's value first from a request parameter having the same name as the input, if any, then from the (nested) property of the form's ActionBean, and finally from the "value" attribute. You can change to BeanFirstPopulationStrategy to reverse the first two. That is, the value will be pulled first from the ActionBean property then from the request parameter then from the "value" attribute. To switch the whole application to bean-first, add the following to your StripesFilter configuration: PopulationStrategy.Class net.sourceforge.stripes.tag.BeanFirstPopulationStrategy In my opinion, the default strategy is the better one. Bean-first can be useful sometimes, as in this case. Ideally, one would be able to switch between the two as needed. Such a strategy is described here http://www.stripesframework.org/display/stripes/Overriding+PopulationStrategy+per+ActionBean -Ben On Sat, Jan 22, 2011 at 2:54 AM, andres wrote: Hello everyone. I have a question about Stripes form. I want to change hidden value in the form from action, but Stripes do not want to do it. My form action="/Test/newSearch" name="item" name="item.filterText" name="item.filterPageIndex" class="buttons" ActionBean . ItemVO private item; ItemVO public getItem () { return item; } public void setItem (ItemVO item) { this.item = item; } Resolution newSearch public () { / / print form input values log.debug ("filterText text" + getItem (). getFilterText ()); log.debug ("filterPageIndex value" + getItem (). getFilterPageIndex ()); / / change form hidden value (I want to change hidden value) getItem().setFilterPageIndex (1); return new ForwardResolution ("/ jsp / test.jsp"); } Value received from action was changed, my question is why Stripes did not change hidden field? I've done something wrong? Thank you very much. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally,
Re: [Stripes-users] Question about Stripes form
Thank you very much my friend for the answer, I'll see it. --- El sáb, 22/1/11, Ben Gunter escribió: De: Ben Gunter Asunto: Re: [Stripes-users] Question about Stripes form Para: "Stripes Users List" Fecha: sábado, 22 de enero, 2011 17:34 Form inputs are populated by the PopulationStrategy. DefaultPopulationStrategy, which you are probably using right now, populates an input's value first from a request parameter having the same name as the input, if any, then from the (nested) property of the form's ActionBean, and finally from the "value" attribute. You can change to BeanFirstPopulationStrategy to reverse the first two. That is, the value will be pulled first from the ActionBean property then from the request parameter then from the "value" attribute. To switch the whole application to bean-first, add the following to your StripesFilter configuration: PopulationStrategy.Class net.sourceforge.stripes.tag.BeanFirstPopulationStrategy In my opinion, the default strategy is the better one. Bean-first can be useful sometimes, as in this case. Ideally, one would be able to switch between the two as needed. Such a strategy is described here http://www.stripesframework.org/display/stripes/Overriding+PopulationStrategy+per+ActionBean -Ben On Sat, Jan 22, 2011 at 2:54 AM, andres wrote: Hello everyone. I have a question about Stripes form. I want to change hidden value in the form from action, but Stripes do not want to do it. My form action="/Test/newSearch" name="item" name="item.filterText" name="item.filterPageIndex" class="buttons" ActionBean . ItemVO private item; ItemVO public getItem () { return item; } public void setItem (ItemVO item) { this.item = item; } Resolution newSearch public () { / / print form input values log.debug ("filterText text" + getItem (). getFilterText ()); log.debug ("filterPageIndex value" + getItem (). getFilterPageIndex ()); / / change form hidden value (I want to change hidden value) getItem().setFilterPageIndex (1); return new ForwardResolution ("/ jsp / test.jsp"); } Value received from action was changed, my question is why Stripes did not change hidden field? I've done something wrong? Thank you very much. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] Question about Stripes form
Hello everyone. I have a question about Stripes form. I want to change hidden value in the form from action, but Stripes do not want to do it. My form action="/Test/newSearch" name="item" name="item.filterText" name="item.filterPageIndex" class="buttons" ActionBean . ItemVO private item; ItemVO public getItem () { return item; } public void setItem (ItemVO item) { this.item = item; } Resolution newSearch public () { / / print form input values log.debug ("filterText text" + getItem (). getFilterText ()); log.debug ("filterPageIndex value" + getItem (). getFilterPageIndex ()); / / change form hidden value (I want to change hidden value) getItem().setFilterPageIndex (1); return new ForwardResolution ("/ jsp / test.jsp"); } Value received from action was changed, my question is why Stripes did not change hidden field? I've done something wrong? Thank you very much. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Stripes and Portlets
Thanks for all. For me I would never use Portlets but is a customer requirement ... We will see the iframe or possibility hook as external application. Greetings --- El lun, 18/10/10, Søren Pedersen escribió: De: Søren Pedersen Asunto: Re: [Stripes-users] Stripes and Portlets Para: "Stripes Users List" Fecha: lunes, 18 de octubre, 2010 20:04 Hi Oscar Sure, although I can't say when this will happen. I have created a bridge that copies some of the concepts in Jsr286, so it should be doable to make it 286 compliant, but we'll see. Will go into production with the first "portlet" next month, so I am a bit excited! Get back in a while when I know more. Regards Søren Den 18/10/2010 19.53 skrev "Oscar Westra van Holthe - Kind" : On 18-10-2010 at 18:50, Søren Pedersen wrote: > Wouldn't it "just" be a question of writing a bridge...Hi Søren, Once you have a semi-working version for JSR 286 and WSRP 2, I'd be more than a little interested in the design of it. Especially as I've seen customers struggling to grasp what's needed to make it work. So far, all "just a simple port" projects I've seen have ended up as at least a partial rewrite, up toa complete redesign of the view layer. Regards, Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Progress is made by lazy men looking for easier ways to do things. =/ () -- Robert Heinlein -BEGIN PGP SIGNATURE- iEYEARECAAYFAky8iQ8ACgkQLDKOJAl7tOI9nwCg2DsTqqpIP74JF3gZFulrU2Ix zmgAoPauLPDbrGGZEcX2HGlEXHwIRYXm =TAzw -END PGP SIGNATURE- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Stripes and Portlets
... some bridge for portlets ... --- El lun, 18/10/10, andres escribió: De: andres Asunto: Re: [Stripes-users] Stripes and Portlets Para: "Stripes Users List" Fecha: lunes, 18 de octubre, 2010 16:19 I dont want to do restructure of Stripes. I am looking for some layer or interfas for implement work with Stripes. I have application on Stripes, and i am not good about portlets. --- El lun, 18/10/10, Oscar Westra van Holthe - Kind escribió: De: Oscar Westra van Holthe - Kind Asunto: Re: [Stripes-users] Stripes and Portlets Para: "Stripes Users List" Fecha: lunes, 18 de octubre, 2010 15:54 On 18-10-2010 at 15:28, Oscar Westra van Holthe - Kind wrote: > To make Stripes work with portlets would require these steps: > 1. Convert the StripesFilter to a portlet filter. > 2. Convert the StripesDispatcher servlet to a portlet (it mainly handles the > lifecycle and lets other classes to the work, so this should be doable). > 3. In the dispatcher portlet, store the Resolution obtained from the event > handling, so it can be used during the rendering phase. > > As an added bonus, you'll need to: > - resolve redirects (impossible for portlets), > - ensure that the Resolution instance can be infinitely reused, > - be aware that rendering properties can and will be stored (and thus reused) > by the portal server, making selecting the default handler trickier Oh, and Resolutions require a HttpServlet and HttpServletResponse, so you'll need to create versions that wrap the corresponding portlet classes -- all three pairs of them: - ActionRequest/ActionResponse - RenderRequest/RenderResponse - ResourceRequest/ResourceResponse To add complexity, you'll need to detect when a Resolution actually provides a page or another resource (download, AJAX response, ...). The reason is that pages are rendered, while all other Resolution results are handled similarly to a dymanic image using a ResourceServingPortlet. You'll also need to provide a different tag to generate such resource URL's. All in all, I think it's easier to reuse Stripes' strengths such as the validators, population strategy, etc. and create a new lifecycle plus PortletBean and Resolution interfaces for it. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () A half truth is a whole lie. -- Yiddish Proverb -Adjunto en línea a continuación- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Stripes and Portlets
I dont want to do restructure of Stripes. I am looking for some layer or interfas for implement work with Stripes. I have application on Stripes, and i am not good about portlets. --- El lun, 18/10/10, Oscar Westra van Holthe - Kind escribió: De: Oscar Westra van Holthe - Kind Asunto: Re: [Stripes-users] Stripes and Portlets Para: "Stripes Users List" Fecha: lunes, 18 de octubre, 2010 15:54 On 18-10-2010 at 15:28, Oscar Westra van Holthe - Kind wrote: > To make Stripes work with portlets would require these steps: > 1. Convert the StripesFilter to a portlet filter. > 2. Convert the StripesDispatcher servlet to a portlet (it mainly handles the > lifecycle and lets other classes to the work, so this should be doable). > 3. In the dispatcher portlet, store the Resolution obtained from the event > handling, so it can be used during the rendering phase. > > As an added bonus, you'll need to: > - resolve redirects (impossible for portlets), > - ensure that the Resolution instance can be infinitely reused, > - be aware that rendering properties can and will be stored (and thus reused) > by the portal server, making selecting the default handler trickier Oh, and Resolutions require a HttpServlet and HttpServletResponse, so you'll need to create versions that wrap the corresponding portlet classes -- all three pairs of them: - ActionRequest/ActionResponse - RenderRequest/RenderResponse - ResourceRequest/ResourceResponse To add complexity, you'll need to detect when a Resolution actually provides a page or another resource (download, AJAX response, ...). The reason is that pages are rendered, while all other Resolution results are handled similarly to a dymanic image using a ResourceServingPortlet. You'll also need to provide a different tag to generate such resource URL's. All in all, I think it's easier to reuse Stripes' strengths such as the validators, population strategy, etc. and create a new lifecycle plus PortletBean and Resolution interfaces for it. Oscar -- ,-_ /() ) Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ (__ ( =/ () A half truth is a whole lie. -- Yiddish Proverb -Adjunto en línea a continuación- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] Stripes and Portlets
Hi all, I want to ask, if anyone has used Stripes for portlets (JSR 168, JSR 286) and if there is a way to use it with portal server (websphere). We have one web application done with Stripes and we want run it like a portlet on websphere portal server. if anyone knows the subject or may give clues would greatly appreciate it. Thanks, greetings The same message in Spanish Quiero preguntar, si alguien ha utilizado Stripes como portlets (JSR 168, JSR 286) y si hay una manera de utilizarlo con el servidor de portal (WebSphere). Tenemos una aplicación web hecha con Stripes y queremos que funcione como un portlet en el servidor WebSphere Portal. Si alguien sabe del tema o puede dar pistas sería de gran aprecio. Gracias, saludos -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Bug stripes messages
Exact, the exception should be thrown earlier, at the point of execution in the action bean...I've done public void addLocalizableMessage(final String messageKey){ try { LocalizableMessage message = new LocalizableMessage(messageKey); message.getMessage(getContext().getLocale()); getContext().getMessages().add(message); } catch (MissingResourceException e) { log.error("MissingResourceException "+e.toString()); } } Greetings --- El mié, 6/10/10, Newman, John W escribió: De: Newman, John W Asunto: Re: [Stripes-users] Bug stripes messages Para: "Stripes Users List" Fecha: miércoles, 6 de octubre, 2010 21:12 I think he’s saying that the exception should be thrown earlier, at the point of execution in the action bean, rather than after the fact in the jsp. Seems reasonable to me, but either way it’s basically the same thing. Bottom line is get your keys correct and test both bean/jsp. You could change that to ResourceBundle resourceBundle = ; getContext (). getMessages (). add (new SimpleMessage (resourceBundle.getMessage("miss.message.text"))); From: Frank Pavageau [mailto:frank.pavag...@gmail.com] Sent: Wednesday, October 06, 2010 2:22 PM To: Stripes Users List Subject: Re: [Stripes-users] Bug stripes messages On Wed, Oct 6, 2010 at 7:43 PM, andres wrote: I discovered a bug in the Stripes messages. If you add in the action, message that does not exist getContext (). getMessages (). add (new LocalizableMessage ("miss.message.text ")); and in jsp will fail in the jsp GRAVE: java.util.MissingResourceException: Can not find resource for bundle ... I can catch with a try in jsp but it is ugly, another option, is to check message if exist before add to messages. Jsp should not fail, giving blank message or replaced by another generic error message. It's not a bug, it's a feature. It's supposed to fail with an exception if you use an invalid key. Otherwise it would go mainly unnoticed. Frank -Adjunto en línea a continuación- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] Bug stripes messages
Hello,I discovered a bug in the Stripes messages. If you add in the action, message that does not exist getContext (). getMessages (). add (new LocalizableMessage (miss.message.text ")); and in jsp will fail in the jsp GRAVE: java.util.MissingResourceException: Can not find resource for bundle ... I can catch with a try in jsp but it is ugly, another option, is to check message if exist before add to messages. Jsp should not fail, giving blank message or replaced by another generic error message. Greetings. EspañolHola Descubri un bug de los Stripes mensajes. Si añades en accion mensaje que no existe getContext().getMessages().add(new LocalizableMessage("miss.message.text")); y en jsp va a fallar en el jsp GRAVE: java.util.MissingResourceException: Can't find resource for bundle... Puedo atrapar con try en jsp pero es feo, otra opcion, es comprobar si mensaje existe antes de añadir a los mensajes. Deberia no fallar en jsp, dando mensaje en blanco o sustituir por otro mensaje generico de error. Saludos. -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Another beginner's question: setting UrlBinding to the URL of the JSP page
In web.xml must be StripesFilter net.sourceforge.stripes.controller.StripesFilter DynamicMappingFilter net.sourceforge.stripes.controller.DynamicMappingFilter DynamicMappingFilter /* REQUEST FORWARD INCLUDE En NameActionBean.java @UrlBinding("/NameActionUrl/{$event}/{$param}") I think not forget anything ) Buy the book "Stripes and Java web development is fun again", it explains many things very well. Regards --- El mar, 14/9/10, andres escribió: De: andres Asunto: Re: [Stripes-users] Another beginner's question: setting UrlBinding to the URL of the JSP page Para: "Stripes Users List" Fecha: martes, 14 de septiembre, 2010 11:18 Here is fairly well explained http://onjava.com/onjava/2007/01/24/java-web-development-with-stripes.html Regards --- El mar, 14/9/10, M.C.S. escribió: De: M.C.S. Asunto: Re: [Stripes-users] Another beginner's question: setting UrlBinding to the URL of the JSP page Para: "Stripes Users List" Fecha: martes, 14 de septiembre, 2010 10:30 Hi, answers inlined. On 14.09.2010 09:24 Antti Sykäri wrote: > Another thing I bumped into when playing with the calculator example and wanted > to make the URLs generated by Stripes prettier. > > I tried this (actually, with the URL "/calc"), but it the resulting page is not > found: > >> HTTP ERROR: 404 >> NOT_FOUND > (I first went to the page /test/calc.jsp, and then clicked 'Add'.) You need to configure the first part of the url in the web.xml if you want to use something other than "action". You could try this: @UrlBinding("/action/calc") Then try to open "/test/action/calc". This should work in your case. > Ideally, I'd like to name my UrlBinding to "/calc.jsp", since it is confusing > and > just plain wrong to have two URLs for one page. (Now both /test/calc.jsp and > /test/calc.action point to the same page.) If you call the jsp directly, you load it directly without entering a method in an action bean. The second url calls the default handler of the action bean - the one annotated with @DefaultHandler. If you have just one Method with the signature "public Resolution someName()", then you don't need the annotation and this method is invoked by Stripes. > But it then actions just do nothing > except reload the .jsp. It's as if the page doesn't go through Stripes at all. > Perhaps that's what actually is happening. They go through Stripes because you get a result with the call of calc.action And last but not least: I never tried to change the action bean suffix to ".jsp". Maybe it can work, but I think that you won't be able to load the real JSPs directly any more. But that is just a guess. Personally, I usually move my JSPs in a subfolder within WEB-INF and load them via custom actions. This way, they can never be called directly from a web browser, and I avoid URL mixture (sometimes seeing .jsps, sometimes .actions). HTH, Marcus -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -Adjunto en línea a continuación- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Another beginner's question: setting UrlBinding to the URL of the JSP page
Here is fairly well explained http://onjava.com/onjava/2007/01/24/java-web-development-with-stripes.html Regards --- El mar, 14/9/10, M.C.S. escribió: De: M.C.S. Asunto: Re: [Stripes-users] Another beginner's question: setting UrlBinding to the URL of the JSP page Para: "Stripes Users List" Fecha: martes, 14 de septiembre, 2010 10:30 Hi, answers inlined. On 14.09.2010 09:24 Antti Sykäri wrote: > Another thing I bumped into when playing with the calculator example and wanted > to make the URLs generated by Stripes prettier. > > I tried this (actually, with the URL "/calc"), but it the resulting page is not > found: > >> HTTP ERROR: 404 >> NOT_FOUND > (I first went to the page /test/calc.jsp, and then clicked 'Add'.) You need to configure the first part of the url in the web.xml if you want to use something other than "action". You could try this: @UrlBinding("/action/calc") Then try to open "/test/action/calc". This should work in your case. > Ideally, I'd like to name my UrlBinding to "/calc.jsp", since it is confusing > and > just plain wrong to have two URLs for one page. (Now both /test/calc.jsp and > /test/calc.action point to the same page.) If you call the jsp directly, you load it directly without entering a method in an action bean. The second url calls the default handler of the action bean - the one annotated with @DefaultHandler. If you have just one Method with the signature "public Resolution someName()", then you don't need the annotation and this method is invoked by Stripes. > But it then actions just do nothing > except reload the .jsp. It's as if the page doesn't go through Stripes at all. > Perhaps that's what actually is happening. They go through Stripes because you get a result with the call of calc.action And last but not least: I never tried to change the action bean suffix to ".jsp". Maybe it can work, but I think that you won't be able to load the real JSPs directly any more. But that is just a guess. Personally, I usually move my JSPs in a subfolder within WEB-INF and load them via custom actions. This way, they can never be called directly from a web browser, and I avoid URL mixture (sometimes seeing .jsps, sometimes .actions). HTH, Marcus -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Stripes Development and its Future...
I'm not the boss to send the test. I programmer and I believe it well the stripes why I proposed to our company. It is normal that my boss asked who uses it. Why you ask if you know some big projects. And I would win Stripes community when incorporated new company with programmers in the world of Stripes. Greetings. --- El dom, 12/9/10, Nikolaos Giannopoulos escribió: De: Nikolaos Giannopoulos Asunto: Re: [Stripes-users] Stripes Development and its Future... Para: "andres" CC: "Stripes Users List" Fecha: domingo, 12 de septiembre, 2010 18:30 Andres, I imagine it wouldn't be hard to do JMeter performance tests with say a Struts 2, Spring MVC, Stripes, etc... set of frameworks. As well, I imagine it wouldn't be hard to setup a simple JMeter performance test on a simple Stripes application. But if that was the most important consideration then I'm sure a simple Google would result in tons of data. However, to me personally at least - and I imagine many others - there are far more important considerations were in the selected framework, the architecture and the design are far more critical than whether Stripes is 10% faster or slower than some other framework. But if you are so concerned that Stripes might simply choke under heavy load why don't you do a simple JMeter test yourself and publish the results? And if you have a 400 employee company then not only might it be prudent to build such a test but I would imagine your company has the people resources to dedicate to doing such a test properly. What do you think? Personally - like Soren - I am not worried but that hasn't been validated. Regards, --Nikolaos andres wrote: > > Thanks for answers. > > Must excist some big project done with Stripes. Stripes has many > years in market. Would be nice to see him. > Maybe someone made test with JMeter? > > Regards. > > > --- El *sáb, 11/9/10, Nikolaos Giannopoulos > //* escribió: > > > De: Nikolaos Giannopoulos > Asunto: Re: [Stripes-users] Stripes Development and its Future... > Para: "Stripes Users List" > Fecha: sábado, 11 de septiembre, 2010 19:03 > > andres wrote: >> Attention must be paid on Stripes Around The Web, this is without >> updating a long time and many links are broken and this gives a >> bad image, because a person who decides to look for new Framework >> also look who use it? >> > I agree and those are the things we need to do better as a community. > >> projects done? And if the largest and most complicated project >> done is give more reliability. >> > I believe there is a list of projects on the WIKI but when I > looked several months ago... I don't recall any sites that I would > classify as large / complicated. > >> First we asked our boss who uses it? We need a hold up heavy >> workloads. We do not know if can create large,wide projects on >> Stripes. If the traffic can really hold? For this we look at >> Stripes Around The Web. >> > Understood. The great news is that Stripes is not a very heavy > framework as such I can't see how it can't be used to build large > scale projects. > > I don't see why it wouldn't be able to handle high traffic and > heavy work loads. With that said I personally believe that a > large site should be architected foremost to include things like > horizontal scalability in mind and as such if performance is an > issue more servers can be added. Of course this is valid to a > point - if there are severe performance deficiencies in the > framework then its another story. > > Also a large site would benefit from good design that includes > things like caching at all levels (JSPs - if you can - we will for > some, Services caching, DB caching, clustered caching - we might > use memcached for some smaller global things, etc...) as that in > itself can "extremely" improve a sites scalability. Case in point > Facebook (built with PHP) once upon a time was rumoured to have > over 500 memcached caching servers to compensate for the fact that > PHP is quite DB intensive... but nonetheless demonstrates how > important caching is in some large sites. Other things to > consider is DB sharding - we did and have built that on top of > Stripersist. > >> Im interested to know if with Stripes can build large projects >> with lots of traffic. Of course a lot depends on how to program, >> but I mean Framework structure. >> > Well. We are going to find out soon. We are building a large > social community
Re: [Stripes-users] Stripes Development and its Future...
Thanks for answers. Must excist some big project done with Stripes. Stripes has many years in market. Would be nice to see him. Maybe someone made test with JMeter? Regards. --- El sáb, 11/9/10, Nikolaos Giannopoulos escribió: De: Nikolaos Giannopoulos Asunto: Re: [Stripes-users] Stripes Development and its Future... Para: "Stripes Users List" Fecha: sábado, 11 de septiembre, 2010 19:03 andres wrote: Attention must be paid on Stripes Around The Web, this is without updating a long time and many links are broken and this gives a bad image, because a person who decides to look for new Framework also look who use it? I agree and those are the things we need to do better as a community. projects done? And if the largest and most complicated project done is give more reliability. I believe there is a list of projects on the WIKI but when I looked several months ago... I don't recall any sites that I would classify as large / complicated. First we asked our boss who uses it? We need a hold up heavy workloads. We do not know if can create large,wide projects on Stripes. If the traffic can really hold? For this we look at Stripes Around The Web. Understood. The great news is that Stripes is not a very heavy framework as such I can't see how it can't be used to build large scale projects. I don't see why it wouldn't be able to handle high traffic and heavy work loads. With that said I personally believe that a large site should be architected foremost to include things like horizontal scalability in mind and as such if performance is an issue more servers can be added. Of course this is valid to a point - if there are severe performance deficiencies in the framework then its another story. Also a large site would benefit from good design that includes things like caching at all levels (JSPs - if you can - we will for some, Services caching, DB caching, clustered caching - we might use memcached for some smaller global things, etc...) as that in itself can "extremely" improve a sites scalability. Case in point Facebook (built with PHP) once upon a time was rumoured to have over 500 memcached caching servers to compensate for the fact that PHP is quite DB intensive... but nonetheless demonstrates how important caching is in some large sites. Other things to consider is DB sharding - we did and have built that on top of Stripersist. Im interested to know if with Stripes can build large projects with lots of traffic. Of course a lot depends on how to program, but I mean Framework structure. Well. We are going to find out soon. We are building a large social community site that will invite 600K users and launch in 8 virtualized countries in 2 languages initially (English and Spanish) and is being built for more countries and languages. We are heavily invested in Stripes as "the" framework for this project and will definitely put it to its test. We will be using Oracle Web Server (RP), GlassFish (AS) and MySQL (DB). We also plan on launching with a 3 tier - 6 server LB'd configuration - in a US data center and will be looking towards adding datacenters in Europe and later in Australia. Also we will leverage CDN's to deliver resources which improve web browser response times but also reduces / offloads serving static content from our data centers. So to make long story short, we will find out soon enough how well Stripes puts up with what we expect to be quite heavy workload / processing, but regardless I personally would focus on architecture and design foremost as a UI framework is but one component and if your architecture and / or design isn't adequate... it won't matter how well Stripes itself performs... as you'll have bigger problems to worry about. In any event, this is merely an opinion at this point. We do hope to provide tangible data to directly answer your question post launch :-) Hope this helps. --Nikolaos Excuse for bad English.). Regards. -Adjunto en línea a continuación- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Start uncovering the many advantages of virtual appliances and start using them
[Stripes-users] Stripes Development and its Future...
I ask about Stripes but I see that is no longer current discussion about future of stripes? I see that there are questions and answers on other issues, maybe someone could answer me this. That's what I ask Our Spanish company (400 employees) is looking for new replace Struts Framework. We are about to decide between Stripes and Spring MVC. Descucion is very interesting. Very good idea to create the blog of Stripes to increase user experience and pieces of code that will serve to teach others and show activity. Through me the Framework is an easy to use and there are examples, but if blog is created and climb more clear examples of usage will be an important help for a person in decisions and Begins. Attention must be paid on Stripes Around The Web, this is without updating a long time and many links are broken and this gives a bad image, because a person who decides to look for new Framework also look who use it? projects done? And if the largest and most complicated project done is give more reliability. First we asked our boss who uses it? We need a hold up heavy workloads. We do not know if can create large,wide projects on Stripes. If the traffic can really hold? For this we look at Stripes Around The Web. Im interested to know if with Stripes can build large projects with lots of traffic. Of course a lot depends on how to program, but I mean Framework structure. Excuse for bad English.). Regards. -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] The best way to separate variabls in a larger form from the action.
Thanks I'll see. Gracias :) --- El vie, 10/9/10, Oscar Westra van Holthe - Kind escribió: De: Oscar Westra van Holthe - Kind Asunto: Re: [Stripes-users] The best way to separate variabls in a larger form from the action. Para: "Stripes Users List" Fecha: viernes, 10 de septiembre, 2010 14:42 On 10-09-2010 at 12:03, andres wrote: > Could you explain more detail how [binding into the domain model, using > Stripersist] work, and how to implement? Stripersist is hosted at the StripesStuff project, and contains an example as well: StipesStuff: http://sourceforge.net/projects/stripes-stuff/ Stripersist 1.0: http://sourceforge.net/projects/stripes-stuff/files/Stripersist/1.0/ The Stripersist example contains three files of interest: - /WEB-INF/web.xml (note the the extension packages) - /WEB-INF/src/ExampleActionBean.java (the magic is here :) ) - /WEB-INF/src/SimpleEntity.java (because ExampleActionBean needs it) Note that this example is also an example of binding into your domain model. For more on that, see: http://www.stripesframework.org/display/stripes/Binding+Into+Domain+Models The only thing not covered by the Stripersist example is @StrictBinding. It's javadoc is pretty straightforward, and can be found here: http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/action/StrictBinding.html Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( Simplicity is prerequisite for reliability. =/ () -- Edsger Dijkstra, EWD498 -Adjunto en línea a continuación- -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] The best way to separate variabls in a larger form from the action.
Could you explain more detail how to implement? Thank you very much. --- El vie, 10/9/10, Richard Hauswald escribió: De: Richard Hauswald Asunto: Re: [Stripes-users] The best way to separate variabls in a larger form from the action. Para: "Stripes Users List" Fecha: viernes, 10 de septiembre, 2010 13:40 Hi, what about creating a Pojo holding all the form variables und referencing it in the actionBean and doing validation using @ValidateNestedProperties? Regards, Richard On Fri, Sep 10, 2010 at 12:52 PM, andres wrote: What is the best way to separate variabls in a larger form the action? In Struts 1 you have a separate action (for the logic) and form (to use for fields). In Stripes have all this in action. Hope I explained well. I thought to create a class NameModel with a variabls for a form and extend it of BaseActionBean and then extend my NombreActionBean class of NameModel to separate variables (form fields) from ActionBean and can access to them. And use only for the logic NombreActionBean. Do you know the better way to do it? After picking up the form fields NameModel would have to pass them to DAO object to store in DB. Thank you. Greetings. -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Richard Hauswald Blog: http://tnfstacc.blogspot.com/ LinkedIn: http://www.linkedin.com/in/richardhauswald Xing: http://www.xing.com/profile/Richard_Hauswald -Adjunto en línea a continuación- -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] The best way to separate variabls in a larger form from the action.
Could you explain more detail how it work, and how to implement? Thank you very much. --- El vie, 10/9/10, Oscar Westra van Holthe - Kind escribió: De: Oscar Westra van Holthe - Kind Asunto: Re: [Stripes-users] The best way to separate variabls in a larger form from the action. Para: "Stripes Users List" Fecha: viernes, 10 de septiembre, 2010 13:44 On 10-09-2010 at 10:52, andres wrote: > What is the best way to separate variabls in a larger form the action? In > Struts 1 you have a separate action (for the logic) and form (to use for > fields). In Stripes have all this in action. Hope I explained well. > > I thought to create a class NameModel with a variabls for a form and extend > it of BaseActionBean and then extend my NombreActionBean class of > NameModel to separate variables (form fields) from ActionBean and can > access to them. And use only for the logic NombreActionBean. > > Do you know the better way to do it? After picking up the form fields > NameModel would have to pass them to DAO object to store in DB. Personally, I let Stripes bind directly into my domain model. By using the Stripersist extension and the @StrictBinding annotation. This way, I have several advantages: 1. The action bean doesn't become cluttered with properties. 2. I do not have to maintain an extra class (which can outdated). 3. I do not have to manually load the object being changed (Stripersist handles this). 4. Anything I don't specify/validate remains untouched (even if specified in the request parameters), thanks to @StrictBinding Oscar -- ,-_ Oscar Westra van Holthe - Kind http://www.xs4all.nl/~kindop/ /() ) (__ ( I disapprove of what you say, but I will defend to the death your =/ () right to say it. -- Voltaire -Adjunto en línea a continuación- -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -Adjunto en línea a continuación- ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] The best way to separate variabls in a larger form from the action.
What is the best way to separate variabls in a larger form the action? In Struts 1 you have a separate action (for the logic) and form (to use for fields). In Stripes have all this in action. Hope I explained well. I thought to create a class NameModel with a variabls for a form and extend it of BaseActionBean and then extend my NombreActionBean class of NameModel to separate variables (form fields) from ActionBean and can access to them. And use only for the logic NombreActionBean. Do you know the better way to do it? After picking up the form fields NameModel would have to pass them to DAO object to store in DB. Thank you. Greetings. -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] Stripes Development and its Future... (this one is long too)
Hello everyone. Our Spanish company (400 employees) is looking for new replace Struts Framework. We are about to decide between Stripes and Spring MVC. Descucion is very interesting. Very good idea to create the blog of Stripes to increase user experience and pieces of code that will serve to teach others and show activity. Through me the Framework is an easy to use and there are examples, but if blog is created and climb more clear examples of usage will be an important help for a person in decisions and Begins. Attention must be paid on Stripes Around The Web, this is without updating a long time and many links are broken and this gives a bad image, because a person who decides to look for new Framework also look who use it? projects done? And if the largest and most complicated project done is give more reliability. First we asked our boss who uses it? We need a hold up heavy workloads. We do not know if can create large,wide projects on Stripes. If the traffic can really hold? For this we look at Stripes Around The Web. Im interested to know if with Stripes can build large projects with lots of traffic. Of course a lot depends on how to program, but I mean Framework structure. Excuse for bad English.). Regards. --- El dom, 5/9/10, Simon escribió: De: Simon Asunto: Re: [Stripes-users] Stripes Development and its Future... (this one is long too) Para: "Stripes Users List" Fecha: domingo, 5 de septiembre, 2010 05:43 On Sat, Sep 4, 2010 at 6:48 PM, karen wrote: > BTW does you're @ImportProperties supports a new form of URL mapping en > building? It does but it's fairly limited compared to a full URL rewriting utility. It solves the problem of having a nested bean that would normally require a parameter to be named like "foo.bar.baz" and allows you to just call it "baz" (you can see the analogy with Java imports). I need this all the time because I make Stripes actions that support interfaces that 3rd party developers are coding to. I don't want to make them use verbose parameter names due to the internal technology I've chosen, and nor do I want to have redundant / duplicated setters and getters littered all over my actions. So it helps a bit with parameters, but not with the path of the URL etc. Cheers, Simon -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] StreamingResolution images
I want to do something like on upload images http://www.ebayanuncios.es/ns/publicar-anuncio What you think how it's done? --- El dom, 29/8/10, Grzegorz Krugły escribió: De: Grzegorz Krugły Asunto: Re: [Stripes-users] StreamingResolution images Para: "Stripes Users List" Fecha: domingo, 29 de agosto, 2010 18:54 You can use AJAX, but it's neither that trivial - file upload won't work through AJAX and you'll have to resort to some hidden iframe tricks. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] StreamingResolution images
I think have to use ajax for save and view image in the form --- El dom, 29/8/10, Grzegorz Krugły escribió: De: Grzegorz Krugły Asunto: Re: [Stripes-users] StreamingResolution images Para: "Stripes Users List" Fecha: domingo, 29 de agosto, 2010 16:28 It won't be that simple, I guess. After POSTing the form, you'll need to save the file to disk somewhere (You could also store it as byte[] in the HttpSession, but it will blow up its size) and use RedirectResolution to go back to your form. On the form just place and write another action that uses StreamingResolution to send previously saved image file to the browser. You'll have to put your inside to test if it should be displayed or not. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] StreamingResolution images
Thanks for replying With File file = new File("C:/"+getNewAttachment().getFileName()); getNewAttachment().save(file); I can save image on file, but i dont need it. With return new StreamingResolution("image/gif",getNewAttachment().getInputStream()); I can forward and see the image in browser (only image, without my form) i dont understand how to keep all form and place new image under stripes:file element in form --- El dom, 29/8/10, Grzegorz Krugły escribió: De: Grzegorz Krugły Asunto: Re: [Stripes-users] StreamingResolution images Para: "Stripes Users List" Fecha: domingo, 29 de agosto, 2010 12:24 The same way you'd put a String field in your action bean to service stripes:text element, You'll need to put FileBean field for stripes:file one. If you go to Stripes' website, You'll find javadoc about FileBean, essentially it has two ways of handling uploaded files - you can save them to disk or get them as a stream (in which case you have to delete the temp file after processing). StreamingResolution is also well documented, just give it a stream as second parameter and it will stream it's contents to the browser. Look at ByteArrayInputStream and ByteArrayOutputStream in standard Java libraries - they are useful when manipulating files using a memory buffer of byte[]. HTH Grzegorz -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] StreamingResolution images
Hello. Could anyone help me with java Framework - stripes? I try to upload image with stripes:file, resize on server and return with new StreamingResolution return ("image / jpeg"... I dont now exactly how send with StreamingResolution and how can I load image after stripes:file element on jsp? Many Thanks -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] (no subject)
-- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] Security with DynamicMappingFilter
Hay, i am new on the stripes. I intent to implement security like Securing Stripes With ACLs or Security Interceptor for custom authorization (http://www.stripesframework.org/pages/viewpage.action?pageId=1114194) with DynamicMappingFilter and dont work for me. Please help me implement one of this security with DynamicMappingFilte. my web.xml is http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> javax.servlet.jsp.jstl.fmt.localizationContext StripesResources Stripes Filter StripesSecurityFilter net.sourceforge.stripes.security.controller.StripesSecurityFilter SecurityManager.Class com.security.WebSecurityManager UnauthorizedResolutionURL jsp/errors/unauthorized.jsp ActionResolver.Packages com.actions Extension.Packages org.stripesbook.reload.extensions, com.extensions DynamicMappingFilter net.sourceforge.stripes.controller.DynamicMappingFilter DynamicMappingFilter /* REQUEST FORWARD INCLUDE index.html And then i intent use it like @Secure(roles = "MANAGE") @UrlBinding("/Home/{$event}") public class HomeActionBean extends BaseActionBean{ ... __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.yahoo.es -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users