[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1051) Conversation Picker no longer renders

Tony Herstell (JIRA) jira-events at lists.jboss.org
Fri May 11 06:09:52 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1051?page=comments#action_12362032 ] 
            
Tony Herstell commented on JBSEAM-1051:
---------------------------------------

Ok I have done some more work investigating this, with base latest seam 1.2.1GA and NO icefaces.

I can get a the conversation picker to render!
If I hit the destory button then it does not destroy the conversation it seems as its still displayed and the conversation-id in the address bar reamisn the same!

It stays displayed  until after I call an @End on the conversation.

At this point the conversation still is not killed, BUT the display of the conversation now stops!

This is a VERY VERY simple seam app!



<!DOCTYPE pages PUBLIC
          "-//JBoss/Seam Pages Configuration DTD 1.2//EN"
          "http://jboss.com/products/seam/pages-1.2.dtd">

<!-- no-conversation-view-id sends the user to a given screen if there is no conversation when the given page is accessed -->
<!-- timeout will keep the bean alive a lot longer than the session timeout so it will not be removed whilst the session is still reasonably "active" -->
<pages no-conversation-view-id="/pages/prospectRegistration.xhtml">

	<!-- Gives conversations a name to make the visible in the coversation picker -->
    <page view-id="/pages/prospectRegistration.xhtml" timeout="300000" action="#{conversation.begin}">
        Reason: Registration of Prospect
    </page>

	<!-- Gives conversations a name to make the visible in the coversation picker -->
    <page view-id="/pages/prospectRegistrationSuccessful.xhtml" timeout="300000">
        Reason: Successful Registration of Prospect
    </page>

</pages>




    /* (non-Javadoc)
     * @see org.adscale.prospect.ProspectRegistrationController#processDetails()
     */
    public String process() {
        log.debug(">processUserDetails" +prospect.toString());
        facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_INFO, "prospect_registered_successfully");
        em.persist(prospect);
        log.debug("<processUserDetails");
        return "success";
    }
    
    /* (non-Javadoc)
     * @see org.adscale.prospect.ProspectRegistrationController#finish()
     */
    public String finish() {               <<<<<<<<----- Putting @End on this does not change the conversationId, but it DOES stop the conversation picker displaying anyhting..
        log.debug(">finish");
        log.debug("<finish");
        return "gotoProspectRegistration";
    }

    /* (non-Javadoc)
     * @see org.adscale.prospect.ProspectRegistrationController#destroy()
     */
    @Remove @Destroy
    public void destroy() {
        log.debug(">destroy");
        log.debug("<destroy");
    }
    




	<!-- Navigation rules for the AdScale App -->
    <navigation-rule>
		<navigation-case>
			<from-outcome>prospectRegistration</from-outcome>
			<to-view-id>/pages/prospectRegistration.xhtml</to-view-id>
			<redirect />
		</navigation-case>
    </navigation-rule>

	<navigation-rule>
	    <from-view-id>
    		/pages/prospectRegistration.xhtml
    	</from-view-id>
    	<navigation-case>
			<from-outcome>success</from-outcome>
			<to-view-id>/pages/prospectRegistrationSuccessful.xhtml</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>

	<navigation-rule>
	    <from-view-id>
    		/pages/prospectRegistrationSuccessful.xhtml
    	</from-view-id>
    	<navigation-case>
			<from-outcome>gotoProspectRegistration</from-outcome>
			<to-view-id>/pages/prospectRegistration.xhtml</to-view-id>
			<redirect/>
		</navigation-case>
	</navigation-rule>





> Conversation Picker no longer renders
> -------------------------------------
>
>                 Key: JBSEAM-1051
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1051
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 1.2.0.GA
>         Environment: Seam 1.2.0.Patch 1, IceFaces 1.6.0.DR1, JBoss Server
>            Reporter: Tony Herstell
>
> http://gaming.homeip.net:8080/risingstars (it should be rendering when you jump out of a conversation using the menu i.e. Find+update and then use the menu to Find+Start a delete.
> This stopped working when I moved onto Seam 1.2.0.Patch 1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list