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: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ahmed
Sent: Sunday, August 14, 2005 5:39 PM
To: [email protected]
Subject: [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 11111), and while submit , it posts to (processAdd.asp&defect =11111) .

 

 

 

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=updatedetail&amp;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




Reply via email to