File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes JSF Code not working on Windows 7 Ultimate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Code not working on Windows 7 Ultimate?" Watch "JSF Code not working on Windows 7 Ultimate?" New topic
Author

JSF Code not working on Windows 7 Ultimate?

Jean Michel Estrada
Greenhorn

Joined: Apr 25, 2013
Posts: 1
Hello everyone

Well, I'm new and I come here because I really need help with a problem I'm facing, I'm really desperate.

A few days ago, I changed my laptop, I was working on Windows XP, and now I'm on Windows 7 Ultimate, I know this might not seem relevant, but you'll see

I have a code like this:

<p:commandButton id="showReport"
action="#{reportBean.generateReport}"
value="Ver Bitacora"
ajax="true"
onstart="showWorkingIndicator(1)"
oncomplete="redirect()">

<f:param name ="revisionDate" value="#{trackingBean.revisionDate}"/>
</p:commandButton>

This code has worked well since I did it, It's even deployed in production and QA enviroment and it works, but now that I have a new laptop, this code does not work! and the strangest part is that after some debugging i found the method reportBean.generateReport only gets called when I remove the f:param tag! How is this posible? My only bet is the OS, but I guess it doesn't matter, because java is a vm... I don't know, I just don't understand what happened because my other projects (stand-alone) work fine.

Do yo know anything about this? Do you have any ideas? I already tried everything, uninstall and re-install from jdk (6.26), eclipse (Indigo) and tomcat(6.36) but nothing works (these were the things I was using before changing my laptop). I have other web projects with JSF that have issues as well, please someone help!

Thanks in advance and Regards.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

Welcome to the JavaRanch!

I agree. There is no obvious reason why this code should not operate properly on any OS supporting J2EE.

I am not a big fan of parameters being submitted from JSF Views, but I don't see any action defect in the statement.

You might have some sort of obscure PrimeFaces bug making it not work right, but that's about my best guess.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF Code not working on Windows 7 Ultimate?
 
Similar Threads
Java versions
JSF SessionScoped Beans
ActionListeners not working when valdation is used.
The class '...' does not have the property '...'.
Passing object from JSF to MB