Mx:HTTPService tag and mx:headers tag question??

I am trying to send some header information to my servlet via
HTTPService.
I have a <mx:HTTPService> tag and I see that I can have
child tags to pass header information in the request,
<mx:headers> But I am not sure of the syntax, I get parse
errors in the Flex Builder editor. Here is what I have:
<mx:HTTPService id="Test" method="POST" resultFormat="e4x"
contentType="application/xml" url="myServlet" useProxy="false">
<mx:headers>
<!-- NOT SURE OF THE SYNTAX FOR THE DATA I WANT TO SEND
HERE????? ->
</mx:headers>
</mx:HTTPService>
Does someone have an example of the <mx:headers>
section??? I want to pass a value or 2 to my servlet.
Thanks!

You can try building the request object in AS instead of
declaratively
private var getData():void {
var oRequest:Object = {};
oRequest["ui.action"] = ""run";
oRequest["ui.object"] = "whatever";
http_srv.send(oRequest)'
Tracy

Similar Messages

  • [svn] 790: ASDocs update (3.0.x branch) -- added @ productVersion tag and some @see tags to class descriptions for mx.core. windowClasses.StatusBar and TitleBar.

    Revision: 790
    Author: [email protected]
    Date: 2008-03-12 13:09:50 -0700 (Wed, 12 Mar 2008)
    Log Message:
    ASDocs update (3.0.x branch) -- added @productVersion tag and some @see tags to class descriptions for mx.core.windowClasses.StatusBar and TitleBar.
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/core/windowClasses/Status Bar.as
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/core/windowClasses/TitleB ar.as

    Ooops, I must have accidentally clicked 'Submit' - I didn't mean to post it.
    Try using some more nouveau goodness. I have no idea why nouveau-drm is unavailable atm - it was here yesterday ...
    http://arm.kh.nu/search/index.php?a=32& … ommunity=1 <- this is for 32-bit
    Last edited by karol (2010-07-21 00:01:30)

  • [svn] 791: ASDocs update (trunk) -- added @productVersion tag and some @ see tags to class descriptions for mx.core.windowClasses. StatusBar and TitleBar.

    Revision: 791
    Author: [email protected]
    Date: 2008-03-12 13:11:30 -0700 (Wed, 12 Mar 2008)
    Log Message:
    ASDocs update (trunk) -- added @productVersion tag and some @see tags to class descriptions for mx.core.windowClasses.StatusBar and TitleBar. These fixes have already been made in the published livedocs source.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as
    flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as

    solved by myself.
    also if there's port 8084 configured on server properties, jboss start using 8080 (maybe i've done some error while registering jboss, i dunno but i'm a newbye of eclipse). So changing port to 8080 in server properties for jboss solve the problem.

  • Delete xml messagetype tag and xml versioning tag in target xml file

    Hi experts.
    i want to delete the xml version, starting (<MT_ZMPSSERRMSGMST_SEND>*and ending </MT_ZMPSSERRMSGMST_SEND> tags in below message.
    here i am bold the tags which i want to delete. please help me how to delete this.
    <?xml version="1.0"; encoding="UTF-8"?>
    <MT_ZMPSSERRMSGMST_SEND>
       <MESSAGE>
          <TABLENAME/>
          <ACTION/>
          <RECORD>
             <ERRORID/>
             <ERRCLASSID/>
             <SHORTDESC/>
             <DESCRIPTION/>
             <RESOLVE/>
          </RECORD>
       </MESSAGE>
    </MT_ZMPSSERRMSGMST_SEND>

    Hi Srinivas,
    You can delete the required content of the XML by editing the XML.
    Develop a custom adapter module and use the below code to edit the xml and deleting the highlighted content
    // to read the input XML
    strData = xmlData.getText();
    // get the length of <?xml version="1.0"; encoding="UTF-8"?> <MT_ZMPSSERRMSGMST_SEND>
    int strheaderlength = (strData.substring(0,strData.indexOf("<Message>")).length());
    // read the data from <MESSAGE>  to </MESSAGE>
    String payload=strData.substring(strheaderlength,strData.startIndexOf("</MT_ZMPSSERRMSGMST_SEND>"))
    // set the new payload to xmlData
    xmlData.setText(payload);
    appreciate if useful

  • Include In Head adaptive Tag and Webcenter Default CSS questions

    Hello I'm fairly new to Webcenter
    I`m currently working on a project that`s requiring us to do a lot of customizing of Templates and Stylesheets changes, I have a couple of questions I was hoping someone might be able to help me with.
    1) I want to inject some code into the page header of all webcenter pages. I understand that there is an adaptive tag "includeinhead", documented here:
    http://download.oracle.com/docs/cd/E13174_01/alui/devdoc/docs60/Portlets/Adaptive_Portlets/Using_Adaptive_Tags/plumtreedevdoc_integration_portlets_adaptive_namespacetoken.htm
    This works, for the most part. However, for IE I would like to include the 'ie shim' which fixes behaviours for IE (adding things like border radius), etc...this code goes as follows:
    <!--[if lt IE 9]>
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    As you can see, there are 'comment' tags that are not really comments, but directives to IE to process the script. This unfortunately gets parsed out by webcenter because (I assume) it just sees the whole block as a comment...So I am wondering what can be done about this.
    2) I am wondering where the 'default' stylesheet that webcenter uses resides. By default, I am referring to the styles that get applied in the cases where tags are not defined in the skin file. I am having some difficulties around this because often Webcenter injects inline CSS into the controls where I don't really want it to... For example, in the "panel header" control, webcenter injects code for the title field and automatically sets the width of the cell. I would like to override this and control it completely.
    Thanks.

    Is that really a big deal or is it ok .... ? I'm always thinking .... oh god how heavy that is , anytime you call up the page the browser has to go through all that first ... is it actually ok or are there any tricks or tips ?
    It's always a good idea to worry about how heavy the LINKED files are since they contribute to the overall weight of the page.  The contribution of the links themselves, though, is negligable.  There is also benefit in managing the order in which those links appear.  Put CSS links first and follow them with javascript links (since the CSS will affect the page rendering, while the javascript most likely will not), so the browser can begin to render the page even while it's waiting for the js files to be fetched.
    2 - Templates are great but If a spry is only needed on some pages,how do we handle that ? By setting up another template ? Or is there a better way ?
    If you are applying Spry effects to a Template child page, DW is smart enough to drop those links into the editable region in the head of the page (which is what it should do).  Just make sure that the editable region falls BETWEEN your CSS links and your JS links to allow you to arrange things as mentioned above.  There is never a real need to have more than one Template per site.
    3 - is it better to have 1 single compressed css file with ALL styles in it or various css files ?
    There is a small performance hit everytime you have to go back to the server for another file.  So two pages of the same overall weight, one with 1 externally linked file, and the other with 10 externally linked files will show a difference in their download time.  How significant that difference is will depend on many variables, but it will be a real difference.  That being the case, it's always better to opt for a single file than multiple files.  Practically speaking, the difference will usually be small, especially when you consider how small these 'incremental' css files usually are....

  • CSS tags and classes

    Hi, after playing around with css for a night, i still cannot
    figure out whats the difference between using a class and tag css.
    Under what circumstances should i use them?
    Helps are greatly appreciated. Thanks.

    > while CSS class allows creation of new tags which can be
    applied freely.
    No, not really. Custom classes can be applied to any HTML
    tag, they don't
    allow creation of new tags.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "paydnar" <[email protected]> wrote in
    message
    news:euv9gk$l7j$[email protected]..
    > I've had it figured out now.. i meant tag and class.CSS
    Tag applies to
    > existing html standard tags, while CSS class allows
    creation of new tags
    > which can be applied freely.

  • Custom tag problem (parent/child tag)

    I have a table tag and a column tag that I'm using in my application to display records.
    The first time through it sets up headers and keeps a coun't of the columns.
    The second time through it starts putting data in the fields. The problem I'm having is that I set a counter in the column tag. When it hits the first column it increments it from 0 to 1. When it hits the second column the counter has lost its value and is back to 0.
    This only occurs if I have the align="Left". Or more precisely when some of the columns have align and some don't.... To fix this I can add align="right" to all the columns... but I have it defaulting to right and don't think I should have to include it.. can someone explain to me why this is occuring?
    <xxx:table name="columnData" scope="request" scrollable="Yes">
         <xxx:column key="selectorColumn:FILEID" title="Select" />
         <xxx:column key="50" title="VTFHBRForm.de50" align="Left"/>
         <xxx:column key="110" title="VTFHBRForm.de110" />
         <xxx:column key="330" title="VTFHBRForm.de330" />
         <xxx:column key="320" title="VTFHBRForm.de320" />
         <xxx:column key="160" title="VTFHBRForm.de160" />
         <xxx:column key="5" title="VTFHBRForm.de5" />
         <xxx:column key="500" title="VTFHBRForm.de500" />
         <xxx:column key="510" title="VTFHBRForm.de510" />
         <xxx:column key="240" title="VTFHBRForm.de240" />
         <xxx:column key="150" title="VTFHBRForm.de150" />
         <xxx:column key="170" title="VTFHBRForm.de170" />
         <xxx:column key="140" title="VTFHBRForm.de140" />
         <xxx:column key="480" title="VTFHBRForm.de480" />
         <xxx:column key="172" title="VTFHBRForm.de172" />
         <xxx:column key="270" title="VTFHBRForm.de270" />
    </xxx:table>

    u have not define what child tad retrieves (null?) or u mean to say EL is not evaluated...
    because in my tag i had faced the problem for not evaluating the EL.
    (although i had done rexp...=true).
    could u put ur custom tag code then perhaps, i could say the solutiong

  • Map styles to tags v. Map tags to styles

    Hi everyone,
    Indesign CS4 has an option in the tags panel to:
    1) Map styles to tags
    and
    2) Map tags to styles
    Does anyone know what the difference between these two options are?
    Appreciate any help.

    Tags and Styles serve two separate functions.
    A Tag defines data that belongs to a specific element and is enclosed with an opening and closing tag.
    example:  <element>  This copy will be used for a headline  </element>
    A Style defines how that data will appear with specific attributes: font, font size, color, etc.
    So, say I have an Indesign document that has a predefined paragraph style named: Headline (with attributes of Times New Roman Bold, 18 Point) and I import a file that is tagged like my example. I can map the tag "element" to the style "Headline" and the import can automate the process like this:
    This copy will be used for a headline

  • VLAN tagging and tagging question

    Hello,
    I have a question about VLAN tagging on a Cisco switch.
    I've learned that switches tag frames with VLAN IDs once the frame enters a Trunk port (not when it enters a VLAN port).
    Now, if two computers from the same VALN and on the SAME switch talk to each other then logically there should not be any VLAN assignment on the frames (as if they were connected to a hub).
    Is that correct please?
    TIA

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Just to muddy the waters, since VLAN edge/access ports don't normally tag frames with VLAN IDs, referencing your question about two computers "talking" to each other, it doesn't matter whether the two ports or on the same switch or even different switches; or in the same VLAN or not.
    Also understand trunk ports normally tag frames, and edge/access ports don't, but an exception for the former is the "native" VLAN frames aren't tagged, and an exception for the latter, a Voice VLAN will tag frames.

  • Question on Lost Tags and Album Art

    O.K., I mentioned in another thread that my iTunes library suddenly vanished, but I have been able to “Add file to library” to get everything back in there. Unfortunately, a lot of my album art and my tagging went back to the way it was before I modified it. If I open iTunes again and find nothing there (seems unfortunately to be common) and have to add the folder back in, is there anyway to do that with all the tags and album art in tact?

    Hi Ken,
    If this is what I think you are referring to Ken, then don't worry, all is not lost.
    This has happened to me once or twice in the past when either installing a new version of iTunes or when I have re-linked my iPod to my other computer.
    One thing to check first though:
    If you open iTunes and look in your Library and select any track you like (you don’t kneed to play it) and make sure that you have the 'Show or Hide Song Artwork' tab at the bottom left of iTunes (its the fourth one in) selected, can you see the Artwork for your track?
    I know you are concerned about the artwork on your iPod, but this is important, if it is showing that’s great. If not, it might just be switched off. If you look at the grey bar that makes the top of the Artwork box that views the image, does it say 'Selected Song' or 'Now Playing'? If it is the latter, then with your mouse just click on it and your Artwork for that track should appear.
    Makes sure this is the case for a few others, and if so, your artwork is not lost and can easily be put back on to your iPod.
    Now Make sure your iPod is connected and showing in the Sources list on the right of iTunes.
    Now go into the iPod options menu by going to the Edit menu and selecting the bottom option 'Preferences' and then opening the iPod tab. You will see an option to show your artwork on your iPod. Select this then click OK out of the Preferences and do an update.
    iTunes will then say its updating your iPod, and when it has confirmed that your music is updated, it will then import all your artwork back into your iPod and it should then be present when you use your iPod.
    Depending how many tracks you have on your iPod and in iTunes, this might take quite some time. For me last time without about 4 tracks on an AMD Athlone this took about 40 minutes.
    I hope this is of help.
    Drusus

  • Changing ID3 tags and replacing tra

    I'm playing with my new Xtra and enjoying it. I will want to jigger many of the tags to organize the genres and artists better.
    ) The software stored the albums (as I requested) under Artist/Album. If I shift an album under a different artist name, I assume it will not automatically change the tags for the artist. (For instance, I have a few "Elvis Costello" and a few "Elvis Costello and the Imposters"... I want them all under the same artist name).
    2) Can I change the basic tags (Artist, Album, Genre and even Track #) using Create MediaSource Organizer, or should I download a decent/free ID3 tag program recommended on various guru FAQs?
    3) Here's my real question: Once I alter the tag on a track I've already loaded onto the player, I will want to replace it with the updated tags. If I re-transfer, will it overlay the tracks with the updated ones -- or will it create duplicates? Do I need to delete the album or tracks from my player before sending them back over?
    Thanks
    Michael

    zmulls wrote:I figured the PC was easier to change tags. Just for the typing (!)
    Well you can only edit tags using the PC. I meant with respect to which data source you use, the player itself (when connected to the PC) or the files on the PC's hard dri've.
    The "move" would be just taking a subfolder ("album") and moving under a different "artist" folder -- in Explorer. I figured also that I'd still have to change the tags (the ripping program reads the tags and creates the directories, but I assumed the intelligence doesn't go another way).
    Ah right. Yes, you have to change the tags themselves. It doesn't automatically realise the folder has changed, although you can get many programs which will use folder and filename data to generate the tag.
    So I should grab a tagging program, and plan to "Delete From Player" and "Re-Transfer From PC." Not as bad as it sounds, as I can delete whole albums at once from the Player.
    It's certainly the method I use. It really depends on what approach suits you.
    I saw the list of tag programs on your FAQ -- are the "free" ones good enough? Is there a real advantage in the shareware or paid programs (other than the one you cite on Nomadsync).
    I've never bought a tag editing program, and have used 2 or 3. I prefer overall though, but some don't like the UI. Best to check some out.
    Nomadsync is listed in the programs to copy files. Remember that Nomadsync is not a tag editor, it's a program for copying files.

  • What's the difference between tags and labels?

    What's the difference between message tags and labels?
    Solved!
    Go to Solution.

    Indeed tags are freeform and can be added and created by anyone. Labels follow a stricter hierarchy and are usually defined on the individual community level (e.g. per ideation section, or specific to a discussion board).
    Labels are used as a filter by the community team to more easily look at specific sub-sections of content.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Transfering all tags and images from one computer to another

    I know this question has been answered before, but my problem is slightly different.
    I had all my photos on my computer (TAGGED), unfortunetaly I then got a virus, I immediately created a back-up and burnt all the photos to c.d. using the burn to c.d. feature.
    On the c.d. there is a file called filelist.xml with all my photos. When I load up the file filelist.xml, is list all my images as well has the tags, but my problem is restore it back to photo shop, I can add the photos back to the catalogue, but the tags don't come with, does anyone know how I can use the filelist.xml and restore the tags
    Thanks
    Martin

    Hi Martin,
    When you back up your files, can you confirm the version that you used.
    This version is a "light" version and does not provide the ability to
    back. For this function, I would recommend you either look at the full
    version of Photoshop Elements or a thirty party back up tool.
    To you next comment... how are you trying to restore?
    Thanks

  • Tagging and finding duplacate photos

    I have two questions I hope someone can help me with.
    1  After I use the find faces to tag on a photo and it only tags some people is there some way I can select a face and tag it?
    2  I have so many duplicate photos but they are all over the place, can some one tell me how I can find duplicate photos and delete all but 1 of them?
    Thanks for any help.
    Janice

    So if I put them into a folder on my external video drive, I can then import them into FCE?
    Thanks so much.

  • How can I view and edit  title tags in files panel ?

    I have a very big website and I would like to find a way to
    more efficiently view and edit page title tags.
    Is there any way to have a view which shows the file names
    AND the title tags? Is there a way to edit title tags using such a
    view?
    Thanks in advance for your help!
    Laila

    Hi yea,
    back up your site.
    open your site in dw, open any page in question and do a ctrl
    f .
    you will have a find a replace window pop up
    the "find in menu" select "Entire current local site"
    paste <title>Untitled Document</title> inside the
    FIND area or what ever you
    have there that needs to be changed throught out your site.
    it the replace window paste <title>guinness or what
    ever</title>
    then by clicking replace all, all reference to
    <title>Untitled
    Document</title> in your current local site will be
    changed to
    <title>guinness or what ever</title>
    go to the dw help if u want more info on this , make sure you
    back up your
    site first in case you mess things up.

