[jboss-user] [JBoss Portal] New message: "Jboss GateIn Jsf-Seam-Richfaces Portlet"

Holger Ain do-not-reply at jboss.com
Thu Feb 18 04:24:23 EST 2010


User development,

A new message was posted in the thread "Jboss GateIn Jsf-Seam-Richfaces Portlet":

http://community.jboss.org/message/526919#526919

Author  : Holger Ain
Profile : http://community.jboss.org/people/HolgerAin

Message:
--------------------------------------------------------------
Hello,


i'am trying to use a Portlet with Jsf-Seam-Richfaces support.

In my xhtml is only one richface component. The display off the richface component works fine.

But the selection doesn't call the setSelectedItem im myManager.


In browser fetch the javascript exception "Richfaces not define" in setValue methode, in line


if(Richfaces.invokeEvent(this.events.onviewactivation,this.inplaceInput,
     "rich:onviewactivation",{oldValue:this.valueKeeper.value,value:item.itemValue}))


The xhtml:


<rich:inplaceSelect
                                value="#{myManager.selectedItem}"
                                defaultLabel="Click here to select" showControls="true">
                                <f:selectItem itemValue="0" itemLabel="Option 1" />
                                <f:selectItem itemValue="1" itemLabel="Option 2" />
                                <f:selectItem itemValue="2" itemLabel="Option 3" />
                                <f:selectItem itemValue="3" itemLabel="Option 4" />
                                <f:selectItem itemValue="4" itemLabel="Option 5" />
                            </rich:inplaceSelect>


Her are the javascript imports in the rendered html page:


<script src="/MyPrj/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/jquery/jquery.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/comboboxUtils.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/combolist.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/inplaceinputstyles.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/inplaceinput.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/inplaceselectstyles.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/inplaceselectlist.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1scripts/inplaceselect.js.seam" type="text/javascript"></script>
<script src="/MyPrj/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/utils.js.seam" type="text/javascript"></script>


In what js file is the Richfaces definition ????


Enviroment:


Jboss GateIn-3.0.0-Beta05

Seam 2.1.2

Richfaces 3.3.2

Eclipse Project generated with seam-gen and manuell adding a Jboss Seam Portlet (Eclipse JBossTools 3.1.0)







--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/526919#526919




More information about the jboss-user mailing list