In my JSF page I have a combobox that updates a table when an item of the combobox is selected.
The table contains items with an edit link.
The problem is when the table is changed by the combobox you need to click twice on the link to go to the page. The first click just refresh the page.
Here is the xhtml:
<?xml version="1.0" enco...
I have an List of items which need to be displayed as a table. That table need to be repeated as a two-column grid where each cell contains the same table side by side where the right side is a continuation of the right side table, like so:
a|b|c a|b|c
-+-+- -+-+-
1|2|3 5|6|7
x|y|z n|m|o
..... .....
How can I achieve this?
...
Hi,
I have to integrate the Moneybooker Payment Service to an existing Seam Application. Regarding to the documentation, I have to pass parameters to moneybookers via POST.
My question is, how to pass parameters via POST to an external website? I know I am able to redirect to an external website via "FacesContext.getCurrentInstance().g...
Hi,
Here is the situation I'm at right now. I have a list of requests on my bean such as
public void processUpdates {
for (MyRequest req: requests) {
facade.process(req);
}
}
Currently, in the front-end, I have a showing each request and its process status in 2 columns. I can display the status after all requests have been p...
We're considering experimenting with a new Java framework for building some internal web apps. We have a mixture of Perl/Ruby/Java programmers and are trying to standardize as much as possible. I'm familiar with what each of the following bring to the table, but am unclear on what the actually learning curves are and how they compare:
...
How to create custom component in dorpdown ? requirment is dropdown with next and previous functionalities.
dropdown have list, we choose the list as well using next and previous button choose list from drop down.
this is jsf dropdown , how to implement the next and previous functions in the dorpdown.
(previous)< (dropdown) >(nex...
I need to display a BufferedImage object on page. How to do that ?
I'm thinking about saving temporary file in WEB-INF and get that image as resource. Is this a right way ?
...
I have two web application projects which are related. One is the website itself and the other one serves the static resources (css, JS) for the website.
I'm trying to run a native tomcat6 instance from IntelliJ and deploy the two exploded wars. When I run my configuration I get the following warning:
WARN [org.jboss.seam.jsf.SeamPhase...
Hi all,
We research the possibility to migrate from a classic ASP to Java-based Web Application (namely JavaServer Faces 2.0).The old ASP application make use of XSLT to render basic UI components und we would like to keep using of the most of XSL stylesheets.
We would like to use Cocoon for implementing xml pipelines.
Has somebody pra...
Hello Everybody!
i am now using JSF to develop for EJB3, it was read tip how to change URL friendly in JSF
http://balusc.blogspot.com/2007/11/friendly-urls-in-jsf.html
but i wonder how can i get parameter for my page
for example if i use JSP
i have code sample
if(("page").equals(request.getparameter("id"))
{
<jsp:include page...
I have created a simple JSF application, now must to connect to SQL Server and perform CRUD operations on those tables from database.
I was a .NET programmer and i don't know how to connect to SQL Server from JSF. I have read something about JNDI, but not understood well. My questions are:
where should JNDI be defined: on Tomcat or my...
Hi,
I randomly see the same error in the catalina.out log:
WARNING: SQL Error: 0, SQLState: 25P02
Sep 8, 2010 11:50:13 PM org.hibernate.util.JDBCExceptionReporter logExceptions
SEVERE: ERROR: current transaction is aborted, commands ignored until end of transaction block
org.hibernate.exception.GenericJDBCException: could not execute qu...
I am newbie in JSF 2.0, I worked in JSF 1.1 and 1.2 and I populate selectOneMenu in constructor of Managed bean's page. For when users to acces to page the List is populate. example below. I put the same in JSF 2.0 but is not work, the selectOneMenu appears empty.
<h:selectOneMenu id="cboStatus" value="#{PersonBean.idStatus}">
<f:sele...
how can I dynamically create html components in Jsf2. I have to make a dynamic form which is to be filled by user, so I am not getting how can I manage, I have to use JavaScript or what??
I am using richfaces too.
...
I want to render 6 blocks on a page asynchronously using richfaces a4j support.
To accomplish this I have defined 6 a4j:region components and an a4j:commandLink for manual refreshing of the components.
Here is the relevant code:
<ui:define name="body">
<h:form id="dashboardform">
<div class="table_container" style="width:99%">...
I've got some code that looks similar to this:
<h:outputLink value="#{bean.url}" />
But the output contains an apostrophe in the link href which is not URL encoded.
Am I doing something wrong or is this normal behaviour for outputLink? Thanks in advance.
(JBoss 4.2, Java 1.6)
...
I have a back-end method that ADDS the 'Please Select One' for another part of the application.
@SuppressWarnings("unchecked")
public List<SelectItem> getEcometryItemStatusCodes() {
List<SelectItem> retVal = new ArrayList<SelectItem>();
try {
retVal.add(new SelectItem(null, "Please Select One"));
List<Ecomet...
Can you tell me how to find out which version of Richfaces I am running?
I need to know if I have jQuery already installed so perhaps a way to test that would help as an answer as well.
I am using Version: 2.1.0.GA of JBOSS Developer Studio.. if that helps.
...
I'm using the h:graphicImage tag in JSF. Is there a way to show a blank image (i.e. blank.jpg) if there is a broken or not found image?
...
Hi,
I am building a JSF applcaition.
I defined the GUI and did the select statements query the database using select.
Now i must do the insert statements but i don't know how to read the value of a h:inputText and send it to my bean which performs the insert.
Should h:inputText value be mapped throught faces-config , so i can have i...