Re: [Stripes-users] Getting users location

2017-07-09 Thread Joaquin Valdez
I typically get the setting from the browser locale and language.

Joaquin 

> On Jul 9, 2017, at 11:18 AM, Heather and Jon Turgeon 
>  wrote:
> 
> Hi all, I am trying to get the users general location server side (the 
> country). I have tried getContext().getRequest().getRemoteAddr(); bu that 
> just returns 0:0:0:0:0:0:0:1 (was going to use a web service to get the 
> country from the IP address). Has anyone been able to do this and if so can 
> you point me in the right direction? Thanks again.
> 
> 
> Jon
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] stripes 1.7

2017-03-28 Thread Joaquin Valdez
Hello!

Just curious if there is any news on the release of Stripes 1.7?  Or is there a 
feature list of Stripes 1.7.

Thanks,
Joaquin Valdez
joaquinfval...@gmail.com

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] form with an embedded id

2016-04-18 Thread Joaquin Valdez
Thanks Rick.  Once I escaped the “|” all worked just fine.  Thanks for the idea 
and help.

   String[] dates = combinedId.split( “\\|" );

Joaquin Valdez
joaquinfval...@gmail.com

> On Apr 16, 2016, at 12:37 PM, Rick Grashel  wrote:
> 
> Joaquin,
> 
> Is this a PK for a domain object?  The domain object is called 
> "FreeShippings"?  If so, add the following two methods like the following to 
> your PK class.  (I have put brute force code here.  You should probably do 
> error-checking) :
> 
> public String getCombinedId() {
>return this.startDate.getTime() + "|" + this.endDate.getTime();
> }
> 
> // This presumes a delimiter of pipe
> public String setCombinedId( String combinedId ) {
>String[] dates = combinedId.split( "|" );
>this.startDate = new Date( Long.parseLong( dates[ 0 ] ) );
>this.endDate = new Date( Long.parseLong( dates[ 1 ] ) );
> }
> 
> Then, in your form, you do this:
> 
>  value=${actionBean.freeShippingsPK.combinedId}"/>
> 
> If you want, you can also use a TypeConverter to do domain object loading and 
> manipulation.
> 
> When I am dealing with composite primary keys, I almost always have a pseudo 
> single-field setter/getter for convenience and Type conversion.
> 
> -- Rick
> 
> 
> On Sat, Apr 16, 2016 at 1:16 PM, Joaquin Valdez  <mailto:joaquinfval...@gmail.com>> wrote:
> Thanks Rick!
> 
> The model class I am using doesn’t contain a field called ID as the key.  I 
> wish it did.
> 
> Here is a snippet from the model :
> 
> 
> @Entity
> public class FreeShippings implements Serializable {
> 
> private static final long serialVersionUID = 1L;
>   
>@EmbeddedId
> protected FreeShippingsPK freeShippingsPK;
> ……
> }
>  
> 
> Where FreeShippingsPK is defined as:
> 
> @Embeddable
> public class FreeShippingsPK implements Serializable {
> 
> @Basic(optional = false)
> @NotNull
> @Column(name = "StartDate")
> @Temporal(TemporalType.TIMESTAMP)
> private Date startDate;
> 
> @Basic(optional = false)
>     @NotNull
> @Column(name = "EndDate")
> @Temporal(TemporalType.TIMESTAMP)
> private Date endDate;
> 
>// getters and setters...
> }
> 
> How would I reference this type of Primary key in the hiddent INPUT tag?
> 
> Thanks!
> 
> Joaquin Valdez
> joaquinfval...@gmail.com <mailto:joaquinfval...@gmail.com>
> 
>> On Apr 16, 2016, at 11:55 AM, Rick Grashel > <mailto:rgras...@gmail.com>> wrote:
>> 
>> Hi Joaquin,
>> 
>> If the ID of the user (being edited?) is already known, you can just use a 
>> regular  tag.  No need to use a  tag.  So like this:
>> 
>> http://actionbean.user.id/>}"/>
>> 
>> This presumes that you have a type converter you are using which will load 
>> the user object when the parameters.  My experience with  tags has 
>> been varied.  Sometimes it seems to work and in other situations it does not 
>> behave as expected.  So in situations like the one you described, I will 
>> generally stick with a regular  tag.
>> 
>> -- Rick
>> 
>> On Sat, Apr 16, 2016 at 12:49 PM, Joaquin Valdez > <mailto:joaquinfval...@gmail.com>> wrote:
>> Hello!
>> 
>> I am trying to build a form for a table containing records that has an 
>> embedded Primary Key.  How is that done?  Typically I just do this in the 
>> form tag:
>> 
>> 
>>  
>>  ….
>> 
>> 
>> Currently I have it set up as I mentioned and when I try to retrieve the 
>> user record, it comes back NULL.
>> 
>> Thanks!
>> Joaquin Valdez
>> joaquinfval...@gmail.com <mailto:joaquinfval...@gmail.com>
>> 
>> 
>> --
>> Find and fix application performance issues faster with Applications Manager
>> Applications Manager provides deep performance insights into multiple tiers 
>> of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z 
>> <https://ad.doubleclick.net/ddm/clk/302982198;130105516;z>
>> ___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net 
>> <mailto:Stripes-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/stripes-users 
>> <https://lists.sourceforge.net/lists/listinfo/stripes-users>
>>

Re: [Stripes-users] form with an embedded id

2016-04-16 Thread Joaquin Valdez
Thanks! I will try that.  I had thought of doing just that, but wanted to see 
if there was another way.  

Joaquin

> On Apr 16, 2016, at 12:37 PM, Rick Grashel  wrote:
> 
> Joaquin,
> 
> Is this a PK for a domain object?  The domain object is called 
> "FreeShippings"?  If so, add the following two methods like the following to 
> your PK class.  (I have put brute force code here.  You should probably do 
> error-checking) :
> 
> public String getCombinedId() {
>return this.startDate.getTime() + "|" + this.endDate.getTime();
> }
> 
> // This presumes a delimiter of pipe
> public String setCombinedId( String combinedId ) {
>String[] dates = combinedId.split( "|" );
>this.startDate = new Date( Long.parseLong( dates[ 0 ] ) );
>this.endDate = new Date( Long.parseLong( dates[ 1 ] ) );
> }
> 
> Then, in your form, you do this:
> 
>  value=${actionBean.freeShippingsPK.combinedId}"/>
> 
> If you want, you can also use a TypeConverter to do domain object loading and 
> manipulation.
> 
> When I am dealing with composite primary keys, I almost always have a pseudo 
> single-field setter/getter for convenience and Type conversion.
> 
> -- Rick
> 
> 
>> On Sat, Apr 16, 2016 at 1:16 PM, Joaquin Valdez  
>> wrote:
>> Thanks Rick!
>> 
>> The model class I am using doesn’t contain a field called ID as the key.  I 
>> wish it did.
>> 
>> Here is a snippet from the model :
>> 
>> 
>> @Entity
>> public class FreeShippings implements Serializable {
>> 
>> private static final long serialVersionUID = 1L;
>>   
>>@EmbeddedId
>> protected FreeShippingsPK freeShippingsPK;
>> ……
>> }
>>  
>> 
>> Where FreeShippingsPK is defined as:
>> 
>> @Embeddable
>> public class FreeShippingsPK implements Serializable {
>> 
>> @Basic(optional = false)
>> @NotNull
>> @Column(name = "StartDate")
>> @Temporal(TemporalType.TIMESTAMP)
>>     private Date startDate;
>> 
>> @Basic(optional = false)
>> @NotNull
>> @Column(name = "EndDate")
>> @Temporal(TemporalType.TIMESTAMP)
>> private Date endDate;
>> 
>>// getters and setters...
>> }
>> 
>> How would I reference this type of Primary key in the hiddent INPUT tag?
>> 
>> Thanks!
>> 
>> Joaquin Valdez
>> joaquinfval...@gmail.com
>> 
>>> On Apr 16, 2016, at 11:55 AM, Rick Grashel  wrote:
>>> 
>>> Hi Joaquin,
>>> 
>>> If the ID of the user (being edited?) is already known, you can just use a 
>>> regular  tag.  No need to use a  tag.  So like this:
>>> 
>>> 
>>> 
>>> This presumes that you have a type converter you are using which will load 
>>> the user object when the parameters.  My experience with  tags has 
>>> been varied.  Sometimes it seems to work and in other situations it does 
>>> not behave as expected.  So in situations like the one you described, I 
>>> will generally stick with a regular  tag.
>>> 
>>> -- Rick
>>> 
>>>> On Sat, Apr 16, 2016 at 12:49 PM, Joaquin Valdez 
>>>>  wrote:
>>>> Hello!
>>>> 
>>>> I am trying to build a form for a table containing records that has an 
>>>> embedded Primary Key.  How is that done?  Typically I just do this in the 
>>>> form tag:
>>>> 
>>>> 
>>>>
>>>>….
>>>> 
>>>> 
>>>> Currently I have it set up as I mentioned and when I try to retrieve the 
>>>> user record, it comes back NULL.
>>>> 
>>>> Thanks!
>>>> Joaquin Valdez
>>>> joaquinfval...@gmail.com
>>>> 
>>>> 
>>>> --
>>>> Find and fix application performance issues faster with Applications 
>>>> Manager
>>>> Applications Manager provides deep performance insights into multiple 
>>>> tiers of
>>>> your business applications. It resolves application problems quickly and
>>>> reduces your MTTR. Get your free trial!
>>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>>> ___
>>>> Stripes-users mailing list
>>>> Stripes-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>&

Re: [Stripes-users] form with an embedded id

2016-04-16 Thread Joaquin Valdez
Thanks Rick!

The model class I am using doesn’t contain a field called ID as the key.  I 
wish it did.

Here is a snippet from the model :


@Entity
public class FreeShippings implements Serializable {

private static final long serialVersionUID = 1L;
  
   @EmbeddedId
protected FreeShippingsPK freeShippingsPK;
……
}
 

Where FreeShippingsPK is defined as:

@Embeddable
public class FreeShippingsPK implements Serializable {

@Basic(optional = false)
@NotNull
@Column(name = "StartDate")
@Temporal(TemporalType.TIMESTAMP)
private Date startDate;

@Basic(optional = false)
@NotNull
@Column(name = "EndDate")
@Temporal(TemporalType.TIMESTAMP)
private Date endDate;

   // getters and setters...
}

How would I reference this type of Primary key in the hiddent INPUT tag?

Thanks!

Joaquin Valdez
joaquinfval...@gmail.com

> On Apr 16, 2016, at 11:55 AM, Rick Grashel  wrote:
> 
> Hi Joaquin,
> 
> If the ID of the user (being edited?) is already known, you can just use a 
> regular  tag.  No need to use a  tag.  So like this:
> 
> http://actionbean.user.id/>}"/>
> 
> This presumes that you have a type converter you are using which will load 
> the user object when the parameters.  My experience with  tags has 
> been varied.  Sometimes it seems to work and in other situations it does not 
> behave as expected.  So in situations like the one you described, I will 
> generally stick with a regular  tag.
> 
> -- Rick
> 
> On Sat, Apr 16, 2016 at 12:49 PM, Joaquin Valdez  <mailto:joaquinfval...@gmail.com>> wrote:
> Hello!
> 
> I am trying to build a form for a table containing records that has an 
> embedded Primary Key.  How is that done?  Typically I just do this in the 
> form tag:
> 
> 
>   
>   ….
> 
> 
> Currently I have it set up as I mentioned and when I try to retrieve the user 
> record, it comes back NULL.
> 
> Thanks!
> Joaquin Valdez
> joaquinfval...@gmail.com <mailto:joaquinfval...@gmail.com>
> 
> 
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z 
> <https://ad.doubleclick.net/ddm/clk/302982198;130105516;z>
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net 
> <mailto:Stripes-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/stripes-users 
> <https://lists.sourceforge.net/lists/listinfo/stripes-users>
> 
> 
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] form with an embedded id

2016-04-16 Thread Joaquin Valdez
Hello!

I am trying to build a form for a table containing records that has an embedded 
Primary Key.  How is that done?  Typically I just do this in the form tag:



….


Currently I have it set up as I mentioned and when I try to retrieve the user 
record, it comes back NULL.

Thanks!
Joaquin Valdez
joaquinfval...@gmail.com

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Writing to response.writer is not working

2016-01-23 Thread Joaquin Valdez
Hi!

Is this the same idea as this: 

https://stripesframework.atlassian.net/wiki/display/STRIPES/Wait+Page+for+Long+Events
 ?

Joaquin 

