Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by SharkTooth

  1. SharkTooth

    <xsl:sort, not sorting, everything else works!

    Nice, Thanks!
  2. SharkTooth

    <xsl:sort, not sorting, everything else works!

    Thanks tsuji! This works great! The only thing I'm not sure I'm going to get away with is in my original design the columns were ordered vertically down one column for half the number of records then to the top of the next column and down again. Thanks again, I'm going to run out and take a...
  3. SharkTooth

    <xsl:sort, not sorting, everything else works!

    Thanks to both of you! It works as expected but... Now I need to remove the hard coded value in: <xsl:template match="/jobwatch/region[@id!='N01']">with the passed in variable: <xsl:template match="/jobwatch/region[@id=$publication]">, but I'm getting an error: "variables cannot be used within...
  4. SharkTooth

    &lt;xsl:sort, not sorting, everything else works!

    Sorry Tom, I was tied up in meetings all afternoon. Wow that is really hairy looking! I'm out of the office right now; I'll try this in the morning and let you know. Thanks Again!
  5. SharkTooth

    &lt;xsl:sort, not sorting, everything else works!

    Thanks Tom, I'm trying to display the data (client name) in two columns. That actually works, but the client names need to be sorted, right now they are displayed as entered in the XML. I thought of what you are saying and have tried to handle sorting elsewhere in the XSLT but haven't had any...
  6. SharkTooth

    &lt;xsl:sort, not sorting, everything else works!

    I can't seem to get the <xsl:sort select element to work. I don't get an error it just doesn't sort. This is my first experence with XSLT so I'm guessing that I'm not using the <xsl:sort element correctly. Would you guys please take a look at what I'm doing below with the sort element...
  7. SharkTooth

    Pattern for steping through a survey

    Hi, I'm looking for a nice OOP pattern to handle the counter for stepping through a survey. As the user progresses through the survey decisions are made to determine what page the user sees next. I have to indicate at the top of each page what step the user in on, like: 1 of 6, 2 of 6... Since...
  8. SharkTooth

    Read Xml data

    This will return a SortedList, I'm sure it can be converted to return an Array or ArrayList without to much effort. public class SortedListBuilder{ /// <summary> /// This method reads the xml file looking for the requested key group and returns them setup as a SortedList. /// </summary> ///...
  9. SharkTooth

    intellisense, DataGrid

    I created a custom DataGrid with MS DataGrid as my base. It works fine all I did was preset some design stuff. Problem is when I drop the DataGrid on the page then try to edit the HTML, for instance if I start entering a &lt;columns&gt; tag, I don’t get intellisense. However if a developer can...
  10. SharkTooth

    DataGrid - OOP design

    Just seems like a lot of extra work. 1.) I could just load a dataset with the collection of records and bind to the grid. Or 2.) If I want to stick with the business objects; I'll still have to get the records and iterate through them to build each object (like the user above) and add them...
  11. SharkTooth

    &lt;span&gt; forecolor

    Use Javascript. Something like... document.getElementById("someId").className="spanColorChanged";
  12. SharkTooth

    DataGrid - OOP design

    I created some business objects, for this example a "User" class. User handles everything related to a user, including database transactions (updates, deletes etc.). When I instantiate a new user it goes to the database and loads itself. Here is my question: When I load a datagrid I provide...
  13. SharkTooth

    The correct way to design a class...

    We are learning how to do OOP and have a question that we have been debating. Hopefully you guys can clear this up for us. I get customer data from the database and I want to populate the “Customer” object with the data from the database. I also want to use the “Customer” object to add...
  14. SharkTooth

    Is this a security risk?

    Thanks. I'm not sure how I would be able to get the information to display. I'm no hacker, I think I could inject something though.
  15. SharkTooth

    Is this a security risk?

    I'm doing some testing on a vendor’s web site and ran into the error below. I told the vendor that displaying this kind of error could give a hacker the information needed to hack the db or attempt SQL injection attacks etc. (btw this is a bank). The vendor is telling me that there is no...

Part and Inventory Search

Back
Top