Hi,
For a registration form I have something simple like:
<tr:panelLabelAndMessage
label="Zip/City"
showRequired="true">
<tr:inputText
id="zip"
value="#{data['registration'].zipCode}"
contentStyle="width:36px"
simple="true"
required="true" />
<tr:inputText
id="city"
value="#{data['registrat...
We're using MyFaces, Richfaces & Restfaces to build a website on top of Oracle Stellant CMS. We're not using Site Studio. Are there any widgets/combination of widgets out there that could provide a unified navigation system? The site structure needs to be read from a DB table and CMS metadata fields, and we need a top tab menu, an expand...
I am using myfaces extension in JSF to use extended components. The component x:inputFileUpload is working for me. I tried to replace an h:dataTable component with myfaces x:dataList component to get rid of the table elements in rendered HTML. It seems as if this component is not able to see any properties from the backing bean. Here is ...
Hi,
Our app uses JSF RI 1.2 that ships with GlassfishV2. There was a fileupload component implemented successfully earlier using the myfaces extension. We had a requirement to do away with html table on a page which was being generated by h:dataTable component. I tried using the x:dataList component to replace the h:dataTable, but it ...
What options do I have to read the roles of the current user from my JSP pages? I'm aware of the visibleOnUserRole="myRole" attribute on Tomahawk components, but I need roles for a bit more complicated things than simple visibility.
...
I created a simple master/detail using myfaces and richfaces. By clicking a h:commandLink in the rich:dataTable the user is able to open the detail view and edit the entity.
Now I want to create a URL that allows the user to open the detail view directly. Normally I would to this by creating an URL like /detail.jsp?id=12 - how can I ac...
Hi all,
I'm having some trouble looping over a HashMap to print out it's values to the screen. Could someone double check my code to see what I'm doing wrong. I can't seem to find anything wrong but there must be something.
In a servlet, I am adding the following to the request:
Map<String, String> facetValues = new HashMap<String, ...
I'm migration from MyFaces 1.2.6 to JSF RI 1.2.
My application also use Facelets, Tomahawk and Richfaces.
Using MyFaces 1.2.6, it works without problemas.
Using JSF RI 1.2, I got some problems.
It keeps printing this error:
This page contains the following errors:
error on line 141 at column 36: xmlParseEntityRef: no name
Below is a ...
Hi Guys, Im a bit at my wits end here. Im getting the following in my logs when I try to render a JSF page:
java.lang.NullPointerException: serialFactory
at org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:182)
at org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:149)
at org.apache.myf...
hello
i have a problem with ajax4jsf library on ie7 it give me error 'A4J is undefined' but this error not appear on firefox and chrome
library which i used
myfaces1.1.5 and ajax4jsf1.1
Here is my web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="java.sun.com/xml/ns/j2ee"; xmlns:xsi="w3.org/2001/XMLSchema-...
Hi,
I'm using MyFaces 1.1.7 with Facelets and Tomahawk.
When creating a regular data table, like:
<h:dataTable value = "#{Datamanager.data}" var = "row">
<h:column>
<f:facet name = "header">
<t:div>
<h:outputText value = "Name" />
</t:div>
</f:facet>
<h:outputText valu...
Assume you want to create some form of web-dialog that allows you to do something. For instance querying for some information by filtering some selection criterias. This dialog might consist of a couple of textboxes, labels, comboboxes and buttons.
Now you notice that exactly THIS dialog needs to be used in different places. However, th...
Hi. I have this java web app running on spring framework with web flow. I tried integrating it with spring faces but I get this error in my config file
org.xml.sax.SAXParseException: The prefix "flow" for element "flow:flow-executor" is not bound.
Here's the stack trace
org.xml.sax.SAXParseException: The prefix "flow" for element "flo...
Even though i spend whole days developing a JSF application, i've never had any training on the matter and I have to admin I am a still confused how the whole JSF puzzle fits together. JSF just looks a bit thrown together to me.
jsf-api
jslt
facelets
myfaces
trinidad
tobago
jsp api
I'd be very grateful if anyone could give me a quick...
Hello,
I am new to java development and a customer uses MyFaces for MVC based website development. While I know the ASP.NET based MVC Framework from Microsoft and the possibility of easily adding new pages via IDE methods (context menues, wizards, etc.), in eclipse everything has to be done manually.
For adding a simple new website, I ...
Maybe, some performance comparison or some noticeable specific differences is what I want to know.
As I heard there is no really big difference. Hence, I've got one more question. For what purposes dozens of people spent their time to reinvent the wheel implement already implemented spec ones more?
...
I am new to Java and experiencing problems understanding exceptions thrown by the framework.
Right now, I am trying to implement a regular expression validator into an application consisting of Java 5 EE with myFaces 1.2 and Tobago running in an apache tomcat 5.5.
I followed a couple of tutorials (including the Java 5 EE tut from SUN) ...
two days ago i started using tomahawk ExtensionsFilter components im my jsf application.
i noticed that all javascript alerts were not displaying special characters (ç, ã, ó ô), it displays things like #231 instead.
When i remove ExtensionsFilter from my web.xml file, javascript displays allright.
Anybody had this issue before?
thanks i...
Hello,
I am using TomCat 5.5 with MyFaces 1.1 and am trying to implement a custom regex validation tag.
My RegExValidator class looks like this:
public class RegExValidator implements Validator, StateHolder {
private String regex;
private boolean transientValue = false;
public RegExValidator() {
super();
}
public RegE...
MyFaces Orchestra adds a ?conversationContext=x to each resource on a page. Since I'm not using the conversation scope for the public part of my project (only for the admin part), I'd like to get rid of that parameter for two reasons:
it breaks the browser caching of static resources
it's ugly :)
I'm now going to take a look at Orche...