[jboss-user] [JBoss Portal] - Re: how to create sub pages/sub tabs?

2007-08-08 Thread brownfielda
Which version of IE? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072124#4072124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072124 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Portal] - Re: Calling JAAS

2007-08-08 Thread brownfielda
Free ice cream you say? I'm suddenly motivated. :-P Best I can offer is a free book I ran across that may help hone your knowledge of JAAS: http://www.jaasbook.com/. I'm very new to JAAS as well, but won't have time to research it more extensively for a couple weeks. If you don't come up wit

[jboss-user] [JBoss Portal] - Re: JAAS using LDAP and DB

2007-08-06 Thread brownfielda
Sorry, snesbitt, won't be able to help you on this one yet. Looks like I won't have access to the servers or even information needed to replicate the current LDAP setup during the duration of my work. As a consequence I'll be spending more time documenting than learning about the software. Ho

[jboss-user] [JBoss Portal] - Re: JAAS using LDAP and DB

2007-08-02 Thread brownfielda
Still in trying, though I think I'm making progress. I'll post pertinent files when I get it working. Perhaps even a wiki page (if it seems that enough folks may benefit from it). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070211#4070211 Reply to the p

[jboss-user] [JBoss Portal] - Re: JAAS using LDAP and DB

2007-08-02 Thread brownfielda
In case someone has the same newbie problems in the future and searches through the forum archive: http://www.jaasbook.com/ Chapter 3, in particular has been a good jumpstart. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070152#4070152 Reply to the post :

[jboss-user] [JBoss Portal] - JAAS using LDAP and DB

2007-08-02 Thread brownfielda
Howdy, I'm trying to configure my portal with both LDAP and DB. Ideally I want the default users and roles (admin and user) to live in the database bundled with portal. I also need to authenticate users with an existing LDAP without trying to write anything to the LDAP. I've been reading thr

[jboss-user] [JBoss Portal] - Re: Accessing Query Parameter value in the porlet in a page

2007-07-31 Thread brownfielda
How are you generating that URL? Every time I've generated an URL from within the portlet, using createActionURL() and createRenderURL(), I end up with an additional parameter you don't seem to have: action=(some_number) Here's an example of what was generated: | http://localhost:8080/port

[jboss-user] [JBoss Portal] - Re: my own hibernate mapping

2007-07-31 Thread brownfielda
k3nnymusic, I know where you stand. Hard to be patient when deadlines are coming. However, Thomas has some good advice about taking things one at a time. Take the agile approach and do some spiking. The lessons are invaluable. If you do need a reference other than official documentation loo

[jboss-user] [JBoss Portal] - Re: Memory Leak

2007-07-25 Thread brownfielda
Thanks for the response. The Class class makes sense, since they are used in hibernate and that's where I'm noticing the problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067526#4067526 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Portal] - Memory Leak

2007-07-25 Thread brownfielda
I've noticed a slight memory leak when coding a portlet using hibernate. Every time I redeploy my portlet about 2Mb more memory is being used by the JVM. I was using the ContactPortlet from portletswap as a reference, and found that this also had a memory leak of a smaller size (about .5Mb per

[jboss-user] [JBoss Portal] - Package Permission

2007-07-20 Thread brownfielda
Was testing JBP 2.6 Bundled (apparently can't get a full DB on the Unix box I'll be working on) and found that the scripts in the bin/ directory didn't have execute permission (thought 2.4 did). Not a big deal, but a heads up if you have a couple seconds to run a quick chmod before your next co

[jboss-user] [JBoss Portal] - Re: how can i get current PortalNode

2007-07-19 Thread brownfielda
I'm a bit confused about what you are asking. I see org.jboss.portlet.JBossRenderRequest in both the API docs and in the source. Same with javax.portlet.RenderRequest. This is with JBP 2.6 source package, and javadocs for both 2.4 and 2.6. View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss Portal] - Re: API to create JBoss Portal user and assign a default rol

2007-07-19 Thread brownfielda
Chapter 14 of the Reference Manual. http://docs.jboss.com/jbportal/v2.6/reference-guide/html/identity.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065833#4065833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-19 Thread brownfielda
I suppose the question should be a bit more specific. When you defer to a JSP does the markup it sends back get used as is? Or does some component parse through that markup and strip out any of those forbidden tags? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtop

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread brownfielda
Possibly related: The portlet spec says something about disallowed HTML tags. I believe head and body were among them. Is this relevant when using JSP? Maybe dispatcher.include("myJSP.jsp") parses those tags out when returning control to the portlet. View the original post : http://www.jbos

[jboss-user] [JBoss Portal] - Re: Multiple instance of same portlet on same page

2007-07-18 Thread brownfielda
Hadn't ever thought about this problem. Digging through the portlet spec (as per Thomas' recommendation) found the solution in PLT 22.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065363#4065363 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss Portal] - Re: Expanded Programmatic Security

2007-07-17 Thread brownfielda
Thanks for the information. Any known workarounds or would it be best to modify the descriptors for the time being? --Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064959#4064959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [JBoss Portal] - Re: Handling Portal/Portlet Preferences

