Re: problems nesting TileResults....

2008-05-13 Thread Darren James
/13 Darren James [EMAIL PROTECTED]: i downloaded the 2.0.5 version of tiles, and i see the same issue seems to be a pretty severe limitation of tiles It's not a limitation, it's a bug :-) https://issues.apache.org/struts/browse/TILES-232 Try using the SVN version of Tiles (branch

Re: problems nesting TileResults....

2008-05-12 Thread Darren James
sorry struts 2.0.11, and the tiles bundled with that version, which is tiles 2.0.4 thx, - darren Antonio Petrelli wrote: Version of Struts and Tiles? Antonio 2008/5/9 Darren James [EMAIL PROTECTED]: Hello All, I have a flow that is basically a toplevel struts2 action having

Re: problems nesting TileResults....

2008-05-12 Thread Darren James
i downloaded the 2.0.5 version of tiles, and i see the same issue seems to be a pretty severe limitation of tiles - darren. Antonio Petrelli wrote: 2008/5/12 Darren James [EMAIL PROTECTED]: struts 2.0.11, and the tiles bundled with that version, which is tiles 2.0.4 Please

problems nesting TileResults....

2008-05-09 Thread Darren James
Hello All, I have a flow that is basically a toplevel struts2 action having a result of type TilesResult. That tile result has as one if it's attributes another struts2 action that also has a result of type TilesResult. So my tiles.xml looks like this (I've changed names and attributes to

Re: About OGNL multi-threading contention

2008-04-24 Thread Darren James
actually struts is currently using ongl 2.6.11 correct? In fact the problem that you reference here http://jira.opensymphony.com/browse/OGNL-141, seems to indicate it was the 2.6.11 version of the OGNL jar that introduced the problem. Can someone verify? I would second the idea that this is a

Re: freemaker model population

2008-02-28 Thread Darren James
property tag instead. For example s:set name=foo value=bar.baz/ I could not use ${#foo}, I had to use s:property value=#foo/. Are there any other gotchas with ${} vs. s:property value=/ thanks peeps, - darren. Darren James wrote: Hi all, I'm fairly new to freemarker, and just started using

freemaker model population

2008-02-27 Thread Darren James
Hi all, I'm fairly new to freemarker, and just started using in in the context of a struts2 component tag. I was noticing that it seems like you can do this ${foo.bar} anywhere in the template (vs. using the s.property tag), *but* only when the top object on the value stack is the object

Re: tag writers resources?

2008-01-28 Thread Darren James
Hi Joachim, This gives me something to start with. Time to dig into the struts2 source code to help me grok the sample you've provided. thanks, - Darren. Joachim Ansorg wrote: Hi Darren, writing a simple Struts2 tag is not that difficult. But getting started is. The documentation of the

Re: [struts] tag writers resources?

2008-01-28 Thread Darren James
Hi Dale, Yes, i'm familiar with writing JSP tags, although it's been quite some time since i've done so. It took me about 1/2 an hour to dust off the cobwebs and write a JSP tag extending BodyTagSupport that did what I wanted it to do. What I was more interested in is some guidelines similar

tag writers resources?

2008-01-24 Thread Darren James
Hi All, Does anyone (know of/have any) resources that cover writing a tag? I want to write a struts2 body tag that sets some applications specific state before it emits it's body, and clears the state once the body has been emitted. Any tag-writers guides out there??? thanks in advance, -

Re: including the output of an action execution in a servlet response.

2008-01-23 Thread Darren James
. Darren James wrote: Hi all, I have a servlet that I want to include the result of a struts2 action in the response. I have a method that's called from my servlet's doGet method, which does something along the lines of . RequestDispatcher requestDisp = getServletContext

including the output of an action execution in a servlet response.

2008-01-22 Thread Darren James
Hi all, I have a servlet that I want to include the result of a struts2 action in the response. I have a method that's called from my servlet's doGet method, which does something along the lines of . RequestDispatcher requestDisp =

question about interceptors

2008-01-15 Thread Darren James
Hi all, I'm new to struts2 and have some questions about configuring Interceptors. If your action does not define an interceptor does it get the default one (i.e. defaultStack)? e.g. action name=MyAction class= // does this action get the struts2 default interceptor stack

i want to use the source luke.

2008-01-15 Thread Darren James
I recently downloaded the 2.0.11 distribution, and was able to find the sources to all of the java classes under the org.apache.struts2.*. However, i did not see the source for any of the com.opensymphony.xwork2.* classes. Is the source for these classes available? thanks in advance, -