Maybe you are looking for

  • Which OS, Version, Best Setup on like-new 2008 MBP for non-HD archival DV?

    MacBook Pro 15" (Early 2008) 2.4 GHz Core 2 Duo 4GB RAM 720GB 7200rpm Hard Drive (original 360GB 5400rpm drive also available) OS 10.6.8 (6GB RAM possible but additional $100+ for 4GB module needed now for software upgrades)     I first and last used

  • Asset Table TABA can't be udpated.

    Dear All, In my user's production system, asset fiscal year was set to 2009. In 2008, no asset was created and posted depreciation (TABA: On 2007 12, the posted document is N. Before 2007 12, it is X). In 2009 Jun, user created an asset and wanted to

  • Two skype accounts in 1 pc

    HELLO TO EVERYONE I NEED TO KHOW WHAT CHARACTERISTICS SHOULD MY PC HAVE IN ORDER TO HAVE A TELECONFERENCE WITH ANOTHER PERSON BY USING 2 WEBCAMERAS AND HAVING SKYPE PREMIUM IN ORDER TO SHARE THINGS . I USE WINDOWS VISTA THANK YOU IN ADVANCE FOR YOUR

  • Spry Sort Not Working

    Spry Detail Repeat Region on my page and I have an XML database. In the database are webinars, complete with a "Date" tag. While the data does sort, it doesn't seem to recognize them as dates. For instance, the date 01/01/2007 would come before 01/02

  • Jre 1.3.1_01 Damaged Download

    I have uninstalled and deleted files and attempted to download and reinstall 4 times. Each time i reboot after every step. I can't seem to get the java plug in to connect properly. This is the error i get when i attemp to log into the host. Java(TM)