Re: bug in html:link code completion

You are right, code completion does not work in this case. But, the
html:link Smart Editor (in the Link Parameter group) allows you to select a
bean name/property for the paramName/paramProperty attributes.
M7 Support
"Michael Mok" <[email protected]> wrote in message
news:418d8f37$[email protected]..
Hi thereI have a form containing an object eg
StudentForm
Student student;
public Student getStudent();
public void setStudent();
In the JSP page, I type in
html:link action="/editStudent" paramName="" paramProperty=""
Edit
/html:link
Nitrox does not display any thing when I "Cntrl-Space" on paramName=""
neither on paramProperty=""
Hoepe this bug can be fixed in 2.0.
Regards
Michael Mok

Please send a test case. I'm unable to reproduce this in a simple project in 9.0.3.1 or 9.0.3.2.
Is there entity inheritance involved?
Do your entity XML files mention _superAttr anywhere in them? If so, you might be hitting a known issue with 9.0.3 relating to entity inheritance at design time and the accessor attributes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Bug in html:link code completion

    Hi there
    I have a form containing an object eg
    StudentForm
    Student student;
    public Student getStudent();
    public void setStudent();
    In the JSP page, I type in
    <html:link action="/editStudent" paramName="" paramProperty="">
         Edit
    </html:link>
    Nitrox does not display any thing when I "Cntrl-Space" on paramName=""
    neither on paramProperty=""
    Hoepe this bug can be fixed in 2.0.
    Regards
    Michael Mok

    This is a JavaScript that displays source code for any URL you type in to defeat the dreaded "disable right click".  Maybe you could fiddle it for your purpose.
    http://javascript.internet.com/page-details/source-viewer.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

  • Is there HTML link code which will open "View Source Code" in a visitor's browser?

    This is for use only by my client during development.
    TIA

    This is a JavaScript that displays source code for any URL you type in to defeat the dreaded "disable right click".  Maybe you could fiddle it for your purpose.
    http://javascript.internet.com/page-details/source-viewer.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.com/blogspot.com

  • Shed graphics and html link bug

    When I link my shed graphics to html links the links do not
    stay, but instead changes to a macro. I was able to do this in my
    last compile but that was in RoboHelp 6.
    Alycia

    Thanks, I tried it you way and it looks like I am getting the same thing. Here is my version of your code:
    <jsp:useBean id="linkParams" class="java.util.HashMap"/>
    <c:set target="${linkParams}" property="userId" value="${user.userId}"/>
    <c:set target="${linkParams}" property="firstName" value="${user.firstName}"/>
    <c:set target="${linkParams}" property="lastName" value="${user.lastName}"/>
    <pdk-struts-html:link action="/showUser.do" name="linkParams">
    <font class="UnSelectedTabText"><bean:write name="user" property="email"/></font>
    </pdk-struts-html:link>
    Which returns this link, again with the repeated values:
    https://hostname/portal/page?_pageid=53,36325,53_36329&_dad=portal&_schema=PORTAL&_piref53_36355_53_36325_36329.strutsAction=%2FshowUser.do%3FuserId%3Dmsidoti%26amp%3BfirstName%3DMichael%26amp%3BlastName%3DSidoti&userId=msidoti&firstName=Michael&lastName=Sidoti
    Anyone else have any idea? Its looking like a bug in the PDK to me.

  • Another code completion bug

    At some point during my editing the code completion system got screwed up. This has also caused the "Go to Definition" feature (holding CTRL key and hovering mouse over element where you want to see the definition for) to work incorrectly - see screenshot attached.
    The code compiles without warning or error.
    I have restarted FB without any change. I have also deleted the "...codemodel" folder in the .plugins folder since I have heard somewhere that it might help, but didnt.
    I am using FB4 beta2 on WinXP.

    Okay, I tracked it down to the following function which precedes the point from which on things got screwed up:
    protected function provideSummaryText():void
    this.txtQuantGoals.htmlText = "&lt;";
    Its the HTML "less-than" entity which breaks the editor.

  • Small bug in code complete?

    I'm not sure how significant this bug is, but I think it's a bug.  Please advise.
    I defined a variable with the type UIComponent using code complete.  I Realized that I had chosen fl.core.UICompent instead of mx.core.UIComponent, which import statement was written by organized import.  Highlighting the type and choosing the correct type using code complete yielded something like this.
    var varname:mx.core.UIComponent;

    Jason,
    Thank your attention. Please, let me explain more clearly.
    I defined a variable statement with UIcomponent type using code completion.  ie
    import fl.core.UIComponent;
    var varname:UIComponent;
    Realizing I had chosen the wrong component, I highlight type UIComponent in my variable statement, and use the code completion to select type mx.core.UIComponent.  The result is this.
    import mx.core.UIComponent;
    var varname:mx.core.UIComponent;
    That's not right, is it?  Thank you.
    Garrick

  • What can I do if all HTML links refresh site instead of redirecting properly (FF only, HTML 1.0 Strict valid, no plugins) just after using autocompleted url?

    I was testing a XHTML 1.0 Strict valid website on my localhost. It had URL "http://localhost/visaita/tictactoe/Web/index.php?item_id=8&game_password=73|55fc84c0c432ad625a901caaa13108aa&chat_code=74|50b3b60c8be203.98819772#.ULO2EnC23XQ". If I click in URL field between 8 and ?. Then pres shift + end and delete the rest of URL, I get a drop down of suggestions. Then I press arrow left in my keyboard - suggestions dissappear. I press enter and my URL is immediately reset to initial one (with all arguments) even though I wanted to delete them. Server receives all the arguments, so this is not the case of a back-end redirection (tested).
    The most interesting effect is that after such refresh ALL HTML LINKS stop working. They refresh page instead of redirecting. Even if I click on a link redirecting to another domain, page still gets refreshed and not redirected. I see it as an obvious and serious bug which happens in very special conditions.
    All FF plugins and add-ons disabled. Tested in safe mode as well. One interesting fact is that this page is opened by a redirect from another page (JavaScript performs redirect), but the page where error happens does not contain any JavaScript redirection code. Error console is also empty.
    During these redirects FireBug (when enabled) displays interesting stuff. It shows that request without arguments is pending infinitely while immediately after it another request is launched with all unwanted arguments.
    Another interesting fact is that page is using late polling AJAX technique (not sure whether it has any impact).
    It seems that it is some caching bug.

    Autocompleted URL does not seem to be related in order to provoke the bug. If I press Esc and then immediately press on links, they all work fine. Without pressing Esc, if long polling is in action, all links redirect the same page. Long polling request happens for no longer that 2 minutes and then there is a 1 second JS delay before the next one. If links are pressed between calls, they work fine.
    The strange thing though is that my friend has prepared a simple script which is generating a long polling request and has a link to Google. This test works, so I am trying to understand whether there is any additional factor which is causing the problem. Perhaps it can be due to having redirects and 2 simultaneous long polling requests at the same time. Doing my best to understand the problem. Not sure what is happening although I am quite sure that problem is caused by the FF browser somehow. Tested everything back and forth.

  • Code completion user commands helplink

    Hello
    I am currently working on code completion for user commands in version 2012.  I have an XML file in which I have the descriptions for all the hover text and associated help links.  Everything is working correctly except for the help links.  They seem to be always looking to go to the diadem.chm help file.  I was wondering if there was any way to redirect where they point or am I missing something?  Thanks. 
    Ben

    Hi Carmen
    Actually I'm really not using an external program per se.  I guess I need to clarify what I am doing better.  Sorry about that.    
    Look at the help file for ScriptCmdRegister here for an example.  A shorter version without an example is spelled out below if you wish.  
    I am creating a VBS user command script containing classes of objects that I add using scriptcmdadd.  I am then registering the TLB file using scriptcmdregister resulting from compiling an ODL file.  After compilation, the ODL file is no longer needed.  I have a third/fourth file to go along with these which is an XML file that I got from a coworker.  The XML file contains the descriptions, helplinks, and datatypes that appear when code completion comes up, just as there is in DIAdem when you type View.ActiveSheet.etc.  
    However, you notice in DIAdem that there is a help link, which is what I cannot get working because when I insert anything into the xml file where the help link would go, it throws an error because it is trying to point to the DIAdem.chm help file no matter what.  This is what I wish to redirect so it can go to my own chm/html help file, if it is possible or supported that is.  Thanks
    Ben

  • Dreamweaver templates' regions and AllWebMenus linking code

    Hi,
    I am thinking of using AllWebMenus (the menu-making program) in a site based on a DW template that I'll create. If anyone uses AllWebMenus together with DW I'd be grateful for an answer.
    I was wondering what is best practice in the case of Dreamweaver templates, in which you stipulate editable areas and the remainder are non-editable areas. I understand that AllWebMenus will place the menu-linking code immediately after the <body> tag.
    Should I make sure that the area of the page code immediately after the <body> tag is an editable area of the template?
    I suppose that Dreamweaver would not like it if the linking code for AWM were part of a “non-editable” part of any page’s code that had been created from the template?
    I would be positioning the menu relative to an element (to a <div> tag at the top of the page). When the menu is set up and ready to compile, is there a way of knowing how many pixels wide and deep (in the case of a horizontal menu) the end-result menu will be, so that I can set the pixel dimensions of the <div> accordingly (and the width of the page’s overall content container), so that the menu, in its unclicked state, will not hide my text or page elements that should appear immediately underneath it, and so that the menu won’t exceed the width of the overall container?
    Thank you...

    That's the wrong syntax for a file include. It should be
    either of these -
    <!--#include virtual="/includes/menu.asp" -->
    or
    <!--#include file="includes/menu.asp" -->
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Alan" <[email protected]> wrote in
    message
    news:C568040E.31895D%[email protected]..
    >
    >
    >> <!--#include file="/includes/menu.asp" -->
    >>
    >> And I get the following error when saving the
    template:
    >>
    >> Unbalanced body tag
    >>
    >> I have checked and I definetly have opening and
    closing body tags in the
    >> HTML.
    >
    > Is the include file JUST the html that would be correct
    syntax for where
    > it
    > is used in the main file?
    >
    > In other words- included files should not be complete
    html docs with their
    > own head and body tags. That would result in multiple
    head and body tags
    > in
    > the assembled files.
    >
    >
    > --
    > Alan
    > Adobe Community Expert, dreamweaver
    >
    >
    http://www.adobe.com/communities/experts/
    >
    >
    >

  • Preserving HTML links when converting Word docs

    I created a document in MS Word for Mac 2011 (ver 14.5.2)
    When I used Adobe Pro 11 to convert the document into pdf format, all the HTML links are lost. 
    I have tried converting from MS Word, opening the word version with Adobe Pro, printing from MS Word to pdf.  Nothing works. Even opened the MS Word document using Apple's Pages software, re-formatted and then converted to pdf.  Still no live links.
    Best work around so far is to convert and then use the edit feature in Adobe Pro to re-insert the HTML links as invisible rectangles on top of the still-blue-and- underlined text.  So to the user it looks like the html links are still live, but what a pain for editor.
    I have seen this issue raised in other posts, but none of the answers seem to work. And the work around described above is clearly less than ideal.
    Very curious, as reading other posts, the issue apparently does not arise when the word doc converted from a Wintel computer.  But I can't imagine Adobe writes software one way for Intel and another for Mac.

    Imagine it. this has been 15 year fued between Microsoft and Adobe.  Adobe Claims that Mac office doesn't hav ethe proper hooks for URLs. Microsoft says the fault is with adobe.
    Since a Word Created file will work when opened in the windows version  and saved as a PDF, the links work just fine. Just opening and not saving, but converted to Pdf does nothing to the actual Word File.
    They had it fixed last year  in Acrobat X if your dropped the file on to Acroabt directly. But broke it again with the upgrade to XI.
    IF you have iWork and Open the word file in Pages then exported as a Word.docx file then create The PDF the links will become active.  Also if you Open in OpenOffice and export as docx file the resulting PDF when open in Word and PDF is Created the links will become active.
    If you have neither you will have to open the PDF and add the links. Note the Links will be hot (active) but the links will not turn Blue and  be Underlined
    Mac Office2011 is a Conversion of Office2010/2007 code.  So there should be no pproblem.
    Also Don't use the Save As . . .  PDF Method. Instead go to Print Menu  click on PDF wait for context menu > the choos Adobe Quality PDF or Adobe PDF (uses Adobe's PDF engine).
    wait for next screen that shows qualtity leave as sent unles you need specific job options. click okay then next screen File name. Rename as necessary the browser to desired to location then click save.  Or you can drop the saved Word document (with Word quit.) on to Acrobat and after a minute or so the PDF will be created. (Using this method in AcrobatX would actully show URL s or Mailtos as active - They broke this in Acrobat XI PDF still can be created but hot links no longer work).
    Well it seems it does work on occasion  see: http://www.screencast.com/t/cib2kcYG

  • How Do I Make HTML Links Open in Same Window?

    Hi
    How on earth do I get the HTML links inside a flash movie open up in the same browser window where said movie is embedded in (As opposed to opening up as a new pop-up windows)? Here is the code I have inside each of the buttons I have inside my flash movie:
    var link7:URLRequest=new URLRequest("videos/december.html");
    videos_btn.addEventListener(MouseEvent.CLICK, buttonClicked7);
    function buttonClicked7(event:MouseEvent):void
    navigateToURL(link7);

    Thank you thank you thank you!!!

  • How do I add an html link/banner to a page in my flash website?

    I purchased a flash website template and am in the process of editing my main.fla file.  In order to get listed on an advertising website with a higher rating, I have to place a reciprocal link to them on my site.  However, I cannot figure out how to place an html link/banner on my site for other businesses.  If I paste the html code in a text box, all that shows up is the html code rather than the image and link it is meant to generate.  Please help!

    Flash only supports a small amount of html in text areas.  If what you re trying to include is within what it supports, then you assign the text to the textfield using the htmlText property of the TextField...
    tfield.htmlText = "<a href="...">link</a>"; // will display "link" as a link

  • Adding a html link to a carousel

    i have followed a tutorial to build a flash craousel and have had no problems in building that.  i wanted to add a html link to a section of the carousel but everything i have tried up to now has failed.  All the information is passed through to the carousel from an xml file and everything works fine except for the link.
    i have slightly modified the tutorial so i have an extra box on the information page which holds the web address for the site they are looking at in the portfolio.  i have the address showing up but i cannot use the text as a link.
    the box that i am putting it in is a dynamic text box which has been set up with the following settings
    theLink.html = true;
    theLink.htmlText = t.Link;
    so as far as i know these are set to be able to handle html tags/code but they are not playing games.
    i have tried to pass the link through to the swf file from the xml file with the following code but this just seem to break the whole application.
    Link="<![CDATA[<a href='http://www.acmeart.co.uk/pip_new']]"
    to view how i have the file working upto now please view the link below.
    http://acmeart.co.uk/carousel
    i feel the problem is not with the flash application but more with how i am trying to pass the html link over to the application from the xml file.  i will attach the xml file to the post.

    What I had in mind was to place the link inline in your text. Something like this:
    <item name="valley" full="assets/valley.png"
            title='Book - CD ROM'
            body='This product was a Shockwave holiday card. It began as a jigsaw puzzle. As the puzzle was solved, it opened and displayed the holiday greeting. &lt;a href=&quot;http://www.amazon.com" &gt;Purchase a copy.&lt;a\&gt;'>
        </item>
    The url is right in the text. The html markup is escaped as html entities.

  • Html:link not working in struts project driving me mad, please help...

    Afternoon all,
    Can anyone help me with an issue I'm having with my first struts project, I'm learning as I go.
    Anyway, I'm trying to create a bog standard hypertext link which passes a value back to a specified struts action. The flow of the application
    is as follows:
    1) search.jsp
    User enters a name and postcode to search on, then click submit
    2) searchAction
    Struts action 'search' is called and does the search in a back-end db.
    Each result found from search is created as a javabean (named resultsBean), and added to a list object. The list object is set as a request
    attribute named 'SearchResults'.
    The action is then forwarded on to another jsp page named results.jsp
    3) results.jsp
    The results.jsp page retrieves the list object from the 'SearchResults' attribute and loops through each entry
    in the list and converts each entry to the 'resultsBean' javabean object.
    Each resultsBean object has a getVirtualID method which stores a string value. This value is retrieved and a hypertext link is created which
    passes this value on to another struts action named 'select'.
    When this link is clicked on, the select struts action is called and the value passed as a parameter is retrieved.
    This is the part I can't get to work, I can't get the link to render properly. When I click the link the select action retrieves
    & lt;%= resultsBean.getVirtualID() & gt; as the value of the parameter 'vid' instead of the value stored in the getVirtualID method of the resultsBean.
    Listed below is the code from my results.jsp page. If anyone can help me get this to work I would be very grateful.
    Thanks in advance,
    Alex
    results.jsp code
    <%
       List searchResults = (List)portletRequest.getPortletSession().getAttribute("SearchResults");
    %>
    <div id="table_layout" style="width: 713px; margin: 0px 0px 0px 3px;">
      <div id="row">
        <div id="column"><img src='<%= response.encodeURL("/images/results.gif") %>' alt="" width="223" height="159" border="0" /></div>
         <div id="column" style="width: 30px;"></div>
         <div id="column">
          <div id="table_layout" style="width: 460px;">
            <div id="row" style="width: 430px; border-bottom: 1px solid #4e137d;">
              <div id="column" style="width: 155px;">Name</div>
              <div id="column" style="width: 10px;"> </div>
              <div id="column" style="width: 130px;">Address</div>
              <div id="column" style="width: 10px;"> </div>
              <div id="column" align="right" style="width: 120px;">References</div>
            </div>
    <% if (searchResults.size() > 0) {
           Iterator it = searchResults.subList(0, searchResults.size()).iterator();
           ResultsBean resultsBean = new ResultsBean();
           while (it.hasNext()) {
                resultsBean = (ResultsBean)it.next(); %>
            <div id="row" style="padding: 5px 0px 10px 0px;">
              <div id="column" style="width: 155px;"><html:link styleClass="results"  page="/select.do?vid='<%= resultsBean.getVirtualId() %>'" title="<%= resultsBean.getFullName() %>"><%= resultsBean.getFullName() %></html:link></div>
              <div id="column" style="width: 10px;"></div>
              <div id="column" style="width: 130px;"><%= resultsBean.getFullAddress() %></div>
              <div id="column" style="width: 10px;"></div>
              <div id="column" align="right" style="width: 120px;"><%= resultsBean.getReferenceIcons(portletResponse) %></div>
              <div id="column" style="width: 13px;"></div>
              <div id="column" style="width: 22px;"><input id="<%= resultsBean.getVirtualId() %>" name="ckbox" type="checkbox" value="" title="tick to select for merging" style="border: 0px solid #ffffff;"></div>
            </div>
    <%     }
       } %>
           </div>
         </div>
      </div>
    </div>
    <br />
    <br />
    <html:link forward="/searchpage">Return to search page</html:link>

    If you have part of an attribute dynamic, you need to make the entire attribute an expression.
    ie instead of
    page="/select.do?vid='<%= resultsBean.getVirtualId() %>'"
    it has to be
    page="<%= "/select.do?vid=" + resultsBean.getVirtualID() %>"
    However for my approach, I would aim for zero scriptlets, and use the struts tags even more. For instance instead of an iterator, use the struts logic:iterate tag (or the JSTL c:forEach>
    Also instead of div tags, I would use html table tags - <table> <tr><td> etc etc. Thats what its for right?
    Here is at least some of it rewritten with struts tags.
    I left out the div tags so I could focus on the "important" stuff.
    <logic:iterate id="resultsBean" name="SearchResults">
      <html:link styleClass="results"  page="/select.do" paramId="vid" paramName = "resultsBean" paramProperty="virtualId">
        <bean:write name="resultsBean" property="fullName"/>
      </html:link>
      <bean:write name="resultsBean" property="fullAddress"/>
    <%= resultsBean.getReferenceIcons(portletResponse) %>
    <input id="<%= resultsBean.getVirtualId() %>" name="ckbox" type="checkbox" value="" title="tick to select for merging" style="border: 0px solid #ffffff;">
    </logic:iterate>I'm not entirely certain what you are doing with that checkbox at the end. They all have the same name, but no value. You couldn't identify at the server end which one was clicked.
    Hope this helps some,
    evnafets

  • How to include HTML link in BI Publisher Report?

    Hi,
    I am trying to include an HTML link in a BI Publisher report. But I get the HTML Code, not the link.
    I have put this in the Data Set SQL Query:
    select id_constancia, rfc, apellido_paterno, apellido_materno, nombre, e_mail_empleado,
    'a href="http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:'||ID_CONSTANCIA||'">CITA</a ' as liga_cita
    from geiq_constancias
    where entregada = '0' and sust_rh = '0'
    And I have included the field LIGA_CITA in the rtf template,
    But I get this in the HTML output:
    =======
    Please clic on the link below to log into the system:
    a href="http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183">CITA</a
    =========
    (I removed the beginning and ending '<''>' to prevent the text to be shown as a link)
    I have put the property "Make HTML output accessible" to TRUE in the report configuration, but nothing changes.
    Does anyone know how to make this work?
    Thanks.
    Francisco

    Hi Francisco,
    Note:
    your xml should only have
    <URL>http://dbxserver.dbxprts.com:7778/pls/apex/f?p=134:1:::NO::P1_ID_CONSTANCIA:1183</URL>
    Show me your sample XML , i can help you.
    What is your expected output ? PDF or HTML ?
    here it is.
    option1:
    If the XML data includes an element that contains a hyperlink , then you can use that element to create dynamic hyperlinks at runtime.
    a. insert hyperlink from word menu
    b. In the Type the file or Web page name field of the Insert Hyperlink dialog box, enter the following syntax:
    c. {ELEMENT_NAME_WHICH_HAS_URL_LINK}
    where ELEMENT_NAME_WHICH_HAS_URL_LINK is the xml data element name
    option2:
    create a form field, you can add it
    <fo:basic-link external-destination="http://www.google..com">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link external-destination="{ELEMENT_NAME}">
    <fo:inline text-decoration="underline">google Link</fo:inline>
    </fo:basic-link>
    or
    <fo:basic-link>
    <xsl:attribute name="external-destination"><xsl:value-of select="ELEMENT_URL"/>
    </xsl:attribute>
           <xsl:value-of select="LINK_NAME"/>
    </fo:basic-link>

Maybe you are looking for