Re: [Trinidad] Should inner subform submit an outer subform ?

2011-10-25 Thread Andrew Robinson
I believe that submitting a subform submits all parent subforms, but not siblings. For example: sf1   sf2 sf3 sf4 sf5 If something in sf3 is submitted, sf1, sf2 and sf3 are processed, but not 4 & 5. The subform documentation is not all that wonderful, so I am not positive. 2011/10/13 W

RE: Best practice for storing application variables

2011-10-25 Thread Boyd, David (Corporate)
Depends on what technology stack you have in place. For our platforms we have two approaches. The first is to make use of an application properties file. It is XML base in which it has several roots, each root indicates an environment. The servers JVM makes use of the -D option such as -Denv=lo

Strange characters in rendered html

2011-10-25 Thread Visagie, Gerhard
Hi all, Maybe this is a silly question, but I'm seeing this " " and "" in my final rendered html text. I'm trying to get the page size down, how can I disable this? Gerhard Visagie To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet

Re: Best practice for storing application variables

2011-10-25 Thread Me Self
You can "externalize" the environment specific configuration from the artifacts (war,ear,jar) that you are deploying by putting those variables in a propertyfile and placing the file in a folder that you add to your servers classpath. That way the same artifact can be deployed to all environments -

Re: [MyFaces 1.2] how to access managed bean from phaselistener?

2011-10-25 Thread Me Self
I have tried the method you mention and all other methods mentioned in http://balusc.blogspot.com/2006/06/communication-in-jsf.html#AccessingAnotherManagedBean but none of them can see the bean set via ui:param. Im now resorting to an ugle hack which is to set the managed bean in a request scoped

Re: [MyFaces 1.2] how to access managed bean from phaselistener?

2011-10-25 Thread Anton Gavazuk
public static Object accessBeanFromFacesContext(final String beanName, final FacesContext facesContext) { debug("accessBeanFromFacesContext start " + beanName); Object ref = facesContext.getELContext().getELResolver().getValue(facesContext.getELContext(), null, beanName); if (ref

[MyFaces 1.2] how to access managed bean from phaselistener?

2011-10-25 Thread Me Self
How do I access a managed bean from a phaselistener without it knowing the faces-config.xml name of the bean? I have 1 phaselistener that acts across hundreds of pages that each have one managed bean. All the managed beans subclass the same base class. All pages are a composition of the same templ