I thought that because I was not using the bean's Boolean properties for
rendering or visiblilty of the controls, the bean would not get created.
However, there are timezone properties that are getting called and are causing
the creation of the beans. Example, I have several selectInputDate controls
(from icefaces). These controls are using the <f: convertDateTime type="date"
timeZone="#{bean.getTimeZone}" /> converters. These converters are calling the
properties in the managed beans causing their creation. Let me know if that is
not a clear example.
-----Original Message-----
From: Brett Williamson [mailto:[email protected]]
Sent: Wednesday, June 02, 2010 6:15 PM
To: MyFaces Discussion
Subject: RE: Bean Creations
Can you tell us the reason (if it's not specific to your application)?
Thanks
Brett
-----Original Message-----
From: Russell Collins [mailto:[email protected]]
Sent: Thursday, June 03, 2010 8:17 AM
To: 'MyFaces Discussion'
Subject: RE: Bean Creations
Thank you for the tip. With your help, I was able to nail down what was
going on. Thanks.
-----Original Message-----
From: Mike Kienenberger [mailto:[email protected]]
Sent: Wednesday, June 02, 2010 4:28 PM
To: MyFaces Discussion
Subject: Re: Bean Creations
Set a breakpoint in the constructor for one of the unexpected beans.
Or add "new Exception("Where is this happening?").printStackTrace();"
to the constructor.
On Wed, Jun 2, 2010 at 4:55 PM, Russell Collins
<[email protected]> wrote:
> I am wondering why this is happening. When I log into my application,
several beans are created. Some are expected such as my main home page,
user sessions, etc. There are some other objects that are not
referenced or rendered in on any current pages/tabs/etc. that are being
created. I do not understand why this is happening. Is there a general
reason why this could be going on? It is not a huge deal but I was just
wanting to know some pointers as how to troubleshoot this and prevent
objects from being created unnecessarily. Thanks.
>
>
>
> Russell Collins
> Sr. Software Engineer
> "Do or do not, there is no try." - Yoda
>
>
> ________________________________
> CONFIDENTIALITY NOTICE: The information contained in this electronic
mail (email) transmission (including attachments), is intended by MCLANE
ADVANCED TECHNOLOGIES for the use of the named individual or entity to
which it is addressed and may contain information that is privileged,
confidential and/or protected as a trade secret. It is not intended for
transmission to, or receipt by, any individual or entity other than the
named addressee(s). If you have received this email in error, please
delete it (including attachments) and any copies thereof without
printing, copying or forwarding it, and notify the sender of the error
by email reply immediately.
>
CONFIDENTIALITY NOTICE: The information contained in this electronic
mail (email) transmission (including attachments), is intended by MCLANE
ADVANCED TECHNOLOGIES for the use of the named individual or entity to
which it is addressed and may contain information that is privileged,
confidential and/or protected as a trade secret. It is not intended for
transmission to, or receipt by, any individual or entity other than the
named addressee(s). If you have received this email in error, please
delete it (including attachments) and any copies thereof without
printing, copying or forwarding it, and notify the sender of the error
by email reply immediately.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
______________________________________________________________________
This email and any attachments are confidential and intended solely for the use
of the individual or entity to whom they are addressed. If you have received
this communication in error, please notify the sender and remove it from your
system. Please note that it is your responsibility to scan the content of this
email for computer viruses. Rubicon Systems accepts no liability for any loss
or damage which may result directly or indirectly from this email communication.
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
CONFIDENTIALITY NOTICE: The information contained in this electronic mail
(email) transmission (including attachments), is intended by MCLANE ADVANCED
TECHNOLOGIES for the use of the named individual or entity to which it is
addressed and may contain information that is privileged, confidential and/or
protected as a trade secret. It is not intended for transmission to, or receipt
by, any individual or entity other than the named addressee(s). If you have
received this email in error, please delete it (including attachments) and any
copies thereof without printing, copying or forwarding it, and notify the
sender of the error by email reply immediately.