[JBoss Portal Development] - Migrate from EPP 4.3 to 5.1.0 - Show user-defined Page after login
by Daniel Wasser
Daniel Wasser [http://community.jboss.org/people/dwasser] created the discussion
"Migrate from EPP 4.3 to 5.1.0 - Show user-defined Page after login"
To view the discussion, visit: http://community.jboss.org/message/613894#613894
--------------------------------------------------------------
Hello JBossies,
while migrating from JBoss EPP 4.3 to EPP 5.0 we are facing a problem
to migrate a mechanism we use to display programatically another portalpage
than the default one. Normally JBoss portal (EPP4.3) will
show the login page after calling a page in a secured Webapplication. If the
authentication is sucessfull the portals default page is shown.
Due to some security issues we need to display some other pages
eg. "change password" or "correct user data" after the login page was shown.
To achieve this goal we extend
org.jboss.portal.core.controller.command.mapper.AbstractCommandFactory
and override the doMapping(ControllerContext context, ServerInvocation invocation,
String host, String contextPath, String requestPath) method.
The Method returns a ControllerCommand which tells the portalserver
which page should be shown. To do this we return a
RenderPageCommand with the PortalObjectId we need to be shown.
To migrate to GateIn/Exo Portal we are locking for an equivalent mechanism.
Are there any ideas?
Thanks in advance,
Daniel Wasser
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613894#613894]
Start a new discussion in JBoss Portal Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 8 months
Re: [jboss-dev-forums] [JBoss AS7 Development] - Data Source Configuration in AS 7
by Gerry Matte
Gerry Matte [http://community.jboss.org/people/gerry.matte] commented on the document
"Data Source Configuration in AS 7"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16657#comment-6970
--------------------------------------------------
I followed the example as much as possible - the only changes made were in the module.xml to replace the datasource name and pool-name of MySqlDS with TestDS and I also corrected the typo share-prepared-statement should have been plural share-prepared-statements
I copied my mysql-connector-java-5.1.15-bin.jar into the [JBOSS_HOME]/modules/com/mysql/main where the module.xml resides
When I started the server, I saw the message
New missing/unsatisfied dependencies:
service jboss.jdbc-driver.com_mysql (missing)
Turns out that the jar file name used in module.xml did not end with -bin.jar like the driver jar downloaded from the mysql website. I corrected the resource-root path attribute to correctly specify the jar file name.
It's a small mistake but I'll post this anyway in case anyone else has a similar renamed driver jar to contend with.
--------------------------------------------------
12 years, 8 months
[jBPM Development] - jbpm 5 form flow
by Dino Antonelli
Dino Antonelli [http://community.jboss.org/people/dino.antonelli] created the discussion
"jbpm 5 form flow"
To view the discussion, visit: http://community.jboss.org/message/613686#613686
--------------------------------------------------------------
Hi,
we are experimenting some solutions in our company unig the last release of JBPM5. In our implementation we are using the jbpm api without using the ftl functionality. So when we have a task we display out own jsf gui and call relevant api in order to complete the task.
Our customer have designed a BPMN process. The result is that the application has several tasks, each one with its own form that have to be performed in sequence. So these tasks can be performed directly, one after another. The customer also wants that if the user performs the form task he/she should automatically see the next form task in that process if it is one for him. The customer doesn't want that the ui goes back to the tasklist. We are currently looking for ways to achieve this behavior. If there is any hint or tip on how to achieve this?
Generally speaking, we can have the following situations:
1) The process has a sequence of workitems and in this sequence all the human tasks are owned by the same user: it's the above situation
2) The process has a sequence of workitems and, starting from one of them, the owner is someone else, so the situation is the same as above 'till some specific task (that must in some way be identified) and than the application must go back to the tasklist to start a new sequence.
3) The process has a fork gateway with 2 different sequences of tasks and one of them it's still owned by the same user while the other it's owned by someone else. In this case the current user continues with its tasks while the other user checks the tasklist
4) The process has a fork gateway with 2 different sequence and each one are owned by someone else: still go to the tasklist
5) The process has a fork gateway with 2 different sequence and each one it's owned by the same user: ?, probably, I hope, goes to the task list
There's are any possible patterns/examples/tips to manage these situations?
Thanks in advance for the answers
Dino Antonelli
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/613686#613686]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 9 months