Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0-Alpha2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:JBoss 6, Windows XP
Description
I have a ViewScoped backing bean that has a partial submit on screen component the @PostConstruct method is called when the partial submit is perform; I don't believe that this functionality is correct.
Activity
Simon Fryer
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Cannot Reproduce [ 5 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Marking as can't reproduce.
I ran the Compat version of the Component Showcase that we have as it uses the 1.8 component suite with the ICEfaces 2 Alpha 3 libraries. The Text Entry example has components on the page that use partial submit. For example:
<ice:inputText id="TxtName"
{textFields.effectChangeListener}size="30"
maxlength="30"
valueChangeListener="#
"
{textFields.name}value="#
"
partialSubmit="true"
required="true"
>
These are backed by a view-scoped bean that I added some logging to:
@ManagedBean(name = "textFields")
@ViewScoped
public class TextFieldsBean extends BaseBean {
/**
*/
private String name;
private String password;
private String comments;
public TextFieldsBean()
{ System.out.println("TextFieldsBean.TextFieldsBean: constructed " + this); }@PostConstruct
{ System.out.println("TextFieldsBean.logPostConstruct: called for " + this); }public void logPostConstruct()
After building, redeploying, and running the example, I only see a single set of log statements for that view:
[#|2010-06-07T14:59:17.317-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|TextFieldsBean.TextFieldsBean: constructed org.icefaces.application.showcase.view.bean.examples.component.textEntry.TextFieldsBean@1d39e225|#]
[#|2010-06-07T14:59:17.317-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=27;_ThreadName=Thread-1;|TextFieldsBean.logPostConstruct: called for org.icefaces.application.showcase.view.bean.examples.component.textEntry.TextFieldsBean@1d39e225|#]
So perhaps this was solved in the Alpha 3 release. If it's still an issue, we'll need a more specific test case and additional details to reproduce.