> On Jan 23, 2016, at 10:52 AM, VANKEISBELCK Remi  wrote:
> 
> Hi again,
> 
> Seems like a regular "long running job / polling" scenario. It can be done 
> with current Stripes version, even if it will be less performant if your http 
> client is really non blocking, but that's another story.
> 
> So here's how I'd do this.
> 
> 1/ Server side
> 
> In the ActionBean, I'd submit a task to an executor service (a thread pool) 
> with that long running job that calls the webservice. This task should update 
> the back-end state in some way, so that you can do polling and know when it's 
> done. 
> The same ActionBean can handle Ajax polling via another event method. This 
> one will be called from some JS code in your page.
> 
> public class MyAction implements ActionBean {
> 
>   public Resolution triggerLongRunningJob() {
> // retrieve Executor Service, from servlet context or custom 
> ActionBeanContext
> ExecutorService executorService = ... ; 
> // submit task
> executorService.submit(new MyLongRunningTask(...);
> // return a redirect resolution to the "wait" screen
> return new RedirectResolution(getClass(), "displayWaitScreen")
>   }
> 
>   public Resolution displayWaitScreen() {
> return new ForwardResolution("/WEB-INF/jsp/wait-screen.jsp");
>   }
> 
>   public Resolution poll() {
> // find task completion status and return to the client
> String jsonTaskCompletion = ... ;
> return new StreamingResolution("application/json", jsonTaskCompletion);
>   }
> 
> 
>   // the long running task code is in a Runnable
>   private class MyLongRunningTask implements Runnable {
> public void run() {
>   // call the webservice and update internal state
> 
> }
>   }
> }
> 
> 
> 2/ Client side
> 
> First you'll submit the form to the 'triggerLongRunningJob' event. This will 
> launch the background task and return directly. 
> Then, you'll send xhr requests to the 'poll' event, that will tell you what 
> to do next. If task has completed, then you'll probably change the location 
> of the browser in some way in order to display a "result" page of some sort 
> (ie use your data from the completed task and do whatever you need with it).
> 
> HTH
> 
> Rémi
> 
>  
> 
> 
> 
> 2016-01-23 17:05 GMT+01:00 Ron King :
>> Hi everyone,
>> 
>> I want to write an html page back to the user at the very beginning of an 
>> ActionBean submit method.
>> The method calls a web service that takes around a minute to respond, and I 
>> want to put up a message
>> before the web service finishes.
>> 
>> I'm on Tomcat 8. I tried flushing the writer, but the page still doesn't 
>> display until after I return the
>> Resolution from the submit method.
>> 
>> Is there a way to make it write immediately?
>> 
>> Regards,
>> 
>> Ron
>> 
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>> ___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes Framework + Knockout.js

2016-01-11 Thread Joaquin Valdez
I haven’t used Knockout but I did learn a lot this:

https://github.com/rgrashel/stripes-ember



Joaquin Valdez
joaquinfval...@gmail.com

> On Jan 11, 2016, at 1:56 PM, William Krick  wrote:
> 
> Is anyone using Stripes and Knockout together?
> 
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Newbie

2015-12-21 Thread Joaquin Valdez
I have that one too..Its condensed and good as well.  

Joaquin Valdez
joaquinfval...@gmail.com


> On Dec 21, 2015, at 9:49 AM, Arnold  wrote:
> 
> Have you had a look at this book:
> 
> http://www.amazon.com/Stripes-Example-Brent-Watson/dp/1484209818/ref=sr_1_1?s=books&ie=UTF8&qid=1450716387&sr=1-1&keywords=stripes+by+example
>  
> <http://www.amazon.com/Stripes-Example-Brent-Watson/dp/1484209818/ref=sr_1_1?s=books&ie=UTF8&qid=1450716387&sr=1-1&keywords=stripes+by+example>
> 
> Regards, Arnold Graaff
> Skype ID: arnoldgr
> Tel: +27 83 700 2858
> 
> 
> On 21 December 2015 at 17:02, tika  <mailto:trimtostri...@gmail.com>> wrote:
> Hi all.
> 
> I haven't been programming web apps for a long time and now I want to rework
> one of my apps from Struts 1 to something else. It seems to me that,
> compared to other web frameworks, Stripes seems to be appropriate for my
> needs and flavour. My question is regarding the book about Stripes. It was
> published in 2008 and I'm wondering what part of that book is still valid
> for Stripes 1.6?
> 
> Second, I will also vote for JsonBuilderFactory as my favourite is genson
> library.
> 
> Kind regards. Tika.
> 
> 
> --
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net 
> <mailto:Stripes-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/stripes-users 
> <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

--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Newbie

2015-12-21 Thread Joaquin Valdez
I find the book to be relevant and still a good resource from time to time.

Joaquin Valdez
joaquinfval...@gmail.com


> On Dec 21, 2015, at 8:02 AM, tika  wrote:
> 
> Hi all.
> 
> I haven't been programming web apps for a long time and now I want to rework
> one of my apps from Struts 1 to something else. It seems to me that,
> compared to other web frameworks, Stripes seems to be appropriate for my
> needs and flavour. My question is regarding the book about Stripes. It was
> published in 2008 and I'm wondering what part of that book is still valid
> for Stripes 1.6?
> 
> Second, I will also vote for JsonBuilderFactory as my favourite is genson
> library.
> 
> Kind regards. Tika.
> 
> 
> --
> ___
> 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 Hibernate or eBean with Stripes

2015-08-21 Thread Joaquin Valdez
Yes please.

Joaquin Valdez
joaquinfval...@gmail.com
1.541.702.1281

> On Aug 21, 2015, at 2:30 PM, Remi Vankeisbelck  wrote:
> 
> Nice, I didn't know it was still available.
> 
> We should move the code to gh and add some docs in the wiki ?
> 
> Cheers
> 
> Rémi
> De : Tom Coleman <mailto:tcole...@autowares.com>
> Envoyé : ‎21/‎08/‎2015 19:58
> À : Stripes Users List <mailto:stripes-users@lists.sourceforge.net>
> Objet : Re: [Stripes-users] Integrate Hibernate or eBean with Stripes
> 
> 
> Check out stripersist:
> 
> http://sourceforge.net/projects/stripes-stuff/files/Stripersist/ 
> <http://sourceforge.net/projects/stripes-stuff/files/Stripersist/>
> 
> There is a sample program in the distribution.
> 
> It simple and works like a charm.
> 
> On Aug 20, 2015, at 8:27 PM, parveen yadav wrote:
> 
>> Hi All,
>> 
>> This is my first interaction with Stripes. The framework looks clean and
>> simple. I come from Oracle Commerce(formally ATG) background and do not have
>> experience with any other frameworks at all. I am unable to find any step by
>> step guide to integrate Hibernate or EBean with stripes. The documentation
>> (only for Hibernate) provided on the site is more for a experienced 
>> programmer.
>> 
>> I am developing a portal related to real-estate. It will be really helpful
>> if someone could help me out on integrating ebeans or hibernate with Stripes
>> 
>> thanks
>> yadav
>> 
> 
> --
> ___
> 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!

2015-07-23 Thread Joaquin Valdez
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


Re: [Stripes-users] Action with an epub resolution

2015-05-05 Thread Joaquin Valdez
From Freddy’s book:   

In web.xml
 DispatcherServlet 
*.abc


and override the getBindingSuffix( ) method of NameBasedActionResolver: 

Create this class: /src/yourname/ext/MyActionResolver.java

package yourpackage.ext;
public class MyActionResolver extends NameBasedActionResolver {

@Override
protected String getBindingSuffix() {

return ".abc"; }

}

Joaquin Valdez
joaquinfval...@gmail.com
1.541.702.1281

> On May 5, 2015, at 6:51 AM, Heather and Jon Turgeon 
>  wrote:
> 
> Hello all, I have a web app that generates an epub from information stored in 
> a database. I have an action that creates the book and then sends it back to 
> the client as an epub. This works great in Windows/Linux and Android but is 
> less than great on my iPad. Since the link on the page that calls the epub 
> code ends in .action the iPad does not know which app to use to open the 
> book. Is there some way in Struts to call an action using a link that ends 
> with .epub? Something like www.somewebsite.com/newbook.epub 
>  that would call a Stripes 
> action which could then pass back a book named differentBookName.ebub (my 
> site can create multiple books depending on user content).
> 
> Jon
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud 
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
>  
> <http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___>
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net 
> <mailto:Stripes-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/stripes-users 
> <https://lists.sourceforge.net/lists/listinfo/stripes-users>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] using stripes select just for the collection feature

2015-03-17 Thread Joaquin Valdez
I wonder if the dynamic tag library would help out here?

Joaquin



On Tue, Mar 17, 2015 at 11:08 AM, William Krick 
wrote:

> I have a  that I'm using to provide a list of items to the
> user using the .
>
> When an item is selected in the list, some javascript is triggered that
> adds some on-screen text to a table along with some hidden input tags that
> get submitted with the page.
>
> However, the actual value currently selected in the  isn't
> important and I don't need or want it to be submitted.  The only reason I'm
> suing  is to take advantage of the collection population
> feature.
>
> The problem I'm having is that  requires a name.
> If you leave the name blank like this...
>
> 
>  label="display" />
> 
>
> ...you get an error when you submit...
>
> [DefaultActionBeanPropertyBinder] Could not bind property with name [] to
> bean of type...
>
> ...followed by a NullPointerException.
>
>
> However, if you give it a dummy name like this...
>
> 
>  label="display" />
> 
>
> ...you get a different error when the page loads...
>
> [DefaultPopulationStrategy] Could not find property [dummyName] on ...
>
>
> Obviously, out of the two choices, the second option is better because it
> doesn't cause an exception, but I was wondering if other people are using
>  this way and how they deal with the warnings/errors or if
> they just ignore them.
>
> I even tried this...
>
> 
>  label="display" />
> 
>
> ...but that throws an exception when the page loads...
>
> net.sourceforge.stripes.exception.StripesJspException: Option tags must
> always be contained inside a select tag.
>
>
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] CMS Integration with Stripes

2015-03-02 Thread Joaquin Valdez
Thanks Rick!  Off topic a bit,  but how are login credentials handled with this 
framework when calling a rest method?

Thanks 
Joaquin 



> On Feb 28, 2015, at 7:13 AM, Rick Grashel  wrote:
> 
> Hi guys,
> 
> I also had similar issues writing REST services with Stripes.  I absolutely 
> did not want to get rid of Stripes, so I had to write a REST ActionBean 
> framework for Stripes which supported all of Stripes validation and binding.  
> If you are interested, you can download it here:
> 
> https://github.com/rgrashel/stripes-rest
> 
> I can help anybody out with implementation of a REST service if they need it. 
>  But for this library, full Stripes validation is supported.  It uses the 
> same "convention" approach that Stripes uses, so you write get(), post(), 
> delete(), head(), put() methods and they will be automatically called.  It 
> also uses Stripes' own internal Javascript builder and has a new 
> JsonResolution to create JSON-based responses.
> 
> Give it a look if you are interested.  I have been using it in production for 
> quite awhile and it works well.
> 
> Thanks.
> 
> -- Rick
> 
> 
>> On Sat, Feb 28, 2015 at 7:17 AM, Janne Jalkanen  
>> wrote:
>> 
>> We’ve just been lazy and done
>> 
>> public Resolution foo()
>> {
>>  switch( getContext().getRequest().getMethod() )
>>  {
>>   case “post”:
>>  return doPost();
>>case “get”
>>  return doGet()
>>case “delete”:
>>  return doDelete();
>>   default:
>>  return new ErrorResolution( … );
>>  }
>> }
>> 
>> What’s a bit more difficult is to incorporate validation into this, but we 
>> basically have a superclass which has something like this:
>> 
>> /**
>>  *  Normally Stripes turns validation errors into HTML, but since this 
>> is an API,
>>  *  we turn it into JSON.  Returns a JSON resolution with a single
>>  *  field "error" which then contains a number of errors.
>>  */
>> @Override
>> public Resolution handleValidationErrors( ValidationErrors errors )
>> {
>> JSONObject obj = new JSONObject();
>> 
>> obj.put( "error", constructErrorObject(errors) );
>> 
>> return new JSONResolution( HttpServletResponse.SC_BAD_REQUEST, obj );
>> }
>> 
>> /**
>>  *  Turns a ValidationErrors document into JSON.
>>  *
>>  *  @param errors
>>  *  @return
>>  */
>> private Object constructErrorObject( ValidationErrors errors )
>> {
>> JSONObject obj = new JSONObject();
>> 
>> if( !errors.hasFieldErrors() )
>> {
>> if( errors.containsKey( ValidationErrors.GLOBAL_ERROR ) )
>> {
>> obj.put( "code", ERR_VALIDATION );
>> obj.put( "description", errors.get( 
>> ValidationErrors.GLOBAL_ERROR ).get( 0 ).getMessage( 
>> getContext().getLocale() ) );
>> }
>> }
>> else
>> {
>> for( List list : errors.values() )
>> {
>> obj.put( "code", ERR_VALIDATION );
>> obj.put( "description", list.get(0).getFieldName() + ": "+ 
>> list.get( 0 ).getMessage( getContext().getLocale() ) );
>> }
>> }
>> 
>> obj.put("status", 400);
>> 
>> return obj;
>> }
>> 
>> JSONResolution is a custom class which has this in its heart:
>> 
>> protected static ObjectMapper c_mapper = new ObjectMapper();
>> protected static ObjectMapper c_prettyMapper = new ObjectMapper();
>> 
>> static
>> {
>> c_prettyMapper.configure( SerializationFeature.INDENT_OUTPUT, true );
>> }
>> 
>> @Override
>> public void execute( HttpServletRequest request, HttpServletResponse 
>> response ) throws Exception
>> {
>> response.setStatus( m_status );
>> response.setContentType( m_contentType );
>> response.setCharacterEncoding( "UTF-8" );
>> 
>> if( "true".equals(request.getParameter( "pretty" )) )
>> c_prettyMapper.writeValue( response.getOutputStream(), m_object 
>> );
>> else
>> c_mapper.writeValue( response.getOutputStream(), m_object );
>> 
>> response.getOutputStream().flush();
>> }
>> 
>> This btw lets you just get nice JSON back from any API call by adding 
>> “&pretty=true” to the request URL.  This has proven to be invaluable while 
>> debugging.
>> 
>> One important caveat is that to protect against CSRF attacks you will want 
>> to make sure that every single one of your API endpoints handles GET 
>> requests properly. Since Stripe does not really differentiate between GET 
>> and POST, you might accidentally allow people to make changes to your DB 
>> using a GET method.  We just limit the allowable methods via an annotation 
>> and an interceptor.
>> 
>> Stripe is OK for REST API development; more modern frameworks like 
>> Dropwizard do make some things a bit easie

Re: [Stripes-users] cancel file upload

2015-01-16 Thread Joaquin Valdez
Thanks Rick!  If  you don’t mind too much, do you have a  small example of what 
that would look like?

Joaquin

> On Jan 16, 2015, at 5:23 AM, Rick Grashel  wrote:
> 
> A redirect is a quick and easy way to stop a file upload.  On the form, you 
> could have a (modal) file upload progress indicator which has a "Cancel" link 
> or button under (or next to) it.  Clicking "Cancel" can trigger a redirect 
> back to the same page with a Stripes global message confirmation -- Upload 
> Has Been Cancelled.  I've done this a few times before and it works pretty 
> well.
> 
> -- Rick
> 
> On Thu, Jan 15, 2015 at 10:51 PM, Joaquin Valdez  <mailto:joaquinfval...@gmail.com>> wrote:
> Hello!
> 
> What are ways to abort a file upload once it has been initiated ?
> 
>   enctype="multipart/form-data" >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> :
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> Thanks,
> Joaquin
> 
> 
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet <http://p.sf.net/sfu/gigenet>
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net 
> <mailto:Stripes-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/stripes-users 
> <https://lists.sourceforge.net/lists/listinfo/stripes-users>
> 
> 
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] cancel file upload

2015-01-16 Thread Joaquin Valdez
Given the code below, If I selected a file to be uploaded then pressed save, 
the upload begins.  A client wants to be able to click a button on the page to 
cancel the upload. 

Joaquin


> On Jan 16, 2015, at 5:13 AM, Remi Vankeisbelck  wrote:
> 
> You mean from the browser, or server side?
> 
> Cheers
> 
> Rémi
> De : Joaquin Valdez <mailto:joaquinfval...@gmail.com>
> Envoyé : ‎16/‎01/‎2015 05:52
> À : Stripes Users List <mailto:stripes-users@lists.sourceforge.net>
> Objet : [Stripes-users] cancel file upload
> 
> Hello!
> 
> What are ways to abort a file upload once it has been initiated ?
> 
>   enctype="multipart/form-data" >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> :
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> Thanks,
> Joaquin
> 
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] cancel file upload

2015-01-15 Thread Joaquin Valdez
Hello!

What are ways to abort a file upload once it has been initiated ?

 









:







 





Thanks,
Joaquin

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] JSP expression language and stripes framework

2014-11-21 Thread Joaquin Valdez
I do this using JSTL but I am sure there is a better way:


   // do something...

