September 17, 2009 by javastudent
To file web.xml need add:
<servlet>
<servlet-name>JSF</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>JSF</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
Posted in JSF | Leave a Comment »
September 16, 2009 by javastudent
HTML <span> Tag
Example
A text with a span element that can be styled with CSS:
| <p>My mother has <span class=”blue”>light blue</span> eyes.</p> |

|
Definition and Usage
The <span> tag provides no visual change by itself.
The <span> tag provides a way to add a hook to a part of a text or a part of a document.
When the text is hooked in a span element you can add styles to the content, or manipulate the content with for example JavaScript. |
Posted in HTML | Leave a Comment »
September 16, 2009 by javastudent
FacesMessage represents a single validation (or other) message, which is typically associated with a particular component in the view. A FacesMessage instance may be created based on a specific messageId. The specification defines the set of messageIds for which there must be FacesMessage instances.
Posted in JSF | Leave a Comment »
September 16, 2009 by javastudent
Application represents a per-web-application singleton object where applications based on JavaServer Faces (or implementations wishing to provide extended functionality) can register application-wide singletons that provide functionality required by JavaServer Faces. Default implementations of each object are provided for cases where the application does not choose to customize the behavior.
Posted in JSF | Leave a Comment »
September 16, 2009 by javastudent
FacesContext contains all of the per-request state information related to the processing of a single JavaServer Faces request, and the rendering of the corresponding response. It is passed to, and potentially modified by, each phase of the request processing lifecycle.
Posted in JSF | Leave a Comment »
September 15, 2009 by javastudent
Повинно бути перед початком форми
Posted in JSF | Leave a Comment »
September 15, 2009 by javastudent
Web beans will use the type of the field to locate the web bean to be injected.
Posted in JSF | Leave a Comment »
September 7, 2009 by javastudent
Deployment descriptors describe the contents of deployment units and configure components and applications to their environment. They also externalize the relationships between components, so those relationships can be managed without writing or changing program code. Deployment tools usually automatically generate deployment descriptors, so you do not have to edit and manage them directly.
Posted in Seam | Leave a Comment »
September 7, 2009 by javastudent
Seam component could be:
A simple POJO
a stateless Session Bean
a stateful Session Bean
a JPA entity and so on
Posted in Seam | Leave a Comment »
September 7, 2009 by javastudent
adorn [] 1) украшать; быть украшением Syn: beautify , decorate , embellish , ornament 2) приукрашивать, привирать adorn [] () 1) to decorate she adorned her hair with flowers 2) to increase the beauty, distinction, etc., of • Etymology: via Old French from Latin adōrnāre, from ōrnāre to furnish , prepare Derived words: adornment adorn украшать; декорировать
Posted in English | Leave a Comment »