Is there any IDE that lets or complete the tag immediately ?
eg. once i finish writing <html>, it will insert </html> automatically.
this will reduce time and also help to reduce error.
I am working in windows and would like to have some free editors/IDE.
I am just starting to learn some html and web programming, so any tips is welco...
Hi
I am using a Javascript called Niceforms.js which makes HTML forms looks pretty. It works fine under the xHTML Transitional Doctype, but I need to build my site using Strict xHTML.
It has a few problems rendering under Strict and I'm fairly sure it's because it isn't putting the trailing slash in a few <img> elements so that they ...
In the modern file systems there are files and directories. In a directory, there are sub-directories and files.
My question is, wouldn't it be better if all the files were in one place, and each file could tagged? So each file have tags, just like in Stack Overflow: every question has tags. The main advantage, is that searching could b...
while using beautifulsoup to parse a table in html every other row starts with
<tr class="row_k">
instead of a tr tag without a class
Sample HTML
<tr class="row_k">
<td><img src="some picture url" alt="Item A"></td>
<td><a href="some url"> Item A</a></td>
<td>14.8k</td>
<td><span class="drop">-555</span></td>
<td>
<img src="so...
I have created a custom tag that looks like this:
def textField = { attrs ->
def field = attrs.name.split('\\.')[-1]
log.error("--------- Field is ${field}")
if (attrs.bean && attrs.bean.errors.hasFieldErrors(field)) {
def className = attrs.remove('class')
def classStr = 'errors '
if (className) {
...
Hi,
I am using struts2 to build a web application and I use struts2 tags extensively. I am not able to apply CSS styles to my struts2 textfields, buttons, labels etc., What is the trick for setting CSS rules to struts2 UI components.
Please help
...
Using Subversion, in my working copy I make a minor modification (update a version number). I would then like to tag my working copy. Would this tag still be a cheap copy with the modification, or would SVN duplicate the files? I would hate to see my repository grow enormously in size because I'm trying to save a version number change...
Given the two following tables :
Gallery
id | title | desc
Site
id | title | desc | url
I've a tags system which can apply to both Gallery and Site tables.
I'm wondering if I should do :
TagMap
tagId | entityId | applyTo
Where applyTo could be 'site' or 'gallery' or use separate table like the following :
TagGalleryMap
tagId | g...
I need to implement a tag system for video program and before I build something myself, is there an attractive drag-n-drop tag component that will filter a table for me?
...
I found this useful regex code here while looking to parse HTML tag attributes:
(\S+)=["']?((?:.(?!["']?\s+(?:\S+)=|[>"']))+.)["']?
It works great, but it's missing one key element that I need. Some attributes are event triggers that have inline Javascript code in them like this:
onclick="doSomething(this, 'foo', 'bar');return false;...
Hi everyone,
I've been struggling on this thing for a week without being able to find what I'm looking for.
Here is what I'd like to do:
I'm setting up a wiki where I can post all my knowledge to (yes, I know a couple things :p) but I can't render it the way I'd like to.
The bodies of my posts are text fields. In order to render them t...
I can access Spring beans in my Servlets using
WebApplicationContext springContext =
WebApplicationContextUtils.getWebApplicationContext(getServletContext());
in the Servlet's init method.
I was wondering is there an equivalent of the WebApplicationContext for servlet filters?
Also, is it possible to access Spring beans i...
Hi,
How can I view the comments on the tags in svn? Assume I create a tag:
svn cp -m"vhost apache config" file:///var/svn/repos/foo/trunk file:///var/svn/repos/foo/tags/release-0.1
Later, I have tagged many times, and I need to find out what each tag is about. I can use:
svn ls --verbose file:///var/svn/repos/foo/tags
--------------...
Hi,
In my web application, I use strust2 url tag to pass parameters like id etc., For example, I use a link to delete an entity and I use param to pass the id of the entity to be deleted. And I follow this throughout my web app for adding, editing, deleting an entity.
During run time, sometimes, I don't get the params to be stored in ...
Someone can please explain whether to use JSTL tags or struts tags for presentation in jsp ?
...
I have a site with a tagging system but would like to enable users to be able to subscribe to different sets of tags of their choice so that when a new submission is made and has tags that match what the user is subscribed to they get a notification. For example, say a user is only interested in red, wallpapers that are considered large....
I wish to use anchors instead of submit button in a struts tag form. Can I do it ? How should i create it ?
please help
...
Does anyone know a regex function in PHP to strip an anchor of its contents, only if the anchor's href attribute contains specific text?
For example, I have an HTML page and there are links throughout. But I want to strip only the anchors that contain "yahoo" in the URL. So <a href="http://pages.yahoo.com/page1">Example page</a> woul...
I'm trying to get all the input elements from a certain form from jQuery by providing only the name of the form and only knowing that those wanted fields are input elements.
Let's say:
<form action='#' id='formId'>
<input id='name' />
<input id='surname'/>
</form>
How do I access them individually with jQuery?
I tried something like ...
Hi,
This may be a silly question, but as someone relatively new to PHP, I'm wondering if there are any performance-related issues to frequently opening and closing PHP tags in HTML template code, and if so, what might be best practices in terms of working with php tags?
My question is not about the importance/correctness of closing tag...