http://actionbean.person.name/>} 
> 
> 
> I'm trying to figure out how to display alternate text in the jsp if the 
> value from the actionBean is null, but I can't figure out any syntax that 
> works.  I was expecting something like this to work, but that doesn't seem to 
> be the case...
> 
> 
> Hello ${ (actionBean.person.name  != 
> null) ? actionBean.person.name  : 'valued 
> customer'} 
> 
> 
> Is something like this possible, or do I need to write a method in the 
> actionBean that does this logic and returns the appropriate string?
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes - HTTP Error 404

2014-11-15 Thread Joaquin Valdez
I only spotted it because I have made that mistake myself!! :-)



> On Nov 15, 2014, at 7:47 PM, Joe  wrote:
> 
> Joaquin - you are right!
> 
> It should be WEB-INF not WEB_INF.
> 
> What a stupid mistake!
> 
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes - HTTP Error 404

2014-11-15 Thread Joaquin Valdez
I think its this line:

  private static final String TABLE = "/WEB_INF/jsp/part/expense_table.jsp”;   
<== notice the underscore  should it be a “-“

Joaquin



> On Nov 15, 2014, at 7:37 PM, Joe  wrote:
> 
> More context - the directory structure and jsp's.
> 
> \WEB-INF
>\jsp
>expense_list.jsp
>\common
>layout_blank.jsp
>\part
>expense_table.jsp
> 
> layout_blank.jsp
> 
> <%@page contentType="text/html;charset=ISO-8859-1" language="java"%>
> <%@include file="/WEB-INF/jsp/common/taglibs.jsp"%>
> 
> 
>
>Body goes here
>
> 
> 
> expense_table.jsp
> 
> <%@ include file="/WEB-INF/jsp/common/taglibs.jsp" %>
> 
> 
>
> 
> requestURI="" defaultsort="1" defaultorder="descending" 
> pagesize="10" sort="list">
>
>
>
> sortable="false"/>
>
> 
>
> 
> 
> 
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] stream resolution file download

2014-10-03 Thread Joaquin Valdez
Thanks Rick!  This is sure puzzling.

When I first encountered this problem, I was not saving the file data in the 
database at all.  Rather, just the stats of the file (filename, size) in the 
Attachment table.  The file was stored on disk, then read and streamed back 
when requested by the AB.  This worked just fine for text files but not PDF’s 
or Excel files.

Hmm….thanks for the direction.  I will keep digging.

-Joaquin


 

On Oct 3, 2014, at 12:28 PM, Rick Grashel  wrote:

> Joaquin,
> 
> I honestly think what is being temporarily persisted on disk (from the 
> FileBean) is NOT exactly matching what is being put into the DB.
> 
> A couple of things here.  First, converting file blobs for DB storage can be 
> very sensitive.  I had all sorts of issues going from FileBeans on the file 
> system to byte arrays where there would be mysterious paddings of null 
> (char(0)) that would be missing.  Almost like it was a native filesystem 
> block/page issue or a filesystem metadata issue.  Some of the file formats 
> are very sensitive to even padded nulls at the end or beginning of their file.
> 
> Another problem I've had before is the JDBC driver itself not persisting the 
> BLOBs properly if my DAO code was using setBlob() rather than 
> setBinaryStream().  I'm not sure what Stripersist uses behind the scenes, but 
> that is also something to check.  But for safety, setBinaryStream() should be 
> used.  I've never had a problem with it.  Even if you end up using 
> Stripersist to store the attachment (without the blob) and then do a manual 
> JDBC call for the binary stream... you should do that.
> 
> The other possibility (if these are very large files) is to first insert the 
> attachment metadata/object using Stripersist/JPA (without the blob) and then 
> create a native OS Executor to execute your DB command-line utility to import 
> the file into the Blob column.  For MySQL, that would look something like 
> "update attachment set data = LOAD_FILE( '/path/to/file');'
> 
> So those are some ideas to try out.  Good luck.
> 
> -- Rick
> 
> 
> On Fri, Oct 3, 2014 at 10:41 AM, Joaquin Valdez  
> wrote:
> Thanks Rick!
> 
> To read using BaseDaoImpl:
> 
>   @Override
> public T read(ID id) {
> 
> return Stripersist.getEntityManager().find(getEntityClass(), id);
> }
> 
> 
> 
> 
> To store the attachment:
> 
>   private void addAttachment(FileBean fileBean) throws IOException {
> Attachment attachment = new Attachment();
> attachment.setFileName(fileBean.getFileName());
> attachment.setContentType(fileBean.getContentType());
> attachment.setFilesize(fileBean.getSize());
> 
> byte[] data = new byte[(int) fileBean.getSize()];
> InputStream in = fileBean.getInputStream();
> in.read(data);
> attachment.setData(data);
> 
> attachment.setIns(getIns());
> attachmentDao.save(attachment);
> attachmentDao.commit();
> attachment = attachmentDao.read(attachment.getId());
> fileBean.save(new File(attachmentDao.getFilePath(attachment)));
> getIns().getAttachments().add(attachment);
> }
> 
> 
> Thank you,
> Joaquin
> 
> 
> 
> On Oct 3, 2014, at 6:31 AM, Rick Grashel  wrote:
> 
>> What does the code look like in AttachmentDAO.read( id )?  Also, what does 
>> the code look like that stores the attachment when it is uploaded?
>> 
>> -- Rick
>> 
>> On Fri, Oct 3, 2014 at 8:16 AM, Joaquin Valdez  
>> wrote:
>> Hello!
>> 
>> I seem to have trouble with the results of downloading an Excel spreadsheet 
>> (XLS or XSLX) file using the following code:
>> 
>>  public Resolution getAttachment() {
>> 
>> Attachment attachment = attachmentDao.read(getAttachId());
>> if (attachment.getIns().getId().equals(getIns().getId())) {
>> return new StreamingResolution
>> (attachment.getContentType(), new 
>> ByteArrayInputStream(attachment.getData()))
>> .setFilename(attachment.getFileName());
>> } 
>> }
>> 
>> The upload appears to happen just fine as I am able to open up the uploaded 
>> file and it renders like it should.  The downloaded file appears garbled.  
>> Attached is an image of the mess in Apple Numbers and it looks Similar in 
>> Libre Office.
>> 
>> Any help or ideas would be appreciated!
>> 
>> Thanks,
>> Joaquin
>>  
>> 
>> 
>> 
>> --
>> Meet PCI DSS 3.0 Compliance 

Re: [Stripes-users] stream resolution file download

2014-10-03 Thread Joaquin Valdez
Thanks Rick!

To read using BaseDaoImpl:

  @Override
public T read(ID id) {

return Stripersist.getEntityManager().find(getEntityClass(), id);
}




To store the attachment:

  private void addAttachment(FileBean fileBean) throws IOException {
Attachment attachment = new Attachment();
attachment.setFileName(fileBean.getFileName());
attachment.setContentType(fileBean.getContentType());
attachment.setFilesize(fileBean.getSize());

byte[] data = new byte[(int) fileBean.getSize()];
InputStream in = fileBean.getInputStream();
in.read(data);
attachment.setData(data);

attachment.setIns(getIns());
attachmentDao.save(attachment);
attachmentDao.commit();
attachment = attachmentDao.read(attachment.getId());
fileBean.save(new File(attachmentDao.getFilePath(attachment)));
getIns().getAttachments().add(attachment);
}


Thank you,
Joaquin



On Oct 3, 2014, at 6:31 AM, Rick Grashel  wrote:

> What does the code look like in AttachmentDAO.read( id )?  Also, what does 
> the code look like that stores the attachment when it is uploaded?
> 
> -- Rick
> 
> On Fri, Oct 3, 2014 at 8:16 AM, Joaquin Valdez  
> wrote:
> Hello!
> 
> I seem to have trouble with the results of downloading an Excel spreadsheet 
> (XLS or XSLX) file using the following code:
> 
>  public Resolution getAttachment() {
> 
> Attachment attachment = attachmentDao.read(getAttachId());
> if (attachment.getIns().getId().equals(getIns().getId())) {
> return new StreamingResolution
> (attachment.getContentType(), new 
> ByteArrayInputStream(attachment.getData()))
> .setFilename(attachment.getFileName());
> } 
> }
> 
> The upload appears to happen just fine as I am able to open up the uploaded 
> file and it renders like it should.  The downloaded file appears garbled.  
> Attached is an image of the mess in Apple Numbers and it looks Similar in 
> Libre Office.
> 
> Any help or ideas would be appreciated!
> 
> Thanks,
> Joaquin
>  
> 
> 
> 
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] stream resolution file download

2014-10-03 Thread Joaquin Valdez
Hello!

I seem to have trouble with the results of downloading an Excel spreadsheet 
(XLS or XSLX) file using the following code:

 public Resolution getAttachment() {

Attachment attachment = attachmentDao.read(getAttachId());
if (attachment.getIns().getId().equals(getIns().getId())) {
return new StreamingResolution
(attachment.getContentType(), new 
ByteArrayInputStream(attachment.getData()))
.setFilename(attachment.getFileName());
} 
}

The upload appears to happen just fine as I am able to open up the uploaded 
file and it renders like it should.  The downloaded file appears garbled.  
Attached is an image of the mess in Apple Numbers and it looks Similar in Libre 
Office.

Any help or ideas would be appreciated!

Thanks,
Joaquin
 

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] validation return url

2014-06-02 Thread Joaquin Valdez
Thank you Janne!

On Jun 1, 2014, at 11:35 PM, Janne Jalkanen  wrote:

> 
> Yup.
> 
> In your ActionBean, try something like this:
> 
> @Override
> public Resolution handleValidationErrors( ValidationErrors errors ) 
> throws Exception
> {
> return new ForwardResolution(“/MainForm?id=3");
> }
> 
> /Janne
> 
> On 2 Jun 2014, at 04:23, Joaquin Valdez  wrote:
> 
>> Hello!
>> 
>> Is it possible to control the return url when a validation error is 
>> triggered by the following line:
>> 
>> @Validate(required = true)
>> private String customername;
>> 
>> If I do not fill in customer name, it goes back to MainForm.action.  I would 
>> like to adjust that so it goes back to MainForm.action?id=3
>> 
>> Thank you
>> Joaquin Valdez
>> 
>> --
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their 
>> applications. Written by three acclaimed leaders in the field, 
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their 
> applications. Written by three acclaimed leaders in the field, 
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users



smime.p7s
Description: S/MIME cryptographic signature
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] validation return url

2014-06-01 Thread Joaquin Valdez
Hello!

Is it possible to control the return url when a validation error is triggered 
by the following line:

@Validate(required = true)
private String customername;

If I do not fill in customer name, it goes back to MainForm.action.  I would 
like to adjust that so it goes back to MainForm.action?id=3

Thank you
Joaquin Valdez



smime.p7s
Description: S/MIME cryptographic signature
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] adding event names to links

2014-03-07 Thread Joaquin Valdez
Hi Chris,

Wouldn’t URL Binding might make it prettier?

Joaquin

On Mar 7, 2014, at 3:23 PM, Chris Cheshire  wrote:

> In an action bean I have a few handlers, for example handler1, handler2, 
> handler3. If I add those to the event param in a stripes:link 
> 
> 
> 
> then the resultant url comes out like
> 
> /path/to/my/action?handler1=
> 
> Is there any way to not have the = appear? I realise it is somewhat cosmetic, 
> but it bugs me :)
> 
> Chris
> --
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works. 
> Faster operations. Version large binaries.  Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] stripersist +multiple databases

2013-09-07 Thread Joaquin Valdez
Hi - 

What is the preferred way of connecting to multiple databases with the same 
structure in a Stripes app?  I have a project where on the login page 
credentials are entered and a cilent is chosen.  Based on the client.  I would 
like my application to connect to that client database for the duration of 
their session.

Thank you!
Joaquin




--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] URL Binding with multiple URLs

2013-07-24 Thread Joaquin Valdez
This would be great!

Joaquin 

On Jul 24, 2013, at 9:19 AM, Ben Gunter  wrote:

> It would seem you are not alone.
> 
> http://stripesframework.org/jira/browse/STS-895
> 
> 
> On Wed, Jul 24, 2013 at 11:18 AM, Adam Stokar  wrote:
>> That's not a very scalable solution.  I have over 60 ActionBean classes that 
>> would each need a subclass.  I think this is a reasonable request to add to 
>> the library.
>> 
>> 
>> On Wed, Jul 24, 2013 at 10:54 AM, Ben Gunter  wrote:
>>> A workaround is to subclass the ActionBean in question and put a different 
>>> @UrlBinding on the subclass.
>>> 
>>> -Ben
>>> 
>>> 
>>> On Wed, Jul 24, 2013 at 9:59 AM, Adam Stokar  wrote:
 Hi all,
 
 It doesn't seem like it's possible to assign two URL's to the same action 
 bean.  Does anyone have an easy workaround for this?  I'm trying to do 
 something like:
 
 @UrlBinding({"/locations","/Locations"})
 Thanks,
 
 Adam
 
 
 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
 ___
 Stripes-users mailing list
 Stripes-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/stripes-users
>>> 
>>> 
>>> --
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> ___
>>> Stripes-users mailing list
>>> Stripes-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> 
>> 
>> --
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> ___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> --
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] switch to https

2013-04-19 Thread Joaquin Valdez
This is how I do it in an ActionBean:

@DefaultHandler
@DontValidate
public Resolution form() {
   
  if (getContext().getRequest().isSecure()) {
return new ForwardResolution(WELCOME);
  } else {
return new RedirectResolution("https://www"; + 
getContext().getRootCookieDomain() + "/" 
+getContext().getRequest().getContextPath(),false);
  }
}

-Joaquin


On Apr 19, 2013, at 8:55 AM, "Stone, Timothy"  wrote:

