[jboss-user] [JBoss Portal] - Re: XML not permitted in a portlet preference value?

2006-11-15 Thread free1000
In my posting my entity references were replaced with brackets in case 1 which should have read (ignoring my extra spaces). & lt ; column-definitions / & gt ; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986265#3986265 Reply to the post : http://www.jb

[jboss-user] [JBoss Portal] - XML not permitted in a portlet preference value?

2006-11-15 Thread free1000
I'd like to add an XML fragment inside a portlet preference in portlet.xml but any XML content is unavailable when trying to get the preference. In all the following approaches the data in the value element is not available via the portlet preferences. I've tried the following content in the

[jboss-user] [JBoss Portal] - Re: Recording user logins/logouts

2006-11-02 Thread free1000
I've written a simple valve but have a problem I've deployed the jar file containing the class to JBOSS\server\default\deploy\jbossweb-tomcat55.sar and I've added a valve entry in the server.xml However I'm getting the following error 19:01:12,750 ERROR [Digester] Begin event threw excepti

[jboss-user] [JBoss Portal] - Re: Recording user logins/logouts

2006-11-02 Thread free1000
My first thought is that I like the idea of the custom valve for Tomcat. I'll take a look at it. I was thinking of the AOP approach but I'm not familiar with how that would be hooked in to the portal. Thanks for the ideas View the original post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Portal] - Recording user logins/logouts

2006-11-02 Thread free1000
I need to record an event in a database table when a user logs on and off of the portal. I'd ideally like to do this without changing the JBoss portal sources. I can think of a couple of hackish ways of doing this involving jsps/servlets and redirects but wonder if anyone can think of a clean

[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?

2006-10-18 Thread free1000
Yes that worked thank you. One quirk is that redeploying the ear doesn't overwrite them, this is a bit more persistent than I expected, any idea where the preferences are written? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979152#3979152 Reply to the

[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?

2006-10-18 Thread free1000
Ah... interesting, I wasn't authenticated, I'll try that. The call is in the processAction scope (helper method call) Thanks for the quick response. Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979136#3979136 Reply to the post : http://www.jboss.

[jboss-user] [JBoss Portal] - Persisting Prefs broken in 2.4 ?

2006-10-18 Thread free1000
Hi, I've been trying to store changes to portlet preferences with no joy. I have this fragment in portlet.xml | | listSize | 10 | false | | However I get a ReadOnlyException when I try to store a change to this. | try {

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-23 Thread free1000
This is annoying. I can set either the content type in the meta tag, or by using a page directive in the JSP eg: <[EMAIL PROTECTED] contentType="application/xhtml+xml;" %> but in both cases the browser is still seeing the content type of the page as text/html. (Look at firefox menu item Tools

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-23 Thread free1000
Content type for the whole portal can be altered by changing the content type for the index.jsp file which acts as the host for the whole portal layout. The default file is at jboss-portal.sar\portal-core.war\layouts\generic\index.jsp Altering the meta tag in the HTML sends the correct conte

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-22 Thread free1000
I guess that its safer for the entire portal to default to text/html in case there are portlets which are used which are not xhtml conformant. I'd expect to find the overall content type configurable at a high level, but maybe its something that can be set per page. This might be the most useful

[jboss-user] [JBoss Portal] - Re: init requires call to super.init()?

2006-07-22 Thread free1000
Ok... thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960094#3960094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960094 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-22 Thread free1000
Ah... I have a theory that the problem is possibly that the content type of the *entire rendered portal page* is text/html To embed svg in any single portlet window the *overall* content type of the portal page needs to be application/xhtml+xml because setting the content type of an individual

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-22 Thread free1000
Ah... I have a theory that the problem is possibly that the content type of the *entire rendered portal page* is text/html To embed svg in any single portlet window the *overall* content type of the portal page needs to be application/xhtml+xml because setting the content type of an individual

[jboss-user] [JBoss Portal] - init requires call to super.init()?

2006-07-21 Thread free1000
I used the init method for the first time today and discovered that a null pointer exception was being generated by GenericPortlet trying to instantiate a null default resource bundle when my Portlet was being instantiated. I got around this by a call to super.init(PortalConfig config) in my ow

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-21 Thread free1000
Apparently SVG support is now available natively in firefox (no need for the Adobe viewer). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960038#3960038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960038 __

[jboss-user] [JBoss Portal] - Re: SVG in portlet

2006-07-21 Thread free1000
Could it be possible that you also have to set content-type in your doView as well? I think if you are serving xhtml to the browser. As xhtml is an instance of an xml document I expect that the content type should be application/xhtml+xml... however I haven't tried this myself yet protected

[jboss-user] [JBoss Portal] - Re: Best practice for resource URLs

2006-07-20 Thread free1000
Ok, problem solved, I've found the encodeURL method of portletResponse API doc http://docs.jboss.org/jbportal/spec/docs/javax/portlet/PortletResponse.html#encodeURL(java.lang.String) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959542#3959542 Reply to th

[jboss-user] [JBoss Portal] - Best practice for resource URLs

2006-07-20 Thread free1000
I want to use images in the portlet I am creating, but can't find any examples of how best to form the URLs for this. I initially thought that URLs should just be relative to the web-app that wraps the portlet, but these don't appear to work as I have coded them. The web-app has the a folder

[jboss-user] [JBoss Portal] - Installing EJB3 on portal bundle

2006-07-16 Thread free1000
I wonder if there is any documentation to assist installing EJB3 on the bundled versions? I tried downloading the CR8 version of EJB3 but the instructions did not match the directory structure of the 2.0.4-CR2 bundle and I wasnt sure about compatibility. It would be excellent if there was a

[jboss-user] [JBoss Portal] - Re: 2.0.4-CR1 W2k CMS start problem

2006-07-13 Thread free1000
Thanks Ray, I'll give it a whirl, meanwhile that bundled version is useful to meet my needs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957976#3957976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957976

[jboss-user] [JBoss Portal] - Re: Interportlet Communication (Again)

2006-07-13 Thread free1000
anonymous wrote : Also - I downloaded the HelloPortletIPC example, but I want to stick with JSR168 compliance. I think thats where the problem lies as IPC is outside the scope of JSR168... this reference might be of interest, though I havent studied it enough to decide if its more practical tha

[jboss-user] [JBoss Portal] - 2.0.4-CR1 W2k CMS start problem

2006-07-13 Thread free1000
I successfully installed 2.0.4-CR1 on my mac then tried on my W2k box. JBoss 2.4. I get a problem when the CMS is starting, note that the datasource PortalDS is correctlyconfigured and deployed. First the final report, then the full shell transcript. --- MBeans waiting for other MBeans ---

[jboss-user] [JBoss Portal] - Re: Slow load up time for Portal 2.4.0 CR1

2006-07-12 Thread free1000
Sounds like a slow session start up to me as it happens either after leaving the browser for a bit, or switching browser types. Check what is happening when a new session is started. Are you hitting any authentication services, EJB's, etc. Is there something which happens on session start whic