I am new to JSF2 and would like to know something from a design perspective.
For e.g. if we have multiple multiple usecases based on various actor types, which is better way in terms of design by considering below two scenarios?
e.g In a module having total usecases count say 10,
(Scenario 1) in this scenario for 1st & 5th usecase(UC)...
Hi!
Found strange problem, possibly bug.
I have 2 identical web-pages with Richfaces:suggestionbox.
On the first one my suggestionBox is doing well, everything works fine, but on another one i have some problems. SuggestionBox doesn't show my suggestions. In logs i have something like this:
WARNING: No component found to process as '...
I have a rich:extendedDataTable inside a rich:tab.
I want to refresh the table dataSource everytime that the table is rendered. It is rendered everytime that the tab is selected.
In a nut:
View:
<rich:tab>
<rich:extendedDataTable data="#{myData.data}"/>
</rich:tab>
Bean:
public class MyData{
List data;
public MyData(){
data = t...
<rich:calendar id="orderpickDate" oninputfocus="check(#{myForm.packingListId})"
When creating a calendar you get an input field and an img that popups the calendar.
In the js function I can disable the input field:
function check(packId) {
var canEditThisDate = true;
// canEditThisDate = true/false <-- checked using jQuery.ajax...
How to get layout like the following using h:selectOneRadio encapsulated within a rich:dataTable
row1 col1 col2 col3
row2 radio1 radio1 radio1
row3 radio2 radio2 radio2
...
We have a rich:comboBox on a JSF page which has a valueChangeListener that calls a backing bean function:
<rich:comboBox id="cbmodel" defaultLabel="${accessUtils.activeRole}" value="${accessUtils.activeRole}"
style="float: right;" valueChangeListener="${accessUtils.valueChangeListener}" >
<c:forEach var="role" items="${accessUtils....
Using richfaces fileUpload component has some issues when displaying custom labels containing chars like ö, ä, ü ...
DO_ADD=Hinzufügen
<rich:fileUpload id="upload"
fileUploadListener="#{controller.upload}"
maxFilesQuantity="1"
immediateUpload="true"
allowFlash="false"
acceptedTypes="csv"
addControlLabel="#{msgs.DO_AD...
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...
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.
...
Using richfaces 3.3.0 we have a rich:dataTable with sortyBy's in the rich:column components and with a rich:dataScrolling component.
These allow the user to sort the table in any way they want and go through the pages, all in client memory.
Usually our users spend a long time looking for a certain row by sorting and browsing the pages,...
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 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.
...
Is it possible to expand/collapse a subtable in a datatable? My subtable contains info relating to the row above it and I would like to show/hide onclick of an image. Just wondering how I'd go about it?
This is what I'm currently using:
<rich:dataTable value="#{accountsBean.musicboxes}" var="currentMusicBox">
...
We use the ExtendedTableDataModel for paging. This is done to retrieve a set of results with Hibernate and load the next set when another page is requested.
All works fine, but if we sort columns by using rich:column sortBy within the rich:dataTable then RichFaces tries to load all rows. We can see this while debugging the getItemsByRa...
Is there a way to make a progess/loading bar while a JSF page is loading (something like the thing google has when you're loggin into gmail, the thin bar in the top left hand corner)?
...
I have a form of the following type:
<rich:dataList var="var" value="#{bean}" styleClass="styleClass"><h:form>
<h:commandLink value="#{var.prop}" action="#{bean.action}">
<a4j:actionparam name="var" value="#{var.id}" assignTo="#{bea.sel}" />
</h:commandLink>
Now, this is all fine in Firefox and IE 7. However, in IE 8 it cre...
We have the following rich:ComponentControl:
<rich:componentControl event="onRowClick" for="ctxMenu" operation="show">
<f:param value="#{item.hasDocuments}" name="hasDocuments" />
</rich:componentControl>
The value of #{item.hasDocuments} is being successfully passed from the bean as either true or false.
Here's the contextMenu which...
Hi!
For a while now, I've been working on a JAVA-based web project, and have found this website to be very helpful on numerous occasions.
So, 'got some problems of my own now - and would appreciate if you help out!
Ok, so Here's the thing -
I'm trying to render a list of messages, each of which consists of a message title and a message...
Hello guys, I have some problem evaluating expression in a Facelets component defined in a .taglib.xml
SortField2.getExpression()
gives me the value "#{sortBy}" instead of evaluating the value.
My component (a simple column) is defined as:
<ui:composition>
<rich:column sortBy="#{sortBy}" width="#{width}" styleClass="#{style...