Here is jsf code:
<h:commandLink id="previewlink" value="#{msg['report.preview']}" target="_blanc">
<f:param name="printpreview" value="#{previewTitle}"/>
</h:commandLink>
When I press the link new page is opened in a new tab and works fine but parent page becomes blocked (i.e. none of its commandLinks work). In Firefox everythin...
To handle viewExpiredException in JSF, I coded
<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/error.html</location>
</error-page>
<session-config>
<session-timeout>1</session-timeout>
</session-config>
in web.xml.
In error.html I have redirected to original login pag...
I have created a Java webapplication containing a tobago sheet. I am now trying to override the sorting mechanism of the sheet by using the sortActionListener attribute.
When I click on a column my sorting method is started. I can read out the column name and do some SQL stuff to get the data I would like to display now. The sorting is...
Hi there,
I have done some work with JSF(using netbeans as the IDE) and within your jsp/xhtml file you get code on beans/resource bundles that your have defined.
ATM I am investigating struts2 and seem to be unable to get similar functionality in the IDE. Is this just the case with the IDE or do I need to define something?
Thanks
...
Hello,
i start with the programming of a JSF Website. At the moment all files have the .xhtml ending. When i go to http://localhost:8080/myProject/start.jsf everything is all right. But when i rename the file from start.xhtml to start.jsf i became a NoClassDefFound Error.
What is my mistake?
<servlet-name>Faces Servlet</servlet-name>...
Hi all,
I just started to get into the door of the Java world. I have been programming in C# for the last 3 years, and been doing about 3 months of ASP.Net MVC. I absolutely love it, but the fact that I need Windows for it to run the latest and greatest libraries is a bit of a turn down... Plus I think learning another language helps wi...
I found a problem when using the h:commandLink in a page included by Tiles, the action/actionlistener associated with the h:commandLink is simply not being invoked. Is there any solution?
Note that there are no validation errors or such any other error.
...
Is it actually possible to pass any data between managed components in JSF? If yes, how to achieve this?
Could anyone provide any sample?
...
hi i have the following code and i want to display items.date Value in Bold on my UI is there any attribute for making My Value Bold any help pls
thanks
...
i integrate a flex app in a jsf-icefaces app (in a jspx site with the ice:outputmedia-tag) and want to access the same instance of a bean from flex by remote, that jsf inject.
i already connect with blazeds to a java-bean. this bean - like all other beans - get other beans by injection of jsf, but when i access the bean by remote from f...
Hi,
I have been trying to achieve this functionality of expand/collapse of table rows using core JSF and also I have to preserve the sorting. Is there a way in core JSF where I can achieve this functionality?
...
Is it possible to progrmmatically generate id for the <tr> in datatable?
...
Can we sort values in column of a panelGrid. If yes, can I see an example
...
I was wondering how could I be able to show users warning or information to refine the search if their search result exceeds 100. For example: if the search results are more than 100 then display only hundred and show users warning to refine the search, in JSF/datatable.
Any help would be highly appreciated. Thanks
...
How to activate eclipse (3.5, WTP) content assist in .xhtml pages for JSF (1.2) tags, using facelets?
It works in .jsp files, but not xhtml.
I google a lot, and in many places (including MyFaces wiki) it is said - "Eclipse can't work with xhtml and facelets"
Since this works with .jsp files, I assume there might be some mechanism with ...
Hello,
I haven't used Spring, but it sounds like it is fairly popular. I heard that it provides alternate ways of doing things, such as being able to consume RESTful web services. Does anyone know if provides similar features as those introduced by JSF 2, or would I be comparing apples to oranges?
Edit:
Thanks for the information. ...
Hi,
I'm trying to implement a JSF selectOneMenu item with a backing bean holding
the selection. The problem is that the selectedItem is always null. Here
is the code:
.xhtml:
<h:selectOneMenu
value="#{componentFilterBean.selectedItem}">
<f:selectItems value="#{componentFilterBean.projects}" />
</h:selectOneMenu>
...
I was wondering if is it possible to external link - something like domain.tld/jsfview - to a specific jsf view/page.
I don't want the start page of my jsf app, which would be triggered by
<navigation-rule>
<navigation-case>
<from-outcome>start</from-outcome>
<to-view-id>/jsf/index.xhtml</to-view-id>
</navigation-case>
</na...
There is a bundle for JSP/JSTL, which can be deployed on Equinox OSGi Framework and can be used by other bundles then:
org.eclipse.equinox.jsp.jstl_1.0.0.jar
Is there also a bundle for JSF, so i can use JSF components in my bundles?
I really need to solve this issue, because i have to transform an extisting JSF Web Application to an O...
I have some properties file in WEB-INF. And I want to load it as a bundle. Is there any way to do that?
...