• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Code not working on Windows 7 Ultimate?

 
Jean Michel Estrada
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic