Hi, I'm trying to set up a norwegian version of a site built with JSF.
I know how to display my own messages based on what locale is set to, but I'm having trouble with the default messages (eg. when a form input is invalid). As far as I can tell, norwegian is not supported.
Does anyone know how I could overcome this?
e.g. by translatin...
Hi -
I am attempting to create a JSF page where the user selects values in two selectOneMenu components. The values in these selections will then be passed to a SQL query to update a table displayed on the page.
I've bound each of the selection items to an appropriate variable in the backing bean, but after changing the value selected...
Hi,
I worked hard on this problem but no way to find a solution.
I juste wan't to enable richfaces for one and only one HTML page.
Why ?
Because I use RichFaces on only one page.
Moreover I'm losing precious time on each others during the page loading due to JavaScript code that I don't use.
=> This code is add on each of my pages. I ...
While creating my first swf application with JSF integration, I get the following error : Unable to load class 'dataModel' when parsing my flow definition on the first request.
It appears that the FacesConversionService (the class that understands the 'dataModel' alias) is not invoked while trying to find a class for that alias, althoug...
I am receiving the following run-time error in the web browser (Firefox) when attempting to run a deployed Java servlet on a Linux server:
unterminated string literal
dojo.provide("webui.suntheme.browser");w...wGroupsContainer,_41f.rowGroups[i],"last
I believe the problem is related to webui-jsf-suntheme. I can confirm that the appl...
Is it possible to replace the standard error pages from JavaServer Faces such as
500 Internal Server Error
?
These include information such as the stack trace, etc. But for the users, when the page is in Production Mode, I want to show a friendlier page saying that the request did not succeed.
...
I am currently looking in to some file uploading using Java Server Faces. I've found this great introduction to it using RichFaces. However, I have some troubles understanding the process here.
First the user selects a file and if the immediate upload is set to true the file is processed using ajax, so far so good. When it comes to the ...
Hi,
I am using MyFaces Trinidad, and want to create a single page where selection in one table reloads the content of another table to match the selection.
The update is triggered by an actionListener in a partialSubmit. Then I wanted the listener in the backing bean to remember the row object of the submit, such that the getter for th...
For JSP and some JSF tags there is a tool called TLDdoc that generates JavaDoc-style documentation for the JSP and JSF tags.
Does anybody know an equivalent for Facelets? There is a tool called facelets-doc that aims to support Facelets but either it's not finished, or the lack of documentation doesn't mention how to make it work.
I ha...
I'm attempting to put a few drop down menus inside of an a4j:repeat. The values for the second drop down are dependent on the value selected in the first. Below is the code I am attempting to use, but it passes a blank parameter:
<a4j:repeat id="localRepeat" var="local" value="#{InstanceController.instance.locations}" rowKeyVar="row">...
hello
i want to get view content as String value
i used ViewHandler but no response?
Thank you.
...
Hi,
Is it possible to write nested JSF expression? If yes, please give me the syntax.
If No, Is there any possible work around ??
I need this as I need to display column in rich Datatable from hasmap.
<rich:column>
<f:facet name="header">
<h:outputText value="Item Number" />
</f:facet>
<h:outputText value="#{item.get('ke...
Good morning all.
Is there any jsf control that escapes the html tags?
Imagine that i have the following string in resources:
text.String=lalala<br/>lelele
and i want to print it on Xhtml file with a simple control like:
<h:outputText value="#{messages['text.String']}" />
how do i get the result formatted with the html <br/> tag...
I have a requirement where i need to generate an excel and attach it to a email and show it to the user for his confirmation. I am able to generate the excel and also able to open a email using JSF. But i am having trouble attaching the file. I am using h:outputLink for opening an email. Please help
...
I have a situation in my form that the user must fill at least one of the fields. Using "required" command, i cannot do that. What is the best way to validate this in seam ? i dont want to use javascript.
Thanks!
...
I have a small JSF app and would like to keep some state on the server, without using a DB. It will just be a small string for every user so I don't see the point in deploying an RDMS for that.
...
Hi All,
I have 6 rich columns inside a datatable.I have 3 h:outputext and 3 inplaceinput enclosed in 6 rich:column.rich:columns have "filteredBy" condition.When I filter the data , data displayed using h:outputtext is displayed properly.However data displayed using "inplaceinput" is not getting filtered.
Regards,
Vivek
...
Hello!
I'm having a hard time with a selectManyCheckbox.
Basically what I am doing is loading a List of Categories in a selectManyCheckbox type controller (have done this either with a List or with a List with convertEntity). My problem is with the selected elements (value="#{cardListProvider.categoriesHolder.selectedCategories}"). Afte...
Hi there.
Imagine that i have the following code:
<a:repeat value="#{bean.getList()}" var="x" >
<li class="la">
<span>
<img src="#{bean.getThumbImageUrl(x)}"/>
</span>
</li>
</a:repeat>
I'm receiving a List of elements on bean.getList(). For each element, i'm getting it's image and print it. On the <li> tag...
Hi. I have a tr:table with the rowSelection property set to "single". It draws a extra column with a radio buttons inside. But I want to change the text displayed at that column's header. I don't find any property that allow me to accomplish this. I guess I should overwrite some properties file but I haven't found anything on this topic ...