[jboss-user] [JBoss Cache: Core Edition] - How to evict know out of date objects (after SQL statement)

2008-07-15 Thread mvera
Hi, I intend to use jbosscache as level 2 cache with EJB entites. Cache evictions are done only when a modification occurs inside the EntityManager. But for performances reasons it may be usefull to send SQL statements that modify database, for example you may want to delete hundreds of object

[jboss-user] [JBoss Portal] - Re: render method called several times for a single submit

2006-11-03 Thread mvera
"vietanh.vu" wrote : See my blog | http://vpensieve.blogspot.com/ | It's likely that you have relative path image in your pages. | Thank you for the reply. Your tip is interesting but I have no image and no css in my fragment as I am in an early development stage, so I don't think this is

[jboss-user] [JBoss Portal] - Re: Is header content injection coded in portal 2.4.0 ?

2006-11-03 Thread mvera
This is the tag I use : | | public class MyHeaderContentTagHandler extends SimpleTagSupport | { |public void doTag() throws JspException, IOException |{ | // get page and region | PageContext app = (PageContext)getJspContext(); | HttpServletRequest reque

[jboss-user] [JBoss Portal] - Re: Is header content injection coded in portal 2.4.0 ?

2006-11-03 Thread mvera
"[EMAIL PROTECTED]" wrote : What are you trying to insert? | | Why didnt you use the jboss-portlet.xml, as in the reference guide? I try to insert a css link. I can't use the jboss-portlet.xml as the css used is dynamically choosen. My application is composed of many screens, each screen

[jboss-user] [JBoss Portal] - Re: Is header content injection coded in portal 2.4.0 ?

2006-11-03 Thread mvera
Hi, I finally managed to solve my problem. But I had to write my own tag to insert content in the header via java API. I'm still interested in knowing if somebody managed to do the same without coding its own tag. In this case where is the code that do that ? Mickaël View the original post :

[jboss-user] [JBoss Portal] - Is header content injection coded in portal 2.4.0 ?

2006-11-03 Thread mvera
Hi, I use JBossPortal 2.4.0 and i'm still trying to insert code in html header via RenderResponse API like this : RenderResponse rr = getRenderResponse(); | | rr.addProperty("HEADER_CONTENT", _htmlBuff.toString()); But this doesn't work, I still have an empty head :

[jboss-user] [JBoss Portal] - Header content injection programatically (with code protecti

2006-11-02 Thread mvera
Hi everybody, I use JBossPortal 2.4.0 bundled. I have problems to set header content programatically. I need to do it this way as my css is dynamically set for each user. So I tried to use this way I found on this site : rr.addProperty("HEADER_CONTENT", _htmlBuff.toString()) My debugger says m

[jboss-user] [JBoss Portal] - Re: Header content injection programatically (with code prot

2006-11-02 Thread mvera
I wanted to say I avoid , or tags in my generated html. I wonder if I'm wrong ? Sorry for multiple posts, I'm not used with the editor. Mickaël View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982750#3982750 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JBoss Portal] - Header content injection programatically

2006-11-02 Thread mvera
Hi everybody, I use JBossPortal 2.4.0 bundled. I have problems to set header content programatically. I need to do it this way as my css is dynamically set for each user. So I tried to use this way I found on this site : rr.addProperty("HEADER_CONTENT", _htmlBuff.toString()) My debugger says m

[jboss-user] [JBoss Portal] - Re: render method called several times for a single submit

2006-10-17 Thread mvera
I forgot to say that these calls are concurrents in several threads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978785#3978785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978785 ___

[jboss-user] [JBoss Portal] - render method called several times for a single submit

2006-10-17 Thread mvera
Hi, I developped a portlet based on GenericPortlet, deployed it in a war and created a portal with a simple page with my portlet as a single portlet. I don't understand why but the render method is called several times for a single submition causing me problems during this debugging period. Wh