[Design of JBoss Labs] - Links in Labs 2
by adamw
Hello,
as always, there is a problem with URLs. This time - forums and blog. Of course, links to posts should be permanent. To make the really permanent throughout the changing Portal and Labs site, I suppose they have to be of the form: http://www.jboss.org/forums?aaa=bbb.
On the other hand, it would be best to have the possibility that each project can have a forums/blog portlet on the project page (maybe even several of such portlets), displaying their specific forum, for example. However, links in such portlets have to contain information about which page the portlet is on, at least. And we won't be able to keep such links permanent for sure.
There are several approaches to solve that:
* do it like it is with our Wiki - have only one forums/blog portlet, and links would always point there; however, this won't enable projects to have a true forums/blog portlet on a project page (that is, a portlet which wouldn't be only a link to the "big" portlet)
* have [permalink] links next to each post link etc. This solves the problem, but requires more care and intelligence from the user.
* another way? Hold the "last selected page" in user's sessions attributes? But that would disable browsing two projects at one time and them having multiple portlets of the same kind on one page. But this also requires special redirects for forums and is not so nice ;).
--
Cheers,
Adam
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016452#4016452
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016452
19 years, 1 month
[Design the new POJO MicroContainer] - Re: Scoped beans deployment
by adrian@jboss.org
"alesj" wrote :
| anonymous wrote :
| | Yes, but a missing DESCRIBED dependency should not stop the context
| | moving to the new PRE_INSTALL state.
| |
|
| How do you move forward with this dependency?
I don't understand the question?
Let me go through the state in detail and hopefully this will clarify it?
1) Somebody intalls a context that wants to be scoped.
2) This goes through the visitor which builds up the dependencies
and they internally take a reference to the ControllerContext for later use if
required.
3) We check that all "PREINSTALL" dependencies are satisfied,
basically the classloader and in future the classloading dependencies
4) We switch the context to the scoped controller (creating it if necessary)
5) We check that all "DESCRIBED" dependencies are satisfied
(since the classloader has moved to PREINSTALL this will be none by default)
6) Business as usual, except the context is now in a scoped controller.
It's ugly (the switching of the controller),
but it does allow us to be able to define PREINSTALL dependencies
like the classloading and potentially have seperate DESCRIBED dependencies
using the normal mechanisms.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016442#4016442
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016442
19 years, 1 month
[Design of Kosmos] - JIRA monitoring problem: Nothing found to display.
by skls
I've configured the JIRA monitoring portlet. Here is a portlet configuration:
<portlet>
| <portlet-name>JBossJiraMonitoringPortlet</portlet-name>
| <portlet-class>hu.midori.kosmos.portlet.jira.JiraMonitoringPortlet</portlet-class>
| <init-param>
| <name>monitored.resource</name>
| <value>My tasks</value>
| </init-param>
| <init-param>
| <name>service.url</name>
| <value>http://localhost:8080/kosmos-server/kosmos-services/jira-service</value>
| </init-param>
| <init-param>
| <name>monitored.urls</name>
| <value>http://jira:2020/jira/browse/PRJ</value>
| </init-param>
| <supports>
| <mime-type>text/html</mime-type>
| <portlet-mode>HELP</portlet-mode>
| <portlet-mode>VIEW</portlet-mode>
| </supports>
| <supported-locale>de</supported-locale>
| <supported-locale>en</supported-locale>
| <supported-locale>fr</supported-locale>
| <supported-locale>hu</supported-locale>
| <supported-locale>ja</supported-locale>
| <supported-locale>pl</supported-locale>
| <resource-bundle>hu.midori.kosmos.portlet.jira.jira_monitoring</resource-bundle>
| <portlet-info>
| <title>JIRA Monitoring</title>
| </portlet-info>
| </portlet>
I'm pretty sure that the configuration is correct, because I can open JIRA monitoring URL in my browser. But I see the label "Nothing found to display." if I open the Kosmos portal page. There are no exceptions in logs.
I use JBoss Portal 2.4 + Kosmos 0.2.0RC2.
Does anybody know a solution for this problem? I found a couple of posts related to the same issue, but unfortunately the guys who posted questions and resolved it didn't write a solution. :-(
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016419#4016419
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016419
19 years, 1 month
[Design of JBoss jBPM] - Re: various questions
by estaub
Tom,
You didn't have to put names on process definitions, nodes, etc., but you did. Why? - because people have external handles on these things (in these definition cases, mostly concepts in their brains) by which they want/need to refer to the definition elements.
In the process instance case, the "business key" frequently is some key value that also is externally held (either mentally or by another system) by which folks need to prioritize their tasks, monitor, or intervene in. Usually it refers to some variable that is the "subject" of the workflow. In my experience, folks nearly always want this in some form. If you are concerned about requiring folks to invent a key, you could defaullt it to a combination of definition and date/time.
I have a feeling there's some much deeper divergence in intent here... this is so obvious that it would have to be obvious to you unless we were starting from very different places. I don't know what the deeper difference is, though...
Thanks,
-Ed Staub
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016404#4016404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016404
19 years, 1 month