[flexcoders] Submit to url=... .asp parameters in Flex

2005-08-14 Thread Ahmed










Good day to you all.



For the code :

-

mx:HTTPService id=myService url=""
method=POST 

 mx:request

 defectID{model.defectID}/defectID

 summary{model.summary}/summary

 tasktype{model.tasktype}/tasktype

 site{model.site}/site

 status{model.status}/status

 comments{model.comments}/comments

 /mx:request

/mx:HTTPService

-



How can I make this form to submit to :



mx:HTTPService id=myService url="">the
defectID value for example method=POST 



For example:

I mean how can I take a parameter from the form (for example 1),
and while submit , it posts to (processAdd.aspdefect =1) .







This is originally from a XSL page, and I am trying to write it in
MXML:

-

form id=Editing name= Editing  method=postxsl:attribute
name=action processAdd.asp?mode=updatedetailamp;defect=xsl:value-of
select=defectID//xsl:attribute



input type=text name=summaryxsl:attribute
name=valuexsl:value-of select=summary//xsl:attribute/input

input type=text
name=tasktypexsl:attribute name=valuexsl:value-of
select=tasktype//xsl:attribute/input

input type=text
name=sitexsl:attribute name=valuexsl:value-of
select=site//xsl:attribute/input



a href=""
updates/a

/form

-





Best regards,

Ahmed Abdel Aziz











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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Submit to url=... .asp parameters in Flex

2005-08-14 Thread Abdul Qabiz





Why you need to do that?

Just update your ASP page to use Request.Form(..) 
collection for defectID also?

I will suggest one method instead of mixing POST and 
GET.

BTW! I have not checked if you can do what you are asking. 
Somebody might confirm if it can be done...


-abdul


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of AhmedSent: 
Sunday, August 14, 2005 5:39 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Submit to url="" in Flex


Good day to you 
all.

For the code 
:
-
mx:HTTPService 
id="myService" url="" method="POST" 
 
mx:request
 
defectID{model.defectID}/defectID
 
summary{model.summary}/summary
 
tasktype{model.tasktype}/tasktype
 
site{model.site}/site
 
status{model.status}/status
 
comments{model.comments}/comments
 
/mx:request
/mx:HTTPService
-

How can I make this 
form to submit to :

mx:HTTPService 
id="myService" url="" method="POST" 

For 
example:
I mean how can I take 
a parameter from the form (for example 1), and while submit , it posts to 
(processAdd.aspdefect =1) .



This is originally 
from a XSL page, and I am trying to write it in 
MXML:
-
form id="Editing" 
name=" Editing " method="post"xsl:attribute 
name="action" processAdd.asp?mode=updatedetailamp;defect=xsl:value-of 
select="defectID"//xsl:attribute

input type="text" 
name="summary"xsl:attribute name="value"xsl:value-of 
select="summary"//xsl:attribute/input
input 
type="text" name="tasktype"xsl:attribute 
name="value"xsl:value-of 
select="tasktype"//xsl:attribute/input
input 
type="text" name="site"xsl:attribute name="value"xsl:value-of 
select="site"//xsl:attribute/input

a 
href=""Submit 
updates/a
/form
-


Best 
regards,
Ahmed Abdel 
Aziz






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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.