background preloader

Web sites

Facebook Twitter

Tech Talk: 3 easy steps to self-sign a Applet Jar file. Jsoup Java HTML Parser, with best of DOM, CSS, and jquery. Pankil Patel « Enlightensoft's Blog. Required JAR:

Pankil Patel « Enlightensoft's Blog

JSF. Some features described here are available in Ultimate edition only.


IntelliJ IDEA's support for JavaServer Faces (JSF) includes: JSF-aware coding assistance with code completion. JSF code formatting and folding as well as syntax and error highlighting. Tutorials for Maven, Scala, Spring, Struts 2, HTML5, ANT, iBATIS, log4j, Hibernate, JSP, JAVA, JDBC, AJAX, WAP, SQL, MySQL, C/C++, PERL, PHP, Ruby, Ruby on Rails, Python, HTML, XHTML, CSS, CGI, Shell, Unix, JavaScript, jQuery, Radius, UML, GPRS, GSM,i-Mod.

Add Restrictions.sqlRestriction to Criteria : Criteria « Hibernate « Java Tutorial. Tomahawk DataScroller Introduction The t:dataScroller tag adds scrolling navigation to data components, such as t:dataTable and t:dataList.

Note : DataScroller must be nested inside of an UIData component, or attribute "for" must be given so that corresponding uiData can be found. The "row" attribute must be specified on the corresponding uiData. Tag Attributes Example As an example suppose we need to have list of car information to some of the entities in our application. Using Spring and Hibernate with WebSphere Application Server. Introduction The Spring Framework, commonly referred to as Spring, is an open source project that aims to make the J2EE™ environment more accessible. Spring provides a framework for simple Java™ objects that enables them to make use of the J2EE container via wrapper classes and XML configuration. Spring's objective is to deliver significant benefits to projects by increasing development productivity and runtime performance, while also improving test coverage and application quality.

Hibernate is an open source persistence and query framework that provides object-relational mapping of POJOs (Plain Old Java Objects) to relational database tables, as well as data query and retrieval capabilities. While many organisations are interested in discovering what benefits they can obtain from using these frameworks, IBM wants customers who do use them to know that they can do so with WebSphere Application Server in a robust and reliable way. Back to top. Javascript Basics Part 6. This is the sixth in a series that will introduce you to the JavaScript language.

Javascript Basics Part 6

If you've read the previous 5 articles, you should have a good grasp on JavaScript by now. In this article we will be talking about the Document Object Model or DOM for short. The DOM is just a fancy term for "everything on your website". It includes every table, image, link, form field, etc. on your page. JavaScript allows us to manipulate any element on the page in real time. Dynamic datatable in jsf. The other day, I believe pompously declared that I'd never used an actionListener in JSF.

Dynamic datatable in jsf

Which only goes to show that: 1. I'm senile 2. I'm an idiot ActionListeners are used far too often in places where they only make the app more complicated than it should be. JSF2 doesn't provide support for resolving rows within nested tables. In the mean time, we have to do something nasty. Here's an example: Google. MyFaces - Irian. First free JSF implementation Is an oustanding environment for development of web-applications.

As co-founders of the MyFaces project we are a key player in developing user interfaces for web-applications. MyFaces is a project of the Apache Software Foundation, and hosts several sub-projects relating to the JavaServer™ technology. The Apache MyFaces project provides: Complete JavaServer™ Faces implementation Several component libraries containing UI widgets Extension packages to JSF Integration modules to other technologies and standards MyFaces Support We provide professional support for the usage of MyFaces in your company. Html editor-2. /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements.

html editor-2

See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. Html editor-1. MyFaces -implimentation.


Java Forums at the Big Moose Saloon. Getting ipv4 remote address from FacesContext. Hi, I want the get a client's IP address from jsf.

Getting ipv4 remote address from FacesContext

With a little search effort, I could come up with this: view plainprint? HttpServletRequest httpServletRequest = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); String ip = httpServletRequest.getRemoteAddr(); HttpServletRequest httpServletRequest = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest(); String ip = httpServletRequest.getRemoteAddr(); How to get client's IP address, Domain using Java (JSP forum at JavaRanch) Hi, My setup is like Squid reverse-proxy -- sends request to--> Apache-server ---.

How to get client's IP address, Domain using Java (JSP forum at JavaRanch)

--> JBoss app server (using mod_jk) I want to get the clients IP address in my java application, running in JBoss.

Jsf kenai

Roseindia. Immediate Event Handling Example Event Handling is one of the important concepts in JSF.

This section provides a simple JSF application, which explains how to implement “immediate” event handling in JSF. Immediate event handling is useful in cases where you do not need to validate an entire page to process a user input. Normally, the event handler for components executes in the invoke application phase. But when the “immediate” attribute is set to “true” for the component then event executes in the apply request values phase and forces JSF to skip directly to the render response phase leaving all intermediate phases of the life cycle. This application takes both types of events i.e. This application can be downloaded as zip format from the link provided in every page of the section.

When the user submits the above URL “index.jsp” page is called which delegates the control to the “select.jsp” page. index.jsp. (Exadel) RichFaces - Open Source Rich JSF Components - jQuery Extension. JavaWorld. A first look at JavaServer Faces, Part 1. Recently, I had the good fortune of training and mentoring a group of novice Java developers as we implemented a complex Web application using Struts, Enterprise JavaBeans (EJB), servlets, JavaServer Pages (JSP), and the JSP Standard Tag Library (JSTL).

A first look at JavaServer Faces, Part 1

As it turned out, the project was a success; it came in under budget and on time, and had numerous features not originally envisioned. As you might imagine, we faced many technical challenges along the way; the most significant were: Implementing custom components, which included a tree/table viewer and a query builder that lets users dynamically add and remove fundamental components such as text fields and drop-down lists used to build database queries.Supporting hand-held devices, such as PDAs and radio frequency devices.Lack of an IDE for effective rapid application development (RAD).

Implementing custom components and supporting hand-held devices—especially the latter—consumed a great deal of our time and effort. Example 1. <? A first look at JavaServer Faces, Part 2. Recall from Part 1 that JavaServer Faces (JSF) is conceptually a mixture of Struts (Apache's popular open source JSP framework) and Swing (Java's standard desktop application framework).

Ibm jsf