Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Component are not getting repainted - Trinidad PPR

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have a .jspx file with following code

<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
xmlns:tr="http://myfaces.apache.org/trinidad" >

<jsp:directive.page language="java"
contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" />

<f:view>
<tr:document id="ppr">
<tr:form id="frm1">
<tr:subform id="subfrm1">
<tr:commandButton text="Do Something" id="myButton" partialSubmit="true" actionListener="#{myBean.doSomething}"/>

<!-- repaint the outputText any time 'myButton' has an event -->
<tr:outputText id="pprrecv" value="#{myBean.textValue}" partialTriggers="myButton"/>
</tr:subform>
</tr:form>
</tr:document>
</f:view>
</jsp:root>

When I check the debug messages, partial trigger is happening, but I am not able to see the changes in UI. The component is not getting repainted. I am struggling to use PPR functionality of trinidad. Any help would be appriciated.


Thanks in advance

Regards,
Pushpa
 
Pushpalatha Gowdra
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In continuation to my prevous mail, I am using
myfaces-api-1.1.7.jar
myfaces-impl-1.1.7.jar
trinidad-api-1.0.12.jar
trinidad-impl-1.0.12.jar

Regards,
Pushpa
 
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic