[Beginners Corner] - Jboos Wiki install - help
by rotsen
I am running jboss-portal-2.6.3.GA on windows and I downloded and deployed the wiki.war.zip using the Manage Content in the CMS tag and
I choose upload archive.
After the wiki is loaded I can see it in the deploy directory the wiki.war folder but when I got to a page layout and choose cms in content type under content definition and I click on wiki.war it opens the folder up and then I do not know what to choose. At one point I chose the jsp forlder and then wiki.jsp but I got a page that was not rendering correct with errors.
My questions is: What do I choose, to have the wiki available so that I can add it as a cms portlet in a page?
I have done a lot of searches about this but I have not found anything so far.
Thanks - Rotsen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124609#4124609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124609
18 years, 2 months
[JBoss Seam] - Re: Ear with multiple web modules - problem with components.
by reind
Took a while but I found a solution (or, rather, the cause) of this issue.
I removed he MyFacesExtensionsFilter from every web.xml file and now Authentication works as expected:
remove from web.xml
<filter>
| <filter-name>MyFacesExtensionsFilter</filter-name>
| <filter-class>
| org.apache.myfaces.webapp.filter.ExtensionsFilter
| </filter-class>
| <init-param>
| <description>
| Set the size limit for uploaded files. Format: 10 - 10
| bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
| </description>
| <param-name>maxFileSize</param-name>
| <param-value>20m</param-value>
| </init-param>
| </filter>
| <filter-mapping>
| <filter-name>MyFacesExtensionsFilter</filter-name>
| <servlet-name>Faces Servlet</servlet-name>
| </filter-mapping>
| <filter-mapping>
| <filter-name>MyFacesExtensionsFilter</filter-name>
| <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
| </filter-mapping>
I've closed the JIRA bug.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124606#4124606
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124606
18 years, 2 months
[JBoss Seam] - Re: Using rich:datascroller With Seam and Hibernate Paginati
by neilac333
I've got the paging and sorting covered in a component that abstracts Hibernate Search's ability to handle all that.
My first crack at this problem was to use two more Seam components: the first is an "action" component to interact with the user and the second to serve as my ExtendedDataModel instance injected into the first component. The action component takes the parameters and delegates them to that search component I mentioned at the start, which then returns the results to the action component. Then the search component passes those results to the data model component, which wraps them up in a way RichFaces expects to present them to the user.
Sounds great in theory, right?
For some reason, the data gets populated as I expect, but it "disappears." I suppose there is some kind of weird JSF-RichFaces lifecycle thing that somehow replaces the populated ExtendedDataModel with a new one. I guess I need to try to play with some Seam context scopes to see if I can keep the original one.
Just wanted to keep you apprised of my progress.
I appreciate any insight.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124605#4124605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124605
18 years, 2 months