2007-07-17 Thread brownfielda
anonymous wrote : actually, you should seriously consider that even for development I concur. I actually found it much easier to understand the environment when using a full database. There are more tools out there to dig through MySQL than there are for hypersonic. I'm not sure what the per

[jboss-user] [JBoss Portal] - Expanded Programmatic Security

2007-07-16 Thread brownfielda
I'm attempting to write a portlet that has some additional internal security features. The overall goal will be to allow selected access to MBeans on a remote server (for the time being the goal is to restart foreign JVMs on a WAS 5.1 AS). At any rate, I was hoping to make the security checks

[jboss-user] [JBoss Portal] - Re: JBP JavaDocs

2007-07-11 Thread brownfielda
Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062956#4062956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062956 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Portal] - JBP JavaDocs

2007-07-09 Thread brownfielda
I've been getting a 404 error on the link to the JBP 2.6 javadoc download at http://labs.jboss.com/jbossportal/docs/index.html. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062115#4062115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [JBoss Portal] - Re: How to access in code to the Window Properties map in do

2007-07-09 Thread brownfielda
anonymous wrote : please don't let him stop you from helping others. HA! I've got much thicker skin than that. Thanks for the support though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061954#4061954 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Portal] - Re: user's group

2007-07-04 Thread brownfielda
Two things tripped me up when I was starting on this. First make sure to put the security-role-ref stuff into your portlet.xml. You can find the details about this in the section 20.3 of the portlet spec. Also, make sure to use the actual role names, not the displayed ones. The defaults are

[jboss-user] [JBoss Portal] - JBoss Portal 2.6

2007-07-03 Thread brownfielda
Howdy, This isn't really a question or problem, and if it's inappropriate and out of place feel free to delete this post. Just saying thanks to everyone for all the hard work and excellent product. So far 2.6 is working great and the documentation is much better than many other projects I've

[jboss-user] [JBoss Portal] - Re: How to access in code to the Window Properties map in do

2007-07-02 Thread brownfielda
Not sure of the specific answers, but the API lists some methods for javax.portlet.RenderRequest that may help. In particular, it has inherited the following methods from javax.portlet.PortalRequest: getAttribute() getParamater() getPreferences() getProperties() I get those 4 types confused on

[jboss-user] [JBoss Portal] - Re: Deployed portlet not found in personal dashboard editor

2007-06-28 Thread brownfielda
Did you make a *-object.xml and portlet-instances.xml? Those are not automatically generated by the netbeans plugin, since they are JBoss Portal specific. Check the reference manual if you want to see their structure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[jboss-user] [JBoss Portal] - Re: HelloWorldPortlet complications

2007-06-26 Thread brownfielda
What are the versions of your JDK and JVM? During a compiler course we ran into this error message a lot when trying to run our "hand-crafted" .class files on some JVMs (though not others). Seems that the JVMs check for more than just the major/minor version numbers in the class file. Maybe

[jboss-user] [JBoss Portal] - Re: Portlet customization with respect to user rloes

2007-06-21 Thread brownfielda
D'OH! Forgot that there is both a role-name and a display role-name. I was going by the display role-names in the provided Role Management portlet. Sorry for the stupidity and waste of forum space. --Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40

[jboss-user] [JBoss Portal] - Re: Can we use Cookie??

2007-06-21 Thread brownfielda
Does the functionality of the IPC demo help? It's on portletswap. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056479#4056479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056479

[jboss-user] [JBoss Portal] - Re: Portlet customization with respect to user rloes

2007-06-20 Thread brownfielda
I am having problems with the same thing, actually. web.xml contains: | | | Administrators | | | | Users | | portlet.xml contains: | | Users | Users | | | Administrators | Administrators | | and I'm trying to run the

[jboss-user] [JBoss Portal] - Re: Authentication using system username and password

2007-06-15 Thread brownfielda
Are the systems in question stand-alone systems or do they authenticate with a server (perhaps via LDAP)? Unless they are authenticated via a server I don't see how any server-side app could use the local machine's authentication without including a client side application. This is just musin

[jboss-user] [JBoss Portal] - Re: how to remove the

2007-06-14 Thread brownfielda
I'm new to all this (any sort of WebApp admin/dev), so don't take my words as bona fide fact. >From some digging earlier in the day I found something that I believe to be >related. >$JBOSS_HOME/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/web.xml I believe the url-pattern t

[jboss-user] [JBoss Portal] - Re: Unaccessable Instance

2007-06-13 Thread brownfielda
Managed to find a work-around, though it leaves some artifacts. I simply deleted the .war file from the war directory and the instances disappeared from all views of the portal. Doing the same recursive grep of the instance name shows that it has not changed it's occurrence in $JBOSS_HOME/serv

[jboss-user] [JBoss Portal] - Unaccessable Instance

2007-06-13 Thread brownfielda
Howdy, I've been playing around with JBoss Portal for a few days to become familiar with the environment, before I start developing some portlets. I have run into a slight snag that I haven't been able to remedy. Using the admin account I set a HelloWorld portlet instance with the view permis