Note that there are some explanatory texts on larger screens.

plurals
  1. POICEfaces 2.0 and h:commandButton method not called, with ice:commandButton everything is ok
    primarykey
    data
    text
    <p>I'm trying to use <code>ace:fileEntry</code> to upload a picture, as I read this component requires a submit from <code>h:commandButton</code> in order to start downloading. My problem is that when I switched my <code>ice:commandButton</code> with <code>h:</code>, my managed bean (which is in Conversation Scope) gets created again (<code>@PostConstruct</code> called) and the method in <code>h:commandButton</code> and also the <code>fileEntryListener</code> aren't called anymore. <br> And as another problem that might be causing this is that when I first enter my page the managed bean gets created and I call conversation begin, but when I do a second request (from a <code>commandLink</code>) the managed bean is created again, and a new conversation is started, after that you can play how long do you want the managed bean doesn't get created again. <br> Back to my initial question, if I have <code>ice:commandButton</code> the managed bean ins't created again, if it's with <code>h:</code> it gets created again. <br> And to add a little bit more fun in it, if I remove the rendered attribute (which resolves to true) from <code>ace:fileEntry</code> the <code>fileEntryListener</code> is called, but the action from <code>h:commandButton</code> isn't called no matter what. <br> I tried to add explicit ids to the components, tried to change <code>ice:form</code> with <code>h:form</code> .. nothing. <br><br>Please Help.<br><br> Ps: why ICEfaces 2 can't work with all ice components, why does it requires <code>h:commandButton</code>, instead of <code>ice:commandButton</code>, why the new JSF 2.0 stuff with <code>f:selectItems</code> backed by a regular list isn't working with <code>ice:selectOneMenu</code>, works just with <code>h:selectOneMenu</code> ? What's up with ICEfaces ? And why CDI doesn't work as expected, with Seam 2 also I had problems with conversations called twice .. ps2: if I don't navigate to another view <code>?cid=1</code> isn't present in the <strong>URL</strong>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload