[JBoss jBPM] - Re: Different processes should be able to use different styl
by woo37830
Sorry for flame! Frustrated and shouldn't take it out on others. You're a better person than I am ;-) Thanks for the calm reply and attempt to help.
Here is the problem:
1) Customer wants to see a demo of having one "console" where we run several business processes from different departments, e.g. HR, Payroll, Benefits, etc.
2) People in various roles will receive email notifications when things are posted to their "queues" and have a link that takes them to the "console" as a user. Not necessarily the jbpm-console, but a single "console" with branding on the header for the "company" and a consistent way of handling logins, showing and manipulating the task lists, where all processes use the same task list ( with the process name showing ).
3) The various departments want their business processes to have different style sheets for their "tasks" only. Not affecting the header of the "console", nor the "footer", nor the administrative (usually hidden) left menu, but only their "pages".
4) So HR wants a blue theme with HR at the top of the "task" page and a particular layout, Benefits wants an orange theme with tabbed pages in their "tasks".
5) I've done this before in work-flow applications I've built, but used jsps and knew the url of the different processes relative to the root of the work-flow tool. E.g. href="../../Benefits/stylesheets/style1.css".
6) I have not been able to figure out where the xhtml pages actually reside when a process is loaded into the console, and thus don't know how to locate a particular style sheet. In the xhtml page, I need to put some
kind of href="...." path to the style sheet. I suppose I could set up a separate static page url on the same server and do href="ip.address:8080/Resources/Benefits/styles/style1.css" and put things like that there for retrieval. I could also put href="ip.address:8080/Resources/Benefits/images/image1.jpg" etc.
What do you think of that idea?
Thanks again. Trying to use some very nice technology but with very little to go on.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184491#4184491
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184491
15 years, 8 months
[JBoss jBPM] - Re: Different processes should be able to use different styl
by kukeltje
"woo37830" wrote : It is a tool to deploy processes and learn how to use them isn't it?
|
Yes
"woo37830" wrote :
| Yes, it is NOT an end user application, but that doesn't answer the question.
|
Correct
"woo37830" wrote :
| The question was ( I repeat it since it obviously wasn't read ), "How do you package different style sheets with different processes?"
|
Ok, my bad. The answer "so you won't find anything special for this." was not clear. Should it have been:
- You can't out of the box?
- Build something creatively yourself?
- Maybe someone else did something like this and they might respond here
"woo37830" wrote :
| If someone would look beyond the fact that some of us are struggling with the jbpm-console and think about what we're asking
|
Why do you think I didn't? Because you did not get the answer you want? I can struggle to get a nail into my wall with a screwdriver, or I can use a hammer. (thought of something like going to Australia and struggle with a crocodile to get leather for new shoes or something, but could not find the right analogy). Point is, use tools what they were meant to be used for.
"woo37830" wrote :
| perhaps there is a very simple answer like, "use a url like href='/processname/stylesheets/style.css'"
| or such.
|
If there was I would have told you, why wouldn't I?.... believe me
"woo37830" wrote :
| How else can we have different style sheets in different processes?
|
By building your own webapp and using look-and-feel in there.
"woo37830" wrote :
| Would appreciate a thoughtful answer instead of a flippant one that gives no useful information.
Again, not the information you wanted.... no complete out of the box solution.... your boss or marketing department is probably pushing this requirement right? And you have no time to develop your own application right? Believe me, they can (and will, I speak from experience) come up with more requirements that the console cannot and will not fulfil.
Oh and remember we love you (for those who know their classics)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184408#4184408
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184408
15 years, 8 months
[JBoss jBPM] - Re: Job Executor and Spring
by kukeltje
Leo, I know the usecase is quite common, but that does not mean it makes sense in all cases (to me)
My initial question was real and serious. But if I talk to people who use spring this way, I always get the answer about the config files and a statement like 'that is the way we do it' (often that is what they were tought/told and have no clue about advantages and mostly have problems like this one because of the way they use it)
Personally I use config files in a different way and do not miss Spring *for this* (not needed it for other things) So maybe I therefore reacted a little sarcasticly, but I am really interested in 'profoundly' discussing this. Can you send me an email on ronald (dot) jbpm (at) org (replace the not so obvious) so we can discuss this out-of-band?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184402#4184402
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184402
15 years, 8 months