java - Problem using richfaces to blind up and blind down -
Using JSP and Richface should be blinded by search detection when the "Run search" button is clicked and the result is broken Should be blind
& lt; Div id = "paper" & gt; & Lt; F: View & gt; & Lt; H: form & gt; & Lt; Div id = "benchmark" & gt; & Lt; Rich: panel header = "search" & gt; & Lt; H: Input Text = "# {Been.}}" Id = "name" & gt; & Lt; H: = "name" value = "Enter name for output label:" /> & Lt; / H: inputText> & Lt; A4j: Command Button Value = "Run Search" action = "# {Bean. Cross Search}" onclick = "Hide ({Duration: 0.8}); Show Result ({Delay: 1.5, Duration: 0.5});" Rerender = "searchresultstable" & gt; & Lt; / A4j: CommandButton & gt; & Lt; / Rich: Panel & gt; & Lt; / Div & gt; & Lt ;! - End criteria - & gt; & Lt; Rich: Impact Name = "hideCrit" = "Criteria" Type = "Blindup" /> & Lt; Rich: Effects Name = "showResult" = "Result" Type = "Blinddown" /> & Lt; Div id = "result" style = "display: none;" & Gt; & Lt; A4j: command button id = "searchbetton" value = "back to search" onclick = "hideResult ({duration: 0.8}); showCrit ({delay: 0.9, duration: 0.5});" Render = "search-realtstable" /> & Lt; Rich: panel header = "result" & gt; & Lt; Rich: DataTab ID = "Search-Resetable" value = "# {Bean results}" var = "req" style class = "datatable" line classes = "oddero, veer" & gt; & Lt; F: Aspect Name = "Header" & gt; & Lt; Rich: columnGroup & gt; & Lt; H: column & gt; & Lt; H: output text style class = "header text" value = "name" /> & Lt; / H: column & gt; & Lt; / Rich: columnGroup & gt; & Lt; / Ch: Aspect & gt; & Lt; Rich: columnGroup & gt; & Lt; Rich: Columns & gt; & Lt; H: output text value = "# {req.name}" /> & Lt; / Rich: Columns & gt; & Lt; / Rich: columnGroup & gt; & Lt; / Rich: DataTable & gt; & Lt; / Rich: Panel & gt; & Lt; / Div & gt; & Lt ;! - End result - & gt; & Lt; Rich: = "Criterion" type = "blinddown" /> Effect name = "Show Crit" for & lt; Rich: Effects Name = "Hide Result" = "Result" Type = "Blindup" /> & Lt; / H: form & gt; & Lt; / Ch: view & gt; & Lt; / Div & gt; & Lt ;! - End paper - & gt; I'm running this on the Tomcat web server.
There are included libraries:
- JSF 1.2
- JSTL 1.1
- Commons-Binoot ils-1.7.0.jar <
- Commons Collection - 3.2.jpg
- Commons-Lang-2.2.jar
- Commons-Logging-1.1.1.jar
- mysql -connector-java-3.1.1.jar
- richfaces-api-3.3.0.GA.jar
- richfaces-impl-3.3.0.GA.jar
- richfaces-ui-3.3.0.GA.jar
I'm getting two errors.
On this load:
element.dispatchEvent function is not
and when the "Run search" button is clicked.
element.makeClipping function is not
edit It seems that other rich components do such work, however, I have tried many like such fade and they do not work.
Thanks,
original file:
& Lt ;? XML version = "1.0" encoding = "UTF-8" ? & Gt; & Lt; Reference Antigar Logging = "True" Path = "/ Project" />
The antiJARLocking parameter was not something I had recognized, so I removed it and now everything works fine.
New file:
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Reference path = "/ project" & gt; Thanks for all input.
Comments
Post a Comment