> This seems to me to be a solved problem that is not directly a Stripes 
> problem or a problem needing to be found in a Stripes solution.
>  
> 1.   You can do this in Apache (not so much direct Tomcat, where Chris, 
> downthread, gives an application context solution)
> In your Directory, Location or VHost, require SSL:
> SSLRequireSSL # this will outright deny access with HTTPS. May not be what 
> you need.
> 
> We actually force SSL in non-secure domains with a RewriteCond and Rule
> RewriteCond %{HTTPS} != “on”
> RewriteRule  ^/(.*)$ https://www.domain.com/$1
> 
> 2.   If you want to force HTTPS in a login, POST to HTTPS, e.g,  action=”https://...”  method=”post” ...>, this will force negotiation of the 
> secure channel before accidently leaking login information
> This technique was formerly discouraged, but in wide use today. It will also 
> solve the session state issue.
> 
> Hope this helps,
> Tim
>  
> From: Chris Cheshire [mailto:cheshira...@gmail.com] 
> Sent: Friday, April 19, 2013 11:35 AM
> To: Stripes Users List
> Subject: Re: [Stripes-users] switch to https
>  
> I use essentially the same thing - the Tuckey URLRewrite servlet filter. 
> Unfortunately it breaks form posts which is why I was wondering whether there 
> is a way to build the url with https.
>  
>  
> 
> On Fri, Apr 19, 2013 at 11:28 AM, Adam Stokar  wrote:
> I use a stripes interceptor.  If any request comes in that is supposed to be 
> secure, it will redirect to the https version.
>  
> if(isSecure(request) && url.indexOf("https") != 0) {
> 
> url = url.replace("http", "https");
> 
> return new RedirectResolution(url,false);
> 
> }
> 
>  
> 
> On Fri, Apr 19, 2013 at 11:22 AM, Chris Cheshire  
> wrote:
> No, I want to know how to switch from http to https without using url 
> rewriting (apache, tomcat filter) if possible. I'm fine with everything being 
> https once the switch is made, I just need to know how to make the switch 
> when building links via stripes:link or stripes:form where possible.
>  
> 
> On Fri, Apr 19, 2013 at 10:18 AM, Adam Stokar  wrote:
> I had to deal with this a long time ago.  The best solution was to make all 
> pages use https.  When you switch from http to https, a new session id is 
> created and it complicates everything.  Is there a reason you need http?
>  
> 
> On Fri, Apr 19, 2013 at 10:13 AM, Chris Cheshire  
> wrote:
> How do I tell a stripes:link or stripes:form that I want it to switch to 
> https? Eg. Start at a non-secure page and switch to https on login.
>  
> Do I have to use url rewrite rules, or is there something in Stripes I can 
> use?
>  
> Thanks
> 
> Chris
>  
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
>  
> 
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
>  
> 
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
>  
> 
>

[Stripes-users] Action bean file upload

2013-04-12 Thread Joaquin Valdez
Is it possible to have an action bean accept file uploads from an external 
site? Sample code would be appreciated! 
Thank you, 
Joaquin
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes Problem

2013-01-05 Thread Joaquin Valdez
I do something like this in my ActionBean:

private static final String VIEW = "/WEB-INF/jsp/some_form.jsp";

@DefaultHandler
@DontValidate
public Resolution view() {
return new ForwardResolution(VIEW);
}

Maybe your jsp file is in a folder under WEB-INF?

Joaquin



On Jan 5, 2013, at 5:14 AM, corina rus wrote:

> I tried, but that wouldn't work. I tried accessing the same jsp from another 
> action bean, and from there works perfectly. Could it be a problem that I 
> have 7 action beans?
> 
> From: Marcus Kraßmann 
> To: corina rus ; Stripes Users List 
>  
> Sent: Saturday, January 5, 2013 2:43 PM
> Subject: Re: [Stripes-users] Stripes Problem
> 
> Hello,
> 
> try adding a "/" in front of "WEB-INF/..." so the path to the JSP looks like 
> this:
> return new ForwardResolution("/WEB-INF/displayUserOrderDetails.jsp");
> Kind regards,
> Marcus
> 
> 
> Am 05.01.2013 13:23, schrieb corina rus:
>> Hello, I have recently started using Stripes for a project in school, and I 
>> came across a problem which occurs many times. I get errors of the following 
>> type:
>>  
>> type Status report
>> message
>> descriptionThe requested resource () is not available. (in browser)
>>  
>>  
>> SEVERE: PWC6117: File "C:\Program Files 
>> (x86)\glassfish-3.1.2.2\glassfish\domains\domain1\docroot\StoreOnlineWEB-INF\createUserOrder.jsp"
>>  not found(in glassfish tab in netbeans)
>>  
>> This particular error occured on the piece of code:
>>  
>> public Resolution displayDetails() {
>> getContext().getRequest().getSession().setAttribute("orderid", 
>> orderid);
>> OrderMethods orderAction = new OrderMethods();
>> String usr = orderAction.findByUsername(username, orderid);
>> if(usr.equals("Yes"))
>> return new ForwardResolution("WEB-INF/displayUserOrderDetails.jsp");
>> else
>> {
>> errors = "The selected order id does not belong to you. Please 
>> select a valid id.";
>> return new ForwardResolution("WEB-INF/seeUserOrdersDetails.jsp");
>> }
>> 
>> //getContext().getRequest().getSession().setAttribute("orderid", 
>> orderid);
>> //return new 
>> ForwardResolution("WEB-INF/displayUserOrderDetails.jsp");
>> }
>>  
>> Here I try to see if a user tries to view an order which is his or an order 
>> which belongs to someone else. The problem   appears when entering 
>> the else branch, at the return forward resolution. How can I fix this?
>> 
>> 
>> --
>> Master Visual Studio, SharePoint, SQL, 
>> ASP.NET
>> , C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. SALE $99.99 this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122912
>> 
>> 
>> 
>> ___
>> Stripes-users mailing list
>> 
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> 
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122912___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] SSL newbie

2012-09-17 Thread Joaquin Valdez
This is how I do it.  Maybe there is a better way?

  if (getContext().getRequest().isSecure()) {
return new ForwardResolution(VIEW);
 } 
else
 {
return new RedirectResolution("https://www"; + 
getContext().getRootCookieDomain() + "/" +
getContext().getRequest().getContextPath(), false);
}



On Sep 17, 2012, at 7:16 AM, Brian McSweeney wrote:

> Hi guys,
> 
> I have a stripes webapp that I would like to add SSL support for in a few 
> pages only.
> 
> I've come from a struts background where we had ssl-ext as an extension which 
> simplified this. I've also searched the archives and come across 
> http://www.stripesframework.org/jira/browse/STS-239 and some questioning 
> threads about this topic none of which have been comprehensively resolved to 
> me.
> 
> Can someone point me at a solution/approach to securing a few pages in 
> stripes and switching between http and https?
> 
> cheers,
> Brian 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes 1.5.7 available now

2012-05-17 Thread Joaquin Valdez
Thanks Ben!



On May 17, 2012, at 10:09 PM, Ben Gunter  wrote:

> Stripes 1.5.7 is available for download from Sourceforge or via Maven. A 
> couple of important points:
> This release fixes a bug which could have security implications. Go here for 
> more information: http://www.stripesframework.org/jira/browse/STS-841
> There have been many improvements made to the streaming layouts since 1.5.6. 
> If you have had trouble with them you should try this release and see how it 
> goes. However, if you must use the old, buffered layout tags, they can be 
> accessed in 1.5.7 via a separate TLD with the following URL: 
> http://stripes.sourceforge.net/stripes-buffered-layout.tld
> Enjoy!
> 
> Release Notes - Stripes - Version Release 1.5.7 - HTML format
> 
> Bug
> [STS-392] - layout-component without content doesn't override 
> layout-component from layout page
> [STS-556] - Some stripes tags generate invalid html
> [STS-788] - Layout issues after upgrade from 1.5.3
> [STS-817] - Stack Overflow when using a layout with an existing component name
> [STS-823] - Stripes Layouts not working in Weblogic 10.3.3.0
> [STS-827] - COS multipart implementation may corrupt two files with same name 
> uploaded simultaneously
> [STS-831] - Hash anchors (#) in form action breaks binding to ActionBean
> [STS-834] - CLONE - Stripes Layouts not working in Weblogic 10.3.3.0
> [STS-835] - , inner class enums and 
> internationalized labels
> [STS-837] - maxPostSizeInBytes in DefaultMultipartWrapperFactory is invalid 
> for big values
> [STS-840] - Client side validation doesn't work when field info contains type 
> attribute
> [STS-841] - Validation sometimes fails with indexed property notation
> [STS-843] - DynamicMappingFilter may create multiple instances of 
> StripesFilter
> [STS-845] - Integer encrypted fields may throw a NPE
> [STS-852] - When field-metadata tag writes "type" attribute for a field it 
> misses a comma, rendering json syntactically incorrect
> [STS-853] - Invalid  HTML markup generated
> [STS-854] - DefaultExceptionHandler does not unwrap InvocationTargetException 
> when executing proxys
> [STS-871] - Layout renders wrong component definition
> [STS-875] - Javadoc for StripesConstants.URL_KEY_FIELDS_PRESENT is wrong
> Improvement
> [STS-317] - Nested layouts: allow enclosing layout-render tag to layout 
> components within a nested layout-definition (not just its own 
> layout-definition)
> [STS-785] - Add "event" for subclasses of OnwardResolution
> [STS-810] - Make StripesFilter more subclass-friendly
> [STS-828] - It should be mentioned that encryption is disabled in debug mode
> [STS-830] - Handling EnumSets in DefaultActionBeanPropertyBinder
> [STS-844] - duplicate code in DispatcherHelper
> [STS-877] - Meaningful error message when an "on" in @Validate annotation is 
> an empty String
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] auto

2012-03-09 Thread Joaquin Valdez
Hi Remi!

I was thinking more along the lines of a full stack thing that worked with 
Stripes.

Joaquin



On Mar 9, 2012, at 1:17 AM, VANKEISBELCK Remi wrote:

> Hi Joaquin,
> 
> What exactly are you thinking about ? 
> Widget-only tools like http://metawidget.org/ or a full stack a la rails ?
> 
> Cheers
> 
> Remi  
> 
> 
> 2012/3/9 Joaquin Valdez 
> UI generation?  Is there such a thing for Stripes?
> 
> Joaquin Valdez
> joaquinfval...@gmail.com
> 
> 
> 
> 
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com
541-690-8593



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] auto

2012-03-08 Thread Joaquin Valdez
UI generation?  Is there such a thing for Stripes?

Joaquin Valdez
joaquinfval...@gmail.com



--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] encrypt

2011-07-11 Thread Joaquin Valdez
Thank you!

On Jul 11, 2011, at 5:15 PM, Freddy Daoud wrote:

> On Mon, 11 Jul 2011 16:21 -0700, "Joaquin Valdez"
>  wrote:
> 
>> Hello!
> 
>> I am wondering how to encrypt an Integer value the same way
>> stripes does with this syntax.  Is this possible?
> 
>> @Validate(encrypted = true)
>> private Integer memID;
> 
>> Something like this:
> 
>> String encrypted_value = Someclass.encrypt(memID);
> 
> Yes, net.sourceforge.stripes.util.CryptoUtil.encrypt(memID);
> 
> Cheers,
> Freddy
> 
> --
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security 
> threats, fraudulent activity, and more. Splunk takes this data and makes 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] encrypt

2011-07-11 Thread Joaquin Valdez
Hello!

I am wondering how to encrypt an Integer value the same way stripes does with 
this syntax.  Is this possible?

@Validate(encrypted = true)
private Integer memID;

Something like this:  

String encrypted_value = Someclass.encrypt(memID);

Thanks!
Joaquin Valdez
joaquinfval...@gmail.com



--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] layout error

2011-05-14 Thread Joaquin Valdez
Thanks Nikolaos.  Yes I have tried that.  I recently added a javascript 
hide/show a div to do display the login fields.  When the login is successful 
everything is fine.  When an invalid login is used.  I get this error.

Joaquin




On May 14, 2011, at 5:09 PM, Nikolaos Giannopoulos wrote:

> Joaquin,
> 
> I haven't tried 1.5.6 but this seems to remind me of when I changed 
> Stripes version and needed to clear out my JSP cache.
> 
> Have you tried un-deploying, deleting your app / web servers JSP, and 
> re-deploying.
> 
> --Nikolaos
> 
> 
> 
> Joaquin Valdez wrote:
>> Happy Weekend!
>> 
>> I am wondering if anyone has any insight into this layout error.  I am using 
>> 1.5.6.  Let me know if I can provide any additional info.
>> 
>> Thanks!
>> Joaquin
>> 
>> 
>> java.lang.NullPointerException
>>  at 
>> net.sourceforge.stripes.tag.layout.LayoutDefinitionTag.doStartTag(LayoutDefinitionTag.java:72)
>>  at 
>> org.apache.jsp.WEB_002dINF.jsp.common.layout_005fwelcome_jsp._jspx_meth_s_005flayout_002ddefinition_005f0(layout_005fwelcome_jsp.java:177)
>>  at 
>> org.apache.jsp.WEB_002dINF.jsp.common.layout_005fwelcome_jsp._jspService(layout_005fwelcome_jsp.java:113)
>>  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>  at 
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>>  at 
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
>>  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>  at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>  at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at 
>> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:199)
>>  at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at 
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
>>  at 
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>>  at 
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>>  at 
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>>  at 
>> net.sourceforge.stripes.action.ForwardResolution.execute(ForwardResolution.java:131)
>>  at 
>> net.sourceforge.stripes.controller.DispatcherHelper$7.intercept(DispatcherHelper.java:483)
>>  at 
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
>>  at 
>> org.stripesstuff.plugin.security.SecurityInterceptor.interceptResolutionExecution(SecurityInterceptor.java:225)
>>  at 
>> org.stripesstuff.plugin.security.SecurityInterceptor.intercept(SecurityInterceptor.java:129)
>>  at 
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>>  at 
>> net.sourceforge.stripes.controller.HttpCacheInterceptor.intercept(HttpCacheInterceptor.java:99)
>>  at 
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>>  at 
>> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113)
>>  at 
>> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>>  at 
>> net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
>>  at 
>> net.sourceforge.stripes.controller.DispatcherHelper.executeResolution(DispatcherHelper.java:477)
>>  at 
>> net.sourceforge.stripes.controller.DispatcherServlet.executeResolution(DispatcherServlet.java:286)
>>  at 
>> net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:170)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>  at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>  at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at 
>> net.sourceforge.str

[Stripes-users] layout error

2011-05-14 Thread Joaquin Valdez
 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:680)
Joaquin Valdez
joaquinfval...@gmail.com




--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] layout problem...

2011-03-24 Thread Joaquin Valdez
Thank you will try that!

On Mar 24, 2011, at 2:55 PM, Janne Jalkanen wrote:

> 
> I've seen this on occasion. So far I've been able to resolve it simply by 
> clearing Tomcat's work directory, i.e. the compiled JSP files.
> 
> /Janne
> 
> On Mar 24, 2011, at 19:36 , Joaquin Valdez wrote:
> 
>> Hello!
>> 
>> I am receiving this error after replacing my 1.5.5. jar with 1.5.6 jar file. 
>>  What does this mean?
>> 
>> javax.servlet.ServletException: 
>> net.sourceforge.stripes.exception.StripesJspException: An exception was 
>> raised while invoking a layout. The layout used was 
>> '/WEB-INF/jsp/common/layout_store.jsp'. The following information was 
>> supplied to the render tag: LayoutContext{component names=[body, categories, 
>> sidemenu], parameters={title=Login, currentSection=Home}}
>> net.sourceforge.stripes.exception.StripesJspException: An exception was 
>> raised while invoking a layout. The layout used was 
>> '/WEB-INF/jsp/common/layout_store.jsp'. The following information was 
>> supplied to the render tag: LayoutContext{component names=[body, categories, 
>> sidemenu], parameters={title=Login, currentSection=Home}}
>> 
>> 
>> Thank you!
>> 
>> Joaquin Valdez
>> joaquinfval...@gmail.com
>> 
>> 
>> 
>> 
>> --
>> Enable your software for Intel(R) Active Management Technology to meet the
>> growing manageability and security demands of your customers. Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will your software 
>> be a part of the solution? Download the Intel(R) Manageability Checker 
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> ___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] layout problem...

2011-03-24 Thread Joaquin Valdez
Hello!

I am receiving this error after replacing my 1.5.5. jar with 1.5.6 jar file.  
What does this mean?

javax.servlet.ServletException: 
net.sourceforge.stripes.exception.StripesJspException: An exception was raised 
while invoking a layout. The layout used was 
'/WEB-INF/jsp/common/layout_store.jsp'. The following information was supplied 
to the render tag: LayoutContext{component names=[body, categories, sidemenu], 
parameters={title=Login, currentSection=Home}}
net.sourceforge.stripes.exception.StripesJspException: An exception was raised 
while invoking a layout. The layout used was 
'/WEB-INF/jsp/common/layout_store.jsp'. The following information was supplied 
to the render tag: LayoutContext{component names=[body, categories, sidemenu], 
parameters={title=Login, currentSection=Home}}


Thank you!

Joaquin Valdez
joaquinfval...@gmail.com




--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes 1.5.6 released

2011-03-14 Thread Joaquin Valdez
THANK YOU!

On Mar 14, 2011, at 8:06 AM, Ben Gunter wrote:

> Stripes 1.5.6 is available for download from Sourceforge. It should appear in 
> the Maven central repository in the next hour or so. This is a minor bug fix 
> release.
> 
> Release notes:
> http://stripes.svn.sourceforge.net/viewvc/stripes/tags/1.5.6/ReleaseNotes.html
> 
> Sourceforge download:
> http://sourceforge.net/projects/stripes/files/stripes/Stripes%201.5.6/stripes-1.5.6.zip/download
> 
> -Ben
> --
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] stripes+yui

2011-02-10 Thread Joaquin Valdez
When is it appropriate to use YUI? And a small example of the integration would 
be great!  I learn best by examples.

On Feb 10, 2011, at 6:32 PM, Freddy Daoud wrote:

> Hi Joaquin,
> 
>> Wondering if anyone has any resources on using stripes with Yui?  Saw an
>> article by Freddy, but it looks like a broken link. 
> 
> Sorry about that. When someone inquires about an article that was on the
> defunct blog, I usually find it and post it. But alas, I cannot find
> this
> particular article.
> 
> Do you have a specific question? Because I've used YUI with Stripes and
> haven't encountered any problems. Both frameworks will play nicely
> together if you feed them what they want.
> 
> Cheers,
> Freddy
> 
> --
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] stripes+yui

2011-02-10 Thread Joaquin Valdez
Hello!

Wondering if anyone has any resources on using stripes with Yui?  Saw an 
article by Freddy, but it looks like a broken link. 

Thanks!

Joaquin Valdez
joaquinfval...@gmail.com




--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Multiple dates in the same request parameter

2011-01-23 Thread Joaquin Valdez
I would probably try this technique:

http://stripesframework.org/display/stripes/Indexed+Properties

You can get an idea of how to get it to from this example under the heading:  
Multiple File Uploads Using Indexed Properties


http://stripesframework.org/display/stripes/File+Uploads


Joaquin



On Jan 23, 2011, at 8:54 AM, Adam Stokar wrote:

> Hi,
> 
> I've been using Stripes for a while now and LOVE it.  I came across an issue 
> today and am not sure how to solve it.
> 
> I'd like to have a single text input where the user can type multiple dates, 
> separated by commas (i.e. 1/24/11,1/25/11,March 3).  
> 
> I am mapping the text property to a bean property List dates.
> 
> For some reason, when I submit the form with multiple dates, only the 1st 
> date gets mapped into the list.  This comma-separated technique works for 
> strings and integers, but it doesn't seem to be working for dates.  Am I 
> doing something wrong?  Any help is much appreciated.
> 
> Thanks!
> 
> Adam 
> --
> 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

Joaquin Valdez
joaquinfval...@gmail.com



--
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] Anyway to Redirect to an external page?

2011-01-21 Thread Joaquin Valdez
Seems to me that would be more a function of the webserver than the app.  Am I 
wrong?


On Jan 21, 2011, at 8:01 PM, Yee wrote:

> To be more specific- what I need to do is not redirecting to another 'place',
> but to rewrite the url.
> 
> So the request could be: https://www.mydomain.com/login.action
> 
> After the user login I need to rewrite the url to become:
> https://subdomain1.mydomain.com/userHome.action,
> https://subdomain2.mydomain.com/userHome.action etc.
> 
> The url looks different, but it is the same action bean at the server.
> 
> 
> 
> 
> --
> 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

Joaquin Valdez
joaquinfval...@gmail.com




--
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] decode

2011-01-10 Thread Joaquin Valdez
Makes sense...thank you!

On Jan 10, 2011, at 2:28 PM, gshegosh wrote:

>> MessageDigest md = MessageDigest.getInstance("SHA-1");
>> Does anyone have example code of how to decode the encrypted value from the 
>> code above?
> 
> The whole point of hashing passwords (with per user salt for best 
> results) is that if a bad guy steals the database, (s)he won't be able 
> to recover passwords in clear text -- hashing algorithms are thus 
> one-way (or in an ideal world they would be).
> 
> If you're hashing passwords, You don't "unhash" them. Just write a 
> testPassword(String userGivenPassword) method that hashes the string 
> user entered in the password field (using salt chosen based on login 
> s/he entered) and compares the hash to the one you have in the db.
> 
> HTH
> 
> --
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to 
> best implement a security strategy that keeps consumers' information secure 
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl 
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] decode

2011-01-10 Thread Joaquin Valdez
Hello!

In the Stripes book there is an example of encoding a password to be stored in 
the database:

try {
MessageDigest md = MessageDigest.getInstance("SHA-1");
byte[] bytes = md.digest(password.getBytes());
ep = Base64.encodeBytes(bytes);
System.out.println(ep);

 
}
catch (NoSuchAlgorithmException exc) {
throw new IllegalArgumentException(exc);
}

Does anyone have example code of how to decode the encrypted value from the 
code above?

Thank you!  I have tried to do this longer than I care to admit  :-)


Joaquin Valdez
joaquinfval...@gmail.com




--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Stripes 1.5.5 released

2011-01-04 Thread Joaquin Valdez
Thanks Ben!

On Jan 4, 2011, at 10:17 AM, Ben Gunter wrote:

> Stripes 1.5.5 is available for Download from Sourceforge. Maven users will 
> find it in the central repository.
> 
> For information on what has changed and what you need to know before you 
> upgrade, see the Release Notes.
> 
> Thanks to all who contributed to this release.
> 
> -Ben
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] 1.5.5 Release

2010-12-29 Thread Joaquin Valdez
Thank you Ben!

On Dec 29, 2010, at 1:42 PM, Ben Gunter wrote:

> Nathan, I've finished all but two of the remaining 1.5.5 issues plus one or 
> two more that hadn't been scheduled yet. The remaining two will likely get 
> pushed to the next release so 1.5.5 is pretty much ready to roll.
> 
> As the guy who does most of the coding and most of the work related to 
> releases, when a release rolls out is really dependent on when I can find 
> time to work on it. I've been very busy the last few weeks and haven't had 
> time to finish up what I wanted done for 1.5.5. I never commit to a release 
> date because there are many things in my life that have higher priority than 
> Stripes. As such things related to Stripes tend to suffer delays when more 
> important things crop up that I have to handle.
> 
> It's great to hear you're using Stripes in your sample app! That kind of 
> support from another popular framework can only help :)
> 
> Look for 1.5.5 to be released in the next few days.
> 
> -Ben
> 
> On Tue, Dec 28, 2010 at 10:32 AM, Nathan Maves  wrote:
> Any word on this.  I would really like to see the team take a more
> release early and release often approach on Stripes. So far there are
> 12 resolved issues scheduled for the 1.5.5 release.  That is enough in
> my book to warrant a release.  How about we push the remaining 6 to
> 1.5.6?
> 
> I would just love to get off the snapshot build and make make maven
> and my team happy :)
> 
> Thanks for the hard work.
> 
> PS we just changes our sample app on MyBatis.org to use Stripes!  Man
> I love this framework!
> 
> Nathan
> 
> On Tue, Dec 14, 2010 at 1:57 PM, Nathan Maves  wrote:
> > There are a few bug fixes that we are waiting on.  Is there any chance
> > that we can release 1.5.5 any time soon?
> >
> > I am using the 1.5.5-SNAPSHOT from maven which I love that the Stripes
> > community now has!  Everything seems stable to me.
> >
> > Nathan
> >
> 
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] stripersist

2010-12-29 Thread Joaquin Valdez
Thank you very much!

On Dec 29, 2010, at 1:15 PM, Aaron Porter wrote:

> Hi Joaquin,
> Yes, you can use Stripersist outside of a web app but generally you 
> don't need to. JPA is very easy to use directly. Stripersist is really 
> just glue between JPA and Stripes (and some syntactical sugar).
> 
> If you really want to use it, you just need to do something like this:
> 
> // You have to do this once in your application before using Stripersist:
> new Stripersist().init(getClass().getResource("/META-INF/persistence.xml"));
> 
> 
> // Any requests to Stripersist need to happen inside of this block
> Stripersist.requestInit();
> try {
> // Use Stripersist in here
> }
> finally {
> Stripersist.requestComplete();
> }
> 
> Aaron
> 
> On 12/29/2010 01:45 PM, Joaquin Valdez wrote:
>> Hello!
>> 
>> Wondering if its possible to use Stripersist outside of a web application?  
>> Meaning it this program would run from a command line.
>> 
>> Thanks!
>> Joaquin Valdez
>> joaquinfval...@gmail.com
>> 
>> 
>> 
>> 
>> --
>> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
>> to consolidate database storage, standardize their database environment, and,
>> should the need arise, upgrade to a full multi-node Oracle RAC database
>> without downtime or disruption
>> http://p.sf.net/sfu/oracle-sfdevnl
>> ___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] stripersist

2010-12-29 Thread Joaquin Valdez
Hello!

Wondering if its possible to use Stripersist outside of a web application?  
Meaning it this program would run from a command line.

Thanks!
Joaquin Valdez
joaquinfval...@gmail.com




--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] job listings....

2010-12-21 Thread Joaquin Valdez
Thank you!

On Dec 21, 2010, at 12:41 AM, Morten Matras wrote:

> We have a stripes group in linkedIn. This is suitable for things like:
> 
> job postings
> non-technical discussions
> various notifications
> Examples of what has been built with stripes
> 
> http://www.linkedin.com/groups?gid=1266127&mostPopular=
> 
> I've just switched it to be open so that it will be indexed by search engines
> 
> 99 members so far.
> 
> There is a job board there. Let me know if you need help posting a job.
> 
> Morten
> 
> 2010/12/21 Joaquin Valdez 
> Hello!
> 
> Is there an appropriate place/site to list Stripes Job Opportunities?
> 
> Joaquin Valdez
> joaquinfval...@gmail.com
> 
> 
> 
> 
> --
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> 
> -- 
>   Morten Matras
>   Consultant
>   Blob Communication ApS
>   Svendsagervej 42
>   DK-5240 Odense NØ
>   P: (+45) 76 6-5-4-3-2-1 / 61 71 11 03
>   W: www.blobcom.com
>   E: morten.mat...@gmail.com
> --
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d_______
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] job listings....

2010-12-20 Thread Joaquin Valdez
Hello!

Is there an appropriate place/site to list Stripes Job Opportunities?

Joaquin Valdez
joaquinfval...@gmail.com




--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Different Types of Messages

2010-11-30 Thread Joaquin Valdez
gt;>> The following is for standard messages:
>>> 
>>> stripes.messages.header=
>>> stripes.messages.beforeMessage=
>>> stripes.messages.afterMessage=
>>> stripes.messages.footer=
>>> 
>>> Notice the 'class="checkmark"' piece.
>>> 
>>> The following is for errors:
>>> 
>>> stripes.errors.header=The following errors 
>>> occurred:
>>> stripes.errors.beforeError=
>>> stripes.errors.afterError=
>>> stripes.errors.footer=
>>> 
>>> This is only one possible example you could use.  Obviously, tailor it to 
>>> your needs.  But do you actually need more than just an error CSS class and 
>>> an information CSS class?  If so, then I'd think you need to write your own 
>>> rendering strategy for messages.
>>> 
>>> -- Rick
>>> 
>>> 
>>> On Mon, Nov 29, 2010 at 2:54 PM, Nikolaos Giannopoulos 
>>>  wrote:
>>> Hi,
>>> 
>>> So in Stripes we can display messages OR errors to users and everything
>>> seems OK.
>>> Editing the resource file makes in tandem with CSS appears to work well.
>>> 
>>> However, what if one wants to display different types of messages for
>>> users like a Warning and Ok (checkmark)?
>>> 
>>> e.g. " Your article was saved"
>>> e.g. " The language of this Article is English however you
>>> have selected Spanish"
>>> 
>>> Is this possible with Stripes?
>>> 
>>> --Nikolaos
>>> 
>>> 
>>> --
>>> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
>>> Tap into the largest installed PC base & get more eyes on your game by
>>> optimizing for Intel(R) Graphics Technology. Get started today with the
>>> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
>>> http://p.sf.net/sfu/intelisp-dev2dev
>>> ___
>>> 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
> --
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Maven convention

2010-11-10 Thread Joaquin Valdez
ot;Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] [JIRA] Created: (STS-779) Release 1.5.4 (also to Maven Repo)]

2010-11-09 Thread Joaquin Valdez
Lets go!!! Wooh!


On Nov 9, 2010, at 11:51 AM, VANKEISBELCK Remi wrote:

> Let's go. It's been too long already. And if this layout thing actually turns 
> out to be a disaster, well, we'll fix and re-release.
> 
> The release process (apart from the whole website/news etc) is really 
> straightforward with maven now, I don't see no showstopper.  
> 
> If anyone thinks we should wait, please speak up !
> 
> Cheers
> 
> Remi
> 
> 
> 2010/11/9 Nikolaos Giannopoulos 
> Thought those on the use mailing list might want to voice their opinion(s).
> 
> --Nikolaos
> 
> 
> 
>  Original Message 
> Subject:  [Stripes-dev] [JIRA] Created: (STS-779) Release 1.5.4 (also to 
> Maven Repo)
> Date: Mon, 8 Nov 2010 19:52:13 -0600 (CST)
> From: Nikolaos (JIRA) 
> Reply-To: Stripes Development List 
> 
> To:   stripes-developm...@lists.sourceforge.net
> 
> Release 1.5.4 (also to Maven Repo)
> --
> 
>  Key: STS-779
>  URL: http://www.stripesframework.org/jira/browse/STS-779
>  Project: Stripes
>   Issue Type: Task
> Affects Versions: Release 1.5.4
> Reporter: Nikolaos
> 
> 
> Ben Gunter wrote on 10/5/2010:
> 
> > The layout tags in 1.5.3 and earlier buffer virtually everything in memory 
> > before dumping it all out at once. I've modified the tags to stream 
> > directly to output instead, but it required a major overhaul so I'd like to 
> > have it tested thoroughly before I release 1.5.4. From the perspective of 
> > the Stripes developer, layouts should work almost exactly the same.
> 
> 
> 
> > I have lots of crazy test cases that work great. I just wanted people to 
> > drop in a snapshot where they're running 1.5.3 and make sure everything 
> > still works.
> 
> 
> The issues that I personally had w/ nested layouts in 1.5.4 Snapshot have 
> been resolved with this fix.  I believe in asides others have echoed this 
> sentiment.
> 
> Can we now move forward to officially release 1.5.4 (also to Maven Repo)
> We can always delay this release but to what end?  There will always be 
> another release to pack in more fixes or features.
> 
> Who in the Stripes community agrees / disagrees?
> 
> --Nikolaos
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: 
> http://www.stripesframework.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> Stripes-development mailing list
> stripes-developm...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-development
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> 
> --
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Source forge description: It's stripey and itdoesn't suck

2010-10-29 Thread Joaquin Valdez
Stripes: Do Stuff!

On Oct 29, 2010, at 10:49 AM, Freddy Daoud wrote:

> Stripes:
> Ditch the configuration.
> Harness the intuitiveness.
> Enjoy the productivity.
> 
> Freddy
> 
> 
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Source forge description: It's stripey and itdoesn't suck

2010-10-29 Thread Joaquin Valdez
x2

On Oct 29, 2010, at 8:45 AM, Grzegorz Krugły wrote:

> +1
> 
> W dniu 29.10.2010 17:40, Evan Leonard pisze:
>> 
>> 
>> I like that one too
>> 
>> 
>> On Oct 29, 2010, at 9:29 AM, Edward Smith wrote:
>> 
>>>  
>>> "Stripes: Write less, do more"
>>> 
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Odd Clean URL Binding??? (1.5.4 Snapshot)

2010-10-28 Thread Joaquin Valdez
I have always been partial to the ~

Joaquin


On Oct 28, 2010, at 5:11 PM, Freddy Daoud wrote:

>> You are both correct.  Indeed perhaps something like  {#event}  would 
>> have been better.  Hindsight is always 20-20.
> 
> I realize I'm probably the only one who would like this, but I would
> have used {_eventName} because that special request parameter is
> already being used for the event name. So, one less "magical" thing
> to learn.
> 
> Freddy
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Source forge description: It's stripey and it doesn't suck

2010-10-28 Thread Joaquin Valdez
I like it!

On Oct 28, 2010, at 1:31 PM, Evan Leonard wrote:

> 
> the other thing that people keep talking about is how Stripes is (or nearly 
> is) "feature complete".  So how about:
> 
> Stripes - simple & complete.
> 
> 
> On Oct 28, 2010, at 2:26 PM, Søren Pedersen wrote:
> 
>> What about:
>> Stripes - because it's simple
>> 
>> 
>>> Den 28/10/2010 22.14 skrev "Nikolaos Giannopoulos" 
>>> :
>>> 
>>> On a more serious note... I agree with Karen.
>>> 
>>> In fact... IMO its always better in marketing to differentiate yourself
>>> (and speak to your audience) with what you do well...
>>> 
>>> How about something like:
>>> "Stripes:  The robust and intuitive Java web framework"
>>> 
>>> --Nikolaos
>>> 
>>> 
>>> > 2010/10/28 Freddy Daoud mailto:xf2...@fastmail.fm>>
>>> >
>>> > > On the source forge page of Stripes I see the text:
>>> > >
>>> > > "Source forge descript...
>>> 
>>> > <mailto:Stripes-users@lists.sourceforge.net>
>>> > https://lists.sourceforge.net/lists/listinfo/stripes-users
>>> >
>>> >
>>> 
>>> --...
>>> 
>> 
>> --
>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
>> http://p.sf.net/sfu/nokia-dev2dev___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] persistence.xml & viewing hibernate SQL statements

2010-10-25 Thread Joaquin Valdez
Great News!

On Oct 25, 2010, at 4:41 PM, Lev wrote:

> thank you. that did the trick.
> 
> On Mon, Oct 25, 2010 at 6:35 PM, Joaquin Valdez
>  wrote:
>> I use:
>> 
>>  
>> 
>> 
>> 
>> On Oct 25, 2010, at 4:29 PM, Lev wrote:
>> 
>>> hi,
>>> 
>>> i am debugging an application and want to view all of the hibernate
>>> generated SQL statements. i added the following line to my
>>> persistence.xml:
>>> 
>>>   
>>> 
>>> however, i only see the database messages related to the initial
>>> table construction -- not the query statements. for example i see
>>> statements such as:
>>> 
>>> 8:22:08,383 DEBUG SchemaExport:303 - drop table if exists 
>>> hibernate_sequences
>>> 18:22:08,386 DEBUG SchemaExport:303 - create table Line (id bigint not
>>> null, type...
>>> 
>>> what do i need to do in order to view the hibernate generated queries?
>>> 
>>> note: i am using JPA, hibernate, and Stripersist.
>>> 
>>> thank you.
>>> 
>>> --
>>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>>> http://p.sf.net/sfu/nokia-dev2dev
>>> ___
>>> Stripes-users mailing list
>>> Stripes-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> 
>> Joaquin Valdez
>> joaquinfval...@gmail.com
>> 
>> 
>> 
>> 
>> --
>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> ___
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>> 
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] persistence.xml & viewing hibernate SQL statements

2010-10-25 Thread Joaquin Valdez
I use:

  



On Oct 25, 2010, at 4:29 PM, Lev wrote:

> hi,
> 
> i am debugging an application and want to view all of the hibernate
> generated SQL statements. i added the following line to my
> persistence.xml:
> 
>   
> 
> however, i only see the database messages related to the initial
> table construction -- not the query statements. for example i see
> statements such as:
> 
> 8:22:08,383 DEBUG SchemaExport:303 - drop table if exists hibernate_sequences
> 18:22:08,386 DEBUG SchemaExport:303 - create table Line (id bigint not
> null, type...
> 
> what do i need to do in order to view the hibernate generated queries?
> 
> note: i am using JPA, hibernate, and Stripersist.
> 
> thank you.
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Nested indexed property question

2010-10-22 Thread Joaquin Valdez
Do you have any code I can look at?

On Oct 22, 2010, at 2:54 PM, Nathan Maves wrote:

> In my case there are no required validations.
> 
> On Fri, Oct 22, 2010 at 3:16 PM, Joaquin Valdez  
> wrote:
> Hello!
> 
> I would say it depends on the validation being used on the List of Foo 
> objects.
> 
> For example:
> 
> @ValidateNestedProperties({
>@Validate(field = "bar", required = true),
>@Validate(field = "bar1", required = true),
>@Validate(field = "bar2", required = true),
>@Validate(field = "bar3", required = true),
>@Validate(field = "bar4, required = true),
>@Validate(field = "bar5", required = true)
>})
>private List foos;
> 
> Hope that helps!  The bazooky example shows this concept quite clearly.
> 
> Joaquin
> 
> 
> 
> 
> On Oct 22, 2010, at 1:39 PM, Nathan Maves wrote:
> 
> > Give the following parameter
> >
> > foo[0].bar=abc
> > foo[1].bar=abc
> > foo[2].bar=
> > foo[3].bar=abc
> >
> > I would expect the Collection in my action to have a size of 3.  
> > Instead I get a size of 4 where one of the items in the collection is null.
> >
> > Is this the correct behavior?
> >
> > Nathan
> > --
> > Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> > Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> > http://p.sf.net/sfu/nokia-dev2dev___
> > Stripes-users mailing list
> > Stripes-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> Joaquin Valdez
> joaquinfval...@gmail.com
> 
> 
> 
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com



--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Nested indexed property question

2010-10-22 Thread Joaquin Valdez
Hello!

I would say it depends on the validation being used on the List of Foo objects.

For example:

@ValidateNestedProperties({
@Validate(field = "bar", required = true),
@Validate(field = "bar1", required = true),
@Validate(field = "bar2", required = true),
@Validate(field = "bar3", required = true),
@Validate(field = "bar4, required = true),
@Validate(field = "bar5", required = true)
})
private List foos;

Hope that helps!  The bazooky example shows this concept quite clearly. 

Joaquin




On Oct 22, 2010, at 1:39 PM, Nathan Maves wrote:

> Give the following parameter 
> 
> foo[0].bar=abc
> foo[1].bar=abc
> foo[2].bar=
> foo[3].bar=abc
> 
> I would expect the Collection in my action to have a size of 3.  Instead 
> I get a size of 4 where one of the items in the collection is null.
> 
> Is this the correct behavior?
> 
> Nathan
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaquinfval...@gmail.com




--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] Streaming layouts (again)

2010-10-05 Thread Joaquin Valdez
Thank you for the great explanation.  I will run a few tested tonight.

On Oct 5, 2010, at 5:28 PM, Ben Gunter wrote:

> The layout tags in 1.5.3 and earlier buffer virtually everything in memory 
> before dumping it all out at once. I've modified the tags to stream directly 
> to output instead, but it required a major overhaul so I'd like to have it 
> tested thoroughly before I release 1.5.4. From the perspective of the Stripes 
> developer, layouts should work almost exactly the same.
> 
> One positive side-effect of the change is that partial forms now work like 
> one would expect them to. You can have a  tag in a layout definition 
> and Stripes form input tags within a layout component and everything will 
> work.
> 
> I have lots of crazy test cases that work great. I just wanted people to drop 
> in a snapshot where they're running 1.5.3 and make sure everything still 
> works.
> 
> -Ben
> 
> On Tue, Oct 5, 2010 at 6:41 PM, Joaquin Valdez  
> wrote:
> Hello!
> 
> Would love to help test, but first what are Streaming Layouts?
> 
> Joaquin
> 
> 
> 
> On Oct 5, 2010, at 3:11 PM, Stephen Nelson wrote:
> 
>> 
>> On 29 Sep 2010, at 20:40, Ben Gunter wrote:
>> 
>>> I believe I finally have the streaming layout code working. I'm asking 
>>> *all* of you to get the latest snapshot from the Sonatype snapshots repo 
>>> and try it out. If you see any problems with what it outputs, please let me 
>>> know on this thread. There will be minor differences, mostly extra 
>>> whitespace that the old stuff generated gets swallowed by the new stuff. 
>>> Let me know if anything is totally broken.
>>> 
>>> If you're not using Maven, you can get the latest snapshot here:
>>> http://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/stripes/stripes/1.5.4-SNAPSHOT/
>>> 
>>> This is the last major roadblock to be cleared before I can release 1.5.4. 
>>> The sooner I get confirmation that it works, the sooner that happens.
>>> 
>>> -Ben
>> 
>> Hi Ben
>> 
>> I just downloaded the snapshot jar to try out the new layouts stuff. I have 
>> fairly simple layouts, but some with some nesting and they all appeared to 
>> work fine. I'll try and get some more testing done tomorrow for a more 
>> in-depth test but so far it's a thumbs-up from me.
>> 
>> Many thanks for your work in getting these features in.
>> 
>> Cheers,
>> 
>> Stephen
>> 
>> --
>> 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
> 
> Joaquin Valdez
> joaquinfval...@gmail.com
> 
> 
> 
> 
> --
> 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
> 
> 
> --
> 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

Joaquin Valdez
joaquinfval...@gmail.com



--
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] Streaming layouts (again)

2010-10-05 Thread Joaquin Valdez
Hello!

Would love to help test, but first what are Streaming Layouts?

Joaquin



On Oct 5, 2010, at 3:11 PM, Stephen Nelson wrote:

> 
> On 29 Sep 2010, at 20:40, Ben Gunter wrote:
> 
>> I believe I finally have the streaming layout code working. I'm asking *all* 
>> of you to get the latest snapshot from the Sonatype snapshots repo and try 
>> it out. If you see any problems with what it outputs, please let me know on 
>> this thread. There will be minor differences, mostly extra whitespace that 
>> the old stuff generated gets swallowed by the new stuff. Let me know if 
>> anything is totally broken.
>> 
>> If you're not using Maven, you can get the latest snapshot here:
>> http://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/stripes/stripes/1.5.4-SNAPSHOT/
>> 
>> This is the last major roadblock to be cleared before I can release 1.5.4. 
>> The sooner I get confirmation that it works, the sooner that happens.
>> 
>> -Ben
> 
> Hi Ben
> 
> I just downloaded the snapshot jar to try out the new layouts stuff. I have 
> fairly simple layouts, but some with some nesting and they all appeared to 
> work fine. I'll try and get some more testing done tomorrow for a more 
> in-depth test but so far it's a thumbs-up from me.
> 
> Many thanks for your work in getting these features in.
> 
> Cheers,
> 
> Stephen
> 
> --
> 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

Joaquin Valdez
joaquinfval...@gmail.com



--
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] database connection

2010-09-22 Thread Joaquin Valdez
Thank you!

On Sep 22, 2010, at 2:42 PM, Evan Leonard wrote:

> 
> I think he meant "Load Balancer" by LB
> 
> 
> On Sep 22, 2010, at 3:37 PM, Joaquin Valdez wrote:
> 
>> Thank you Nikolaos for the great information and response!
>> 
>> I will get those exceptions and get them to you in a bit.
>> 
>> When I began using c3po and began to notice the oddities.  I began to  
>> look around and see what else is out there.  I too found bonecp and  
>> will investigate using that.
>> 
>> What is an LB ?
>> 
>> Thanks!
>> Joaquin
>> 
>> 
>> 
>> On Sep 22, 2010, at 1:33 PM, Nikolaos Giannopoulos wrote:
>> 
>>> Joaquin,
>>> 
>>> You really need to get a copy of those Exceptions... broken pipe on a
>>> web / app server typically is quite normal as it can be as simple as
>>> someone hitting the stop or the refresh button on their web browser
>>> while the server was trying to process a request.
>>> 
>>> Also it may be a consequence of the fact that your application is  
>>> losing
>>> database connectivity... broken pages... people hitting refresh
>>> repeatedly... etc... .  So if this is as frequent as you state then
>>> simply put together some of the stack traces and send that out.
>>> 
>>> c3p0 has a number of settings that set out how many times it will  
>>> retry,
>>> the interval it will wait between retries and / or how long it will
>>> retry before giving up, etc... and if IIRC some settings had to go  
>>> in a
>>> c3p0 properties file and NOT just in the persistence.xml (in fact in  
>>> the
>>> XML file they would be ignored).  Just google things and you should  
>>> find
>>> some pretty useful docs... .  I imagine this is your config problem
>>> though this doesn't address why your connections are breaking in the  
>>> 1st
>>> place.
>>> 
>>> BTW is there a hardware LB in the picture?  Those are notorious for
>>> chopping connections that remain idle for what is pretty much standard
>>> at around 16 seconds.  This isn't an issue under low load as  
>>> connections
>>> simply get recycled at a high frequency... but get yourself up to
>>> 10K-30K connections and voila log jam... the pool spends more time
>>> trying to create connections than it can use and you end up with
>>> something like 5000 TCP connections on the server.  Not fun indeed.   
>>> But
>>> ever so common on high end systems.
>>> 
>>> Lastly, as far as Connection Pool is concerned I have to say I have  
>>> done
>>> a fair amount of research and am quite disappointed that either  
>>> projects
>>> have been abandoned or not updated despite known issues...  IIRC there
>>> were some synchronization bugs in c3p0 that can come up... so for  
>>> now we
>>> ended up looking at BoneCP and use that for now although I'm not sure
>>> how well it can recover broken connections.
>>> 
>>> Oh... and I almost forgot... 2 reasons I imagine that Connection  
>>> Pooling
>>> projects have been more and more stale are b/c i) App Servers these  
>>> days
>>> have built in connection pooling functionality that should be pretty
>>> good and ii) some consider them finished and sufficient for their
>>> purposes... despite the growing list of possibly "rarer" issues,  
>>> RFE's,
>>> etc...
>>> 
>>> --Nikolaos
>>> 
>>> 
>>> 
>>> 
>>> Joaquin Valdez wrote:
>>>> Hello!
>>>> 
>>>> I am wondering what the proper way of handling a database connection
>>>> pool when it looses connection to the database.  My application will
>>>> run fine for 2 weeks then it will start throwing broken pipe errors.
>>>> I don't have the exact error but that is what the error says.  I  
>>>> use a
>>>> postgres database and the c3po hibernate connection pool.  How do I
>>>> ensure connectivity is maintained?
>>>> 
>>>> Maybe a database connection interceptor?  Just an idea.
>>>> 
>>>> Here is my persistence.xml file:
>>>> 
>>>> 
>>>> http://java.sun.com/xml/ns/
>>>> persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>

Re: [Stripes-users] database connection

2010-09-22 Thread Joaquin Valdez
Thank you Nikolaos for the great information and response!

I will get those exceptions and get them to you in a bit.

When I began using c3po and began to notice the oddities.  I began to  
look around and see what else is out there.  I too found bonecp and  
will investigate using that.

What is an LB ?

Thanks!
Joaquin



On Sep 22, 2010, at 1:33 PM, Nikolaos Giannopoulos wrote:

> Joaquin,
>
> You really need to get a copy of those Exceptions... broken pipe on a
> web / app server typically is quite normal as it can be as simple as
> someone hitting the stop or the refresh button on their web browser
> while the server was trying to process a request.
>
> Also it may be a consequence of the fact that your application is  
> losing
> database connectivity... broken pages... people hitting refresh
> repeatedly... etc... .  So if this is as frequent as you state then
> simply put together some of the stack traces and send that out.
>
> c3p0 has a number of settings that set out how many times it will  
> retry,
> the interval it will wait between retries and / or how long it will
> retry before giving up, etc... and if IIRC some settings had to go  
> in a
> c3p0 properties file and NOT just in the persistence.xml (in fact in  
> the
> XML file they would be ignored).  Just google things and you should  
> find
> some pretty useful docs... .  I imagine this is your config problem
> though this doesn't address why your connections are breaking in the  
> 1st
> place.
>
> BTW is there a hardware LB in the picture?  Those are notorious for
> chopping connections that remain idle for what is pretty much standard
> at around 16 seconds.  This isn't an issue under low load as  
> connections
> simply get recycled at a high frequency... but get yourself up to
> 10K-30K connections and voila log jam... the pool spends more time
> trying to create connections than it can use and you end up with
> something like 5000 TCP connections on the server.  Not fun indeed.   
> But
> ever so common on high end systems.
>
> Lastly, as far as Connection Pool is concerned I have to say I have  
> done
> a fair amount of research and am quite disappointed that either  
> projects
> have been abandoned or not updated despite known issues...  IIRC there
> were some synchronization bugs in c3p0 that can come up... so for  
> now we
> ended up looking at BoneCP and use that for now although I'm not sure
> how well it can recover broken connections.
>
> Oh... and I almost forgot... 2 reasons I imagine that Connection  
> Pooling
> projects have been more and more stale are b/c i) App Servers these  
> days
> have built in connection pooling functionality that should be pretty
> good and ii) some consider them finished and sufficient for their
> purposes... despite the growing list of possibly "rarer" issues,  
> RFE's,
> etc...
>
> --Nikolaos
>
>
>
>
> Joaquin Valdez wrote:
>> Hello!
>>
>> I am wondering what the proper way of handling a database connection
>> pool when it looses connection to the database.  My application will
>> run fine for 2 weeks then it will start throwing broken pipe errors.
>> I don't have the exact error but that is what the error says.  I  
>> use a
>> postgres database and the c3po hibernate connection pool.  How do I
>> ensure connectivity is maintained?
>>
>> Maybe a database connection interceptor?  Just an idea.
>>
>> Here is my persistence.xml file:
>>
>> 
>> http://java.sun.com/xml/ns/
>> persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
>> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
>> ">
>> > type="RESOURCE_LOCAL">
>> org.hibernate.ejb.HibernatePersistence
>> false
>> 
>> > value="org.hibernate.cache.NoCacheProvider"/>
>> > value="class"/>
>> > value="org.hibernate.dialect.PostgreSQLDialect"/>
>> 
>>   
>>   
>>   
>>   
>> 
>> 
>>   
>> 
>> 
>> 
>> 
>> 
>> > value="org.postgresql.Driver"/>
>>
>>   
>>
>> > value=""/>
>> > value=""/>
>> > value="jdbc:postgresql://localhost/postgres"/>
>>
>&g

[Stripes-users] database connection

2010-09-22 Thread Joaquin Valdez
Hello!

I am wondering what the proper way of handling a database connection  
pool when it looses connection to the database.  My application will  
run fine for 2 weeks then it will start throwing broken pipe errors.   
I don't have the exact error but that is what the error says.  I use a  
postgres database and the c3po hibernate connection pool.  How do I  
ensure connectivity is maintained?

Maybe a database connection interceptor?  Just an idea.

Here is my persistence.xml file:


http://java.sun.com/xml/ns/ 
persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";  
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd 
">
 
 org.hibernate.ejb.HibernatePersistence
 false
 
 
 
 
 
   
   
   
   
 
 
   
 
 
 
 
 
 

   

 
 
 


   


 




 
 
 




Thanks!
Joaquin



--
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] displaytable question

2010-09-11 Thread Joaquin Valdez
Thank  you...do you have an example I can look at?  Thanks!

On Sep 11, 2010, at 6:29 AM, Mike McNally wrote:

> As far as I know, the only way to do this is by using a "table decorator" and 
> putting the logic in there.
> 
> On Sat, Sep 11, 2010 at 8:10 AM, Joaquin Valdez  wrote:
> Hello!
> 
> I would like to conditionally display a row using the display tag table.  Is 
> this possible?  How is this done?
> 
> Thank you very much!
> 
> Joaquin Valdez
> joaqu...@mind.net
> 
> 
> 
> 
> 
> 
> --
> 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
> 
> 
> 
> -- 
> Turtle, turtle, on the ground,
> Pink and shiny, turn around.
> --
> 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

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593




--
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


[Stripes-users] displaytable question

2010-09-11 Thread Joaquin Valdez
Hello!

I would like to conditionally display a row using the display tag table.  Is 
this possible?  How is this done?

Thank you very much!

Joaquin Valdez
joaqu...@mind.net






--
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] can't find model class

2010-09-10 Thread Joaquin Valdez
Thank you!  A simple cleaning seemed to do the trick.  I always do a clean and 
build when developing, but apparently that stopped working.  I use NetBeans.

Thanks Nikolaos!
Joaquin



On Sep 10, 2010, at 8:09 PM, Nikolaos Giannopoulos wrote:

> Joaquin,
> 
> 
> Looks like JPA is having trouble finding a class named "Inventory" 
> either b/c of something that has to do with JPA or isn't compiled.
> 
> Caused by: java.lang.ClassNotFoundException: Inventory
> 
> 
> Here are some ideas:
> 
> 1) If you explicitly specify class names in persistence.xml then make 
> sure its there.  Simple enough I know - but ya never know... :-)
> 
> 2) Also I found that I could not have 2 classes with the same class name 
> even if the package structure was different for the 2 classes - JPA 
> would complain that it would not be able to find one of the 2 classes 
> i.e. make sure you don't have:
> 
> some.package.name.Inventory
> some.other.package.name.Inventory
> 
> 3) Some times a deployment might get out of sync and classes might not 
> end up where they need to go.  IF you are using Eclipse what I some 
> times end up doing that pretty much makes sure everything gets on the 
> same page is:
> 
> a) Remove the deployment (if any)
> b) Do a "clean" on the project (i.e. remove all class files)
> c) Rebuild the project (typically in Eclipse most people will have that 
> setup to automatic... but just in case its manual)
> 
> Of course you can do a similar thing in your IDE of choice... .
> 
> HTH,
> 
> --Nikolaos
> 
> 
> 
> 
> Joaquin Valdez wrote:
>> Hello!
>> 
>> I am having trouble with my app.  It's not longer finding one of my model 
>> classes.  I am using a structure similar to the Stripes book.  Any how, when 
>> I run my app, I get the following error:
>> 
>> javax.persistence.PersistenceException: [PersistenceUnit: loginPU] Unable to 
>> configure EntityManagerFactory
>>   at 
>> org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265)
>>   at 
>> org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125)
>>   at 
>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
>>   at 
>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
>>   at org.stripesstuff.stripersist.Stripersist.init(Stripersist.java:167)
>>   at org.stripesstuff.stripersist.Stripersist.init(Stripersist.java:117)
>>   at 
>> net.sourceforge.stripes.config.DefaultConfiguration.addInterceptor(DefaultConfiguration.java:470)
>>   at 
>> net.sourceforge.stripes.config.RuntimeConfiguration.initInterceptors(RuntimeConfiguration.java:233)
>>   at 
>> net.sourceforge.stripes.config.RuntimeConfiguration.initInterceptors(RuntimeConfiguration.java:214)
>>   at 
>> net.sourceforge.stripes.config.DefaultConfiguration.init(DefaultConfiguration.java:204)
>>   at 
>> net.sourceforge.stripes.config.RuntimeConfiguration.init(RuntimeConfiguration.java:291)
>>   at 
>> net.sourceforge.stripes.controller.StripesFilter.init(StripesFilter.java:125)
>>   at 
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
>>   at 
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>>   at 
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
>>   at 
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
>>   at 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
>>   at 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>>   at 
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>>   at 
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>>   at 
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>>   at 
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
>>   at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1229)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>   at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>   at java.lang.reflect.Method.invoke(Metho

Re: [Stripes-users] can't find model class

2010-09-10 Thread Joaquin Valdez
Thank  you!  will try those things.

On Sep 10, 2010, at 8:09 PM, Nikolaos Giannopoulos wrote:

> Joaquin,
> 
> 
> Looks like JPA is having trouble finding a class named "Inventory" 
> either b/c of something that has to do with JPA or isn't compiled.
> 
> Caused by: java.lang.ClassNotFoundException: Inventory
> 
> 
> Here are some ideas:
> 
> 1) If you explicitly specify class names in persistence.xml then make 
> sure its there.  Simple enough I know - but ya never know... :-)
> 
> 2) Also I found that I could not have 2 classes with the same class name 
> even if the package structure was different for the 2 classes - JPA 
> would complain that it would not be able to find one of the 2 classes 
> i.e. make sure you don't have:
> 
> some.package.name.Inventory
> some.other.package.name.Inventory
> 
> 3) Some times a deployment might get out of sync and classes might not 
> end up where they need to go.  IF you are using Eclipse what I some 
> times end up doing that pretty much makes sure everything gets on the 
> same page is:
> 
> a) Remove the deployment (if any)
> b) Do a "clean" on the project (i.e. remove all class files)
> c) Rebuild the project (typically in Eclipse most people will have that 
> setup to automatic... but just in case its manual)
> 
> Of course you can do a similar thing in your IDE of choice... .
> 
> HTH,
> 
> --Nikolaos
> 
> 
> 
> 
> Joaquin Valdez wrote:
>> Hello!
>> 
>> I am having trouble with my app.  It's not longer finding one of my model 
>> classes.  I am using a structure similar to the Stripes book.  Any how, when 
>> I run my app, I get the following error:
>> 
>> javax.persistence.PersistenceException: [PersistenceUnit: loginPU] Unable to 
>> configure EntityManagerFactory
>>   at 
>> org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265)
>>   at 
>> org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125)
>>   at 
>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
>>   at 
>> javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
>>   at org.stripesstuff.stripersist.Stripersist.init(Stripersist.java:167)
>>   at org.stripesstuff.stripersist.Stripersist.init(Stripersist.java:117)
>>   at 
>> net.sourceforge.stripes.config.DefaultConfiguration.addInterceptor(DefaultConfiguration.java:470)
>>   at 
>> net.sourceforge.stripes.config.RuntimeConfiguration.initInterceptors(RuntimeConfiguration.java:233)
>>   at 
>> net.sourceforge.stripes.config.RuntimeConfiguration.initInterceptors(RuntimeConfiguration.java:214)
>>   at 
>> net.sourceforge.stripes.config.DefaultConfiguration.init(DefaultConfiguration.java:204)
>>   at 
>> net.sourceforge.stripes.config.RuntimeConfiguration.init(RuntimeConfiguration.java:291)
>>   at 
>> net.sourceforge.stripes.controller.StripesFilter.init(StripesFilter.java:125)
>>   at 
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
>>   at 
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>>   at 
>> org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
>>   at 
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
>>   at 
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4356)
>>   at 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>>   at 
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>>   at 
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>>   at 
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
>>   at 
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:511)
>>   at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1229)
>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>   at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>   at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>   at java.lang.reflect.Method.invoke(Method.java:597)
>>   at 
>> org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
>>   at 
>> com.sun.jmx.inter

[Stripes-users] can't find model class

2010-09-10 Thread Joaquin Valdez
   at 
sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:50)
   at 
sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:120)
   at 
sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
   at 
