-
1. Re: Wine theme and datatable
ilya_shaikovsky Feb 4, 2008 6:50 AM (in response to tkalactomo)could you check this under demosite? Looks like it's normall there.. May be your own styles aplied wrong?
-
2. Re: Wine theme and datatable
tkalactomo Feb 5, 2008 2:41 AM (in response to tkalactomo)"ilya_shaikovsky" wrote:
could you check this under demosite? Looks like it's normall there.. May be your own styles aplied wrong?
Hy thanks for your reply...
I'v been debuging a lot and can't find the differences in my styles(between ruby and wine).
So,please can you connect to my app,here is the adresshttp://80.80.61.252:8080/kadrovska/.
username is: test
password is: test
Example:
Go to the program operators and you will see the datatable which is wrong.
And if you go to the start page again and chose program "Operator Settings",click to change theme "ruby" and after that get back to program operators you will see the correct datatable. -
3. Re: Wine theme and datatable
ilya_shaikovsky Feb 5, 2008 5:15 AM (in response to tkalactomo)yes.. able to see.
And what is strange - under any skin - table.xcss loaded fine.. But according to firebug - it's just not loaded under wine skin..
Please check server log.. may be there some additional info? -
4. Re: Wine theme and datatable
tkalactomo Feb 5, 2008 6:02 AM (in response to tkalactomo)I hope this will help...
If this isn't enough i will upload you a complete server log in txt file.
This is logged only from "authorization",changing theme and then going
to program operators with that wine theme.12:01:45,656 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:01 for uri: /kadrovska/core/Pocetna.orka 12:01:45,656 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:01:45,687 [http-127.0.0.1-8080-2] INFO Contexts:303 - starting up: org.jboss.seam.web.session 12:01:45,687 [http-127.0.0.1-8080-2] INFO Contexts:303 - starting up: org.jboss.seam.security.identity 12:01:45,781 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 141ms for uri: /kadrovska/core/Pocetna.orka 12:01:45,828 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:01 for uri: /kadrovska/core/Autorizacija.orka 12:01:45,828 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:01:46,062 [http-127.0.0.1-8080-2] DEBUG PrviPrviInsert:282 - CREATE 12:01:46,078 [http-127.0.0.1-8080-2] DEBUG PrviPrviInsert:284 - 1 12:01:46,250 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 422ms for uri: /kadrovska/core/Autorizacija.orka 12:01:46,281 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:01 for uri: /kadrovska/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12022093/popup.HtmlPopupRenderer/JSPopup.js 12:01:46,281 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:01:46,296 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 15ms for uri: /kadrovska/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12022093/popup.HtmlPopupRenderer/JSPopup.js 12:01:53,078 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:01 for uri: /kadrovska/core/Autorizacija.orka 12:01:53,078 [http-127.0.0.1-8080-2] DEBUG BaseFilter:205 - Incoming request has Content-Type header without character encoding: application/x-www-form-urlencoded 12:01:53,093 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:01:53,093 [http-127.0.0.1-8080-2] DEBUG PrviPrviInsert:282 - CREATE 12:01:53,093 [http-127.0.0.1-8080-2] DEBUG PrviPrviInsert:284 - 1 12:01:53,140 [http-127.0.0.1-8080-2] DEBUG LoginBean:54 - manager: org.jboss.seam.persistence.EntityManagerProxy@15c1e74 12:01:53,187 [http-127.0.0.1-8080-2] DEBUG SlusacEntiteta:28 - SET ATRIBUTES class orka.core.log.Log 12:01:53,187 [http-127.0.0.1-8080-2] DEBUG SlusacEntiteta:40 - ID 466 12:01:53,203 [http-127.0.0.1-8080-2] DEBUG SlusacEntiteta:51 - BRZINA SLUSAC ENTITETA POLJA 16 12:01:53,234 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 156ms for uri: /kadrovska/core/Autorizacija.orka 12:01:53,265 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:01 for uri: /kadrovska/core/Pocetna.orka 12:01:53,265 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:01:53,328 [http-127.0.0.1-8080-2] DEBUG BeginConversationEvent:43 - POSTAVLJEN OPERATER KONVERZACIJE 12:01:53,328 [http-127.0.0.1-8080-2] DEBUG BeginConversationEvent:48 - Usao u create binding 12:01:53,687 [http-127.0.0.1-8080-2] DEBUG PostavkeAplikacija:81 - OPER orka.core.maticni.operater.Operater@1bd2158 12:01:53,859 [http-127.0.0.1-8080-2] INFO ObavjestiBean:77 - Napunio obavijesti 12:01:53,875 [http-127.0.0.1-8080-2] DEBUG Fokus:35 - Postavljam fokus: null 12:01:53,968 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 703ms for uri: /kadrovska/core/Pocetna.orka 12:02:01,375 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:02 for uri: /kadrovska/core/postavke/PostavkeOperater.orka 12:02:01,375 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:02:01,406 [http-127.0.0.1-8080-2] DEBUG BeginConversationEvent:43 - POSTAVLJEN OPERATER KONVERZACIJE 12:02:01,406 [http-127.0.0.1-8080-2] DEBUG BeginConversationEvent:48 - Usao u create binding 12:02:01,406 [http-127.0.0.1-8080-2] DEBUG Teleport:26 - TELEPORT U KONVERAZACIJU OBJEKTA orka.core.postavke.PostavkeOperatera@1d4e21a KLASA class orka.core.postavke.PostavkeOperatera 12:02:01,687 [http-127.0.0.1-8080-2] DEBUG PostavkeAplikacija:81 - OPER orka.core.maticni.operater.Operater@1bd2158 12:02:01,890 [http-127.0.0.1-8080-2] DEBUG Fokus:35 - Postavljam fokus: null 12:02:01,953 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 578ms for uri: /kadrovska/core/postavke/PostavkeOperater.orka 12:02:03,625 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:02 for uri: /kadrovska/core/postavke/PostavkeOperater.orka 12:02:03,625 [http-127.0.0.1-8080-2] DEBUG BaseFilter:205 - Incoming request has Content-Type header without character encoding: application/x-www-form-urlencoded 12:02:03,625 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:02:03,718 [http-127.0.0.1-8080-2] DEBUG PostavkeAplikacija:81 - OPER orka.core.maticni.operater.Operater@1bd2158 12:02:03,796 [http-127.0.0.1-8080-2] DEBUG Fokus:35 - Postavljam fokus: forma:pocetnaStranica 12:02:03,843 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 218ms for uri: /kadrovska/core/postavke/PostavkeOperater.orka 12:02:06,468 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:02 for uri: /kadrovska/core/postavke/PostavkeOperater.orka 12:02:06,468 [http-127.0.0.1-8080-2] DEBUG BaseFilter:205 - Incoming request has Content-Type header without character encoding: application/x-www-form-urlencoded 12:02:06,468 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:02:06,578 [http-127.0.0.1-8080-2] DEBUG Konverzacije:98 - PREBACI NA POCETNU 12:02:06,593 [http-127.0.0.1-8080-2] DEBUG Konverzacije:103 - /core/Pocetna.jsp 12:02:06,593 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 125ms for uri: /kadrovska/core/postavke/PostavkeOperater.orka 12:02:06,609 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:02 for uri: /kadrovska/core/Pocetna.orka 12:02:06,609 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:02:06,640 [http-127.0.0.1-8080-2] DEBUG PostavkeAplikacija:81 - OPER orka.core.maticni.operater.Operater@1bd2158 12:02:06,687 [http-127.0.0.1-8080-2] DEBUG Fokus:35 - Postavljam fokus: forma:pocetnaStranica 12:02:06,750 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 141ms for uri: /kadrovska/core/Pocetna.orka 12:02:10,765 [http-127.0.0.1-8080-2] DEBUG BaseFilter:233 - Filter start request processing at 2008.02.05 12:02 for uri: /kadrovska/core/maticni/operater/PregledOperater.orka 12:02:10,765 [http-127.0.0.1-8080-2] DEBUG BaseFilter:275 - Filter request output to XML 12:02:10,781 [http-127.0.0.1-8080-2] DEBUG BeginConversationEvent:43 - POSTAVLJEN OPERATER KONVERZACIJE 12:02:10,781 [http-127.0.0.1-8080-2] DEBUG BeginConversationEvent:48 - Usao u create binding 12:02:10,781 [http-127.0.0.1-8080-2] DEBUG Fokus:30 - Settiram fokus: forma:inTraziIme 12:02:10,921 [http-127.0.0.1-8080-2] DEBUG PostavkeAplikacija:81 - OPER orka.core.maticni.operater.Operater@1bd2158 12:02:10,984 [http-127.0.0.1-8080-2] ERROR HtmlGridRendererBase:85 - Wrong columns attribute for PanelGrid forma:j_id_jsp_1938105563_52: -2147483648 12:02:11,125 [http-127.0.0.1-8080-2] DEBUG Fokus:35 - Postavljam fokus: forma:inTraziIme 12:02:11,203 [http-127.0.0.1-8080-2] DEBUG BaseFilter:312 - Finished request processing total time 438ms for uri: /kadrovska/core/maticni/operater/PregledOperater.orka
-
5. Re: Wine theme and datatable
ilya_shaikovsky Feb 5, 2008 6:45 AM (in response to tkalactomo)pelase try to set
<context-param> <param-name>org.ajax4jsf.COMPRESS_STYLE</param-name> <param-value>false</param-value> </context-param>
-
6. Re: Wine theme and datatable
tkalactomo Feb 5, 2008 7:07 AM (in response to tkalactomo)I tried to put that param and the result is the same...
Here is the whole web.xml.<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd" version="2.5"> <!-- Apsolutna putanja do direktorija --> <context-param> <param-name>slike</param-name> <param-value>F:\orka\jbossPodaci\slikeKorisnici</param-value> </context-param> <context-param> <param-name>cronPutanja</param-name> <param-value>/home/kruno/jbossPodaci/cron/</param-value> </context-param> <context-param> <param-name>org.richfaces.LoadScriptStrategy</param-name> <param-value>DEFAULT</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.COMPRESS_STYLE</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>fontsDir</param-name> <param-value>/fontovi/</param-value> </context-param> <context-param> <param-name>jasperDir</param-name> <param-value>/jasper/</param-value> </context-param> <context-param> <param-name>mjesta</param-name> <param-value>/mjesta/mjesta.txt</param-value> </context-param> <context-param> <param-name>radnaMjesta</param-name> <param-value>/mjesta/radnaMjesta.txt</param-value> </context-param> <context-param> <param-name>zaposlenici</param-name> <param-value>/mjesta/tomo_zapo</param-value> </context-param> <context-param> <param-name>zaposlenici1</param-name> <param-value>/mjesta/tomo_zapo1</param-value> </context-param> <context-param> <param-name>zaposlenici2</param-name> <param-value>/mjesta/tomo_zapo2</param-value> </context-param> <context-param> <param-name>zPovijest</param-name> <param-value>/mjesta/zPovijest.txt</param-value> </context-param> <context-param> <param-name>razvoj</param-name> <param-value>false</param-value> </context-param> <!-- Seam --> <listener> <listener-class> org.jboss.seam.servlet.SeamListener </listener-class> </listener> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.jsp</param-value> </context-param> <!-- MyFaces --> <!-- kruno doadao zbog brzine--> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Propagate conversations across redirects --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.orka</url-pattern> </servlet-mapping> <filter> <filter-name>Seam Filter</filter-name> <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class> </filter> <filter-mapping> <filter-name>Seam Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <servlet> <servlet-name>Slika</servlet-name> <servlet-class>orka.core.util.SlikaServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Slika</servlet-name> <url-pattern>/slika/*</url-pattern> </servlet-mapping> <!-- kruno dodao zbog brzine--> <context-param> <param-name>com.sun.faces.responseBufferSize</param-name> <param-value>500000</param-value> </context-param> <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>#{postavkeAplikacija.izgled}</param-value> </context-param> <!-- kruno dodao zbog brzine--> <context-param> <param-name>com.sun.faces.numberOfViewsInSession</param-name> <param-value>50</param-value> </context-param> <context-param> <param-name>com.sun.faces.numberOfLogicalViews</param-name> <param-value>50</param-value> </context-param> <filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.FastFilter</filter-class> <init-param> <param-name>forceparser</param-name> <param-value>false</param-value> </init-param> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <url-pattern>*.seam</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- dodavde--> <filter> <filter-name>MyFacesExtensionsFilter</filter-name> <filter-class> org.apache.myfaces.webapp.filter.ExtensionsFilter </filter-class> <init-param> <param-name>maxFileSize</param-name> <param-value>20m</param-value> <description> Set the size limit for uploaded files. Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB </description> </init-param> </filter> <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages --> <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry --> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) --> <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <url-pattern>/faces/myFacesExtensionResource/*</url-pattern> </filter-mapping> <!-- ResponseHeaderFilter (oznaka za ant build - NE DIRAJ) NAPISATI--> <!-- kruno test chache (Tomo: Filter prebacen u orka.slusatelj paket)--> <filter> <filter-name>ResponseHeaderFilter</filter-name> <filter-class>orka.core.view.ResponseHeaderFilter</filter-class> <init-param> <param-name>Cache-Control</param-name> <param-value>max-age=43200</param-value> </init-param> <init-param> <param-name>Pragma</param-name> <param-value /> </init-param> </filter> <filter-mapping> <filter-name>ResponseHeaderFilter</filter-name> <url-pattern>/slike/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ResponseHeaderFilter</filter-name> <url-pattern>/a4j_3_1_4.GAorg/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ResponseHeaderFilter</filter-name> <url-pattern>/css/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ResponseHeaderFilter</filter-name> <url-pattern>/javascript/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ResponseHeaderFilter</filter-name> <url-pattern>/cssPozicije/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>ResponseHeaderFilter</filter-name> <url-pattern>/fontovi/*</url-pattern> </filter-mapping> <!-- kruno test chache --> <session-config> <!-- u minutama --> <session-timeout>30</session-timeout> </session-config> </web-app>
-
7. Re: Wine theme and datatable
ilya_shaikovsky Feb 5, 2008 7:57 AM (in response to tkalactomo)could you please update it online.. to allow us look to this problem with compression off.
-
8. Re: Wine theme and datatable
tkalactomo Feb 5, 2008 8:22 AM (in response to tkalactomo)"ilya_shaikovsky" wrote:
could you please update it online.. to allow us look to this problem with compression off.
Here you go it's redeployed with compression off -
9. Re: Wine theme and datatable
alexsmirnov Feb 5, 2008 12:56 PM (in response to tkalactomo)Wich version of the Seam used ?
For a seam 2.x.x , SeamFilter load richfaces filter as Seam component, so, any references to a richfaces filter should be removed, to avoid double request processing. -
10. Re: Wine theme and datatable
tkalactomo Feb 6, 2008 2:46 AM (in response to tkalactomo)"alexsmirnov" wrote:
Wich version of the Seam used ?
For a seam 2.x.x , SeamFilter load richfaces filter as Seam component, so, any references to a richfaces filter should be removed, to avoid double request processing.
We are using seam version 2.0 GA.
And I'v removed next lines from web.xml:<filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.FastFilter</filter-class> <init-param> <param-name>forceparser</param-name> <param-value>false</param-value> </init-param> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <url-pattern>*.seam</url-pattern> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping>
and its still not loaded... -
11. Re: Wine theme and datatable
tkalactomo Feb 6, 2008 6:39 AM (in response to tkalactomo)After a lot of search we have found a difference which produces this error.
It's located in pages.xml.
And code which produces that error is:<page view-id="*" no-conversation-view-id="/core/Pocetna.jsp" login-required="true"> <navigation from-action="#{identity.logout}"> <redirect view-id="/core/Pocetna.jsp" /> </navigation> </page>
Difference is in wild card "*" in view-id="*".
But when we putted this code:<page view-id="/core/*" no-conversation-view-id="/core/Pocetna.jsp" login-required="true"> <navigation from-action="#{identity.logout}"> <redirect view-id="/core/Pocetna.jsp" /> </navigation> </page> <page view-id="/kadrovska/*" no-conversation-view-id="/core/Pocetna.jsp" login-required="true"> <navigation from-action="#{identity.logout}"> <redirect view-id="/core/Pocetna.jsp" /> </navigation> </page> <page view-id="/place/*" no-conversation-view-id="/core/Pocetna.jsp" login-required="true"> <navigation from-action="#{identity.logout}"> <redirect view-id="/core/Pocetna.jsp" /> </navigation> </page>
and told that now "no conversation view id" is set
on separated folders and then their children not on
everything "*" works just fine.
We think that this produces error because richfaces
cannot somehow get resources when its set to "*" and login-required="true". -
12. Re: Wine theme and datatable
tjakopec Feb 6, 2008 8:01 AM (in response to tkalactomo)Tomo koji si ti frajer, imaš preko 100 �itanja :)))))
-
13. Re: Wine theme and datatable
tkalactomo Feb 6, 2008 8:49 AM (in response to tkalactomo)I think that this is a bug so could some of you developers check this on your own...