[Stripes-users] Question on layout templating and variables

2010-09-09 Thread Moritz Petersen
Hi, I'm not sure if this is a basic JSP question or a Stripes Layout question. I'd just explain: In my application I try to simplify the use of indexed properties. The basic pattern is described here: http://www.stripesframework.org/display/stripes/Indexed+Properties Now, looking at the pattern

[Stripes-users] Layout reuse "like a component"

2012-01-31 Thread Moritz Petersen
Hello everyone, maybe I'm missing something, but I have trouble doing the following: The idea is to define a piece of reusable JSP code, that can be embedded into other JSP pages. I thought it should be quite simple with Stripes' layout tags. Take an example: in some JSP pages I'd like to displa

Re: [Stripes-users] Layout reuse "like a component"

2012-01-31 Thread Moritz Petersen
.2012 um 17:55 schrieb Thomas Menke: > On 01/31/2012 10:13 AM, Moritz Petersen wrote: >> Hello everyone, >> >> maybe I'm missing something, but I have trouble doing the following: >> >> The idea is to define a piece of reusable JSP code, that can be >> e

Re: [Stripes-users] Layout reuse "like a component"

2012-02-01 Thread Moritz Petersen
As far as I understood the example at http://stackoverflow.com/questions/1296235/jsp-tricks-to-make-templating-easier/3257426#3257426, you can actually do it: <%@tag description="User Page template" pageEncoding="UTF-8"%> <%@taglib prefix="t" tagdir="/WEB-INF/tags" %> <%@attribute name="userName"

[Stripes-users] Strange behavior when loading form for the first time

2012-02-22 Thread Moritz Petersen
Hello, I found a strange bug in my application and I'm not sure what the root cause could be. There is an index.jsp file, which redirects to my action bean: The Stripes Dispatcher Servlet is mapped to /app/* (from web.xml): DispatcherServlet /app/* So, I believe with this redi

Re: [Stripes-users] Strange behavior when loading form for the first time

2012-02-22 Thread Moritz Petersen
yy" value="${actionBean.date}" /> > > But I suspect you already know that, and are asking about something else? > > > > On Thu, Feb 23, 2012 at 5:26 AM, Moritz Petersen > wrote: > Hello, > > I found a strange bug in my application and I'm n

[Stripes-users] Strange behavior when loading form for the first time

2012-02-23 Thread Moritz Petersen
nswer, since I will only be guessing about the reasons. Ankur On Thu, Feb 23, 2012 at 2:21 PM, Moritz Petersen wrote: > > Hi Ankur, > > I'm just surprised, that the text field is populated when I hit reload. > Somehow I had expected that if the text field name matches an action

Re: [Stripes-users] Strange behavior when loading form for the first time

2012-02-23 Thread Moritz Petersen
es do you use? > It may be related to the 'jsessionid' in URL added only on the first > access and it reminds me of an old issue fixed a long time ago. > > // Iwao > > 2012/2/23 Moritz Petersen : >> Just to emphasize my point: it *does* work indeed *except* when

Re: [Stripes-users] Strange behavior when loading form for the first time

2012-02-23 Thread Moritz Petersen
rementally. > https://github.com/harawata/stripes-test/tree/gmane-13304 > > To run it... > 1. download the zip archive from the above page ('ZIP' button) and extract it. > 2. execute mvn jetty:run (or mvn > org.mortbay.jetty:maven-jetty-plugin:run) in that directory. >