PDA

View Full Version : Grid Refresh



Bob Worsley
28-Jun-2007, 10:19 PM
The user is sitting on a row in a grid. They activate a process that
results in updating a field in that record which occurs back in the WO
because every time I've tried it in the front end -- writing to a hidden
field -- FireFox comes up with "Security Error."

Since the user can click a button to look at that field, is there any way to
refresh the front end record following the WO update?
Bob

Edwin van der Velden
29-Jun-2007, 07:38 AM
The moment you click the button all rowids of the grid and parents should be
know, so if the WO update is called using a remote method invocation call
you could simply add a findByRowId call in the function that handles the RMI
response.

Or if it is a single value changed you could have the RMI return that and
just update the row vissually without doing another find in the smae
response handling function.

-Edwin

"Bob Worsley" <bworsley@comcast.net> wrote in message
news:nKJqawfuHHA.5736@dacmail.dataaccess.com...
> The user is sitting on a row in a grid. They activate a process that
> results in updating a field in that record which occurs back in the WO
> because every time I've tried it in the front end -- writing to a hidden
> field -- FireFox comes up with "Security Error."
>
> Since the user can click a button to look at that field, is there any way
> to
> refresh the front end record following the WO update?
> Bob
>
>

Bob Worsley
29-Jun-2007, 07:54 AM
I tried the manual update but again, I get the dreaded FireFox security
error. Apparently there's something there that FireFox doesn't like. I
know you said you saw it when updating a type=File control, as did I, but I
think it also happens when attempting to update a hidden field which the one
I'm manually updating is. I Googled that FireFox error and am seeing some
rumblings about it on the Web though no fix as yet.

Doing a findByRowId following the return to the front end is probably the
correct thing to do.
Bob

"Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> wrote in message
news:YO5hvpkuHHA.1992@dacmail.dataaccess.com...
> The moment you click the button all rowids of the grid and parents should
be
> know, so if the WO update is called using a remote method invocation call
> you could simply add a findByRowId call in the function that handles the
RMI
> response.
>
> Or if it is a single value changed you could have the RMI return that and
> just update the row vissually without doing another find in the smae
> response handling function.
>
> -Edwin
>
> "Bob Worsley" <bworsley@comcast.net> wrote in message
> news:nKJqawfuHHA.5736@dacmail.dataaccess.com...
> > The user is sitting on a row in a grid. They activate a process that
> > results in updating a field in that record which occurs back in the WO
> > because every time I've tried it in the front end -- writing to a hidden
> > field -- FireFox comes up with "Security Error."
> >
> > Since the user can click a button to look at that field, is there any
way
> > to
> > refresh the front end record following the WO update?
> > Bob
> >
> >
>
>
>

Edwin van der Velden
29-Jun-2007, 08:10 AM
I never encountered such a security on hidden inputs before, I'll have to
look into that sometime because it would be good to know details about any
such things.

-Edwin


"Bob Worsley" <bworsley@comcast.net> wrote in message
news:ZKcvxxkuHHA.5736@dacmail.dataaccess.com...
>I tried the manual update but again, I get the dreaded FireFox security
> error. Apparently there's something there that FireFox doesn't like. I
> know you said you saw it when updating a type=File control, as did I, but
> I
> think it also happens when attempting to update a hidden field which the
> one
> I'm manually updating is. I Googled that FireFox error and am seeing some
> rumblings about it on the Web though no fix as yet.
>
> Doing a findByRowId following the return to the front end is probably the
> correct thing to do.
> Bob
>
> "Edwin van der Velden" <edwin.van.der.velden@dataaccess.nl> wrote in
> message
> news:YO5hvpkuHHA.1992@dacmail.dataaccess.com...
>> The moment you click the button all rowids of the grid and parents should
> be
>> know, so if the WO update is called using a remote method invocation call
>> you could simply add a findByRowId call in the function that handles the
> RMI
>> response.
>>
>> Or if it is a single value changed you could have the RMI return that
>> and
>> just update the row vissually without doing another find in the smae
>> response handling function.
>>
>> -Edwin
>>
>> "Bob Worsley" <bworsley@comcast.net> wrote in message
>> news:nKJqawfuHHA.5736@dacmail.dataaccess.com...
>> > The user is sitting on a row in a grid. They activate a process that
>> > results in updating a field in that record which occurs back in the WO
>> > because every time I've tried it in the front end -- writing to a
>> > hidden
>> > field -- FireFox comes up with "Security Error."
>> >
>> > Since the user can click a button to look at that field, is there any
> way
>> > to
>> > refresh the front end record following the WO update?
>> > Bob
>> >
>> >
>>
>>
>>
>
>
>