Questions tagged [jsf-1.2]

JSF 1.2 is the latest release of the JSF 1.x specification and it works with Servlet 2.5 and JSP 2.1.

JavaServer Faces (JSF) is a user interface (UI) framework for Java web applications.

JSF 1.2 is a specification driven by the JSR-252 expert group under the Java Community Process (JCP).JSF became part of Java EE with this 1.2 release.

Unified Expression Language (EL) a major change in this specification , deprecates the Faces EL of its predecessors.

At a fundamental level, JSF is a way to get values from the user, into the model tier for processing.

See for more information.

JSF 1.2 API Spec

Migrating from JSF 1.2 to JSF 2.0: here

846 questions
0
votes
1 answer

Apache MyFaces Trinidad: header Alignment tags inside a

I'm trying to create simple table with header align to left OR right In case of numeric the header should align to right otherwise to left. This is my code:
JohnSmith2
  • 47
  • 1
  • 11
0
votes
1 answer

JSF 1.2 - Unable to find component (...) We'll try to return a guessed client-id anyways

First of all, I'm working under JSF 1.2 / Richfaces 3.3 / Tomahawk 1.1.9 . I have this piece of code inside one JSF page (simplified): (...)
jmrodrigg
  • 600
  • 6
  • 24
0
votes
1 answer

Embedding a link (or other html) in a JSF (1.2) message(s)

According to this Question... Embedding a link (or other html) in a JSF message ... and a relating blog post from BalusC... http://balusc.blogspot.ch/2010/07/using-html-in-jsf-messages.html ... I only have to remove the import and the annotation of…
Ed Michel
  • 898
  • 1
  • 11
  • 23
0
votes
0 answers

How to prevent XSS attack when h:outputFormat is used with escape=false?

Am using JSF 1.2. I want to display a message to User which reads like this "Please click here to login with your new password." Code in my xhtml page, And below is…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

how could I call Richfaces.showModalPanel from my Managed Bean?

Is there any possibility to do this call from my action return? For example: public String myActionMethod() { // do some stuff here.. return "Richfaces.showModalPanel('myModal')"; }
rodrigocprates
  • 498
  • 6
  • 22
0
votes
0 answers

How to get Request object in CustomPhaseListener?

Am hitting my Servlet from a link. Some Cookies would have been already set in Client. When my Servlet is hit, I want to retrieve these Cookies. For eg., am hitting the link like http:/myDomain/myServlet/ServletReceiver In web.xml, I have below…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
2 answers

Creating column extendable tables in JSF

I wanna create a table where I should hide some columns. Whenever I click on an arrow or some button The hidden columns should be display along with original columns in that table. For example, I have 20 columns, I don't need show all the columns…
sankar
  • 181
  • 1
  • 2
  • 12
0
votes
1 answer

JBoss Seam only allow Parameters via POST

I'm using JBoss 4.2 with Java Seam and in my application there is an login-form implemented. Now if I submit the form in the GUI the Parameters will be sent via HTTP-POST, but if I try to send the Data via HTTP-GET it will be accepted too. That…
MGubler
  • 369
  • 4
  • 15
0
votes
1 answer

How does xmlns:h="http://java.sun.com/jsf/html" work?

As per this post, I tried to find out html_basic.taglib.xml file in jsf-impl.jar (as per answer from BalusC). There doesn't exist any xml file html_basic.taglib.xml. However, there are other xml files like jsf-ri-runtime.xml, xml.xsd which doesn't…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

Not able to retrieve Session attributes in JSP

I have JSF 1.2 based Servlet. Am setting Session attributes in bean of my Servlet. Bean is in Request scope. In this Servlet there is a link. When this link is clicked it calls another Servlet. This 2nd Servlet is not JSF based. It just contains one…
Vikas V
  • 3,176
  • 2
  • 37
  • 60
0
votes
1 answer

JSF 1.2: selectOneRadio with a4j:support doesn`t work as expected

Hi I have the following code snippet. The idea behind it is that I want to have a choise and depending on that choise I want to render some additional fields on the form. So if user answer "Yes" then he should fill additional fields. This…
bary
  • 1,699
  • 2
  • 15
  • 24
0
votes
0 answers

Create new session in JSF 1.2

I have a login page, after entering the credentials and submitting I am copying the attributes of current session (let's say A) and invalidating it using ((HttpSession)…
Praneeth
  • 1,457
  • 5
  • 23
  • 36
0
votes
3 answers

JSF 1.2 File upload

I am using tomahawk file uploader functionality in my JSF 1.2 using "t:inputFileUpload" tag. But it seems tomahawk is not compatible with JSF 1.2, and it works only with JSF 2.0 and above. Can someone confirm this. Also it would be great if someone…
swapnil chorghe
  • 159
  • 1
  • 5
  • 11
0
votes
1 answer

Loosing url parameters after closing rich:modalPanel

We've got a modal panel users can upload an image on. The image upload doesn't work with an ajax submit, so we are using h:commandLink to submit. Unfortunately this is causing our url parameters to disappear. Presently the view looks like this. …
Loren_
  • 2,597
  • 3
  • 20
  • 29
0
votes
1 answer

Tomahawk : t:outputText not working

Am using JSF 1.2 and am trying to implement Captcha as per this link So, my first objective is to get "Hello world" text using t:outputText to check if Tomahawk is working fine or not. My JSF 1.2 based Servlet deploys fine in Jboss AS 5.1.0. But,…
Vikas V
  • 3,176
  • 2
  • 37
  • 60