Re: [OS-webwork] Hibernate adminApp's interceptor

2004-02-22 Thread John Patterson
I use an ExceptionHandlerInterceptor which wraps around all other interceptors and the action/view invocation. It logs the exception as SEVERE (which causes the logging handler to send me an email) and shows the ERROR page defined in xwork.xml to the user. This setup allows me to use an error pag

Re: [OS-webwork] [WebWork2] Servlet mapping question

2003-12-30 Thread John Patterson
I created a Jira issue with a patch to the ServletDispatcher that allows you to use either form of action (".do" or "/do/"). The problem is due to the servlet dispatcher using the servlet_path rather than the request_uri. This should fix it... http://jira.opensymphony.com/secure/ViewIssue.jspa?k

Re: [OS-webwork] Wizards In WW2

2003-12-24 Thread John Patterson
, December 24, 2003 12:50 PM Subject: Re: [OS-webwork] Wizards In WW2 > Excellent! For now, please put this in Jira. > > > Cheers, >matthew > > On Dec 24, 2003, at 3:13 AM, John Patterson wrote: > > > I have made a simple Wizard "framework" fo

Re: [OS-webwork] Wizards In WW2

2003-12-24 Thread John Patterson
I have made a simple Wizard "framework" for an app that I am building. It is basically a State Machine with a WW2 specific adaptor. It may be useful as a starting point. It is composed of : Wizard abstract class - contains isFinishEnabled(), isNextEnabled(), next(), previous() etc. WizardPag

Re: [OS-webwork] URLTag with scheme support

2003-12-22 Thread John Patterson
Patch is attached to this issue...   http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-438   If you want to apply it then you must patch two files and modify the .tld to allow the 'scheme' attribute. - Original Message - From: Fred Lamuette To: [EMAIL PROTECTED]

[OS-webwork] URLTag with scheme support

2003-12-21 Thread John Patterson
Hi,   I have modified the URLTag and URLHelper classes to support specifying the scheme (eg http, https).  This is useful when your site needs to link to or from secure pages.  If people think that this should be included in WW2 then I will upload the patches to Jira.   John.

Re: [OS-webwork] webwork.request_uri

2003-12-18 Thread John Patterson
Just discovered the reason... - Original Message - From: "John Patterson" <[EMAIL PROTECTED]> To: "Webwork" <[EMAIL PROTECTED]> Sent: Thursday, December 18, 2003 8:40 PM Subject: [OS-webwork] webwork.request_uri > I am making some enhancements to

[OS-webwork] webwork.request_uri

2003-12-18 Thread John Patterson
I am making some enhancements to the URLTag and URLHelper to make it easy to change scheme (ie http to https). I noticed that the current code looks for 'webwork.request_uri' in the request however I cannot see where this is set into the request. Anyone?

Re: [OS-webwork] Security flaw with WW2

2003-12-17 Thread John Patterson
1:18 PM Subject: Re: [OS-webwork] Security flaw with WW2 Would this stop people from completing forms with e-mail addresses? Cheers, matthew On Dec 17, 2003, at 4:15 AM, John Patterson wrote: > How about disallowing any parameters containing an @ in the > ParametersInterceptor? &

Re: [OS-webwork] Security flaw with WW2

2003-12-17 Thread John Patterson
How about disallowing any parameters containing an @ in the ParametersInterceptor? - Original Message - From: "Patrick Lightbody" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 3:55 AM Subject: RE: [OS-webwork] Security flaw with WW2 Ouch -- great catch!

Re: [OS-webwork] ActionTag with executeResult

2003-12-15 Thread John Patterson
Jason Carreira To: [EMAIL PROTECTED] Sent: Monday, December 15, 2003 3:52 PM Subject: RE: [OS-webwork] ActionTag with executeResult I don't understand... is this a bug? -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Se

Re: [OS-webwork] ActionTag with executeResult

2003-12-15 Thread John Patterson
: Monday, December 15, 2003 1:52 PM Subject: RE: [OS-webwork] ActionTag with executeResult Is this WW1 or WW2? -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Monday, December 15, 2003 6:43 AMTo: WebworkSubject: [OS-webwork

[OS-webwork] ActionTag with executeResult

2003-12-15 Thread John Patterson
Hi,   I am having problems using the ActionTag to compose my page of smaller bits.  Previously I had used the IncludeTag to do this.  The ServletDispatcherResult is doing a Forward instead of an include.   John.

Re: [OS-webwork] Security flaw with WW2

2003-12-12 Thread John Patterson
flaw with WW2 > Well, we are not all up to date on Java security policies, but since you > seem to be, care to enlighten us? > > Thanks, > Mathias > > -Original Message- > From: John Patterson [mailto:[EMAIL PROTECTED] > Sent: vrijdag 12 december 2003 14:42 &

Re: [OS-webwork] Security flaw with WW2

2003-12-12 Thread John Patterson
- Disallow POSTs with unknown referers (sucks, but works) - Disallow use of java.lang.System, java.lang.Runtime and friends in OGNL (good & works) Good catch, John! -cv -Mensagem original- De: John Patterson [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 12 de dezembro de 2003 11:24

[OS-webwork] Security flaw with WW2

2003-12-12 Thread John Patterson
Guess what this does? http://myhost/app/myAction.action> John. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and

Re: [OS-webwork] Tomcat forward

2003-12-03 Thread John Patterson
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 9:57 AM Subject: RE: [OS-webwork] Tomcat forward John, could you explain your approach in several words? We have to do forwards within our portal too. regards, Sergey -Original Message- Fro

Re: [OS-webwork] Tomcat forward

2003-12-02 Thread John Patterson
an extra network trip > (from the server to your homepage) for no reason other than to have a > slightly prettier url. > > John Patterson wrote: > > > Hi, I know this is off topic but I was wondering how others handle this > > issue. > > > > I want my domain

[OS-webwork] Tomcat forward

2003-12-02 Thread John Patterson
Hi,  I know this is off topic but I was wondering how others handle this issue.   I want my domain www.domain.co.uk to forward directly to my home page. That is, I do not want it to *redirect* making the browser's URL change.   Is making a Filter the only cross platform way to do?   Thanks,

Re: [OS-webwork] Howto Put / Read Values in valueStack

2003-11-28 Thread John Patterson
ActionContext.getContext().getValueStack().push(value); ActionContext.getContext().getValueStack().peek(); ActionContext.getContext().getValueStack().pop(); - Original Message - From: "Patrick Holzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 28, 2003 8:51 AM Su

Re: [OS-webwork] Passing model from one action to another

2003-11-27 Thread John Patterson
Also, make sure the ChainingInterceptor is before the ModelDrivenInterceptor in the interceptor stack of the second action (if it is model driven). - Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2003 7:05 PM Subject: R

Re: [OS-webwork] OGNL madness - evaluated tag attributes

2003-11-24 Thread John Patterson
Is this standard going to be followed for every attribute? Currently, it seems that certain attributes are exempt and it is difficult to predict which. For example, when setting params with on the BeanTag the name is evaluated whereas on the URLTag it is not. This is due to the ParamTag not eva

[OS-webwork] OGNL madness - evaluated tag attributes

2003-11-21 Thread John Patterson
Hi,   I have just run my app with the release candidate and am in the process of changing many (but not all) of the tag attributes to use single quotes for literals.  I am thinking that in many instances, evaluating the attribute tag is not really very helpful.  For example, the Bean tag has

Re: [OS-webwork] ExceptionHandlerIntercepter

2003-11-18 Thread John Patterson
I'll take a look at the changes tonight... sounds like it's minor with no changes visible to the user. -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:30 AMTo: [EMAIL PROTECTED]Subject:

Re: [OS-webwork] ExceptionHandlerIntercepter

2003-11-18 Thread John Patterson
ovember 18, 2003 3:58 PM Subject: RE: [OS-webwork] ExceptionHandlerIntercepter How does this handle the issue of content having been written out by the first result? Would you end up with part of the first page, then the error page? -Original Message-From: John

[OS-webwork] ExceptionHandlerIntercepter

2003-11-18 Thread John Patterson
I just discovered a problem with my ExceptionHandlerInterceptor due to the design of the DefaultActionInvocation class.  I have made some changes to this class which fix the problem and would like to run them past everybody.   The ExceptionHandlerInterceptor catches any exceptions that occur

[OS-webwork] Page attribute gone

2003-11-18 Thread John Patterson
How come the page attribute of the URL tag has been removed?  It is a little annoying to have to tripple quote static values (and hard to spot when you've missed one).  The tld still allows a page attribute.   Also, what is the com.opensymphony.veiws.jsp.vui package about?   John. 

Re: [OS-webwork] Problems with code after actionInvocation.invoke()

2003-11-14 Thread John Patterson
This makes more sense to me. You would expect an interceptor to wrap a single method call. However, you still need the ability to wrap an interceptor around the entire double whammy action-result invocation. There are really 3 separate invocations going on here - one which wraps the other two (a

Re: [OS-webwork] Multiple submit buttons from forms

2003-11-14 Thread John Patterson
The XWorkBasicConverter now uses Boolean.valueOf() to convert Strings to booleans. So only "true" is converted to the boolean true. I make my action properties take a String value and no matter what the parameter is, set the instance variable to true. public void setCancel(String value) { _can

[OS-webwork] Client side validation

2003-11-13 Thread John Patterson
I recall something about an extension to the validation framework that would generate client side _javascript_.  Does anybody else?  I am wanting to generate html forms dynamically that integrate with WW2's validation framework (server and client side).  I would interested in seeing how othe

Re: [OS-webwork] OGNL list question again

2003-11-06 Thread John Patterson
Form values in the parameter map are always of type String[] even if they contain only one value. This is because you may return muliple values with the same name (ie checkboxs) from an html form. You do not need to use an OnglList here. When you use an OgnlList it is prepopulated with objects s

Re: [OS-webwork] ActionInvocation result

2003-11-05 Thread John Patterson
catch these exceptions or if it's better to let them get out to the caller (the servlet in the ww2 case) to be handled...   Jason -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:40 AMTo: [EMAI

Re: [OS-webwork] ActionInvocation result

2003-11-04 Thread John Patterson
itself, or even the Result, since it's executed before the flag is updated.   -Original Message-----From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 7:42 AMTo: WebworkSubject: [OS-webwork] ActionInvocation result Hi,   What

[OS-webwork] ActionInvocation result

2003-11-04 Thread John Patterson
Hi,   What is the the purpose of the result code returned from ActionInvocation.invoke()?  I can't find anywhere in the code that it is used?  Also, any comments on my plan to implement an ExceptionHandlerInterceptor like so:   ExceptionHandlerInterceptor catches all Exceptions and checks to

Re: [OS-webwork] Exception handler proposal

2003-11-03 Thread John Patterson
t; > > type="java.lang.Exception" > action="genericExceptionHandlerAction"/> > > > could handle any exception and could do what you want. > > > Cheers. > > > Richard HALLLIER. > > > > > > -Message d'origine-

Re: [OS-webwork] JSP page exceptions

2003-11-01 Thread John Patterson
Title: Message I want to specify different error pages depending on what "section" of my site they occur in (ie name space).  This is similar to JSP's error page directive but also able to be used with my own application exceptions thrown from actions.   The servlet error page mechanism only

Re: [OS-webwork] Exception handler proposal

2003-11-01 Thread John Patterson
It would be nice to be able to specify an error page based on URI pattern. eg any error that occurs with a uri matching "/action/flight*" gets forwarded/redirected to the action "flightError". - Original Message - From: "Fred Lamuette" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sat

[OS-webwork] Hibernate with interceptor

2003-10-25 Thread John Patterson
I notice that in previous discussions on this list, people talk a lot about using ServletFilters to open a Session and ensure it is closed.  Is there any problem with using an interceptor to do this?   ie   public String intercept(ActionInvocation invocation) {     try     {         ...open

[OS-webwork] JSP page exceptions

2003-10-22 Thread John Patterson
When an exception is thrown from an Action the standard servlet error page mechanism is used to display the problem to the user.  When an exception occurs in either my Action or on the jsp page I want to make sure that the user is shown the *same* error page.  How is this normally handled?  

Re: [OS-webwork] CVS in Eclipse

2003-10-22 Thread John Patterson
Yes M4 works much better with java.net cvs. - Original Message - From: "Drew McAuliffe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 6:56 PM Subject: [OS-webwork] CVS in Eclipse > I realize that this may be more of an issue for the java.net people, but has

Re: [OS-webwork] ActionTag changes

2003-10-22 Thread John Patterson
Title: Message Many WW2 tags seem to use the attributes 'name' and 'value' for non-evaluated and evaluated parameters respectively.  Wouldn't an evaluated 'name' attribute be a little confusing?  Maybe some other convention is required. - Original Message - From: Patrick L

[OS-webwork] UITags inflexible

2003-10-21 Thread John Patterson
Hi, It appears that the UI tags all include standard header and footer code that places them within a table within the containing form.  This allows validation errors to be nicely formatted above the relevant input.  However, the simple structure of this table makes it hard to create forms

Re: [OS-webwork] ActionTag changes

2003-10-21 Thread John Patterson
Title: Message Great.  The Action tag will be much more useful after those changes.  One other improvement I would like to suggest is to have a 'value' attribute in addition to the 'name' attribute.  Then I will eventually be able to replace all my   John.   - Original Message -

[OS-webwork] ActionTag changes

2003-10-17 Thread John Patterson
I have just been having a look at the ActionTag using executeResult=true.  I wanted to put a couple of things in Jira but it seems to be down at the moment.   The tld specifies the id as required.  When using the tag to include content the id tag is not necessary.   The tld defines an attribu

[OS-webwork] Page Exceptions from tag

2003-10-09 Thread John Patterson
Hi, I have been tracking a bug through the webwork and OGNL code for a lot longer than I should have. This has pointed out to me some places where Exception handling could be greatly improved. The error message reported was only: "org.apache.jasper.JasperException" with no other indication of

Re: [OS-webwork] How do i build a wait page in webwork? Please help

2003-10-08 Thread John Patterson
bject: Re: [OS-webwork] How do i build a wait page in webwork? Please help > Unfortunatelly the below site runs only in microsoft's internet explorer > while i would like mozilla compatibility. Is there a way to build the > wait page without session? > > Thanks > > Joh

Re: [OS-webwork] How do i build a wait page in webwork? Please help

2003-10-07 Thread John Patterson
Check out how the flight booking engines like www.opodo.com do it. When the form is submitted they display a Layer (ie make it "visible") which contains the "Please wait" message. When the next page eventually loads this is naturally replaced. If you want to do it without DHTML, some of the olde

Re: [OS-webwork] Logging of properties not set?

2003-10-04 Thread John Patterson
Title: Logging of properties not set? This is similar to the Jira issue that I created...   http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-95   In fact all exceptions are ignored that are thrown while getting or setting properties, even application exceptions.  XWork needs to be mor

Re: [OS-webwork] OGNL wrapping iterators?

2003-10-03 Thread John Patterson
Should I upload it into Jira? John. - Original Message - From: John Patterson To: Webwork Sent: Friday, October 03, 2003 11:19 AM Subject: [OS-webwork] OGNL wrapping iterators? I have just tried to use the Counter bean class (which implements Iterator) f

[OS-webwork] OGNL wrapping iterators?

2003-10-03 Thread John Patterson
I have just tried to use the Counter bean class (which implements Iterator) from WW1 like so: value="">

[OS-webwork] Iterator value attribute required

2003-10-03 Thread John Patterson
I thought the Iterator tag's value attribute used to be optional.  Now it is specified as required so I can't do this:       To iterate over the item on the top of the stack.

Re: RES: [OS-webwork] Same property, 3 textfields

2003-10-03 Thread John Patterson
what about: public Email createEmail(String type) { Email result = new Email(); result.setType(type); _emails.put(type, result); return result; } the solution below would create the first email at index 1 even if you specify index should be 3 (ie not a sparse array). If you alw

Re: [OS-webwork] Type conversion

2003-10-02 Thread John Patterson
ust put a formatDate() method in my BaseAction class > and use something like: > > > > > John Patterson wrote: > > What is happening with the type conversion functionality? I need to be > > able to override the conversion both to and from string easily. > > xwork-conver

Re: [OS-webwork] Type conversion

2003-10-02 Thread John Patterson
  -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 9:42 AMTo: WebworkSubject: [OS-webwork] Type conversion What is happening with the type conversion functionality?  I need to be able to override the conversion

Re: [OS-webwork] Type conversion

2003-10-01 Thread John Patterson
gt; blah=com.blah.BlahConverter > > That will be used for field blah in the class MyAction. > > -Pat > > > >From: "John Patterson" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: "Webwork" <[EMAIL PROTECTED]> > >Subject:

Re: [OS-webwork] non buffering Include tag

2003-10-01 Thread John Patterson
worry about the effect of Unicode languages... We don't have enough unit tests or expertise around this to make it possible to make this change safely. The old code has the advantage of being known to work. -Original Message-From: John Patterson [mailto:[

[OS-webwork] Type conversion

2003-10-01 Thread John Patterson
What is happening with the type conversion functionality?  I need to be able to override the conversion both to and from string easily.  xwork-conversion.properties only allows me to specify one way.   Is there any plans to allow you to configure a converter seperatly for each property?  For

[OS-webwork] non buffering Include tag

2003-10-01 Thread John Patterson
Hi,   I use the Include tag quiet extensively in the app I am building in order to "componentise"  the pages.  My app is initially going to run on a virtual Linux server which has very little memory so I am always concerned about optimising resources use where I can.  I was a bit worried abo

[OS-webwork] Servlet dispatcher improvment

2003-09-30 Thread John Patterson
I just updated WW from cvs for the first time in a long while (due to java.net not supporting Eclipse cvs tools).   I accidentally overwrote an fix that I made for an issue that I had forgotten I made.  I use URLs of the form:   "/myapp/actions/myaction" rather than "/myapp/myaction.action"  

Re: [OS-webwork] HTML Components [Was: Thought concerning HTML form rendering]

2003-09-25 Thread John Patterson
[Was: Thought concerning HTML form rendering] > John, > I did this kind of stuff all the time in WebWork to some extent, but not at > the level of interaction you've proposed. > > -Pat > > - Original Message - > From: "John Patterson" <[EMAIL PROTECT

[OS-webwork] JFreeChartResult

2003-09-25 Thread John Patterson
Hi, I have just checked out the JFreeChartResult code on the wiki. http://wiki.opensymphony.com/space/JFreeChartResult What is the advantage of creating a new Result type in this case? I thought the sole purpose of separating the result type from the action was that your actions were "view agno

Re: [OS-webwork] Thought concerning HTML form rendering

2003-09-22 Thread John Patterson
Hi Jason. Have you given any more thought to how components would work with WW? Currently I use the Include tag to build my page up from smaller parts. This is quite limiting though. It would be great if components could interact with each other. ie A date picker could add some JavaScript the he

Re: [OS-webwork] velocity, layouts, and flow

2003-09-18 Thread John Patterson
Sitemesh is fine if you only have one "changable" component on your page. If you need more than one component on your page you could use the Include tag to include as many content areas as you want which you can define in your xwork.xml. The include tag can look at the value stack to decide what p

[OS-webwork] Include tag in ww2

2003-09-12 Thread John Patterson
Is the 'Include' tag going to be added to WW2 cvs?   http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-236    

Re: [OS-webwork] Loop to create days

2003-09-12 Thread John Patterson
John. --- Anders wrote: What you want to do (I think) is: selected> The above is untested, though. //Anders On Fri, Sep 12, 2003 at 09:33:16AM +0100, John Patterson wrote: > I agree that the code you supplied is not the best (or least complex) way

Re: [OS-webwork] Loop to create days

2003-09-12 Thread John Patterson
the > > contraint for "excessive object creation" on the server ? Why does it > > "seem wrong" ? There is object creation, but I don't think they are > > "excessive" as they function to help make readable code. > > > > > >

Re: [OS-webwork] Loop to create days

2003-09-11 Thread John Patterson
[1..31] )    $day #end   What is your concern with using collections or arrays ?   - Original Message ----- From: John Patterson To: Webwork Sent: Friday, September 12, 2003 12:16 AM Subject: [OS-webwork] Loop to create days Hi,  

[OS-webwork] Loop to create days

2003-09-11 Thread John Patterson
Hi,   I would like to create a list of day options for a select like so:   1 2 ... 31   Can I do this without using a collection or array of numbers and iterating through them?   Thanks,   John.

Re: [OS-webwork] [JIRA-OS] Created: (WW-286) Create an ActionComponentTag which executes an Action and its result to make a complete reusable component

2003-09-02 Thread John Patterson
ackage stuff that lets you build jar files you can drop in) allow you to build a library of reusable web components (with function and view), > -Original Message- > From: John Patterson [mailto:[EMAIL PROTECTED] > Sent: Monday, September 01, 2003 11:13 AM > To: [EMAIL PROTECTED] &

Re: [OS-webwork] [JIRA-OS] Created: (WW-286) Create an ActionComponentTag which executes an Action and its result to make a complete reusable component

2003-09-01 Thread John Patterson
How does this differ from the include tag? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 01, 2003 3:15 PM Subject: [OS-webwork] [JIRA-OS] Created: (WW-286) Create an ActionComponentTag which executes an Action and its result to make a compl

[OS-webwork] Seraph, OSAccess and OSUser

2003-08-31 Thread John Patterson
Hi,   Could someone explain how Seraph, OSAccess and OSUser are related and which if any they would use in their own apps?  Is Seraph a replacement for the other two?  Are the OS packages maintained?   Cheers,   John. 

Re: [OS-webwork] JUnit testing actions

2003-08-21 Thread John Patterson
I created a Jira issue for this and attached a simple interceptor to do what you want: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=XW-64 - Original Message - From: "Samuel Mota" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 3:51 PM Subject: [OS-w

Re: [OS-webwork] Simplicity of WW2

2003-08-20 Thread John Patterson
d typing a little bit of config...   You're free to implement your own ActionProxyFactory which does this, if you'd like...   Jason -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 10:01 AMTo: [EMAIL PROTEC

Re: [OS-webwork] default action for template

2003-08-20 Thread John Patterson
You would normally have to type http://blah.com/index.action and add an entry in XWork.xml to map 'index' to com.blah.actions.MyAction. However, if what I have proposed for simplifying the config step is implemented you would be able to avoid the config step altogether and just name your action 'I

Re: [OS-webwork] Simplicity of WW2

2003-08-19 Thread John Patterson
about? What about extending a package with another package? -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 12:29 PMTo: [EMAIL PROTECTED]Subject: Re: [OS-webwork] Simplicity of WW2 My issue was not with fully qu

Re: [OS-webwork] Simplicity of WW2 - Practical ideas

2003-08-18 Thread John Patterson
Jira seems to be down still. - Original Message - From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 2:59 AM Subject: RE: [OS-webwork] Simplicity of WW2 - Practical ideas I'm open to having a package-wide default action package which would b

Re: [OS-webwork] Simplicity of WW2

2003-08-18 Thread John Patterson
ED]Subject: RE: [OS-webwork] Simplicity of WW2 Create a jira for for XWork 1.0 and we'll take a look at what it will take to make it happen. -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Thur

Re: [OS-webwork] Simplicity of WW2

2003-08-14 Thread John Patterson
  showConfig.vm          That's the whole thing. It's pretty simple, I think.   Jason -Original Message-From: John Patterson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 7:40 AMTo: WebworkSubject: [OS-webwork] Simplici

[OS-webwork] Simplicity of WW2

2003-08-14 Thread John Patterson
When searching for a good web framework I looked for simplicity first and power second.  The thing which stood out about WW1 was that it seemed easier to get new actions up and running quickly.  Being able to define a default package made the config very simple.  I think that some of this ha

Re: [OS-webwork] [JIRA-Opensymphony] Created: (XW-67) Explore possability of commands via interceptor

2003-07-31 Thread John Patterson
It is interesting that this would make the WW2 architecture very similar to Apache Axis's Handler Chain approach. http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/architecture-guide.html#Message It has almost moved away from being an 'interceptor' for a method. Axis defines a 'Piv

[OS-webwork] Action not found

2003-07-30 Thread John Patterson
Hi,I have mapped the ServletDispatcher to the pattern '/action/*' rather thanthe more usual '*.action' and my actions are not being found.  The problemis due to the action name being found by calling getServletPath() whichreturns the path to the servlet (in this case '/action').This could u

Re: [OS-webwork] Properties not set on action

2003-07-29 Thread John Patterson
l look in to it (there may have been a > good reason, but it's way too early for me to think about it). > > -Pat > > - Original Message - > From: "John Patterson" <[EMAIL PROTECTED]> > To: "Webwork" <[EMAIL PROTECTED]> > Sent: F

Re: [OS-webwork] Re: Include Tag

2003-07-28 Thread John Patterson
apture both of these to > actually get the content (as we don't know which one will be called). > > What specific questions do you have? > > Scott > > John Patterson wrote: > > Scott, > > > > Could you please give an example of when this issue arises?

Re: [OS-webwork] ActionContext.getName() returning null

2003-07-28 Thread John Patterson
bject: RE: [OS-webwork] ActionContext.getName() returning null Ok... Was an issue created for this? > -Original Message----- > From: John Patterson [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 10:52 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] ActionContext.getName() retu

Re: [OS-webwork] ActionContext.getName() returning null

2003-07-27 Thread John Patterson
IL PROTECTED]> Sent: Friday, July 25, 2003 3:41 PM Subject: RE: [OS-webwork] ActionContext.getName() returning null This is WW1.3, correct? > -Original Message----- > From: John Patterson [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 8:47 AM > To: [EMAIL

[OS-webwork] Errors swallowed by OGNL

2003-07-27 Thread John Patterson
I notice that when I throw an exception from code that is called by OGNL it is swallowed up.  It would be good if the CompoundRootAccessor checked the exception type wrapped by the OGNLException.  If a wrapped exception exists would that mean it was thrown by the application?  Is so it could

Re: [OS-webwork] Re: Include Tag

2003-07-27 Thread John Patterson
, 2003 3:53 AM Subject: Re: [OS-webwork] Re: Include Tag > John, > > Different servlet containers call getWriter() and getOutputStream(). It > depends on their underlying implementation of servlets / JSPs. > > You need to include them both to work on all servlet containers. >

Re: [OS-webwork] Re: Include Tag

2003-07-27 Thread John Patterson
to work on all servlet containers. > > Cheers, > Scott > > John Patterson wrote: > > > Thanks Scott, > > > > Is this so that they can both be called to write both binary data and char > > data. If so, under what circumstances is this required? > > >

[OS-webwork] Properties not set on action

2003-07-26 Thread John Patterson
When using a model driven action the property setting interceptor does not use the value stack to set the properties like I expected it to.  Instead it replaces the OGNL root with EITHER the action or the model.  This is not how the rest of the application works and seems rather strange.   

Re: [OS-webwork] ActionContext.getName() returning null

2003-07-25 Thread John Patterson
iday, July 25, 2003 3:50 PM Subject: Re: [OS-webwork] ActionContext.getName() returning null > This is supposed to be the alias name of the action, we'll need to fix that. > Please file a bug. > > -Pat > > ----- Original Message - > From: "John Patterson" <[E

[OS-webwork] ActionContext.getName() returning null

2003-07-25 Thread John Patterson
When I call ActionContext.getContext().getName() from an action null is returned. I cannot see anywhere that this is being set. John. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals,

[OS-webwork] Re: Include Tag

2003-07-25 Thread John Patterson
Thanks Scott, Is this so that they can both be called to write both binary data and char data. If so, under what circumstances is this required? Thanks, John. - Original Message - From: "Scott Farquhar" <[EMAIL PROTECTED]> To: "John Patterson" <[EMAIL P

[OS-webwork] Include Tag

2003-07-22 Thread John Patterson
Is anyone working on the Webwork Include tag?  If not then I could have a shot at building it using the 1.3 source as an example.   John.

[OS-webwork] Include tag

2003-07-22 Thread John Patterson
Is anyone working on the Webwork Include tag?  If not then I could have a shot at building it using the 1.3 source as an example.

Re: [OS-webwork] Webwork with Tiles

2003-07-14 Thread John Patterson
Scott, > > In a velocity template + properties file the template specifies what > > properties should be used where. The template also defines what other > > templates to include (as does jsp include). With the Tiles approach this > > 'controller' functionality is removed from the template makin

Re: [OS-webwork] Webwork with Tiles

2003-07-13 Thread John Patterson
Thanks for the helpful response Scott. > Tiles and Sitemesh are both page decoration tools, but they go about > things very differently. I would consider Tiles more of a page composition tool and Sitemesh a page decoration tool. > From my (limited) understanding, Tiles you have to 'push' everyt

Re: [OS-webwork] Webwork with Tiles

2003-07-13 Thread John Patterson
rhead of other mechanisms. Where did session state come into this conversation? John. - Original Message - From: "Joseph Ottinger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 13, 2003 8:34 PM Subject: Re: [OS-webwork] Webwo

Re: [OS-webwork] Webwork with Tiles

2003-07-13 Thread John Patterson
> > > foo.action can do whatever it wants. It can also be controlled from > information from the session if you like. Lo and behold. > I assume that you mean you would include two such tags from within the template page like this: and then use the foo and bar actions to figure out what

Re: [OS-webwork] Webwork with Tiles

2003-07-13 Thread John Patterson
> From: "Matt Ho" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, July 11, 2003 5:53 PM > > Subject: Re: [OS-webwork] Webwork with Tiles > > > > > > > On Fri, 11 Jul 2003 12:56:21 +0100, John Patterson > > >

Re: [OS-webwork] Webwork with Tiles

2003-07-12 Thread John Patterson
rom: "Matt Ho" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 11, 2003 5:53 PM Subject: Re: [OS-webwork] Webwork with Tiles > On Fri, 11 Jul 2003 12:56:21 +0100, John Patterson > <[EMAIL PROTECTED]> wrote: > > > I am looking into using We

  1   2   >