voyent
Messages posted by: maxi_ng  XML
Profile for maxi_ng -> Messages posted by maxi_ng [89] Go to Page: Previous  1, 2, 3, 4, 5, 6 Next 
Author Message

phil.gunbin wrote:
maxi_ng : That is the consequence of incorrect width caused by incorrect popup position. Its size is calculated dynamically so once set incorrectly, it will widen your page more and more.

All what I got is a possible bug in Icefaces (frameborder issue, see above) and a feature in Liferay (position:relative). Absolute positioning in a block with position relative is a rather well known CSS issue. 


What should I do, Phil?
image for the theme problem.
I am using Icefaces 1.6.2 and liferay-portal-jboss-tomcat-4.2-4.4.1

1. I am using a panelStack instead of faces navigation rule to handle the page effect of my portlet.
I have a rowSelect DataTable in one of the panelGroup inside the panelStack and another panelGroup to show the selected entry detail information.
when I select the last entry and then go back to the datatable by changing the panelStack Id, it works but the background color will have a problem. Other entry works just fine. you can see my attached screen captures.

2. The style of liferay will become wrecked if that page have a icefaces portlet in it. see attached images. The menu tab will move around like crazy.

3. when I add a style to a component, let's say ice:outputLabel by defining styleClass. Colorzilla shows that its style will be .iceOutLbl myStyle.
which means both default and my custom style are applied to that component. The outcome style is not what I want. How to make the component use only my custom style?

Thank you very much. This forum is great.
^^ I resolve it.
adding
Code:
     <listener>
         <listener-class>
             com.icesoft.faces.util.event.servlet.ContextEventRepeater
         </listener-class>
     </listener>
     
     <context-param>
         <param-name>com.icesoft.faces.concurrentDOMViews</param-name>
         <param-value>true</param-value>
     </context-param>
 

in my web.xml.

but I don't know if I can set DOM to false.
I will try that later.
anyway, Thank you deryk
This is the simple portlet that I develop to test for Edit mode.
Please tell me what do I miss.
I will keep on looking into the 1.6 document.
Thank you Deryk.
thx derky,

I will try to get more information on this issue.
btw, how to use ICEfaces built in client console?
where can I get the document about it?

Here is what it shows in firebug
POST
Code:
 cmd	move
 doAsUserId	
 p_l_id	12703
 p_p_col_id	column-1
 p_p_col_pos	0
 p_p_id	ManageEvent_WAR_ems42_INSTANCE_JUEy
 


Error
Code:
 [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1753"  data: no]
 file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
 Line 1753
 

I already have that in my portlet.xml
here is my portlet.xml
Code:
 <?xml version="1.0" encoding="UTF-8"?>
 <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd/etc/opt/SUNWportal/dtd/portlet.xsd" version="1.0">
     <portlet>
         <description>FillingInTheRegistrationForm</description>
         <portlet-name>FillingInTheRegistrationForm</portlet-name>
         <display-name>FillingInTheRegistrationForm</display-name>
         <portlet-class>com.icesoft.faces.webapp.http.portlet.MainPortlet</portlet-class>
         <expiration-cache>0</expiration-cache>        
         <init-param>
             <name>com.icesoft.faces.VIEW</name>
             <value>/WEB-INF/jsp/index.iface</value>
         </init-param>
         <init-param>
             <name>com.icesoft.faces.EDIT</name>
             <value>/WEB-INF/jsp/edit.iface</value>
         </init-param>
         <supports>
             <mime-type>text/html</mime-type>          
             <portlet-mode>VIEW</portlet-mode>
             <portlet-mode>EDIT</portlet-mode>
         </supports>
         <portlet-info>
             <title>Exhibitor Badges and Entry Tickets Requisition Form</title>
             <short-title>Registration Form</short-title>
         </portlet-info>
     </portlet>
 </portlet-app>
 
I am using liferay-portal-jboss-tomcat-4.2-4.4.1 and icefaces 1.6.1
I think Edit mode of a porlet is preferences mode in liferay, is that right?
I have this setting in my portlet.xml
Code:
         <init-param>
             <name>com.icesoft.faces.VIEW</name>
             <value>/WEB-INF/jsp/index.iface</value>
         </init-param>
         <init-param>
             <name>com.icesoft.faces.EDIT</name>
             <value>/WEB-INF/jsp/edit.iface</value>
         </init-param>
 

when I click 'preferences' in my portlet, it redirects.
But then it still shows the index.jspx page to me.
what is the problem here?
I am facing the problem 2 too.
Is there any solution?
I have encountered the same problem but not only that.
When a modal pop-up shows, if you roll your scroll down/right, the pop-up keeps it relative position, but if you roll back up/left, the pop-up stays where it was without updating its relative position.
This is a very big problem I think.
I am using latest liferay portal.
Will this be fixed?
I have developed a portlet in liferay portal with a servlet running in the server.
everything works fine.
I click a link in my portlet to use a servlet to generate a jasper report for download, it works too.
but after this, the UI components fail to response, they won't do a thing when I click them.
I don't see any exception being threw to the console of my AS.

does anyone encounter the same issue?
I have tried latest liferay and jboss.
Jboss works better with icefaces than liferay.
with icefaces 1.6 you will need to setup AHS and it works okay.
with icefaces 1.7beta will get you some session expired trouble.
I think I have come across the same issue.
Look into 1.7beta documentation you may found the answer.
Its on page 52
This one is resolved.
just need some setting for 1.7.1beta to refresh the whole page when deploy.
Thank you bayer, problem solved.
 
Profile for maxi_ng -> Messages posted by maxi_ng [89] Go to Page: Previous  1, 2, 3, 4, 5, 6 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team