All entries for Tuesday 07 February 2006

February 07, 2006

Tags : jsp component

Create tag file:

Can use other tag libraries:

[%@ taglib prefix="c" uri="" %]
[%@ attribute name="label" type="java.lang.String" required="true" %]
[%@ attribute name="compulsory" type="java.lang.Boolean" required="true" %]



[c:when test="${compulsory}">${label}[span class="required_true"]*[/span][/c:when]



Import tag libraries:

<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>

Use tag files:

[tags:inputTextField bindPath="" label="List label" compulsory="${true}"/]


Writing about web page

This is the only CSS acknowledge I need to know :)

  • Selectors: Any HTML element is a possible CSS1 selector
  • Contextual Selectors: P EM { }
  • Class selector : selectors.class i.e., p.right. the classes can be combined e.g class="classA, classB"
  • ID selector : i.e., p#right
  • Without the prefix selector, it will allow to any element
  • Contextual ID/Class : #form_properties table ??
  • Inherentence:
  • span.highlight {background–color–yellow} will only applied to span tags with a declard class attribute of hightlight.

Search this blog

Search Warwick Blogs



Most recent comments

  • Oracle 11g is the clear leader in this area. Oracle has invested heavily into self–tuning capabiliti… by shaane on this entry
  • All the features are very nice.I like Repair Advisors the most.Oracle 10G introduced some of the dat… by lucy on this entry
  • "logical standby failed to re–start, I am also getting the same error. I have search on internet and… by anemia on this entry
  • Thanks for the nice information because from last three days i am stuck on this problem…. by robot vacuum on this entry
  • So what happen City speed dating when you tried this coding once in your PC.. Please tell me so i am… by John Bergeron on this entry
Not signed in
Sign in

Powered by BlogBuilder