Additional question about html tags in an APEX tree

 

Susan,
Feel free to contact me directly; I'll see if I can help. David (at) David S Gale (dot) com.
-David

Similar Messages

  • Question about HTML files using TextEdit

    First off, I wanted to ask if this is the proper place to post a question about HTML/XHTML. I couldn't really find anywhere else that seemed to fit better, but please point me in the right direction if this is not the place. Thanks.
    Moving on -- here's my question:
    I'm having trouble with working with HTML files in TextEdit. I'm on a Mac, using TextEdit as my HTML editor (I can not afford one of these other HTML editors, and I like using a simple text editor like TextEdit for HTML). Here's my problem: I open a new rich text document in TextEdit and write my HTML and then choose File>Save As and choose "HTML" under the File Format drop-down box. Having saved this file as an HTML file, I then open Safari and choose File>Open File and select my HTML file; however, when I do this, my web page's text does not appear in the browser window. Instead, the HTML code itself appears in the browser window, as if the browser was not interpreting it as HTML and converting it. The same problem happens when saving the file as a .htm file using Microsoft Word for Mac.
    So, as another solution (at the suggestion of a helpful poster in a previous thread), I tried creating a plain text file in TextEdit (instead of a rich text file like before). Now, in TextEdit there is no option for saving plain text files as HTML files, so I simply save it as a Unicode-8 format and then find the file in Finder and change the extension to .htm myself (I've tried .html as well). This, fortunately enough, actually works! When I open the file in Safari I get to see my web page as expected. However, the first time I quit out of the application TextEdit and then try to reopen my .htm file in TextEdit, I no longer can see my HTML code. Instead, TextEdit shows me the actual web page text that I would expect to see when I open the file in a browser, and my HMTL code is lost.
    Can someone please help me here? There has to be a way to edit HTML in TextEdit without the code disappearing every time you quit out of the application and reopen the HTML file. Any help is greatly, greatly appreciated. Thank you.

    That's the problem -- once I convert it to plain text there is no longer an HTML option under the Save As drop down menu. The drop down menu's title is Plain Text Encoding instead of File Format and the only options I get are Unicode-8, Unicode-16, Western, Chinese, and so forth. I can save it as an HTML file, but only if the file is rich text, which doesn't work for HTML.
    So, I can save it as plain text (.txt) and then go and change the extension myself, and like I said, it works if I do that. I can edit HTML in TextEdit and open the file properly in Safari to view my web page. The problem is (I went over all this in my first post) that, after that, if I exit TextEdit and reopen it, my document is no longer HTML code -- it is now simply the text of the web site as if I had opened it in a broswer.
    What do you suggest I do?

  • Question about using 10g/11g and APEX ...

    Hi,
    I just recently learned of Oracle's APEX and have a few questions about using it.
    Can I use APEX with express, standard, and enterprise editions of 10g and 11g?
    Are all of these free to use?

    You might want to read about APEX rather than jumping into questions that are reasonably well documented. Info at http://www.oracle.com/technology/products/database/application_express/index.html
    Your specific questions:
    1) Apex is a package that can be installed into any properly licensed database.
    2) The price for the production license of the database varies by edition.
    The price for Express Edition is $0 for use in production. Part of the cost for that edition is 'no Oracle Support based support, no patches, data volume limitation, etc.'

  • Question about Id3-tags and song managem

    Hello, I am getting ready to buy a Zen Touch 20GB in a couple of weeks and I have a few questions about the management software.
    (Correct me if I am wrong about something)
    ) Are songs organized into groups by Genre instead of just folders like on the Ipod?
    2) Are Id3-tags used instead of filename for identification?
    3) What parts of the tag are needed besides title and artist?
    4) Which version of tags does the Zen Touch recognize: Version or Version 2?
    5) If I edit my tags using an external program such as Id3-TagIT, will the tags carry over to the Creative software and to the player?
    Thanks a lot for your help. I want to make sure I have my music collection in order before I get my Zen Touch.

    euph_jay wrote:Ok, so lets say I have all my music in folders right now seperated into different categories on my hard dri've. Some folders denote the artist, some the album, and some a genre. Example: Folder: Chicago Contents: Chicago .mp3 files Folder: Techno Contents: various Techno artist's songs What is the best way of organizing my folder system, so that the transition will be easy to the player?
    Folders are pretty much irrelevant. What the software will do is look at the *tags* in the files and then use these to build the player's library.
    Will imbedded folders work on the player? (like Techno->Crystal Method->Cystal Method .mp3's)
    Again the player has no concept of folders, although if you set Techno as a Genre tag you will be able to view via this in the Music Library.
    Or, am I misunderstanding how music is stored into the mp3 player. Instead of storing music in a "folder like" system (like the Chicago folder or Techno folder), does it store all the songs individually on the device? Then you have to sort it by artist, album, or genre?
    Using your example, in the Music Library you have essentially three categories: Album, Artist, and Genre. So under Album you would see "Vegas" (the Crystal Method's album), under Artist you would see "The Crystal Method", and under Genre you would see "Techno" (and then either the album or artist under this... I forget which it is offhand).
    Make sense?

  • Noob question about DIV tags

    Learning DW and CSS so patience is in order .
    I've being reading numerous posts here and on the web about avoiding tables for laying out web pages. I can see the advantages in terms of cleaner codes and easiness of updating and changing sites at a later time. So I started learning about DIV tags (although tables is very easy for me) and have practice a few times with fairly good results, love the absolute positioning with it. Having said that, for the love of me, can't find a way of centering horizontally a page designed with DIV tags (due to ignorance), for example, 1 column/three rows page, after defining styles, size and colors I enclosed everything in another DIV tag, wrapper I think is called, but have not found a way of centering it on the page, text-aligment on the DIV tag only centers the text not the DIV itself, how to go about this? Help is appreciated.

    love the absolute positioning with it.
    Get over it.  It's a trojan horse.  Absolute positioning is not a general layout method.
    To center ANY block (non-absolutely positioned) element, use CSS to give it a width and left/right margins of 'auto'.  For example -
    <div id="foo">...</div>
    That div will be centered with this CSS -
    #foo { width:300px; margin:0 auto; }
    I think you are on the wrong path already, though.  Stick with tables (which you say are very easy for you) UNTIL you a) understand CSS well enough to understand what absolute positioning is and why I say it's bad, and b) understand how to use float, margin, and padding to place things on the page.  Then you are ready to move away from tables.

  • Question about HTML attributes

    I am parsing HTML code and need some help. Maybe it's because
    I don't understand HTML code or something.
    Anyways, I'm trying to get the content of an HTML element. Given the
    following Java code:
         // Iterate through the elements of the HTML document.
         ElementIterator it = new ElementIterator(doc);
         javax.swing.text.Element elem;
         while ((elem = it.next()) != null) {
              SimpleAttributeSet s = (SimpleAttributeSet)elem.getAttributes().getAttribute(HTML.Tag.A);
              if (s != null) {
              System.out.println(s.toString());
              System.out.println(s.getAttribute(HTML.Attribute.HREF));
              System.out.println("element: " + elem.toString());
              if (elem.getName().equals("tr")) {
              System.out.print("found TR: ");
              Enumeration e = elem.getAttributes().getAttributeNames();
              while (e.hasMoreElements())
                   System.out.print(e.nextElement().toString() + " ");
              System.out.println();
    I can't figure out how to parse the content from table data.
    Here is my HTML code:
    <TR VALIGN="top">
    <TD ALIGN="left" COLSPAN="2">
    <FONT FACE="Monospace,Courier">KDEN 191753Z 10007KT 050V150 10SM FEW090 SCT120 SCT200 29/M01 A3004 RMK AO2
    SLP087 VIRGA DSNT S-NW TCU DSNT SW T02891011 10294 20128 58007</FONT><BR>
    <FONT FACE="Monospace,Courier">KDEN 191653Z VRB05KT 10SM FEW090 SCT120 SCT200 28/00 A3006 RMK AO2 SLP095 VIRGA
    DSNT SW-NW T02830000</FONT><BR>
    <BR>
    </TD>
    </TR>
    The code picks out the HTML attribute "valign" for the TR element. But,
    how do I get to the actual content.
    What I would like is to get the string that begins with KDEN.
    Any comments would be helpful.
    Thanks.
    -brad w.

    I was able to make this work.
    What I did was the following:
    <code>
         // Parse the HTML.
         kit.read(rd, doc, 0);
         // Iterate through the elements of the HTML document.
         ElementIterator it = new ElementIterator(doc);
         javax.swing.text.Element elem;
         while ((elem = it.next()) != null) {          
    //          System.out.println("element: " + elem.toString());
              if (elem.getName().equals("content")) {
              start = elem.getStartOffset();
              end = elem.getEndOffset();
              // System.out.println("found content: beg_offset: " + start + "end_offset: " + end);
              if ((end-start) < 4)
                   continue;
              try {
                   loc = doc.getText(start, 4);
              } catch (BadLocationException ex) { continue; }
              if (loc.startsWith("KDEN"))
                   System.out.println(doc.getText(start, end - start));
    </code>
    I need to use the start and end position of the element to get
    the text from the Document.
    -brad w.

  • Question about id3 tags

    i had all of the fields of all my songs just how i liked them. i thought itunes had written everything i had edited into the id3 tags of all the songs. apparently, it didn't work.
    i am using another software called serato. i took the mp3's whose tags i edited in itunes and imported them into serato. i know this program is able to read all versions of tags, so i found a suggestion someone made to strip the id3 tags. this process called for selecting all the songs, converting the id3 tags to "none", then changing them back to a certain version (v2.3 or v2.4).
    after doing this, i take a look at my itunes library and about 80% of all my songs have their tags messed up. either the genre is back to what it was before i changed it a while ago, or (more annoyingly) the song titles are all truncated to a certain length.
    1. is there any way to undo this? or am i going to have to manually go back and re-edit all the fields?
    2. is there a better way of ensuring itunes is correctly changing the id3 tag fields? for example. if i edit the id3 tags on itunes on one profile on my mac, then take the same mp3 file and import it into itunes on another profile, the id3 tags seem to not have been changed at all.
    help anyone? this whole thing has got me really frustrated. thanks in advance.

    In Serato setup, check box Read iTunes Library. However this doesn't solve the problem, only creates yet another location for cleaning up....
    Having somewhat same issue: Converted all id3 from iTunes succesfully, but couldn't import files correct on other macbook in iTunes (same version)?!?!? Doesn't read id3...

  • Simple question about custom tags really easy!!

    I am trying to make my own custom tags, so far i have created simple one that have i use for heading or to set the page layout for a jsp page, My question is I want to make a custom tag with a body , with a start and end tag can anybody give a simple example of a custom tag which has a body.
    I do not mean write me a tag i mean what could a tag with a body be used for? Can you give me some example of what a tag of this kind could do?

    Thanks having read that and some other pages i have another question:
    would it be possible to put the following code into a custom tag so that i can pass in a list and have it output it to a table?
    <TABLE >
    <% 
    out.println("<TABLE >\n" +
                    "<TR BGCOLOR=\"#FFDDAA\">\n" +
                    "  <TH>ID Number\n" +
                    "  <TH>Artist\n"
    Iterator it = pricePassed.getpricePassed().iterator();
    while( it.hasNext() ){
       MySite.VideoBean vids = (MySite.VideoBean) it.next();
       out.println( "<TR>\n" +
                   "<TD><Center><B>" + vids.getRecId() + "</TD>" +
                    "<TD><Center><B>" + vids.getArtist() + "</TD>"
    </TD></TR>\n" );
    %></TABLE>At the moment i use the above in a jsp to put data into a table, would it be a massive task to undertake to put into a custom tag?

  • Question about Hidden Tags

    I have two forms Page1.jsp and Page2.jsp
    when i invoke page1.jsp i pass a customer id to it ... the actionclass gets it and displays Page 1.jsp
    now when i click on Page 1.jsp i need to pass the same id to Page 2.jsp's Action class
    How do i do it
    Is it possible using <html:hidden> tag
    Thanks
    ~K

    that's certainly 1 way to do it, sure.

  • Question about custom tags

    Hi All,
    Please tell me what is differnce between javabean and custom tags.
    thank you.

    Javabean is a data object (or a data holder) whose properties can be accessed using getters, setters - ex getName() and setName()
    JSP custom tags are merely Java classes that implement special interfaces (Tag interface). Once they are developed and deployed, their actions can be called from your HTML using XML syntax. Refer the article http://java.sun.com/developer/technicalArticles/xml/WebAppDev3/
    Cheers,
    Janesh

  • Question about the interavtive Reports in APEX 3.1

    Hi,
    I have tested the nice interactive reports feature on the evaluation instance of APEX 3.1
    I hope the new APEX 3.1 will be released soon.
    Is the SQL-Query stored in the apex tables, if I save my customized report? For example I have a report and I create a new feature. Then I guess the APEX generates a new SQL feature and when I store the report with the filter, the SQL-Query must be stored, too...
    Will that SQL be stored in the APEX tables, so I can select it over the apex-views?
    That would be very nice. So that the user of an application can create their own reports and download it with scotts example: http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Will that be possible and should I wait for the APEX 3.1 would be released or must I build an own solution?
    Thank you,
    Tim

    Hey Marco,
    I can`t find a view that is named like "APEX_APPLICATION_PAGE_IR%". Is it not available on the evaluation instance.
    I don`t want to use the build-in CSV download, becaus I want to export thousands of data sets. I got this already to work with APEX 3.0 and I get the sql from the application views. The procedure which creates the file runs a few hours and after that it is inserted into a table from which the user can download the file. In the procedure there happens a few other things, which are very import, so I have to create my custom solution.
    And for that I thought it would be very very very cool if I can get the sql behind the interactive report with the filters ant those things.
    Don`t you think that would be possible? I guess the APEX create a SQL although, or am I wrong?
    Thank you,
    Tim

  • A question about keyword tags

    Is it possible in settings... or somewhere, to set it so that when you open (PrE9's) organizer instead of starting with keyword hierarchy list - it could open on keyword cloud view? I am not so keen on the hierrarchy method...
    Thanks.
    brush

    I did some experimenting in the Elements 9 Organizer.
    1-- yes, when you close the Organizer then it does always seem to come up next time with the Thumbnail grid AND the Tags panel on the right is set to Hierarchy view. Then you must click on the icon for Cloud view.
    2-- my conclusion is that if I click on the Cloud icon after starting the Organizer, then it was staying as Cloud in the Keyword Tags panel to the right of the Thumbnails for the duration that the Organizer is open.
    3-- Note that if you use Full Screen for viewing your photos, then for the "Quick Organize" panel that drags out from the left side of the screen near the bottom, the default for Keyword Tags is Cloud. This is a different method of working which you may or may not like: however since it does set Cloud I decided to mention it.
    FYI - to get to Full Screen you can use the pull down menu for the Display icon (that is next to the House icon on the top bar of the main Organizer screen). Choose the option "View, Edit, Organize in Full Screen".  FYI - I usually select the thumbnails of the photos which I want to Organize before I go in to Full Screen.

  • Quick question about div tags

    How do you make a div tag only as wide as the content that is
    inside of it, rather than the width of the cell that surrounds
    it?

    <div style="width:200px; float:left">
    Would give you a div 200px wide and floated to the left. You
    can similarly
    float another div to the right of this div etc. When you are
    done with a row
    of divs, you would want to clear the float so that the next
    set of divs
    starts with the extreme left as the reference point. To clear
    a float you
    would use style="clear:both;" or style="clear:left;" etc.
    Please do some
    reading on all this before you start experimenting else
    you'll run into a
    multitude of issues.
    You cannot lose until you give up !!!
    "AngryCloud" <[email protected]> wrote in
    message
    news:f133f2$jk4$[email protected]..
    > How do you make a div tag only as wide as the content
    that is inside of
    > it, rather than the width of the cell that surrounds it?

  • Question about adding tags to images and music

    Hi I have an artist page online and I have read that adding meta tags to your page does absolutely nothing to help search engines these days and then someone recommended adding tags to the images on my site using aperture (which I cant afford) so can anyone explain if I can do this in iphoto or photoshop? and also can I add tags to the mp3's available on my site to better perform in search engine searches? can i do this with itunes?
    Thanks in advance

    The search engines have to be lead to your music/photo page using an appropriate URL and having a text description with as many relevant "key" words as possible.
    Also, you need as many links to this page as possible from other sites as well as your own pages.
    When I enter one of my own song titles and name into Google, all the top listed links are sites that sell digital downloads and CDs. Have a look at the way these sites list your music to see the most effective way of doing it on your own website.
    Obviously, you first have to add your URL to Google, Yahoo etc and get them to verify your sitemap.

  • Question about jsp tags

    Hello to all the programmers ,
    I have the code below , i get from servlet the attribute that called carList and then i use the forEach iterator for
    view the list of employees.
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <html>
    <head><title>The list of the Employees</title></head>
    <body>
      <table>
         <tr>
           <th bgcolor="cccccc">EMP_ID</th>
           <th bgcolor="cccccc">FIRST_NAME</th>
           <th bgcolor="cccccc">LAST_NAME</th>
         </tr>
      <c:forEach items='${empList}' var='emp' >
        <tr>
        <td>${emp.id }</td>
        <td>${emp.first_name}</td>
        <td>${emp.last_name}</td>
        </tr>
      </c:forEach>
      </table>
    </body>
    </html>The result that i get us :
    EMP_ID FIRST_NAME LAST_NAME
    ${emp.id} ${emp.first_name} ${emp.last_name}
    with the suitable headers of course.
    Why i get this result and not get as i expected the empBean.
    Regards
    Ofer

    I checked the web.xml and version is 2.4.
    I don't thhink that problem related to the web.xml , because i have another example that worked like this one :
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%
        // DON'T FREAK OUT!!! This scriptlet code will go away once
        // we have a model and controller in place...
        String[  ][  ] empList = {
                {"22254", "Joe", "Pashi"},
                {"15487", "Yos", "Alke"},
                {"8777", "Jhon", "Gatez"}
        pageContext.setAttribute("empList", empList);
    %>
    <html>
    <body>
      <table border="1">
        <tr>
          <th bgcolor="cccccc" align="left">Id</th>
          <th bgcolor="cccccc" align="left">First_Name</th>
          <th bgcolor="cccccc" align="left">Last_Name</th>
        </tr>
        <c:forEach items='${empList}' var='emp'>
          <tr>
          <td align="left">${emp[0]}</td>
          <td align="left">${emp[1]}</td>
          <td align="left">${emp[2]}</td>
          </tr>
        </c:forEach>
      </table>
    </body>
    </html>when i run this jsp page in tomcat i get the this result as expected :
    Id First_Name Last_Name
    22254 Joe Pashi
    15487 Yos Alke
    8777 Jhon Gatez
    I think that maybe i missed something in the previous example , something that related to the iterator forEach.
    I try to do the same thing but get the array of the employee from the servlet that's all , i see that the arrayList of the employees is created and i assign as an attribute.

Maybe you are looking for