PDA

View Full Version : retainall dont work



Enrique Ortiz
28-Jan-2008, 07:53 PM
hi all,

I checked the option retainall and in my asp the field is cleared after save

regards,
EnriqueO

Harm Wibier
29-Jan-2008, 03:50 AM
Hello Enrique,

Here it does seem to work, which version of the AJAX Library are you using?
Did you check the retainall property in the Database Builder?

--
Regards,


Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl/

"Enrique Ortiz" <kortiz75@prodigy.net.mx> wrote in message
news:7YAwSFhYIHA.5940@dacmail.dataaccess.com...
> hi all,
>
> I checked the option retainall and in my asp the field is cleared after
> save
>
> regards,
> EnriqueO
>
>

Enrique Ortiz
30-Jan-2008, 10:32 PM
Hi Harm,

I'm using AJAX 1.1 released, and yes I check the property in the database
bulder just a note, the input field i have it disabled, I put the value in
the initform and after save the value is clear.

thank's in advance

EnriqueO

"Harm Wibier" <harm.wibier@dataaccess.nl> escribió en el mensaje
news:tNF0wPlYIHA.5532@dacmail.dataaccess.com...
> Hello Enrique,
>
> Here it does seem to work, which version of the AJAX Library are you
> using? Did you check the retainall property in the Database Builder?
>
> --
> Regards,
>
>
> Harm Wibier
> Data Access Europe B.V.
> http://www.dataaccess.nl/
>
> "Enrique Ortiz" <kortiz75@prodigy.net.mx> wrote in message
> news:7YAwSFhYIHA.5940@dacmail.dataaccess.com...
>> hi all,
>>
>> I checked the option retainall and in my asp the field is cleared after
>> save
>>
>> regards,
>> EnriqueO
>>
>>
>
>
>

Harm Wibier
31-Jan-2008, 03:39 AM
Hello Enrique,

How do you set the value in your initForm method? This can make the
difference because if this is done in a way that doesn't influence the
changed-state it will never be set to the DD buffer on the server.

I've tested it using the AJAX Library API (and here it works):
function initForm(){
var oVdfField, oVdfForm;

oVdfForm = getVdfControl("inventory_form");
oVdfField = oVdfForm.getField("invt__unit_price");

oVdfField.setValue("12123");
}

How have you disabled this field?

--
Regards,


Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl/





"Enrique Ortiz" <kortiz75@prodigy.net.mx> wrote in message
news:JWPoon7YIHA.4084@dacmail.dataaccess.com...
> Hi Harm,
>
> I'm using AJAX 1.1 released, and yes I check the property in the database
> bulder just a note, the input field i have it disabled, I put the value in
> the initform and after save the value is clear.
>
> thank's in advance
>
> EnriqueO
>
> "Harm Wibier" <harm.wibier@dataaccess.nl> escribió en el mensaje
> news:tNF0wPlYIHA.5532@dacmail.dataaccess.com...
>> Hello Enrique,
>>
>> Here it does seem to work, which version of the AJAX Library are you
>> using? Did you check the retainall property in the Database Builder?
>>
>> --
>> Regards,
>>
>>
>> Harm Wibier
>> Data Access Europe B.V.
>> http://www.dataaccess.nl/
>>
>> "Enrique Ortiz" <kortiz75@prodigy.net.mx> wrote in message
>> news:7YAwSFhYIHA.5940@dacmail.dataaccess.com...
>>> hi all,
>>>
>>> I checked the option retainall and in my asp the field is cleared after
>>> save
>>>
>>> regards,
>>> EnriqueO
>>>
>>>
>>
>>
>>
>
>
>