Wow. So all that was required was to replace <jsp:include> with <c:import>?
Is that right? I always figured <c:import> did an include request when
importing local resources. If not, then that definitely solves the original
problem more cleanly and I'll roll back that change for 1.5.2.

That would also potentially solve the problem that was posted to the list
earlier today about how to request a resource with <jsp:include> without the
original request parameters interfering with the include request: just use
<c:import> instead!

-Ben

On Thu, Apr 2, 2009 at 7:41 PM, Samuel Santos <[email protected]> wrote:

> Hello Ben,
>
> If I got it right this is something that was already possible with version
> 1.5. Take a look here:
> http://www.samaxes.com/2008/10/23/stripes-and-jquery-ajax-forms-and-http-session-validation/
> .
>
> This is not the best ajax example since it loads nearly the whole page at
> each request, but it shows that's possible to only return the submitted form
> and its validation messages.
>
> --
> Samuel Santos
> http://www.samaxes.com/
>
>
> On Thu, Apr 2, 2009 at 11:20 PM, Ben Gunter <[email protected]> wrote:
>
>> Please take a look at this thread from a few weeks ago and let us know if
>> it helps or if you have any additional thoughts on the matter.
>>
>>
>> http://www.nabble.com/with-Stripes-1.5.1-jar-we-get-a-nested-JSP-rendered-and-returned-as-view-when-validation-errors-are-present-td22466933.html#a22467782
>>
>> -Ben
>>
>>
>> On Thu, Apr 2, 2009 at 5:18 PM, Klaus <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I'm quite confused about how to interpret the _sourcePage content with v
>>> 1.5.1.
>>>
>>> If I define a Layout 'L.jsp' which in includes 'a.jsp' and then define a
>>> page
>>> 'home.jsp' based on Layout 'L.jsp'. Shouldn't _sourcePage contain
>>> '/home.jsp' ?
>>> Instead it contains 'a.jsp' ????
>>>
>>> This leads to the funny effect that a page with validation errors shows
>>> the
>>> partial page 'a.jsp' instead of '/home.jsp'.
>>>
>>> The same example works flawlessly in v1.5.
>>> Am I missing something ?
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to