tags

rel-tag bookmarklet for last path component of a URL

Many web sites support folksonomy tags. You may have heard of rel-tag, where it says that "The last path component of the URL is the text of the tag". I am looking for a bookmarklet or greasemonkey script (javascript) to get the "last path component" for the URL currently being viewed in the browser, add that tag into another URL, and ...

Subversion: Tag and commit modified files at once

I want to do something like this from within Eclipse: http://svn.collab.net/viewvc/svn?view=rev&revision=33845 I use Subversive 0.7.5 with the Native JavaHL 1.5.3 (r33570) Connector. I tried to change something in a my working copy of a branch i'd like to tag and creating a Tag with Team -> Tag... But I got the error message: T...

Struts Validation.xml - requiredif problem

hi, I want my validation.xml to only check for a null if certain options are selected from a dropdown. So far I have <field property="empFDServiceStartDate" depends="requiredif, date"> <arg0 key="Service Start date" resource="false"/> <var> <var-name>field[0]</var-name> <var-value>moverCh...

Can struts logic tag evaluate a variable's contents?

Below is what I'm trying to achieve. The problem is "errors" is not defined. If I remove my match logic, the errors are displayed on the web page. Is there anyway of evaluating the text the error contains? <logic:messagesPresent> <tr> <td class="errorcicon"><img src="images/icon_caution.gif" width="18" height="18" alt="Cauti...

HTML <head> best practices

There are <meta> tags and other things you can place in the <head> of your HTML document. What <meta> tags etc. and best practices do you make use of in your HTML document to make it more accessible, searchable, optimized etc. ...

Reload the page without submitting it back to the server.

Hi all the problem I have is that I have two sets of values in a drop down list. If type 'A' is selected I want a text box to be populated with a value from the database and be read only. If Type 'B' is selected the box is to be empty and editable. My original code is written in jsp/struts and I have sort of achieved this by using o...

How to define structure in a tag-based organization?

[former title: Is there a way to force a relationship structure on a tag-based organizational methodology?] I have some entities, and they have a series of attributes. Some of the attributes affect what other attributes the entity can have, many of the attributes are organized into groups, and occasionally entities are requited to have ...

Match everything inbetween two tags with Regular Expressions?

How can I match (PCRE) everything inbetween two tags? I tried something like this: <!--\s*LoginStart\s*-->(.*)<!--\s*LoginEnd\s*--> But it didn't work out too well for me.. I'm kind of new to regular expressions, so I was hoping if someone would be kind enough to explain to me how I would accomplish this, if its even possible wit...

JSP <c:out> tag

Writing a JSP page, what exactly does the <c:out> do? I've noticed that the following both has the same result: <p>The person's name is <c:out value="${person.name}" /></p> <p>The person's name is ${person.name}</p> ...

Jumpdrive-Portable Database with GUI frontend

Is there a simple database program to let me collect, sort, tag, and reguritate trivia questions and answers? If something already exists in Open Source, can you point me to that? I have assembly programming skills (cue jokes) but not so much in the Perl,LINQ,Delphi,VB, C#, Java arena. ...

How to get the parameters passed by <s:url.. struts tag in the action class

M sending the parameters from the jsp page, the code is <s:url id="url" action="searchAction"> <s:param name="id">"${cgConsultant.id}"</s:param> </s:url> and m getting it in the url as.. http://localhost:8080/search/searchAction.html?id="1" I need to get it in the action class how do i get it.. please do any suggestion ...

AS3 - How to assign names or tags to loader?

Hi, I have a list of images that i’ve loaded with the Loader class, but I’m having a tough time assigning them unique names. I need unique names because I want to remove certain images after a while. Is there a way to assign loaders a name or some unique tag so i can remove them later? thanks. Here's part of my code for (var i = start...

What is the most efficient way to store tags in a database?

I am implementing a tagging system on my website similar to one stackoverflow uses, my question is - what is the most effective way to store tags so that they may be searched and filtered? My idea is this: Table: Items Columns: Item_ID, Title, Content Table: Tags Columns: Title, Item_ID Is this too slow? Is there a better way? ...

Rails app, and need to add tags to a model

I have this quiz rails app linked to an IRC bot who asks questions (yes, on IRC), where I have this Question model which contains, well, questions, answers, hints, and a few more things. I started with Quiz model (like, say, the special Halloween or Christmas quiz) with a quiz_id in the questions table, then, I told myself, that it wou...

What tag libraries you know for J2EE JSP, something like displaytag ?

What tag libraries you know for J2EE - JSP, something like displaytag ? ...

MP3 Cover Art Tagging in C#

Hi, I need to tag MP3 files with a Cover Art in C#... Is there any easy way to do this? I found UltraID3Lib as an exampel and it is great for regular ID3 tagging but I cant handle the cover art. If someone know an easy way to do this would it be great :) ...

loading another movie in a css tag from a swf in the same page

how do i make abutton in a flash movie load amother flash movie in a css tag below in the same html page? ...

Git commit against tag with no branch

If I check out a tagged version of my source code without creating a branch, Git indicates that I'm not associated with any branch at all. It's happy to let me make changes and check them in though. Where do those changes go? If I switch back to 'master' they disappear (overwritten by what was in master) and I can't seem to find them aga...

How to design a database schema to support tagging with categories?

I am trying to so something like Database Design for Tagging, except each of my tags are grouped into categories. For example, let's say I have a database about vehicles. Let's say we actually don't know very much about vehicles, so we can't specify the columns all vehicles will have. Therefore we shall "tag" vehicles with information...

CVS Tag Report

I found this question: How to find out which CVS tags cover which files and paths? (3) However, the results are not at all what I'm expecting. I'm using the following: cvs -n -q update -r ET30908 I'm looking for every file tagged with 'ET30908'. ...