[flexcoders] Re: Validator._init method

2006-08-31 Thread bharg.flex
Yeah this is Flex 1.5 only. So is there any other way to validate the 
dynamically created controls?




--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> This is Flex 1.5?  Validators really aren't meant to be created in
> ActionScript in Flex 1.5.  Maybe you can define your component in 
MXML
> so that it can have the Validator tag?
> 
>  
> 
> Matt 
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of bharg.flex
> Sent: Wednesday, August 30, 2006 11:04 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Validator._init method
> 
>  
> 
> Hi,
> I am creating forms items at runtime using createChild method, and 
I 
> need to validate the controls in the form. How to use validator 
> subclasses to validate the newly created form?
> Maybe a call to the Validator._init method ? But what are the 
> parameters that need to go in??
> 
> Regards
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Validator._init method

2006-08-30 Thread bharg.flex
Hi,
I am creating forms items at runtime using createChild method, and I 
need to validate the controls in the form. How to use validator 
subclasses to validate the newly created form?
Maybe a call to the Validator._init method ? But what are the 
parameters that need to go in??

Regards







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] validating editable columns in the datagrid

2006-08-23 Thread bharg.flex
Hi,
I have a datagrid, which has some 2 columns editable.
In order to validate those two columns, I am using the cellrenderer 
property of the grid. The validators are working fine, but my problem 
is,if I enter a wrong data in the editable field, I get the red 
boundary of the validator giving appropriate message, but still I can 
save that data to the database.
Generally we use "IsStructureValid" to do the checking before saving, 
but in this case, how do I achieve the same?

Thanks in advance :-)
Bhargavi







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Connecting to webservice - Could not load WSDL error

2006-08-22 Thread bharg.flex
Hi

Currently we are using RemoteObject for making calls to the business 
logic methods. The business logic is writen in .Net and the remote 
calls are routed through flashremoting. Instead of using remote 
object we would want to use the webservice and get away with 
flashremoting layer. So all the business logic methods will be 
exposed as webmethod through a .Net web service.

We get the HTTP 200 error when connecting to the webservice:

"The Flex proxy and the specied endpoint do not have the same domain, 
and so basic authentication cannot be used. Please specify use custom-
autehntication or run as for services not located in the same domain 
as the flex proxy"

Does anyone know what kind of configuration settings in flex.config 
or elsewhere is required?

Regards

Bharg






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: scrolling issue in flex

2006-08-22 Thread bharg.flex
Hi ,
I tried getting the vposition value to a variable and reseting back.
I am able to get the vposition value to a variable, but I am not able 
to reset it. This is how I did

var pos:Number;
pos = grdTest.vPosition;
grdTest.executeBindings();
grdTest.vPosition = pos;

Am I doing anything wrong here ?


--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
<[EMAIL PROTECTED]> wrote:
>
> 
> Save the value of the "vPosition" property in a variable and reset 
it once done.
> 
> Dimitrios Gianninas
> Optimal Payments
> 
> -Original Message-
> From: flexcoders@yahoogroups.com on behalf of bhargavi L
> Sent: Mon 8/21/2006 7:40 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] scrolling issue in  flex
>  
> Hi,
>   I have few columns of the data grid editable. Whenever I edit the 
value in those columns, i do some calculations and rebind the data to 
the datagrid. My problem is the scroll moves to the starting of the 
grid. Is there any way I can make the scroll to remain at the row 
where I do the editing?
>
>   hope to get a solution :-)
>
> 
>   
> -
>  Here's a new way to find what you're looking for - Yahoo! Answers 
>  Send FREE SMS to your friend's mobile from Yahoo! Messenger 
Version 8. Get it NOW
> 
> -- 
> WARNING
> ---
> This electronic message and its attachments may contain 
confidential, proprietary or legally privileged information, which is 
solely for the use of the intended recipient.  No privilege or other 
rights are waived by any unintended transmission or unauthorized 
retransmission of this message.  If you are not the intended 
recipient of this message, or if you have received it in error, you 
should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or 
other use of this message or its attachments by unintended recipients 
is unauthorized and may be unlawful.  If you have received this e-
mail in error, please notify the sender.
> 
> AVIS IMPORTANT
> --
> Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé.  L'expéditeur original 
ne renonce à aucun privilège ou à aucun autre droit si le présent 
message a été transmis involontairement ou s'il est retransmis sans 
son autorisation.  Si vous n'êtes pas le destinataire visé du présent 
message ou si vous l'avez reçu par erreur, veuillez cesser 
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces 
jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des 
personnes autres que le destinataire visé ne sont pas autorisés et 
pourraient être illégaux.  Si vous avez reçu ce courrier électronique 
par erreur, veuillez en aviser l'expéditeur.
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/