Samuel. Thanks for the link.  You aren't really doing the same thing I am
doing though.  Your entire page is the form, table and all.  So when you
display error messages, re-displaying the table is ok for you.  My form is
separate from the table but on the same page.  If I am misunderstanding your
code please let me know.

On a side note, if you can you might consider changing the width of your
article contents.  Having to scroll horizontally to see all the code isn't
pleasant and you've got plenty of white space in your margins.  Maybe too
much in the right margin?

Gregg

On Tue, Oct 28, 2008 at 6:04 PM, Samuel Santos <[EMAIL PROTECTED]> wrote:

> Hey Gregg,
> I'm doing exactly what you want in this example:
> http://www.samaxes.com/2008/10/23/stripes-and-jquery-ajax-forms-and-http-session-validation/
> .
>
> It maintains Stripes error messages as well as success messages.
>
> --
> Samuel Santos
> http://www.samaxes.com/
>
>
>
> On Tue, Oct 28, 2008 at 8:24 PM, Gregg Bolinger <
> [EMAIL PROTECTED]> wrote:
>
>> That's not a bad suggestion.  What I have currently works and it was easy
>> so I'm probably not going to change it unless it starts giving me problems.
>> But I'll keep this in mind just in case.
>>
>>
>> On Tue, Oct 28, 2008 at 2:49 PM, Kai Grabfelder <[EMAIL PROTECTED]>wrote:
>>
>>> Hi Gregg,
>>>
>>> why don't you override the sourcePageResolution in your ActionBean and
>>> set it to the jsp (fragment) you want
>>> to return by the ajax call?
>>>
>>> Regards
>>>
>>> Kai
>>>
>>> --- Original Nachricht ---
>>> Absender: Gregg Bolinger
>>> Datum: 28.10.2008 07:42
>>> > Alright, so what I ended up doing is getting the form via ajax using
>>> load()
>>> > rather than putting it on the page to begin with.  So problem solved.
>>> > Thanks.
>>> >
>>> > Gregg
>>> >
>>> > On Tue, Oct 28, 2008 at 1:37 AM, Gregg Bolinger
>>> > <[EMAIL PROTECTED]>wrote:
>>> >
>>> >> Alright, so I moved the form into its own JSP and have included it on
>>> the
>>> >> page.  The form is submitted via ajax but when validation fails, it is
>>> >> returning the parent page as the sourcePageResolution, vs the JSP
>>> fragment
>>> >> (partial page).  I've tried jsp:include <%@ include and c:import all
>>> with
>>> >> the same results.
>>> >>
>>> >> Any thoughts?
>>> >>
>>> >> Gregg
>>> >>
>>> >>
>>> >> On Tue, Oct 28, 2008 at 1:22 AM, Oscar Westra van Holthe - Kind <
>>> >> [EMAIL PROTECTED]> wrote:
>>> >>
>>> >>> On 28-10-2008 at 01:13, Gregg Bolinger wrote:
>>> >>> > Thanks Oscar.  It took me a bit of rereading to get what you were
>>> saying
>>> >>> but
>>> >>> > it is really late here in the midwest. :)  I think the partial page
>>> >>> thing
>>> >>> > will work.
>>> >>>
>>> >>> It could also be that it's kinda early here in europe. I wasn't fully
>>> >>> awake
>>> >>> yet. ;)
>>> >>>
>>> >>>
>>> >>> Oscar
>>> >>>
>>> >>> --
>>> >>>   ,-_
>>> >>>  /() )  If it works, it must be obsolete
>>> >>>  (__ (    -- Otto Date
>>> >>> =/  ()
>>> >>>
>>> >>>
>>> -------------------------------------------------------------------------
>>> >>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> >>> challenge
>>> >>> Build the coolest Linux based applications with Moblin SDK & win
>>> great
>>> >>> prizes
>>> >>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> >>> world
>>> >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> >>> _______________________________________________
>>> >>> Stripes-users mailing list
>>> >>> [email protected]
>>> >>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>> >>>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> ------------------------------------------------------------------------
>>> >
>>> >
>>> -------------------------------------------------------------------------
>>> > This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> > Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> > Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> >
>>> >
>>> >
>>> ------------------------------------------------------------------------
>>> >
>>> > _______________________________________________
>>> > Stripes-users mailing list
>>> > [email protected]
>>> > https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Stripes-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to