This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss GateIn Jsf-Seam-Richfaces Portlet

 
Holger Ain
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)

Thanks for help....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic