Thanks! I was not using seam-gen as of yet to create the projects. For now so I can understand better I am trying to recreate the hello world example from scratch by myself and see if I can get it up and running. My thought is that this way I would be better able to understand the configuration files since I will have to write them from scratch on my own using the examples as a help resource. So far in the configuration files in the examples that come with Seam 1.2.1 GA have not indicated anything in the form of a datasource.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039629#4039629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039629
A more correct way would be to browse the portlets offered by the PortletInvoker and recognize your portlet using the display name and use as reference the string returned by Portlet.getContext().getId()
"FredF" wrote : I fixed the problem by referencing the portlet with a correct path. I had to use 'local.web-app.portletreferencename' and not just 'portletreferencename'
|
|
| /Fredrik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039628#4039628
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039628
"christian.bauer(a)jboss.com" wrote : This might be useful for people migration from MyFaces to the JSF RI:
|
| The default content type for a page is "application/xhtml+xml" with the JSF RI and Facelets, not "text/html" as with MyFaces. If you have existing content that is not strict XHTML (and it seems quite complicated to get this with all the JavaScript and stuff), or you have a browser that doesn't like this content type at all (IE), you can switch back to "text/html" with this in your Facelet page:
|
|
| | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
| | <html xmlns="http://www.w3.org/1999/xhtml"
| | xmlns:ui="http://java.sun.com/jsf/facelets"
| | xmlns:h="http://java.sun.com/jsf/html"
| | xmlns:f="http://java.sun.com/jsf/core"
| | xmlns:s="http://jboss.com/products/seam/taglib">
| |
| | <f:view contentType="text/html"/>
| | <head>
| |
|
| The typical sign of this issue is that you get Firefox complaining about invalid XHTML.
|
Thanks for this Christian. Very useful. I've been bitten by this, and it was on my list of things to investigate. Looks like some of the Richfaces stuff (DnD in particular) causes Firefox to complain. This would be worth bubbling up to the wiki and even the documentation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039617#4039617
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039617