tony altaico

Greenhorn
+ Follow
since Jan 31, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by tony altaico

Hello

I implementrd many samples for restful web service posting method unit test. Could you please advice me a sample for post test?

Cheers
7 years ago
Hello

I have a major problem with treeTable of primefaces.

When I click once in treetable i can see rows without any problem as listed in database.

But when I click subrow more than once then I see subrows duplicated. When I refresh the page, duplicate rows disappeared. I think the problem comes with the view as the duplicated rows do not reside in DB. I would be glad if you can help me. You can see the code for treeTable and nodeExpand below.

Regards
Alper Kopuz

tree.xhtml



TreeBean. java onNodeExpand



7 years ago
JSF
From the forums that I followed I tried some ways to find a way to deploy mutliple wars using tomcat plugin in maven but I could not succeed.

I created a third project and used three projects in order to deploy them but I have not done it. Could you please tell me way to do it ?

Best Regards Alper Kopuz

Here is the pom.xml that I used :

9 years ago
I implemented a javascript library's already implemented RadarChart in order to use PrimeFaces.

Cheers
Alper Kopuz
9 years ago
JSF
Hello

I need to use rowIndexVar at every loop of dataGrid. Unforutunately, it does not work when I use on p:dataGrid. It always shows up " 0 " even i have 16 elements in my dataGrid. It works sucessfully on p:dataTable however it always shows up 0 on dataGrid. You can find the simpleCode below. Any assistance will be appreciated.

Cheers
Alper Kopuz

9 years ago
JSF
Hello

JSF has radar chart component with it or have you ever implemented radarchart by using jsf ?

I would be glad if you can provide me some sample..

Thanks a lot..

Cheers
10 years ago
JSF
Hello

I am not able to change the css of f:selectItems inside rich:select. I can change CSS of rich:Select successfully unfortunately I do fail when I try to change f:selectItem. You can see the code.. Any help will be appreciated.

Best Regards
Altaico

10 years ago
JSF
Hello

For a job, I have to use only IE8 as a browser. When I use a4j:ajax event it gives me "Object expected" error and in IE8 Developer tools it tells that this "Object Expected" comes from rich:messages that I used before.

This issue only happens in IE8 and it happens when I use a4j:ajax event. Even when I use only <a4j:ajax event="dblclick"> without any other tag, I still come across with "Object Expected" javascript error which comes from rich:messages .. You can see code of the exact poing where error happens and my <rich:message> declaration below.




Error :
Object Expected
;new RichFaces.ui.Message("j_idt374",{"forComponentId":"sarfTuruId","showSummary":false,"showDetail":true} )

Rich Message declaration:


Any assistance you can provide would be greatly appreciated.

Cheers
Altaico
10 years ago
JSF
Hello

For a job, I have to use only IE8 as a browser. When I use a4j:ajax event it gives me "Object expected" error and in IE8 Developer tools it tells that this "Object Expected" comes from rich:messages that I used before.

This issue only happens in IE8 and it happens when I use a4j:ajax event. Even when I use only <a4j:ajax event="dblclick"> without any other tag, I still come across with "Object Expected" javascript error which comes from rich:messages .. You can see code of the exact poing where error happens and my <rich:message> declaration below.




Error :
Object Expected
;new RichFaces.ui.Message("j_idt374",{"forComponentId":"sarfTuruId","showSummary":false,"showDetail":true} )

Rich Message declaration:


Any assistance you can provide would be greatly appreciated.

Cheers
Altaico
10 years ago
JSF
When I move from one page to another page I come across following error : I did not understand the reason. Could you please let me know why the problem occurs?

Error:

10:48:45.750 ERROR [http-8080-1] com.compugroup.application.MyExceptionHandler - JSF exception handling:
javax.faces.FacesException: null
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:86) ~[jsf-impl-2.0.6.jar:2.0.6-FCS]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) ~[jsf-impl-2.0.6.jar:2.0.6-FCS]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.0.6.jar:2.0.6-FCS]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508) [jsf-api-2.0.6.jar:2.0.6-FCS]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:6.0.35]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35]
at com.compugroup.application.CustomCharacterEncodingFilter.doFilter(CustomCharacterEncodingFilter.java:23) [CustomCharacterEncodingFilter.class:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:6.0.35]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:6.0.35]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:6.0.35]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:6.0.35]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:6.0.35]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:6.0.35]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote.jar:6.0.35]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602) [tomcat-coyote.jar:6.0.35]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote.jar:6.0.35]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_31]
Caused by: java.lang.IllegalArgumentException: null
at org.richfaces.component.AbstractTogglePanel.getChildName(AbstractTogglePanel.java:502) ~[richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at org.richfaces.component.AbstractTogglePanel.isActiveItem(AbstractTogglePanel.java:493) ~[richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at org.richfaces.component.AbstractTogglePanel.processDecodes(AbstractTogglePanel.java:213) ~[richfaces-components-ui-4.0.0.Final.jar:4.0.0.Final]
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1047) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1047) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1047) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at javax.faces.component.UIForm.processDecodes(UIForm.java:216) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1047) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1047) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:926) ~[jsf-api-2.0.6.jar:2.0.6-FCS]
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) ~[jsf-impl-2.0.6.jar:2.0.6-FCS]
... 18 common frames omitted
10 years ago
JSF
Issue has been fixed by not using popup.

Cheers
Altaico
10 years ago
JSF
Hello Tim

Sorry for late message.. Unfortunately, I have to use popup window. Think about you have two forms and you have to render other form's textarea when you click a button at another form(popup window).

It means when I click a button at the popup window, I will render the message at the previous page(or form) where I opened popup window(popup form) by clicking a button.

I hope I am clear. I have to find a solution to this problem asap. Any help will be appreciated. Please inform me if it is not clear.

Best Regards
10 years ago
JSF
Hello

I have two xhtml pages which one xhtml page is opened by clicking first one's button and as a result of this click a popup window(second form) opens. At this new form which was opened as a popup I want to render first forms's panel when I click a button in the popup window.

Do you think is it possible ? (by the way i am using jsf 1.2)

I tried to be clear as I can do but if not I will explain it with codes if it is still not clear.

Cheers
10 years ago
JSF
Is it possible to t:pannelTabbedPane work automatically when it is been called first time ?

Or is it possible to give an action to t:panelTab when the user displays t:pannelTabbedPane first time ? I use selectedIndex="0" and tabChangeListener="#{collection.processTabChange}" ..Unfortounately , in order to run processTabChange function , a tab needs to be clicked. I want to make it automatically when user displays pannelTabbedPane at first it means I can make this function run when page loads at first time ? I would be appreciated if you can help me . You can find my pannelTabbedPane implementation below.

Cheers

10 years ago
JSF
Hello

I have a calculate method in java which needs to be run when the jsf page loads. What I need to use in my jsf page to make this function run once when the jsf page loads at first ?

In order to fix it I have written by function inside <h:outputText> but that's not the clear or absolute solution. Any assistance will be appreciated.


Cheers


Here is what I did to resolve it but that should not be the exact solution. Calculate methods works inside getMessage() function.


10 years ago
JSF