RE: [OS-webwork] Scope for 1.4

2003-01-15 Thread James Cook
We use webwork 1.2 as well on a project, but sidestep webwork tags in
favor of Velocity. That being said, Velocity makes callbacks to our
actions in much the same way that the webwork ui tags do, however we
have no performance problem on large select lists. I would assume that
the bottleneck is in the tag code and not the fetching of data from
the action.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On 
 Behalf Of Kirk Rasmussen
 Sent: Tuesday, January 14, 2003 9:10 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [OS-webwork] Scope for 1.4
 
 
 Mike,
 I should qualify that I am running the 1.2.1 build for my 
 tests.  I have not tried 1.3 RC1 yet.  
 
 However, even when I eliminated the ui:select tag and used 
 a straight 
 webwork:iterator to product the select list it only reduced 
 the execution 
 time to 10 secs versus 13 secs.  To me this poses a 
 significant problem, at 
 least for the 1.2 build.
 
 Has anyone profiled webwork with JProbe or similar tools to 
 look for hot 
 spots that could be optimized?
 
  -Original Message-
  From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 14, 2003 5:56 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [OS-webwork] Scope for 1.4
  
  
  Kirk,
  
  Well - yes and no. JIRA uses OSCache, but not for the UI
  tags. None of those
  are cached at all, and we have literally hundreds ;)
  
  OSCache is only used where certain pages take a long time to
  generate for
  various reasons (most often because of the computations required to
  calculate the data set being displayed).
  
  We also use a lot of select tags, some with up to 100
  elements, and their
  time to render is not significant?
  
  Cheers,
  Mike
  
 
 
 ---
 This SF.NET email is sponsored by: Take your first step 
 towards giving 
 your online business a competitive advantage. Test-drive a Thawte SSL 
 certificate - our easy online guide will show you how. Click 
 here to get 
 started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
 ___
 Opensymphony-webwork mailing list 
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 



---
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Scope for 1.4

2003-01-15 Thread Kirk Rasmussen
Hi Pat,
Any chance you could post that here?

