[JBoss JIRA] (RF-13127) onvalid and oninvalide pass wrong element when using rich:element with String field
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13127?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13127:
-------------------------------
Description:
I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
{code}
<h:inputText id="vendor" value="#{car.vendor}" valueChangeListener="#{car.valueChanged}">
<rich:validator oninvalid="valueModified(#{rich:element('vendor')}, false)"
onvalid="valueModified(#{rich:element('vendor')}, true)"/>
</h:inputText>
{code}
{code}
<script>
function valueModified(element, valid) {
// use element.style rather than jQuery as it
// does not set entire background
alert("valueModified: " + element.id + " | valid: " + valid);
element.style.background='yellow';
if (valid) {
jQuery(element).css("border-color", "lightgray");
} else {
jQuery(element).css("border-color", "red");
}
}
</script>
{code}
Some other tests I did while trying to debug are:
* I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
* The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
was:
I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
{code}
<h:inputText id="vendor" value="#{car.vendor}" valueChangeListener="#{car.valueChanged}">
<rich:validator oninvalid="valueModified(#{rich:element('vendor')}, false)"
onvalid="valueModified(#{rich:element('vendor')}, true)"/>{code}
</h:inputText>
{code}
{code}
<script>
function valueModified(element, valid) {
// use element.style rather than jQuery as it
// does not set entire background
alert("valueModified: " + element.id + " | valid: " + valid);
element.style.background='yellow';
if (valid) {
jQuery(element).css("border-color", "lightgray");
} else {
jQuery(element).css("border-color", "red");
}
}
</script>
{code}
Some other tests I did while trying to debug are:
* I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
* The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
> onvalid and oninvalide pass wrong element when using rich:element with String field
> -----------------------------------------------------------------------------------
>
> Key: RF-13127
> URL: https://issues.jboss.org/browse/RF-13127
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.3
> Reporter: Louis Parisi
> Attachments: JSFTemplate.zip
>
>
> I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
> {code}
> <h:inputText id="vendor" value="#{car.vendor}" valueChangeListener="#{car.valueChanged}">
> <rich:validator oninvalid="valueModified(#{rich:element('vendor')}, false)"
> onvalid="valueModified(#{rich:element('vendor')}, true)"/>
> </h:inputText>
> {code}
> {code}
> <script>
> function valueModified(element, valid) {
> // use element.style rather than jQuery as it
> // does not set entire background
> alert("valueModified: " + element.id + " | valid: " + valid);
> element.style.background='yellow';
> if (valid) {
> jQuery(element).css("border-color", "lightgray");
> } else {
> jQuery(element).css("border-color", "red");
> }
> }
> </script>
> {code}
> Some other tests I did while trying to debug are:
> * I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
> * The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13127) onvalid and oninvalide pass wrong element when using rich:element with String field
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13127?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13127:
-------------------------------
Description:
I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
{code}
<h:inputText value="#{myBean.myField}" id="myField">
<rich:validator oninvalid="valueModifiedAndError(#{rich:element('myField')})"
onvalid="valueModified(#{rich:element('myField')})"/>
</h:inputText>
{code}
{code}
<script>
function valueModified(element, valid) {
// use element.style rather than jQuery as it
// does not set entire background
alert("valueModified: " + element.id + " | valid: " + valid);
element.style.background='yellow';
if (valid) {
jQuery(element).css("border-color", "lightgray");
} else {
jQuery(element).css("border-color", "red");
}
}
</script>
{code}
Some other tests I did while trying to debug are:
* I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
* The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
was:
I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
{code}
<h:inputText value="#{myBean.myField}" id="myField">
<rich:validator oninvalid="valueModifiedAndError(#{rich:element('myField')})"
onvalid="valueModified(#{rich:element('myField')})"/>
</h:inputText>
{code}
Some other tests I did while trying to debug are:
* I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
* The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
> onvalid and oninvalide pass wrong element when using rich:element with String field
> -----------------------------------------------------------------------------------
>
> Key: RF-13127
> URL: https://issues.jboss.org/browse/RF-13127
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.3
> Reporter: Louis Parisi
> Attachments: JSFTemplate.zip
>
>
> I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
> {code}
> <h:inputText value="#{myBean.myField}" id="myField">
> <rich:validator oninvalid="valueModifiedAndError(#{rich:element('myField')})"
> onvalid="valueModified(#{rich:element('myField')})"/>
> </h:inputText>
> {code}
> {code}
> <script>
> function valueModified(element, valid) {
> // use element.style rather than jQuery as it
> // does not set entire background
> alert("valueModified: " + element.id + " | valid: " + valid);
> element.style.background='yellow';
> if (valid) {
> jQuery(element).css("border-color", "lightgray");
> } else {
> jQuery(element).css("border-color", "red");
> }
> }
> </script>
> {code}
> Some other tests I did while trying to debug are:
> * I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
> * The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13114) PoC: port RichFaces 4.5 UI Components to work with RichFaces 5
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13114?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13114:
------------------------------------
Are there any other global conflicts we will need to manage? How about creating an rf4 placeholder in the richFaces global?
{code}
RichFaces.rf4.ui
{code}
> PoC: port RichFaces 4.5 UI Components to work with RichFaces 5
> --------------------------------------------------------------
>
> Key: RF-13114
> URL: https://issues.jboss.org/browse/RF-13114
> Project: RichFaces
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Lukáš Fryč
> Assignee: Michal Petrov
> Fix For: 5.0.0.Alpha2
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> * open branches in own fork of
> ** richfaces5 (master)
> ** richfaces-components (4.5.x)
> ** richfaces-showcase (master)
> * modifications required
> ** change RF5 namespace -> http://richfaces.org/core
> ** change parents/bom in components 4.5 to depend on RF5 framework / build-bom
> *** remove all dependencies on 4.3.x (4.3.3-SNAPSHOT)
> ** change Java API of Components 4.5 to depend on RF5 Core API
> ** use the RF5 and RF4.5 UI Components in Showcase branch (4.5.0-SNAPSHOT)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13116) Using filters with paging / default filter value in extendeddatatable
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13116?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13116:
------------------------------------
Nice catch [~jhuska]!
> Using filters with paging / default filter value in extendeddatatable
> ---------------------------------------------------------------------
>
> Key: RF-13116
> URL: https://issues.jboss.org/browse/RF-13116
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: John Strandmyr
> Priority: Critical
> Labels: datascroller, extendedDataTable, filter
>
> I've got an extededdatatable from richfaces and if i add a default value to the filter, so that some rows are excluded on first rendering, and then change the filter to show the rows that were hidden, I don't get any calls to the actionlisteners on the rows that were hidden at first.
> It works fine on those rows that was shown in the first page load, but not on those hidden.
> The same issue appears when i use paging, and some rows are on page two. if i use the filter to show some rows from another page, the actionlistener isnt triggered. I can still click on those rows that was apparent on the first page, but not on the other pages.
> If I don't have a default filter, or a pager, i can add and remove filtering and everything is fine.
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:a4j="http://richfaces.org/a4j"
> xmlns:rich="http://richfaces.org/rich">
> <h:head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
> <h:outputScript name="jsf.js" library="javax.faces"/>
> </h:head>
> <h:body>
> <h:form>
> <rich:extendedDataTable value="#{tiltakServer.tiltak}" var="tiltak" id="tiltakTable">
> <rich:column filter="#{tiltakFilter.tittelImpl}">
> <f:facet name="header">
> <h:outputText value="Tittel" />
> <h:panelGroup styleClass="filter">
> <h:inputText value="#{tiltakFilter.tittelFilter}">
> <a4j:ajax event="keyup" render="tiltakTable@body" execute="@this"/>
> </h:inputText>
> </h:panelGroup>
> </f:facet>
> <h:outputText value="#{tiltak.tittel}"/>
> </rich:column>
> <rich:column>
> <f:facet name="header">
> Edit
> </f:facet>
> <h:commandLink value="Goto">
> <f:actionListener type="no.hmskontoret.hmskontoret.hendelsesregister.TiltakOnEditActionListener"/>
> </h:commandLink>
> </rich:column>
> </rich:extendedDataTable>
> </h:form>
> </h:body>
> </html>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13127) onvalid and oninvalide pass wrong element when using rich:element with String field
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13127?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13127:
-------------------------------
Labels: (was: waiting_on_user)
> onvalid and oninvalide pass wrong element when using rich:element with String field
> -----------------------------------------------------------------------------------
>
> Key: RF-13127
> URL: https://issues.jboss.org/browse/RF-13127
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.3
> Reporter: Louis Parisi
> Attachments: JSFTemplate.zip
>
>
> I have a bean iterated in a datatable. Using the rich:validator on fields in the bean I am executing javascript when a field is validated and apply styling based on valid or invalid state. The code below returns the correct element when the underlying field is a BigDecimal but intermittently returns the element from row zero and sometimes another rown when the field is a String. If I just reference a String vs. BigDecimal and display the element passed to the javascript I get form:myTable:4:myField for a BigDecimal field and always form:myTable:0:myField no matter the row for a String field.
> {code}
> <h:inputText value="#{myBean.myField}" id="myField">
> <rich:validator oninvalid="valueModifiedAndError(#{rich:element('myField')})"
> onvalid="valueModified(#{rich:element('myField')})"/>
> </h:inputText>
> {code}
> Some other tests I did while trying to debug are:
> * I passed the rowKeyVar to a javascript method in the onvalid event and it passed the correct row for a BigDecimal and always zero for a String field.
> * The oncomplete event of the validator does not seem to fire for a String field but does for a BigDecimal field.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13142) Showcase: mediaOutput sample is not working with MyFaces
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13142?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-13142:
----------------------------------
Assignee: Jiří Štefek
{quote}
java.lang.ClassNotFoundException: javax.faces.component.StateHolderSaver
{quote}
StateHolderSaver is a JSF API class. Are you sure you have the JSF API jars present on the classpath?
> Showcase: mediaOutput sample is not working with MyFaces
> --------------------------------------------------------
>
> Key: RF-13142
> URL: https://issues.jboss.org/browse/RF-13142
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.3.3, 4.3.4
> Environment: MyFaces 2.1.10
> Apache Tomcat 7.0.34
> Reporter: Jiří Štefek
> Assignee: Jiří Štefek
>
> The generated image from media output is not displayed.
> Stack trace from logs:
> {code}
> java.lang.ClassNotFoundException: javax.faces.component.StateHolderSaver
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:188)
> at org.richfaces.util.LookAheadObjectInputStream.loadWhitelist(LookAheadObjectInputStream.java:141)
> at org.richfaces.util.LookAheadObjectInputStream.<clinit>(LookAheadObjectInputStream.java:76)
> at org.richfaces.util.Util.decodeObjectData(Util.java:236)
> at org.richfaces.resource.DefaultCodecResourceRequestData.getData(DefaultCodecResourceRequestData.java:97)
> at org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:337)
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:156)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:129)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)
> {code}
> {code}
> java.lang.NoClassDefFoundError: Could not initialize class org.richfaces.util.LookAheadObjectInputStream
> at org.richfaces.util.Util.decodeObjectData(Util.java:236)
> at org.richfaces.resource.DefaultCodecResourceRequestData.getData(DefaultCodecResourceRequestData.java:97)
> at org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:337)
> at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:156)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:129)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:722)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13144) Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13144?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13144:
-------------------------------
Description:
this is my code in
{code}
<rich:calendar value="#{eventMaster.eventDate}"
popup="#{eventMaster.popup}"
datePattern="#{eventMaster.pattern}"
showApplyButton="#{eventMaster.showApply}"
cellWidth="24px"
cellHeight="22px"
style="width:200px"
disabled="#{eventMaster.disabled or eventMaster.viewMode}">
</rich:calendar>
<h:commandButton value="#{lbl['label.search']}"
action="#{eventMaster.searchOutputScreenRecords}"
id="evntrtys99rchhh"/>
{code}
now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
My Bean----
{code}
public Date getEventDate() {
return eventDate;
}
public void setEventDate(Date eventDate) {
this.eventDate = eventDate;
}
Action-------
public String searchOutputScreenRecords() {
this.searchVariableAvailable = true;
EventMasterOps opsObj = new EventMasterOps();
if (this.outputSearch != null) {
this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
if (this.outputList == null) {
this.massage = "No Search Record is found.";
}
}
}
{code}
In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
was:
this is my code in
{code}
<rich:calendar value="#{eventMaster.eventDate}"
popup="#{eventMaster.popup}" datePattern="#{eventMaster.pattern}"
showApplyButton="#{eventMaster.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"
disabled="#{eventMaster.disabled or eventMaster.viewMode}">
</rich:calendar>
<h:commandButton value="#{lbl['label.search']}" action="#{eventMaster.searchOutputScreenRecords}" id="evntrtys99rchhh"/>
{code}
now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
My Bean----
{code}
public Date getEventDate() {
return eventDate;
}
public void setEventDate(Date eventDate) {
this.eventDate = eventDate;
}
Action-------
public String searchOutputScreenRecords() {
this.searchVariableAvailable = true;
EventMasterOps opsObj = new EventMasterOps();
if (this.outputSearch != null) {
this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
if (this.outputList == null) {
this.massage = "No Search Record is found.";
}
}
}
{code}
In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
> Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-13144
> URL: https://issues.jboss.org/browse/RF-13144
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: base functionality
> Reporter: Asim Shaikh
> Assignee: Lukáš Fryč
>
> this is my code in
> {code}
> <rich:calendar value="#{eventMaster.eventDate}"
> popup="#{eventMaster.popup}"
> datePattern="#{eventMaster.pattern}"
> showApplyButton="#{eventMaster.showApply}"
> cellWidth="24px"
> cellHeight="22px"
> style="width:200px"
> disabled="#{eventMaster.disabled or eventMaster.viewMode}">
> </rich:calendar>
> <h:commandButton value="#{lbl['label.search']}"
> action="#{eventMaster.searchOutputScreenRecords}"
> id="evntrtys99rchhh"/>
> {code}
> now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
> My Bean----
> {code}
> public Date getEventDate() {
> return eventDate;
> }
> public void setEventDate(Date eventDate) {
> this.eventDate = eventDate;
> }
> Action-------
> public String searchOutputScreenRecords() {
> this.searchVariableAvailable = true;
> EventMasterOps opsObj = new EventMasterOps();
> if (this.outputSearch != null) {
> this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
> if (this.outputList == null) {
> this.massage = "No Search Record is found.";
> }
> }
> }
> {code}
> In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13144) Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13144?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13144:
------------------------------------
I should have read the comments before formatting the description.
+1 @lfryc for the referral to the forums.
> Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-13144
> URL: https://issues.jboss.org/browse/RF-13144
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: base functionality
> Reporter: Asim Shaikh
> Assignee: Lukáš Fryč
>
> this is my code in
> {code}
> <rich:calendar value="#{eventMaster.eventDate}"
> popup="#{eventMaster.popup}"
> datePattern="#{eventMaster.pattern}"
> showApplyButton="#{eventMaster.showApply}"
> cellWidth="24px"
> cellHeight="22px"
> style="width:200px"
> disabled="#{eventMaster.disabled or eventMaster.viewMode}">
> </rich:calendar>
> <h:commandButton value="#{lbl['label.search']}"
> action="#{eventMaster.searchOutputScreenRecords}"
> id="evntrtys99rchhh"/>
> {code}
> now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
> My Bean----
> {code}
> public Date getEventDate() {
> return eventDate;
> }
> public void setEventDate(Date eventDate) {
> this.eventDate = eventDate;
> }
> Action-------
> public String searchOutputScreenRecords() {
> this.searchVariableAvailable = true;
> EventMasterOps opsObj = new EventMasterOps();
> if (this.outputSearch != null) {
> this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
> if (this.outputList == null) {
> this.massage = "No Search Record is found.";
> }
> }
> }
> {code}
> In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months
[JBoss JIRA] (RF-13144) Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13144?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13144:
-------------------------------
Description:
this is my code in
{code}
<rich:calendar value="#{eventMaster.eventDate}"
popup="#{eventMaster.popup}" datePattern="#{eventMaster.pattern}"
showApplyButton="#{eventMaster.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"
disabled="#{eventMaster.disabled or eventMaster.viewMode}">
</rich:calendar>
<h:commandButton value="#{lbl['label.search']}" action="#{eventMaster.searchOutputScreenRecords}" id="evntrtys99rchhh"/>
{code}
now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
My Bean----
{code}
public Date getEventDate() {
return eventDate;
}
public void setEventDate(Date eventDate) {
this.eventDate = eventDate;
}
Action-------
public String searchOutputScreenRecords() {
this.searchVariableAvailable = true;
EventMasterOps opsObj = new EventMasterOps();
if (this.outputSearch != null) {
this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
if (this.outputList == null) {
this.massage = "No Search Record is found.";
}
}
}
{code}
In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
was:
this is my code in
<rich:calendar value="#{eventMaster.eventDate}"
popup="#{eventMaster.popup}" datePattern="#{eventMaster.pattern}"
showApplyButton="#{eventMaster.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"
disabled="#{eventMaster.disabled or eventMaster.viewMode}">
</rich:calendar>
<h:commandButton value="#{lbl['label.search']}" action="#{eventMaster.searchOutputScreenRecords}" id="evntrtys99rchhh"/>
now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
My Bean----
public Date getEventDate() {
return eventDate;
}
public void setEventDate(Date eventDate) {
this.eventDate = eventDate;
}
Action-------
public String searchOutputScreenRecords() {
this.searchVariableAvailable = true;
EventMasterOps opsObj = new EventMasterOps();
if (this.outputSearch != null) {
this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
if (this.outputList == null) {
this.massage = "No Search Record is found.";
}
}
}
In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
> Hello I have Rich :calender componemt Now I want to use it as input and call DataTable values from Table I am trying this but wont look like work
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-13144
> URL: https://issues.jboss.org/browse/RF-13144
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: base functionality
> Reporter: Asim Shaikh
> Assignee: Lukáš Fryč
>
> this is my code in
> {code}
> <rich:calendar value="#{eventMaster.eventDate}"
> popup="#{eventMaster.popup}" datePattern="#{eventMaster.pattern}"
> showApplyButton="#{eventMaster.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"
> disabled="#{eventMaster.disabled or eventMaster.viewMode}">
> </rich:calendar>
> <h:commandButton value="#{lbl['label.search']}" action="#{eventMaster.searchOutputScreenRecords}" id="evntrtys99rchhh"/>
> {code}
> now i wanted to call a action which will Search my Database(MySql) and display the records of selectedDate I ma calling it on commandbutton .I also write query above commandbutton works for h:inputText .Please help me in this regard
> My Bean----
> {code}
> public Date getEventDate() {
> return eventDate;
> }
> public void setEventDate(Date eventDate) {
> this.eventDate = eventDate;
> }
> Action-------
> public String searchOutputScreenRecords() {
> this.searchVariableAvailable = true;
> EventMasterOps opsObj = new EventMasterOps();
> if (this.outputSearch != null) {
> this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm);
> if (this.outputList == null) {
> this.massage = "No Search Record is found.";
> }
> }
> }
> {code}
> In this method this.outputList = opsObj.searchRecordsInDatabase(this.outputSearch, ConstantsUtility.searchOutputForm); I have write my query to find search inputs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 7 months