Forums not interpreting link tags currently

The link text inside [    ] is now being shown as plain text on the forums instead of links, e.g. [Get your flaky forum software here|http://www.jivesoftware.com/]
On a slightly different note, I see we are including tags helpful to the spamming and exam cheating communities, which is nice. Or should I read handbag metalink as single tag that expresses frustrations with the recent support software upgrade?
Edited by: Pointless on Feb 9, 2010 12:03 PM
I did originally copy the suggested tags that lead to my second comment, but it got me the infamous - content not allowed. If they are not allowed maybe they shouldn't be suggested as tags?

Pointless wrote:
The link text inside [    ] is now being shown as plain text on the forums instead of links, e.g. [Get your flaky forum software here|http://www.jivesoftware.com/]
I have no idea what the real reason is, but I speculate it is a quick fix to spam or offensive links. Years ago slashdot had problems with that, so they came up with the solution of plain-texting the domain name next to the link as the poster has formatted it. Given the ease of using link-shortening sites, I'm not convinced simply showing the link solves too much. I like the [oracle-base documentation|http://www.oracle-base.com/search/] links.
>
On a slightly different note, I see we are including tags helpful to the spamming and exam cheating communities, which is nice. Or should I read handbag metalink as single tag that expresses frustrations with the recent support software upgrade?
Edited by: Pointless on Feb 9, 2010 12:03 PM
I did originally copy the suggested tags that lead to my second comment, but it got me the infamous - content not allowed. If they are not allowed maybe they shouldn't be suggested as tags?Stupid self-defeating tag tricks, I love it!

Similar Messages

  • Are not interpreted JSTL tags in a JSP page including in a servlet.

    Hi people,
    I have a project where una page (index.jsp) includes a servlet (MyServlet), that consult a persistence class and get a List of objects (Users),      
    then the servlet passes the List to a Request object and includes another JSP page (showUsers.jsp). And this is conceptually correct, but don´t works, the JSTL tags are not interpreted in showUsers.jsp.
    This is my code...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <c:out value="Show me some things index.jsp"/>
    <div style="border-color:red; border:solid; padding-left:60px">
          <jsp:include flush="true" page="pepe/MyServlet"/>
    </div>
    </body>
    </html>...and the Servlet...
    public class MyServlet extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
              UserManager um = new UserManager();
              List users = um.getUsers(); //This use Hibernate to return a Users List
              request.setAttribute("users", (ArrayList) um.getUsers());
              request.getRequestDispatcher("/showUsers.jsp").forward(request, response);
    }...Finally, we have the showUsers.jsp file....
    <c:out value="Show me some thing showUsers.jsp"/>
    <table>
         <tr>
              <th>ID</th>
              <th>Name</th>
              <th>e-Mail</th>
              <th>Type</th>
         </tr>
         <tr>
              <c:foreach items="${requestScope.users}" var="user">
                   <td><c:out value="${user.id}" /></td>
                   <td><c:out value="${user.name}" /></td>
                   <td><c:out value="${user.email}" /></td>
                   <td><c:out value="${user.type}" /></td>
              </c:foreach>
         </tr>
    </table>This i get as result page...
    ID       Name       e-Mail       TypeFinally, this is the code of showUsers.jsp...
    <c:out value="Show me some thing showUsers.jsp"/>
    <table>
         <tr>
              <th>ID</th>
              <th>Name</th>
              <th>e-Mail</th>
              <th>Type</th>
         </tr>
         <tr>
              <c:foreach items="[src.User@18f729c, src.User@ad97f5, src.User@d38976, src.User@1e5c339, src.User@17414c8, src.User@7a17]" var="user">
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
                   <td><c:out value="" /></td>
              </c:foreach>
         </tr>
    </table>Somebody can help me?
    Many thanks,
    Gonzalo

    Thanks you all guys,
    I appreciate very much your help. In response to everyone ...
    BalusC wrote:
    Is JSTL taglib declared in top of that JSP page? I don't see it back in the posted code snippet. In this example I stuck...
    request.getRequestDispatcher("/showUsers.jsp").forward(request, response);By mistake, but this is just a test, the original line of my servlet is...
    request.getRequestDispatcher("/showUsers.jsp").include(request, response);As you can see, both (the servlet and the showUser.jsp file) are included in the index.jsp file. So the header...
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>...in the index.jsp file should works (I hope so).
    njb7ty wrote:
    I assume in your web.xml, you have ''pepe/MyServlet' defined as a servlet tag and servlet map tag? Without that, I don't think your JSP will find the servlet. I'm >not sure you need it in web.xml since I never call a servlet from a JSP page.
    I suggest putting System.out.println() throughout your servlet code and out.println() in your JSP pages to see exactly what is called and when.
    As a general rule, JSP files are to display data only, and submit back to a servlet. The servlet does all the business logic and dispatches to the appropriate >JSP page. The JSP shouldn't have any business logic. Including the servlet looks kinda like including business logic. Actually, in a MVC design, your >presentation, control, busines, and database layers have their own isolated responsibilities.
    I suggest the servlet put data as one java bean in request scope via request.setAttribute() and dispatch to the JSP page. The JSP page gets the data via ><useBean> tag. The JSTL gets the variables from the useBean tag and uses the data from there to display it. Really, this is my web.xml file...
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
         <servlet>
              <servlet-name>MyServlet</servlet-name>
              <servlet-class>src.MyServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>MyServlet</servlet-name>
              <url-pattern>/pepe/MyServlet/*</url-pattern>
         </servlet-mapping>
    </web-app>Regarding putting System.out.println() and out.println(), i did it and thats works.
    Respect of your last comment, I am not a expert in MVC, but I understand that the view layer can make calls to the Controller layer, I am wrong?
    evnafets wrote:
    It's not. However thats not code, but the generated HTML.
    As Balusc pointed out it's the result of running this JSP page without importing the tag library at the top.
    Because the tag library is not declared, it treats the <c:forEach> and other tags as template text, and basically ignores them.
    It then evaluates the ${items} attribute as an expression in template text, calling toString() on it.
    Cheers,
    evnafets      The file showUsers.jsp are included into the index.jsp page, that's have the header taglib. Could this works?
    BalusC wrote:
    njb7ty wrote:
    By the way, I dont think this is the correct format for the foreach tag:
    <c:foreach items="[src.User@18f729c, src.User@ad97f5, src.User@d38976, src.User@1e5c339, src.User@17414c8, src.User@7a17]" var="user">You're right friend.
    And that's my problem. Any ideas?
    Thanks everyone,
    Gonzalo

  • Some {@link} tags do not seem to generate hyperlinks

    Hi,
    I am having some trouble getting some {@link} tags to generate hyperlinks. Specifically, {@link} tags to methods in classes in other packages. I've tried specifying the method arguments, including the fully qualified argument types, but I cannot get the output to generate hyperlinks.
    In the example at the end of this post, I have a {@link} to a class as well as three {@link} tags to one of its methods. (Note the wrapping of the link tags in the example is due to the line length limits of the text area in which I entered this posting--they are NOT wrapped in the original code.) The hyperlink for the class gets generated. The method names all get expanded in the output to include their argument lists, so I know it's finding the methods, and the method names are in a fixed font, but they're not hyperlinks!
    I didn't get any errors or warnings, and I'm using j2sdk1.4.1. I used the following command, with Sun's API package-list in the current directory (.) and generating the output to the html subdirectory:
    javadoc -d html -linkoffline
    http://java.sun.com/j2se/1.4/docs/api . DocTest.java
    Any ideas what's wrong?
    Thanks,
    Robbie
    P.S. I also included the HTML output at the end even though you can't see the hyperlink for the LayoutFocusTraversalPolicy class.
    **** Example Program
    import java.awt.*;
    import javax.swing.*;
    * This is a class to test out javadoc links.
    * <p>It uses class {@link javax.swing.LayoutFocusTraversalPolicy}
    * <p>It uses the method:
    * {@link javax.swing.LayoutFocusTraversalPolicy#getComponentAfter}
    * <p>It uses the method:
    * {@link javax.swing.LayoutFocusTraversalPolicy#getComponentAfter(Container,Component)}
    * <p>It uses the method:
    * {@link javax.swing.LayoutFocusTraversalPolicy#getComponentAfter(java.awt.Container,java.awt.Component)}
    public class DocTest
    public DocTest ()
    *** Here is a cut-and-past of the HTML Output
    *** Note that LayoutFocusTraversalPolicy class is a hyperlink in the
    *** original HTML, but the three methods are not, but even the first
    *** method has been expanded to include its arguments, so I know it's
    *** finding the method name:
    public class DocTest
    extends Object
    This is a class to test out javadoc links.
    It uses class LayoutFocusTraversalPolicy
    It uses the method: LayoutFocusTraversalPolicy.getComponentAfter(java.awt.Container, java.awt.Component)
    It uses the method: LayoutFocusTraversalPolicy.getComponentAfter(Container,Component)
    It uses the method: LayoutFocusTraversalPolicy.getComponentAfter(java.awt.Container,java.awt.Component)

    Sadly, the -link option is broken in two severe ways in 1.4.1:
    4652655 @link does not link to external -link'd classes
    See bug report: http://developer.java.sun.com/developer/bugParade/bugs/4652655.html
    4720957 link and -linkoffline creates wrong link to ../../../http&#058;//
    See bug report: http://developer.java.sun.com/developer/bugParade/bugs/4720957.html
    There are no known workarounds.
    We believe we have fixed these for 1.4.2. The state of -link wasn't much better in 1.4.0.
    Here are the major bugs in javadoc 1.4.1:
    http://java.sun.com/j2se/1.4.1/relnotes.html#javadoc
    and the major bugs in javadoc 1.4.0:
    http://java.sun.com/j2se/1.4/relnotes.html#javadoc
    The main -link bug in 1.4.0 appears to be this:
    Links to external methods using -link or -linkoffline are not generated. No known workaround. Bug 4615751
    -Doug Kramer
    Javadoc team

  • Windows Live Mail ?   Links to this forum not working correctly.

    I got a new computer running Windows 7 and have been using Windows Live Mail.
    This is where I get my e-mails for updates to messages on this forum.
    The link for the message thread has a link that includes the # sign with the correct message to go to on the page.
    Now with Windows Live when I click the link it leaves the number after the # sign and just goes to the top of the thread instead to the exact comment.
    I can copy and paste the link into a browser and it works fine but if I just click it it does not work like it used to with Outlook Express.
    Any ideas if this might be fixable.
    Thanks:  GLenn

    I still have outlook express running on my OLD SLOW windows XP
    My new Windows 7 only has Windows Live Mail so I have to use it unless I get another program.
    I just thought that someone here might have figured it out.
    I dont know what the extra part after the # sign is called so i havent been luck searching google for an answer.
    Here is the link to your message:
    http://forums.adobe.com/message/2965072#2965072
    but when I click it it just puts this link in the browser:
    http://forums.adobe.com/message/2965072
    it does work but just takes me to the top of the thread.
    Im not sure why it doesnt use the part with the # and number that follows it.
    It does see it and if hover over it it sees the whole link.
    Just something new to figure out.
    I will try a Windows Live Forum too but if anyone knows any hints that would be great too.
    Thanks:  GLenn

  • I am using OS 10.7 Lion. Quicktime will not play avi files. One support forum gave 2 links to get them but I got a 404 error. Can anyone help?

    I am using OS 10.7 Lion. Quicktime will not play avi files. One support forum gave 2 links to get the proper codecs but I got a 404 error. Can anyone help?

    You can also use VLC
    http://www.videolan.org/vlc/download-macosx.htm
    It woks very well, can read almost anything, and also lets you do conversions to other formats.

  • CreateValuesFromQuerystring doest not exist in the current context

    Hi All,
    I am trying to integrate jqGrid in Sharepoint so i am following the below link
    http://www.mindsharp.com/blog/page/8/
    But getting an error like The name CreateValuesFromQuerystring does not exist in the current context..
    please do the needful..

    Hi IWolbers,
    >>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
    this has also happened during normal debbuging of running code on my machine.
    So you mean that it worked well before, am I right? 
    If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
    Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
    https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
    Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx
    To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
    >>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
    In addition, do you check other debugger window like local or others?
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why HTTPS is not enabled in the current design?

    Dear Sir/Madam,
    I am facing the following problems with the current SDN site.
    1.) When i click Login in the home page, HTTPS is not enabled. I dont know why this is happening. In the previous UI version, there were no problems like this.
    2.) When i search for some questions in ABAP GENERAL forum, and if i right click on a search result and choose open in new window OR just if i click on a search result, i am getting the link as:
    http://forumsaAssignment statement not working properly
    Instead of link like http://forumsAssignment statement not working properly
    The problem is for any click action, the adds 'A' next to forums in the link.
    Please check on how to resolve this kind of errors also.
    Thanks and Best Regards,
    Suresh

    This has been happening for a while now.
    Rob

  • Automator's Link URLs from Webpages not finding links

    There are clearly <a href='s in the page I'm looking at but Automator's action simply will not return them.
    Is this a common problem?

    Yes you are correct, it's the space character—not the apostrophe. The trouble is that the source of your web page does not contain an escaped %20, it has merely printed literal space characters in the link tag. While Safari managed to interpret this correctly and convert the spaces to %20, Automator did not. As a test I made an html file containing:
    <a href="red blue">green</a>
    and Automator returned:
    {"file:///Volumes/hd2/test/red"}
    There may be a very long way around this bug. I'll think about it.

  • The name '' does not exist in the current context

    I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally this
    has also happened during normal debbuging of running code on my machine. 
    I have included 2 screen shots. The first is when it is working. I have a break point set at the declaration of list of types. At this point all my variables are still reporting their values back to the debugger. Once I step over this to the next line (screen
    shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    This problem is annoying me to no end. If anyone has any insight as to why this might be happening I would be very much appreciative.
    My Settings/Configuration
    Using Visual Studio 2013 Premium (Version 12.0.31101.00 Update 4)
    Projects are all set to Target Framework = .NET 4.5.1
    Resharper 9.1 is installed
    My active configuration is debug mode, Any CPU
    My PC is 64bit and so is the O/S windows 8.1
    All of my projects are also compiled and built in debug mode
    For all my projects configuration debug has the Optimize Code check box unchecked
    I am unit testing code in an outside project referenced by the unit testing project (standard unit test project setup)
    I make use of the latest version of NSubstitute in my tests although I do not think that would have any bearing on this issue
    I omitted the code following the error because it is not relevant. I had cut it out and replaced it with a Task.Delay(4) which resulted in the same issue. 
    What I have tried so far
    I have tried debugging the unit test  from Visual Studio Test Explorer instead of from Resharper with the same result.
    If I remove 2 items at the end of the array it starts to work again (so 6 items initialized instead of 8)
    I clean solution with rebuild has no effect
    Removing properties of the array also seems to work, example remove all initialization of property Value
    Mark as answer or vote as helpful if you find it useful | Igor

    Hi IWolbers,
    >>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
    this has also happened during normal debbuging of running code on my machine.
    So you mean that it worked well before, am I right? 
    If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
    Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
    https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
    Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
    https://msdn.microsoft.com/en-us/library/ms241278.aspx
    To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
    >>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
    How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
    In addition, do you check other debugger window like local or others?
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Azure - The name 'model' does not exist in the current context

    I am getting the error below but only on Azure, everything builds and runs fine on multiple machines running locally. But when I deploy to Azure I get the error below trying to login. Not even sure where to start researching this one
    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
    Compiler Error Message: CS0103: The name 'model' does not exist in the current context
    Source Error:
    Line 1: @model Web.Models.LoginViewModel

    hi,
    From the error message, it seems like a MVC issue.
    I suggest you could re-configure your web configuration follow those solutions The name 'model' does not exist in current context in MVC3
    and
    Razor View throwing “The name 'model' does not exist in the current context” .
    And then you could try to deploy project to azure again. I think this error may be disappeared. Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why is Calendar Location not a Link?!

    Love the iPhone! However... I can't help but be incredibly annoyed by the following. Maybe I'm doing something wrong... but why in the world is the following feature not available?
    When I plug something in as a calendar appointment, I make sure to plug in the address (with state and zip). Now, when I open the appointment on my iPhone calendar, why in the world is the address not a link to the map? Such that if I need to see where the location is of my meeting, I can't just click the "location" in the appointment and have a Google map open with the location.
    Is there a way to make this happen? Or is this in the line up for software updates?
    Thanks!
    mike

    I don't know of a way to make this happen.
    As this a a user to user forum, made up of iphone users, there is no way to know what Apple may or may not introduce in the future - unless they announce (which they rarely do).
    I have not seen an announcement.
    You could try looking through the manual, in case it is there and I missed it.
    http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • Use of dynpro services is not possible in the current system status

    Hi,
    I am new to all of this and new to SAP. I will bew self learing my way into CRM SOA,  working with the web service creaiton i keep getting the following errlr when rtying to Activate a new created web service:
    "Use of dynpro services is not possible in the current system status"
    not knowing the system that well i wonderin if there is missing configuration. This is CRM 7.0
    Exception Class CX_SY_SEND_DYNPRO_NO_RECEIVER
    Error Name DYNPRO_SEND_IN_BACKGROUND
    Program SAPLSKEY
    Include LSKEYU03
    Line 33

    Hi Keith,
    Welcome to the SCN forums!
    SAPLSKEY
    You should first check your Abap dumps using tranaction code ST22, this usually provides more detail on the problem.
    In this case I think it's trying to return a screen (or pop-up message) that can't be handled while activating the web service. The "SAPLSKEY" tells me that it might be licence related, do you have a valid developer's licence for Abap development work? If not apply for one (find out the procedure from other Abap developer's that you may work with) & check if that makes a difference while activating.
    Regards, Trevor

  • SQL CASE statement in XML template- End tag does not match start tag 'group

    Hi All,
    I am developing a report that has the SQL CASE statement in the query. I am trying to load this into RTF with report wizard and it gives me below error
    oracle.xml.parser.v2.XMLParseException: End tag does not match start tag 'group'
    Does XML publisher support CASE statement?
    My query is something like this
    SELECT customercode,
    SUM(CASE WHEN invoicedate >= current date - 30 days
    THEN balanceforward ELSE 0 END) AS "0-30",
    SUM(CASE WHEN invoicedate BETWEEN current date - 60 days
    AND current date - 31 days
    THEN balanceforward ELSE 0 END) AS "31-60",
    SUM(CASE WHEN invoicedate < current date - 60 days
    THEN balanceforward ELSE 0 END) AS "61>",
    SUM(balanceforward) AS total_outstanding
    FROM MyTable
    GROUP BY customercode
    ORDER BY total_outstanding DESC
    Please advice if the CASE statement or the double quotes are causing this error
    Thanks,
    PP

    I got this to work in the XML but the data is returning zeros for all the case statements. When I run this in toad I get results for all the case conditions but when ran in XML the data displayed is all zeros. I am not sure what I am missing. Can someone shed some light on this please
    Thanks!
    PP

  • My flash reads the xml, but does not understand the tag php....

    my flash reads the xml, but does not understand the tag php. I want to read my xml dynamically, please help me.
    code:
    stop();
    function randomOrder(targetArray)
        var _loc2 = targetArray.length;
        var _loc3 = [];
        for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
            _loc3[_loc1] = _loc1;
        } // end of for
        var _loc4 = [];
        for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
            _loc4[_loc1] = _loc3.splice(Math.floor(Math.random() * _loc3.length), 1);
        } // end of for
        var _loc5 = [];
        for (var _loc1 = 0; _loc1 < _loc2; ++_loc1)
            _loc5[_loc1] = targetArray[_loc4[_loc1]];
        } // end of for
        return (_loc5);
    } // End of the function
    var randomNUM = "?n=" + random(9999);
    _root.lan = 1;
    var homehead;
    var homelink;
    var homelinkwindow;
    var homebg;
    var homeflash;
    var lamp = Array();
    var promo = Array();
    var promobottom = Array();
    var headimg = Array();
    f_xmlwork2 = new XML();
    f_xmlwork2.ignoreWhite=true;
    f_xmlwork2.load("banner.php");
    f_xmlwork2.onLoad = function(sucess){
        if (sucess){
             trace ("XML loaded!");
             f_xmlItemx2 = parseInt(this.firstChild.childNodes[0].firstChild);
             f_totalx2 = f_xmlItemx2.length;
            trace(f_totalx2);
             var _loc12 =0;
             // declarar a imagem de fundo
             homebg = this.firstChild.childNodes[0].firstChild.nodeValue;
             f_headimg = this.childNodes[1];
                 for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++_loc2)    {
    juju = f_headimg.childNodes[_loc2];
    jj = headimg.push({headimg: f_headimg.childNodes[_loc2].attributes.headimg, bgimg: f_headimg.childNodes[_loc2].attributes.bgimg, msgimg: f_headimg.childNodes[_loc2].attributes.msgimg, leftthrow: f_headimg.childNodes[_loc2].attributes.leftthrow, rightthrow: f_headimg.childNodes[_loc2].attributes.rightthrow});
                 //end for
    allpromo = this.childNodes[2];
    jjpromo = allpromo.childNodes;
    for (var _loc2 = 0; _loc2 < allpromo.childNodes.length; ++_loc2)
    trace (jjpromo[_loc2].attributes.title);
    jj = promo.push({img: jjpromo[_loc2].attributes.img, title: jjpromo[_loc2].attributes.title, url: jjpromo[_loc2].attributes.url, window: jjpromo[_loc2].attributes.window, info: jjpromo[_loc2].childNodes[0].nodeValue});
        // end of for
        allpromobottom = this.childNodes[3];
        jjpromobottom = allpromobottom.childNodes;
        for (var _loc2 = 0; _loc2 < allpromobottom.childNodes.length; ++_loc2)
            trace (jjpromo[_loc2].attributes.title);
            jj = promobottom.push({url: jjpromobottom[_loc2].attributes.url, window: jjpromobottom[_loc2].attributes.window, info: jjpromobottom[_loc2].childNodes[0].nodeValue});
        } // end of for
         if (f_xmlwork2.loaded == true)
            headimg = randomOrder(headimg);
            for (var _loc2 = 0; _loc2 < f_headimg.childNodes.length; ++_loc2)
                trace (headimg[_loc2].headimg);
            } // end of for
            play ();
        } // end if
    trace(f_xmlwork2);
    stop();
    PHP code:
    <?
    $link=  mysql_connect("localhost","rnpac_eco","123");
    mysql_select_db("rnpac");
    $dir="banner/";
    $dir1="produtos/img_pro/";
    $dir2="universo/actividades/";
    $sql = 'SELECT tbl_produto.id_produto, tbl_produto.produto, tbl_produto.legenda, tbl_produto.detalhe, tbl_produto.preco, tbl_produto.produto_cat_id, tbl_detalhe_produto.proprietario, tbl_detalhe_produto.local, tbl_detalhe_produto.qualidade, tbl_detalhe_produto.alcool, tbl_detalhe_produto.acidez, tbl_detalhe_produto.ph, tbl_detalhe_produto.informacao, tbl_detalhe_produto.gestor, tbl_detalhe_produto.condicionamento, tbl_detalhe_produto.detalhe_t, tbl_detalhe_produto.interesse, tbl_detalhe_produto.transporte, tbl_detalhe_produto.produto_id, tbl_imagem_produto.id_imagem, tbl_imagem_produto.imagem1, tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6
    FROM tbl_cat_produto, tbl_produto, tbl_detalhe_produto, tbl_imagem_produto WHERE tbl_produto.id_produto = tbl_detalhe_produto.produto_id AND tbl_produto.id_produto = tbl_imagem_produto.produto_id ORDER BY RAND()';
    $resultado = mysql_query($sql)
    or die ("Não foi possível realizar a consulta.");
    $row1=mysql_fetch_array($resultado);
    $sql = "SELECT  tbl_sub_universo.id_subuniverso, tbl_sub_universo.subuniverso, tbl_sub_universo.universo_id, tbl_actividade.id_actividade, tbl_actividade.entidade, tbl_actividade.legenda, tbl_actividade.subuniverso_id, tbl_actividade.det, tbl_actividade.preco, tbl_actividade.data, tbl_detalhe_actividade.actividade_id, tbl_detalhe_actividade.periodo, tbl_detalhe_actividade.descricao, tbl_detalhe_actividade.programa, tbl_detalhe_actividade.informacoes, tbl_detalhe_actividade.actividades, tbl_detalhe_actividade.localizacao, tbl_detalhe_actividade.locais, tbl_detalhe_actividade.servicos, tbl_imagem_produto.id_imagem, tbl_imagem_produto.imagem1,tbl_imagem_produto.imagem2, tbl_imagem_produto.imagem3, tbl_imagem_produto.imagem4, tbl_imagem_produto.imagem5, tbl_imagem_produto.imagem6, tbl_imagem_produto.actividade_id FROM  tbl_sub_universo, tbl_actividade, tbl_detalhe_actividade, tbl_imagem_produto WHERE tbl_actividade.id_actividade =tbl_imagem_produto.actividade_id AND tbl_actividade.id_actividade =tbl_detalhe_actividade.actividade_id ORDER BY RAND()";
    $resultado = mysql_query($sql)
    or die ("Não foi possível realizar a consulta.");
    $row2=mysql_fetch_array($resultado);
    $query='SELECT * FROM tbl_banner ORDER BY RAND()';
    $resultado = mysql_query($query);
    echo' <?xml version=\"1.0\"?>
    <home_left_headline>
    <bgimg>'.$dir2.''.$row1['imagem1'].'</bgimg>
    </home_left_headline>
    <home_flash>';
    while($row = mysql_fetch_array($resultado)) {
    echo'<swf headimg="" bgimg="" msgimg="" leftthrow="" rightthrow=""></swf>';
    echo'</home_flash>';
    echo'<promotop>
    <promo img="" title="" url="" ><![CDATA[]]></promo>
    <promo img="" title="" url="" ><![CDATA[]]></promo>
    </promotop>';
    mysql_close($link);

    i have two files banner.php, for testing my flash banner.
    This one works:
    -------------------------------| banner.php |---------------------------------------------
    <?xml version="1.0"?>
    <content>
    <settings>
    <menu X='160'/>
    </settings>
    <nav>
    <main Name='HOME' Link='home.swf'/>
    <main Name='EMPRESA' Link='home.swf' >
    <sub Name='HISTORIA' Link='content.swf' toLoad='content/contentrosa.xml'/>
    <sub Name='OBJECTIVO' Link='content.swf' toLoad='content/contentrosa2.xml'/>
    </main></nav>
    </content>
    -------------------------------|end  banner.php |---------------------------------------------
    this other does not work:
    -------------------------------| banner.php |---------------------------------------------
    <?php
    echo"<?xml version="1.0"?>
    <content>
    <settings>
    <menu X='160'/>
    </settings>
    <nav>
    <main Name='HOME' Link='home.swf'/>
    <main Name='EMPRESA' Link='home.swf' >
    <sub Name='HISTORIA' Link='content.swf' toLoad='content/contentrosa.xml'/>
    <sub Name='OBJECTIVO' Link='content.swf' toLoad='content/contentrosa2.xml'/>
    </main></nav>
    </content>";
    ?>
    -------------------------------|end  banner.php |---------------------------------------------
    Why? What is wrong? why does my flash does not understand the tag php
    Message was edited by: armandix

  • Correct link tag in XML

    In the Customizing Reports at Runtime for Reports 6i (I'm running version 6.0.8.25.0), what is the correct syntax for the <link> tag when generating a report via XML?
    The syntax line in the document shows:
    <link
    parentGroup="name"
    parentColumn="name"
    childQuery="name"
    childColumn="name"
    condition="condistion"
    sqlClause="clause"
    name="link_name"
    >
    </link>
    The example then, does not show the > </link> at the end, but rather just />
    I've tried both but just receive a message "REP-6104: Invalid XML report definition Expected tag end(>) instead of '
    I've tried using both of the "examples" and can't seem to get this to work correctly.
    Thanks,
    Chad

    I figured it out....
    Should be:
    <link
    stuff
    />
    So it's similar to the field tag attribute.
    Chad

Maybe you are looking for

  • Adobe vs Office 2013 64bit

    Hi there, I have installed Adobe Reader v11, but when i try to send an email straight from Adobe i get the following error message: "Either there is no default mail client or the current mail client cannot fulfill the messaging request" If i right cl

  • JVM optimization of load driver forName and db getConnection

    I am working on a site that already had these jsp pages. There is very little java code to the site. Almost everything is done through the jsp page plus one main java class to store state data. The site's jsp page may do up to 7 queries on the databa

  • Populate Parent/Child records with "Family" value

    Hi, I typically do the task I'm asking assistance with in Excel and it works great... the only problem is that it's VERY slow and takes a lot of work when over 1 million rows as you must split it up and yeah just painful! But what I'm trying to accom

  • What is the "cores" directory at top level and their core.99999 files?

    At the top level of my Disk is a hidden directory called "cores". Within that directory are 105 files called "core.99999". The 99999 is a system assigned number? Each file is 380MB or very close, ie some are 381, some are 385. Each file of a particul

  • Trouble installing Adobe Acrobat Pro 11.

    Recently purchased 10 (download) licenses for Adobe Acrobat Pro 11.  During the install, we're getting the following error - "Adobe Reader cannot open acrobat pro 11 because it is not either not a supported file or because the file has been damaged".