Thanks,
Kirk Rasmussen
Lucasfilm Lt.d

 -Original Message-
 From: Patrick Lightbody [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, January 14, 2003 5:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Scope for 1.4
 
 
 Yup, Kirk's option here is the best way to get immediate performance
 improvements. I've made a very generic selectfastmap.jsp 
 template for
 large lists of Map objects. Works much faster.
 
 -Pat
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



[OS-webwork] Hidden token

2003-01-15 Thread Jason Carreira
Hi all,

In our evaluation of Struts vs. Webwork, I was asked about the ability
to do hidden tokens on WW built forms and URLs. Struts apparently, in
their form and link tags, have the possibility of (optionally) adding a
hidden token (either as a hidden form field, or through URL rewriting),
which can keep the user from clicking twice and executing your action
twice. I don't remember seeing anything like this in WW, although my
take is that this would be easy enough to add to the URLTag. Also, is
there a ui:form tag? I'm not sure what all got added.

I remember Rickard was talking about something to prevent 2 submits, but
I'm not sure what it was...

Thoughts? Would this be something good to add (given that it would be
optional and not break anybodies existing code)?

Jason

--
Jason Carreira
Technical Architect, Notiva Corp.
phone:  585.240.2793
  fax:  585.272.8118
email:  [EMAIL PROTECTED]
---
Notiva - optimizing trade relationships (tm)
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Hidden token

2003-01-15 Thread Jason Carreira
Right, I just want to keep it from processing twice... Hit it twice if
you want.

 -Original Message-
 From: matt baldree [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 15, 2003 4:30 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Hidden token
 
 
 This doesn't prevent them from clicking 2x but prevents them 
 from hitting back button and resubmitting. If you want to 
 prevent clicking button 2x, you have to use javascript.
 
 - Original Message -
 From: Jason Carreira [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:04 PM
 Subject: [OS-webwork] Hidden token
 
 
 Hi all,
 
 In our evaluation of Struts vs. Webwork, I was asked about 
 the ability to do hidden tokens on WW built forms and URLs. 
 Struts apparently, in their form and link tags, have the 
 possibility of (optionally) adding a hidden token (either as 
 a hidden form field, or through URL rewriting), which can 
 keep the user from clicking twice and executing your action 
 twice. I don't remember seeing anything like this in WW, 
 although my take is that this would be easy enough to add to 
 the URLTag. Also, is there a ui:form tag? I'm not sure what 
 all got added.
 
 I remember Rickard was talking about something to prevent 2 
 submits, but I'm not sure what it was...
 
 Thoughts? Would this be something good to add (given that it 
 would be optional and not break anybodies existing code)?
 
 Jason
 
 --
 Jason Carreira
 Technical Architect, Notiva Corp.
 phone: 585.240.2793
   fax: 585.272.8118
 email: [EMAIL PROTECTED]
 ---
 Notiva - optimizing trade relationships (tm)
 
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing 
 Certificate is essential in establishing user confidence by 
 providing assurance of authenticity and code integrity. 
 Download our Free Code Signing guide: 
 http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
 
 
 ___
 Opensymphony-webwork mailing list 
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 
 
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code 
 Signing guide: 
 http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
 
 
 ___
 Opensymphony-webwork mailing list 
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Hidden token

2003-01-15 Thread Jason Carreira
Just thought this out some more. Here's how it could work:

the hidden token is set in the session when the form is shown, then
added to the form as a hidden field. When the action processes the form,
you look for the token and make sure it's the same as the last one you
put in the session before you process.

Jason

 -Original Message-
 From: Jason Carreira 
 Sent: Wednesday, January 15, 2003 4:04 PM
 To: [EMAIL PROTECTED]
 Subject: [OS-webwork] Hidden token
 
 
 Hi all,
 
 In our evaluation of Struts vs. Webwork, I was asked about 
 the ability to do hidden tokens on WW built forms and URLs. 
 Struts apparently, in their form and link tags, have the 
 possibility of (optionally) adding a hidden token (either as 
 a hidden form field, or through URL rewriting), which can 
 keep the user from clicking twice and executing your action 
 twice. I don't remember seeing anything like this in WW, 
 although my take is that this would be easy enough to add to 
 the URLTag. Also, is there a ui:form tag? I'm not sure what 
 all got added.
 
 I remember Rickard was talking about something to prevent 2 
 submits, but I'm not sure what it was...
 
 Thoughts? Would this be something good to add (given that it 
 would be optional and not break anybodies existing code)?
 
 Jason
 
 --
 Jason Carreira
 Technical Architect, Notiva Corp.
 phone:585.240.2793
   fax:585.272.8118
 email:[EMAIL PROTECTED]
 ---
 Notiva - optimizing trade relationships (tm)
  
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code 
 Signing guide: 
 http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
 
 
 ___
 Opensymphony-webwork mailing list 
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Hidden token

2003-01-15 Thread matt baldree
yes, this is how we did it.

- Original Message - 
From: Jason Carreira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:48 PM
Subject: RE: [OS-webwork] Hidden token


Just thought this out some more. Here's how it could work:

the hidden token is set in the session when the form is shown, then
added to the form as a hidden field. When the action processes the form,
you look for the token and make sure it's the same as the last one you
put in the session before you process.

Jason

 -Original Message-
 From: Jason Carreira 
 Sent: Wednesday, January 15, 2003 4:04 PM
 To: [EMAIL PROTECTED]
 Subject: [OS-webwork] Hidden token
 
 
 Hi all,
 
 In our evaluation of Struts vs. Webwork, I was asked about 
 the ability to do hidden tokens on WW built forms and URLs. 
 Struts apparently, in their form and link tags, have the 
 possibility of (optionally) adding a hidden token (either as 
 a hidden form field, or through URL rewriting), which can 
 keep the user from clicking twice and executing your action 
 twice. I don't remember seeing anything like this in WW, 
 although my take is that this would be easy enough to add to 
 the URLTag. Also, is there a ui:form tag? I'm not sure what 
 all got added.
 
 I remember Rickard was talking about something to prevent 2 
 submits, but I'm not sure what it was...
 
 Thoughts? Would this be something good to add (given that it 
 would be optional and not break anybodies existing code)?
 
 Jason
 
 --
 Jason Carreira
 Technical Architect, Notiva Corp.
 phone: 585.240.2793
   fax: 585.272.8118
 email: [EMAIL PROTECTED]
 ---
 Notiva - optimizing trade relationships (tm)
  
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code 
 Signing guide: 
 http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
 
 
 ___
 Opensymphony-webwork mailing list 
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Hidden token

2003-01-15 Thread Jason Carreira
In WW? Is this already there? Or did you do this in your project?

 -Original Message-
 From: matt baldree [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 15, 2003 6:05 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Hidden token
 
 
 yes, this is how we did it.
 
 - Original Message - 
 From: Jason Carreira [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:48 PM
 Subject: RE: [OS-webwork] Hidden token
 
 
 Just thought this out some more. Here's how it could work:
 
 the hidden token is set in the session when the form is 
 shown, then added to the form as a hidden field. When the 
 action processes the form, you look for the token and make 
 sure it's the same as the last one you put in the session 
 before you process.
 
 Jason
 
  -Original Message-
  From: Jason Carreira
  Sent: Wednesday, January 15, 2003 4:04 PM
  To: [EMAIL PROTECTED]
  Subject: [OS-webwork] Hidden token
  
  
  Hi all,
  
  In our evaluation of Struts vs. Webwork, I was asked about
  the ability to do hidden tokens on WW built forms and URLs. 
  Struts apparently, in their form and link tags, have the 
  possibility of (optionally) adding a hidden token (either as 
  a hidden form field, or through URL rewriting), which can 
  keep the user from clicking twice and executing your action 
  twice. I don't remember seeing anything like this in WW, 
  although my take is that this would be easy enough to add to 
  the URLTag. Also, is there a ui:form tag? I'm not sure what 
  all got added.
  
  I remember Rickard was talking about something to prevent 2
  submits, but I'm not sure what it was...
  
  Thoughts? Would this be something good to add (given that it
  would be optional and not break anybodies existing code)?
  
  Jason
  
  --
  Jason Carreira
  Technical Architect, Notiva Corp.
  phone: 585.240.2793
fax: 585.272.8118
  email: [EMAIL PROTECTED]
  ---
  Notiva - optimizing trade relationships (tm)
   
  
  
  ---
  This SF.NET email is sponsored by: A Thawte Code Signing Certificate
  is essential in establishing user confidence by providing 
  assurance of 
  authenticity and code integrity. Download our Free Code 
  Signing guide: 
  http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
  
  
  ___
  Opensymphony-webwork mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
  
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code Signing guide:
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 
 
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code Signing guide:
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Hidden token

2003-01-15 Thread matt baldree
my project. i can add it when i get a chance.

- Original Message - 
From: Jason Carreira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 6:10 PM
Subject: RE: [OS-webwork] Hidden token


In WW? Is this already there? Or did you do this in your project?

 -Original Message-
 From: matt baldree [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 15, 2003 6:05 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Hidden token
 
 
 yes, this is how we did it.
 
 - Original Message - 
 From: Jason Carreira [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:48 PM
 Subject: RE: [OS-webwork] Hidden token
 
 
 Just thought this out some more. Here's how it could work:
 
 the hidden token is set in the session when the form is 
 shown, then added to the form as a hidden field. When the 
 action processes the form, you look for the token and make 
 sure it's the same as the last one you put in the session 
 before you process.
 
 Jason
 
  -Original Message-
  From: Jason Carreira
  Sent: Wednesday, January 15, 2003 4:04 PM
  To: [EMAIL PROTECTED]
  Subject: [OS-webwork] Hidden token
  
  
  Hi all,
  
  In our evaluation of Struts vs. Webwork, I was asked about
  the ability to do hidden tokens on WW built forms and URLs. 
  Struts apparently, in their form and link tags, have the 
  possibility of (optionally) adding a hidden token (either as 
  a hidden form field, or through URL rewriting), which can 
  keep the user from clicking twice and executing your action 
  twice. I don't remember seeing anything like this in WW, 
  although my take is that this would be easy enough to add to 
  the URLTag. Also, is there a ui:form tag? I'm not sure what 
  all got added.
  
  I remember Rickard was talking about something to prevent 2
  submits, but I'm not sure what it was...
  
  Thoughts? Would this be something good to add (given that it
  would be optional and not break anybodies existing code)?
  
  Jason
  
  --
  Jason Carreira
  Technical Architect, Notiva Corp.
  phone: 585.240.2793
fax: 585.272.8118
  email: [EMAIL PROTECTED]
  ---
  Notiva - optimizing trade relationships (tm)
   
  
  
  ---
  This SF.NET email is sponsored by: A Thawte Code Signing Certificate
  is essential in establishing user confidence by providing 
  assurance of 
  authenticity and code integrity. Download our Free Code 
  Signing guide: 
  http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
  
  
  ___
  Opensymphony-webwork mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
  
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code Signing guide:
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 
 
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code Signing guide:
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 


---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



RE: [OS-webwork] Hidden token

2003-01-15 Thread Jason Carreira
Did you modify the ui tags to automatically do this? I also added a Jira
issue for this

 -Original Message-
 From: matt baldree [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 15, 2003 7:44 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Hidden token
 
 
 my project. i can add it when i get a chance.
 
 - Original Message - 
 From: Jason Carreira [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 6:10 PM
 Subject: RE: [OS-webwork] Hidden token
 
 
 In WW? Is this already there? Or did you do this in your project?
 
  -Original Message-
  From: matt baldree [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, January 15, 2003 6:05 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [OS-webwork] Hidden token
  
  
  yes, this is how we did it.
  
  - Original Message -
  From: Jason Carreira [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, January 15, 2003 3:48 PM
  Subject: RE: [OS-webwork] Hidden token
  
  
  Just thought this out some more. Here's how it could work:
  
  the hidden token is set in the session when the form is
  shown, then added to the form as a hidden field. When the 
  action processes the form, you look for the token and make 
  sure it's the same as the last one you put in the session 
  before you process.
  
  Jason
  
   -Original Message-
   From: Jason Carreira
   Sent: Wednesday, January 15, 2003 4:04 PM
   To: [EMAIL PROTECTED]
   Subject: [OS-webwork] Hidden token
   
   
   Hi all,
   
   In our evaluation of Struts vs. Webwork, I was asked about the 
   ability to do hidden tokens on WW built forms and URLs. Struts 
   apparently, in their form and link tags, have the possibility of 
   (optionally) adding a hidden token (either as a hidden 
 form field, 
   or through URL rewriting), which can keep the user from clicking 
   twice and executing your action twice. I don't remember seeing 
   anything like this in WW, although my take is that this would be 
   easy enough to add to the URLTag. Also, is there a 
 ui:form tag? I'm 
   not sure what all got added.
   
   I remember Rickard was talking about something to prevent 
 2 submits, 
   but I'm not sure what it was...
   
   Thoughts? Would this be something good to add (given that 
 it would 
   be optional and not break anybodies existing code)?
   
   Jason
   
   --
   Jason Carreira
   Technical Architect, Notiva Corp.
   phone: 585.240.2793
 fax: 585.272.8118
   email: [EMAIL PROTECTED]
   ---
   Notiva - optimizing trade relationships (tm)

   
   
   ---
   This SF.NET email is sponsored by: A Thawte Code Signing 
 Certificate 
   is essential in establishing user confidence by providing 
 assurance 
   of authenticity and code integrity. Download our Free Code
   Signing guide: 
   http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0028en
   
   
   ___
   Opensymphony-webwork mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
   
  
  
  ---
  This SF.NET email is sponsored by: A Thawte Code Signing 
 Certificate 
  is essential in establishing user confidence by providing 
  assurance of 
  authenticity and code integrity. Download our Free Code 
 Signing guide:
  http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
  ___
  Opensymphony-webwork mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
  
  
  
  
  ---
  This SF.NET email is sponsored by: A Thawte Code Signing 
 Certificate 
  is essential in establishing user confidence by providing 
  assurance of 
  authenticity and code integrity. Download our Free Code 
 Signing guide:
  http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
  ___
  Opensymphony-webwork mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
  
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code Signing guide:
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
 
 
 
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
 is essential in establishing user confidence by providing 
 assurance of 
 authenticity and code integrity. Download our Free Code Signing guide:
 

RE: [OS-webwork] Hidden token

2003-01-15 Thread Jason Carreira
I wouldn't want to put this on the wiki before it's decided to do it...
I put it in Jira instead

 -Original Message-
 From: Joseph Ottinger [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 15, 2003 8:42 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [OS-webwork] Hidden token
 
 
 Actually... in case you guys don't know it, you have this 
 cool wiki at http://www.opensymphony.com:8668/space/start 
 where this sort of concept would be really cool to detail. 
 Online docs, you might say, with ongoing practices and 
 resources for opensymphony users.
 
 There's also the formtags library on opensymphony, which HAS 
 a form tag that wouldn't be difficult (at ALL) to modify to 
 include behaviour like this. For that matter, formtags even 
 has access to the webwork valuestack already, so it can be a 
 drop-in solution if you so desire. (It doesn't use templates; 
 if you recall, that was on the drawing board before the 
 drawing board collapsed under it.)
 
 On Wed, 15 Jan 2003, Jason Carreira wrote:
 
  I was thinking we could, like Struts does, make it an 
 option to have a 
  ui:form (which we don't have right now) and ww:url tag add 
 this hidden 
  token, through a hidden input field or URL rewriting, respectively.
 
   -Original Message-
   From: matt baldree [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, January 15, 2003 8:23 PM
   To: [EMAIL PROTECTED]
   Subject: Re: [OS-webwork] Hidden token
  
  
   no just added a hidden input field. this really isn't a ui tag.
  
   - Original Message -
   From: Jason Carreira [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Wednesday, January 15, 2003 6:40 PM
   Subject: RE: [OS-webwork] Hidden token
  
  
   Did you modify the ui tags to automatically do this? I 
 also added a 
   Jira issue for this
  
-Original Message-
From: matt baldree [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 7:44 PM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] Hidden token
   
   
my project. i can add it when i get a chance.
   
- Original Message -
From: Jason Carreira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 6:10 PM
Subject: RE: [OS-webwork] Hidden token
   
   
In WW? Is this already there? Or did you do this in 
 your project?
   
 -Original Message-
 From: matt baldree [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 6:05 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [OS-webwork] Hidden token


 yes, this is how we did it.

 - Original Message -
 From: Jason Carreira [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:48 PM
 Subject: RE: [OS-webwork] Hidden token


 Just thought this out some more. Here's how it could work:

 the hidden token is set in the session when the form is
   shown, then
 added to the form as a hidden field. When the action
   processes the
 form, you look for the token and make sure it's the same
   as the last
 one you put in the session before you process.

 Jason

  -Original Message-
  From: Jason Carreira
  Sent: Wednesday, January 15, 2003 4:04 PM
  To: [EMAIL PROTECTED]
  Subject: [OS-webwork] Hidden token
 
 
  Hi all,
 
  In our evaluation of Struts vs. Webwork, I was 
 asked about the 
  ability to do hidden tokens on WW built forms and 
 URLs. Struts 
  apparently, in their form and link tags, have the
   possibility of
  (optionally) adding a hidden token (either as a hidden
form field,
  or through URL rewriting), which can keep the user from 
  clicking twice and executing your action twice. I don't 
  remember seeing anything like this in WW, although 
 my take is 
  that this
   would be
  easy enough to add to the URLTag. Also, is there a
ui:form tag? I'm
  not sure what all got added.
 
  I remember Rickard was talking about something to prevent
2 submits,
  but I'm not sure what it was...
 
  Thoughts? Would this be something good to add (given that
it would
  be optional and not break anybodies existing code)?
 
  Jason
 
  --
  Jason Carreira
  Technical Architect, Notiva Corp.
  phone: 585.240.2793
fax: 585.272.8118
  email: [EMAIL PROTECTED]
  ---
  Notiva - optimizing trade relationships (tm)
 
 
 
  ---
  This SF.NET email is sponsored by: A Thawte Code Signing
Certificate
  is essential in establishing user confidence by providing
assurance
  of authenticity and code integrity. Download our Free
   Code Signing
  guide: http://ads.sourceforge.net/cgi-
   bin/redirect.pl?thaw0028en
 
 
  ___
  Opensymphony-webwork mailing list 
 

Re: [OS-webwork] Hidden token

2003-01-15 Thread Mike Cannon-Brookes
Peter,

Excellent work mate - the Wiki is definitely the best place to record tips,
tricks and roadmap items for discussion.

-mike

On 16/1/03 1:15 PM, Peter Kelley ([EMAIL PROTECTED]) penned the words:

 There's an area on wiki for discussing enhancements here:
 http://www.opensymphony.com:8668/space/WebWork+Roadmap
 
 and an area for sharing performance tips here:
 http://www.opensymphony.com:8668/space/Webwork+Performance+Tips
 
 Enjoy!
 
 P.S. I'll post some of the suggestions from the mailing list about
 select tags when I get a chance.
 
 On Thu, 2003-01-16 at 12:41, Joseph Ottinger wrote:
 Actually... in case you guys don't know it, you have this cool wiki at
 http://www.opensymphony.com:8668/space/start where this sort of concept
 would be really cool to detail. Online docs, you might say, with ongoing
 practices and resources for opensymphony users.
 
 -- 
 Peter Kelley [EMAIL PROTECTED]
 Moveit Pty Ltd
 
 
 
 ---
 This SF.NET email is sponsored by: A Thawte Code Signing Certificate
 is essential in establishing user confidence by providing assurance of
 authenticity and code integrity. Download our Free Code Signing guide:
 http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
 ___
 Opensymphony-webwork mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



Re: [OS-webwork] Hidden token

2003-01-15 Thread Rickard Öberg
Jason Carreira wrote:

I remember Rickard was talking about something to prevent 2 submits, but
I'm not sure what it was...


I proposed the ability to associate URL's with actions. When the URL is 
requested the action is executed and the association is removed. This 
removes the need for any Javascript solution or any hidden fields or any 
such tricks.

And this is also how the Portlet API is going to work. The only 
problem with it is that you'd have to use a JSP tag or similar to 
generate the URL.

IMHO it's the best solution to this problem.

/Rickard



---
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
___
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork