voyent
Messages posted by: atomz4peace  XML
Profile for atomz4peace -> Messages posted by atomz4peace [117] Go to Page: 1, 2, 3, 4, 5, 6, 7, 8 Next 
Author Message
actually, it's the difference between null and empty. Nulls are sorted at one end and empty string at the other. Makes the UI look broken.

Any way we can tell the component to sort where blank and null are the same?
Hi,

I'm testing the ace components and I noticed a strange behavior on ace:datatable sorting (v3.3). When I have a blank in the column, the blank is always sorted first when either up or down.

Is that expected or do I have something weird going on in my test?

Thanks!
Hi,

We have an old app with ice 1.8 on jboss5 we're trying to migrate to ice 3.3 on wildfly 10.1. It can start up and run a very simple .xhtml test file. But when I try one of my main pages (spring backed beans behind icefaces) it will paint the page then redeploy every time which of course logs me out, breaks the page, and all that.

Does anyone have ideas on how to find out why wildfly keeps redeploying the app? The lines below are all I see logged when I load the xhtml file:


Code:
2017-09-19 09:02:57,680 INFO  [com.handsonsecurity.accessaudit.persistence.UserManagerDAOJdbc] (default task-7) Successfully set database variables
 2017-09-19 09:03:07,016 INFO  [org.icepush.servlet.MainServlet] (default task-21) 
 ICEsoft Technologies Inc.
 ICEpush 3.3.0
 Build number: 11
 Revision: 34423
 
 2017-09-19 09:03:11,790 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = aa.war_com.mysql.jdbc.Driver_5_1
 2017-09-19 09:03:11,804 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 113) WFLYUT0022: Unregistered web context: /aa
 2017-09-19 09:03:11,817 INFO  [io.undertow.servlet] (ServerService Thread Pool -- 113) Destroying Spring FrameworkServlet 'aa'
 and so on...
 


If I use a very basic jsf file with nothing but ice:outputText it will work fine. It's just when I get the spring bean and full app stuff. Any ideas what to look for?
Does anyone know if the old 1.8 EE components are still out there or if they were ever made open source? I'm using 1.8 and have lots of datatables. I'm trying to find one like the ice-cc datatable that supposedly did auto filtering and sorting.

I only need that one single component to avoid writing sorting and filtering methods on every table and column. Anyone know if that's possible?

Or else does anyone know of another framework with such a filter table that can co-exist with ice 1.8?

Thanks!
Hi,

I have an old application on ice 1.8. It works great but we're looking into updating it. So I did a test and got one key page converted from jboss 5 with ice 1.8 to wildfly 8 with ice 4.

I then compared the ice:datatable with the ace:datatable. I used the same backing bean/spring/etc... code and just changed the component from ice to ace.

In my 1.8 code, I had to implement the sort. In the ACE table, I added the sortby value. The interesting thing is the ace version is MUCH slower in both getting the data and especially the sort. I watched the CPU on the same server when sorting on a column. In the 1.8 version, it's maybe 1/2 a second and cpu bumps up a tiny bit but goes down quickly since the sort code is quick. In the ACE v4 version, it takes 2-3 seconds and gobbles a cpu during those seconds.


I know it could be wildfly and not ICE but has anyone else compared and seen similar or different results? I really could go for the auto sort and auto-filter on every table, but my customers would revolt if it slowed down this much. And this was on a data set of 8 pages of 50 each, so less than 400 entries.

Any thoughts either way?

Thank you!
Yeah, we tried one of our pages with jsf2 and it did not work.

I think an iframe might work fine. The jsp page does little more than contain header/footer and some menu links. That should be similar to our include as long as I get the style sheets and stuff.

So it sounds like our only option short of a re-write is to do an iframe to include the xhtml file instead of the jsp include.

Thank you!
Hi,

We have a very old app that is mainly jsp based, and then years ago we added icefaces 1.8 support by doing things like:

Code:
<jsp:include page="/mypage.jspx" />
 


all over the place.

We now are thinking about upgrading to use the new ACE components and more, but are not sure how to do it. Does anyone have any ideas? I've seen posts where they say we can no longer include jsf2 pages like we did with jsp1.

I saw other posts where someone suggested creating a blank xhtml page and including the JSP into the holding page.

But the bigger challenge is all of the old JSP pages have header/footers that are not exactly standard per page, they were managed via dreamweaver long ago.

I know we can invest the time to really do templating and re-build everything, but any shortcuts you can think of? The driving force is to be able to use the ace:dataTable. We would be happy if we could just use that one component.

Thanks in advance for any great ideas!
Hi,

We are still using v1.8 and have a strange behavior I'm hoping is an easy fix. We have a datatable valued to a list in the bean. Each object has a boolean and is shown on a select box.

In the mean, I sometimes will do this:

Code:
	
 entryList.clear();
 for (Application r : entryListFull) {
 
 	r.setSelected(entryListFullSelectedMap.get(r.getName()));
 
 	if (r.getName().toLowerCase().contains(applicationNameSearch.toLowerCase())) {
 		entryList.add(r);
 	}
 }
 


When I do, the boolean values in the final entrylist go back to unchecked. In debugging, I see this method work fine, then later on I see the setter get called so it's something in the ice UI code that's calling the setter with false.

Is there a way to force this new list out to the page so that the page does not come back and change the object values?

THank you!
Thanks Ted, I was afraid of that. :-)

Hi,

I'm converting a webapp from 1.8 to 3.0 and making progress, but it is quite a challenge. One issue is with the automatic extension mapping. I have a spring mapper that takes the request of a jsp page (page.htm) and translates/loads a .jsp page (page.jsp). This still works fine.

Inside the .jsp page, I have:

<jsp:include page="/jsp/admin_adhoc_report.jsf" />

This also works if I change the extension to xhtml or add a javax.faces.FACELETS_VIEW_MAPPINGS and javax.faces.DEFAULT_SUFFIX for .jspx.

In the .jspx /.xhtml page, I have <ice:form>.

But what does not work is inside of the rendered page (view source in browser), the form element is trying to load page.jsp. <form action="page.jsp">

Does anyone know how to make ice know to load .jspx/.xhtml as appropriate? Something is telling faces to try and load a .jsp file, not jspx/xhtml.

If I load the .jsf URL directly, it works fine but I don't have my surrounding web page that's in the .jsp file.

Any ideas?

Thanks!
Hi,

I have a couple of icefaces pages included as <jsp:include> in old fashioned jsp pages using v1.8.2. All works well but I recently starting noticing that sometimes I'll see that auto-disconnect popup appear very briefly when I click a link. Here is the scenario:

I have a jsp page with an include to an ice jspx.

Inside the jspx, I have something like this in a table...so we have many rows, each with a unique URL:

<ice:outputLink value="#{entry.instanceURL}" rendered="#entry.printURL}">

When a user clicks that link, it works fine, but every now and then it very quickly flashes up that default connection disconnect popup. I do not have a connectionstatus component on the page, so this is the default one.

So it seems like a client-side thing where the browser senses the disconnect when I click a standard URL. Any ideas how to avoid that popup? I'm sure I could use a connectionstatus component and hide it, but then I would not see legitimate timeouts.

Any ideas?

Thanks!
I'm not sure when I started noticing this, but for sure with firefox 8 and ice 1.8.whatever is latest, I see a nuisance when the session times out.

We have it set to display the modal pop-up with reload. That works fine. But while the modal pop-up is there, the firefox spining "loading" circle keeps spinning forever, like it does when connecting to a site.

So I'm assuming there is some type of connection that's not terminating correctly to make FF do that. Does anyone else see that issue and have a way to stop it?

Thanks!
never mind, it's a jboss bug.

Thanks,
Jim
Hi,

We have a very strange issue that seems like we've tracked it back to a value we display in a datatable / outputText.

We have a simple dataTable with a few columns. Inside the column we have an ice:outputText tag and all that. In one case, we loaded a value from the DB and tried to display it to the browser. Whenever a certain entry was shown, the page "broke" and the datatable was incomplete. Looking at view source and running through a web proxy, it looks like the data just stopped.

So I guess it could be jboss instead of icefaces (1.8.2). But the only oddball character in the string has utf 2019, a funny right single quote. In eclipse debugger, everything looks great, so the error comes when it gets ready to render.

Has anyone ever run across something like this?

Thanks!
Hi,

We have an web app using 1.8.2 and it works fine. We were testing the custom components and dropped in the new jars. On the first test page, we added the new xmlns lines, but got a parse error on the first instance of <ice-cc> component. In our case, it looks like:

Code:
<f:view xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:ice="http://www.icesoft.com/icefaces/component"
         xmlns:c="http://java.sun.com/jstl/core"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:ice-cc="http://www.icesoft.com/icefaces-composite-comps"
          >
 
 		<html>
 			<head>
 			<ice-cc:css/>
 			
 				<link href="../xmlhttp/css/xp/xp.css" rel="stylesheet"
 					type="text/css" />
 				<link href="../html/sccstyles.css" rel="stylesheet" type="text/css" />
 				
 			</head>
 			<body>
 


And we get an error on the ice-cc line like:

Details: java.lang.Exception: javax.faces.FacesException: Can't parse stream for /jsp/ao_review_test.jspx Error at line 11 char 17: null

and

20:59:38,446 ERROR [Digester] Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.


Does anyone recognize this as a silly mistake or are we just not meant to have the commercial version? This is jboss 5.1.

Thanks!
 
Profile for atomz4peace -> Messages posted by atomz4peace [117] Go to Page: 1, 2, 3, 4, 5, 6, 7, 8 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team