sun.reflect.generics.repository.MethodRepository.getReturnType(MethodRepository.java:50)
   at java.lang.reflect.Method.getGenericReturnType(Method.java:236)
   at 
org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredMethodProperties(JavaXClass.java:90)
   at 
org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:106)
   at 
org.hibernate.annotations.common.reflection.java.JavaXClass.getDeclaredProperties(JavaXClass.java:98)
   at 
org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:1023)
   at 
org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:859)
   at 
org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:666)
   at 
org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:534)
   at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:286)
   at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
   at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1225)
   at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:159)
   at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854)
   at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191)
   at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253)
   ... 47 more
Caused by: java.lang.ClassNotFoundException: Inventory
   at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
   at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:247)
   at 
sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
   ... 68 more

Seems like something silly, but I can't figure it out.

Thanks!

Joaquin Valdez
joaqu...@mind.net





--
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] website design

2010-09-02 Thread Joaquin Valdez
In exchange for some mention of credit or  minor advertising, yes.  


Joaquin




On Sep 2, 2010, at 1:20 PM, Aurangzeb Agha wrote:

> Joaquin Valdez  writes:
> 
>> 
>> Hello!
>> 
>> I work with a talented guy who designs websites.  His portfolio is here:  
>> 
>> http://hyperlinkstudios.com/portfolio.html
>> 
> He seems to do a decent work.  I doubt though he'd be willing to do pro-bono 
> work like Morten though, right?
> 
> 
> --
> 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

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
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


[Stripes-users] website design

2010-09-02 Thread Joaquin Valdez
Hello!

I work with a talented guy who designs websites.  His portfolio is here:  

http://hyperlinkstudios.com/portfolio.html

Just an idea!

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
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


Re: [Stripes-users] The New Stripes Website - WAS: Re: Stripes Development and its Future... (this one is long too)

2010-09-02 Thread Joaquin Valdez
WOOHOOO!!!

Yes Rayures! I would love to see a production release.

Joaquin

On Sep 2, 2010, at 10:02 AM, Freddy Daoud wrote:

> Hi Aurangzeb,
> 
> Like you, I think it's fantastic that several people, including
> yourself, have shown their support for helping Stripes getting
> some momentum back in terms of marketing and visibility.
> 
> For blogs, perhaps we should set up a separate site where people
> can post. Someone mentioned Grails having a better-looking site
> than Stripes (I agree), and they also have a site for blogs:
> 
> http://groovyblogs.org
> 
> Of course, they also have a magazine, seminars, courses, and
> the whole SpringSource machine behind them! I won't pretend that
> we have that many resources. But it should definitely be easier
> for people to contribute their blog posts, tips 'n' tricks,
> success stories, and so on.
> 
> If enough people think that it is worthwhile for me to polish
> up Rayures 2.0 so that we have a "starting a full-stack project
> with Stripes from scratch in one minute" solution, I'll see to
> improving the documentation and producing a release.
> 
> I'm happy to see that people agree with keeping the Stripes core as
> simple as it is now and avoid the bloat trap.
> 
> That doesn't mean that development can stop. We need to work on
> the 1.5.4 release, as well as the 1.6 release; we need to get the
> whole Maven issue resolved; and we need to update the docs. And
> we need people to contribute the effort for that to happen!
> 
> We also need Will Hartung to write a piece for this discussion. It
> wouldn't be complete without one of his masterpieces. Looking forward
> to reading what you have to say, Will! :-)
> 
> Cheers,
> Freddy
> 
> 
> --
> 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

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
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


Re: [Stripes-users] Stripes Development and its Future... (this one is long too)

2010-09-01 Thread Joaquin Valdez
I have been learning/using Stripes for a year.  I am always amazed how 
wonderful and cool development is with it.  I thank Freddy for his support and 
all other involved for creating Stripes and maintaining it to this point.  I am 
saddened greatly to hear of a potential decline in the framework!  I am about 
ready to jump into a huge project armed with Stripes and look forward to 
accomplishing something great.

We can't let this great framework die

Thanks!
Joaquin Valdez


On Sep 1, 2010, at 6:40 PM, Freddy Daoud wrote:

> Hi all,
> 
> I have been thinking about this topic for quite some time now and,
> admittedly, have been "avoiding" it.. but now that the discussion has
> been sparked, I can't hide my head in the sand anymore.
> 
> I am happy to see the responses to Nikolaos's post. Some very good
> points are made.
> 
> Most of these concerns are known to the community, but the problems
> remain:
> 
> * the web site is dry and lacks visual appeal. this has been discussed
> time and again and we can't find anyone with the artistic talent, the
> time, and the will to redesign the site.
> 
> * development is not as active as it used to be. i think the framework
> has somewhat peaked because it is, for the most part,
> feature-complete.
> 
> * my own involvement in the framework has been reduced to answering
> questions on the mailing list. don't get me wrong--i am not claiming
> that i was ever one of the main developers. clearly, Tim and Ben are.
> But, when I was working on the book, I was also developing
> professionally with Stripes, and the two combined made me very
> interested in Stripes' features. A few of the tweaks that made it into
> the 1.5 release were directly related to writing the book.
> 
> * more on the previous point: I still develop professionally with
> Stripes, but have not much interest in any major new features. The
> current trunk suits me fine. Any "nice-to-haves" I consider not part
> of the core framework, and I put them in Rayures.
> 
> * I fully agree with the full-stack idea. This is what Rayures does.
> In one minute, you can set up a Stripes project that is ready to run
> with Maven, Tomcat plugin, Spring, Hibernate, JPA, Log4J, and TestNG.
> 
> * about the lack of developer activity: I think we need some new
> blood. I can't speak for Ben, but I think it is too much to ask of him
> being almost the sole developer. Personally, I gave my all to write
> the book, improve the documentation, contribute to the framework when
> I could, write articles (e.g. The Server Side), write blog posts, post
> links on DZone, get book reviews, promote Stripes on forums.. But now
> I am *burnt out*. As I mentioned earlier, I still answer questions on
> the mailing list when I can, but other than that, I need to just be a
> happy Stripes *user*.
> 
> * more on the previous point: I think there are several people who are
> quite skillful, sharp, and competent who would make great developers
> for Stripes. I think we need a group of those people to step up and
> keep the framework alive. Several names come to mind, but I won't name
> them because I don't want to offend anyone by omission, nor do I want
> to put anyone on the spot.
> 
> * yes I know it is lame when someone says "I'd like feature X" and the
> reply is "ok then why don't you implement it?" but sometimes the
> person actually says "I did implement it! can you add my code?" But
> the problem remains that someone needs to validate the code, decide if
> it belongs in the core (lest we bloat the framework, something we've
> been trying to avoid and shoud continue to resist), and so on. This is
> the job of a "core" group of developers who have the Stripes
> philosophy at heart. Unfortunately, since the departure of Tim, this
> core seems to have disintegrated. No disrespect at all to Tim by the
> way, he created a truly awesome framework and gave me an awesome topic
> to write about. I certainly don't blame him for having moved on.
> 
> Before this post gets too long (too late!) I guess in conclusion, we
> all agree that Stripes needs more steam in terms of development,
> marketing, spreading the good word, blogging, revamping the site,
> developing bells and whistles--extensions that make you go "wow" but
> keeping them outside the core.
> 
> Stripes needs more activity. The question is, who is willing to invest
> themselves into this goal? Who is willing to take over, for the future
> of Stripes?
> 
> If there is enough response, how do we "hand over the reigns"?
> 
> Cheers,
> Freddy
> 
> 
> -

Re: [Stripes-users] stripes/jmesa

2010-08-22 Thread Joaquin Valdez
Thanks Freddy!


On Aug 22, 2010, at 1:41 PM, Freddy Daoud wrote:

>> Anyone have an example of Stripes and Jmesa to display table data? 
> 
> I'm currently using JMesa with Stripes in a project, but I can't share
> the code.
> 
> However, I can tell you that there's not much to integrate JMesa with
> Stripes. Meaning, if you follow the JMesa documentation to create
> tables, in Stripes all you need to do is display the table in the JSP.
> 
> For example, say you create a class, MyTable, that generates the table
> with TableFacade, and you override toString() to return
> tableFacade.render(). Then, in your action bean, you create an
> instance of that class and return it from a getter method, such as
> 
>  public MyTable getMyTable() {
>return myTable;
>  }
> 
> Displaying the table in your JSP is just a matter of
> 
>  ${actionBean.myTable}
> 
> That's all there is to it.
> 
> You can also use JMesa's JSP tag library. Again, there's not much to
> integrating with Stripes. Just another tag library.
> 
> Cheers,
> Freddy
> 
> --
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] JSP EL not populated

2010-08-21 Thread Joaquin Valdez
Permissions?!?


On Aug 21, 2010, at 7:59 PM,  wrote:

>  
> I've been developing a few projects with JSPs that are returned via 
> ForwardResolution.  They have all worked great (meaning EL was working to 
> populate actionBean values, etc.) for quite some time on all 3 of them.  
> Noticed recently that 1 of the 3 projects has stopped populating EL however I 
> see evidence that the requests are working behind the action beans via logs 
> etc.  I've been scratching my head on this one trying to compare working 
> projects with the failing one.   I have put a 2 week old .war file in place 
> that shows it works so it is something in the newer .war build files.  Did 
> diffs with no luck.  I have not touched Action classes or JSPs at all.  I've 
> been comparing configs, etc..  No luck.  I recently was trying to initialize 
> log4j differently and implement some SSL things, but I ripped both of those 
> changes out without luck.  Hoping someone has an idea.
> 
> Thanks,
>  
>  
> Jeff Kell
>  
>  
>  
> --
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] stripes/jmesa

2010-08-17 Thread Joaquin Valdez
Hello!

Anyone have an example of Stripes and Jmesa to display table data? 

Thanks!

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] JSR 303 integration and addition to stripes around the web

2010-08-05 Thread Joaquin Valdez
I would like to see it!

Joaquin

Sent from my iPhone

On Aug 5, 2010, at 5:54 PM, d...@ecompanies.com.au wrote:

> Hi,
> 
> I'd like to get access to the wiki so I can add my site  
> ecompanies.com.au to the stripes around the web page.
> 
> If anyone is interested I'll also post my JSR 303 integration that I  
> developed for my site since no one else seems to have done it yet.
> 
> Thanks
> Dan
> 
> 
> 
> --
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] wizards,jquery,ajax

2010-08-05 Thread Joaquin Valdez
Awesome! Thank you!

I do currently have

@Wizard(startEvents="step1")

should I also add:

@Wizard(startEvents="step1,lookup")

Thanks!
Joaquin



On Aug 5, 2010, at 10:17 AM, Freddy Daoud wrote:

> Hi again Joaquin,
>
>> Thanks Freddy!
>
> Always a pleasure to help. When it's not a pleasure, I don't help. ;-)
>
>>>> I am trying to do a ajax call inside a wizard form and I get this  
>>>> error
>>>> message:
>>>>
>>>> Unhandled exception caught by the Stripes default exception  
>>>> handler.
>>>> net.sourceforge.stripes.exception.StripesRuntimeException:  
>>>> Submission of
>>>> a wizard form in Stripes absolutely requires that the hidden field
>>>> Stripes writes containing the names of the fields present on the  
>>>> form is
>>>> present and encrypted (as Stripes write it). This is necessary to  
>>>> prevent
>>>> a user from spoofing the system and getting around any security/ 
>>>> data
>>>> checks.
>>>>
>> My intention is not to submit the form rather default some fields  
>> using
>> the ajax call based on a value from a field earlier in the form.   
>> Here is
>> my javascript:
>>
>> function lookup(field, url) {
>>$.get(url,
>>{ 'username': $(field).val(),'_eventName':  
>> 'lookup'},function(data) {
>>  $('#enrollerfields').html(data);
>>}
>>  );
>> }
>>
>> public Resolution lookup() {
>>   [...]
>> }
>
> I am assuming that your action bean is annotated with @Wizard. Given
> that you are invoking the 'lookup' event from your JavaScript without
> submitting the form, you need to tell Stripes not to perform the
> wizard validation for that particular event, like so:
>
> @Wizard(startEvents="lookup")
> public class YourActionBean ... {
>  public Resolution lookup() {
>...
>  }
> }
>
> Hope that resolves the issue. Let me know if you need any further
> explanations.
>
> Cheers,
> Freddy
>
> ------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] wizards,jquery,ajax

2010-08-05 Thread Joaquin Valdez
Thanks Freddy!

My intention is not to submit the form rather default some fields using the 
ajax call based on a value from a field earlier in the form.  Here is my 
javascript:


function lookup(field, url) {
$.get(url,
{ 'username': $(field).val(),'_eventName': 'lookup'},function(data) {
  $('#enrollerfields').html(data);
}
  );
}


function ajaxLink(link, update) {
//alert(link);
  $.get(link, function(data) {
$(update).html(data);
$(update).show();
  });
  return false;
}


Action Bean

Where EFORM is a jsp page holding fields.

 public Resolution lookup() {

if (username != null && username.length() > 0) {

d = distDao.findByUsername(username);
if (d == null) {
d = new Dist();
}
setD(d);
}
return new ForwardResolution(EFORM);
}

Thanks!
Joaquin





On Aug 5, 2010, at 3:42 AM, Freddy Daoud wrote:

> Hi Joaquin,
> 
>> I am trying to do a ajax call inside a wizard form and I get this error
>> message:
>> 
>> Unhandled exception caught by the Stripes default exception handler.
>> net.sourceforge.stripes.exception.StripesRuntimeException: Submission of
>> a wizard form in Stripes absolutely requires that the hidden field
>> Stripes writes containing the names of the fields present on the form is
>> present and encrypted (as Stripes write it). This is necessary to prevent
>> a user from spoofing the system and getting around any security/data
>> checks.
>> 
>> Any ideas?
> 
> Yes, you are probably not including the hidden parameter that Stripes
> adds to wizard forms, when you are submitting the form with jQuery.
> 
> Here's one way to do it:
> 
> function submitForm(button) {
>  var form = button.form;
>  var params = $(form).serializeArray();
>  params.push({name: '_eventName' , value: button.name});
>  $.post(form.action, params, function(data) {
>// do something with data
>  });
>  return false;
> }
> 
> Hope that helps.
> 
> Cheers,
> Freddy
> 
> --
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
> ___
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


[Stripes-users] wizards,jquery,ajax

2010-08-04 Thread Joaquin Valdez
Hello!

I am trying to do a ajax call inside a wizard form and I get this error message:

Unhandled exception caught by the Stripes default exception handler.
net.sourceforge.stripes.exception.StripesRuntimeException: Submission of a 
wizard form in Stripes absolutely requires that the hidden field Stripes writes 
containing the names of the fields present on the form is present and encrypted 
(as Stripes write it). This is necessary to prevent a user from spoofing the 
system and getting around any security/data checks.

Any ideas?

Thanks a ton!
Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users