We create have a list - to be displayed under a panel of the screen where all the code in which the fields are repeatable are kept under a different xhtml file and while i am trying to render an image based on the listener's action for an ajax event i am getting some problem to update the image with id as JSF is generate an id with the index in the middle due to the use of ui:repeat. "repeatForm:repeat:2:redimage"
Now: to use it in a page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<title>Repeat Test Demo</title>
This ends up generating ids for the outputText field that look like: repeatForm:repeat:2:redimage. But because we're using the f:ajax tag, we only need to specify "redimage" - the tag takes care of the work of finding out what the real id is.
we are calling a method in the listener and set the value of boolean indicator to either true or false which is false by default.
and the indicator is used to render the image.
but when we are using this f:ajax to render the image based on the indicator value I am getting the error as "malformedXMLuring update repeatForm:repeat:2:redimage not found".
Please let me know why i am getting this error.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com