[JBoss Portal] - Re: Is the header a portlet?
by PeterJ
I knew I should not have wiped out the portal that I used to help with this problem. But that just means I have to get you to do your work for you (rather than me doing it for you).
For items 1 and 2, do this. Display the page that has your portlet on the navigation area in your browser and then have the browser display the html source. Find your portlet within there and look at the surrounding div's and the class or id on those divs. Hopefully the class or id will be different from the navigation portlet, in which case you can modify the style sheet to reformat the div containing your portlet. (I think that even if the div class for your portlet and the navigation portlet are the same that there is still a way to specify a style specific to your portlet. My CSS book is at home or else I might just look up how to do this.)
For item #3, I am surprised that the options are showing up. For the portlet I tried none of the edit/max/min icons were visible. Did you set all three renderes to empty? If you used the *-object.xml file, did you check the spelling of the renderers?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971594#3971594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971594
19 years, 7 months
[JBoss jBPM] - CommandExecutorThread not started in Jbpm3.1, Jboss4.0.3SP1,
by doromoji
I'm very new to Jbpm. After impressed by Jbpm starter kit, I decide to try manually install Jbpm into Jboss4.0.3SP1 with MySQL5.
Everything seems to be okay. No error in the console. But I notice a different from Jbpm in the starter kit. There're no CommandExecutorThread, DbPersistenceServiceFactory, SchedulerThread running every 5 seconds.
I follow the following steps to deploy Jbpm.
1) run jbpm-db/build/mysql/scripts/mysql.create.sql
2) deploy jbpm-ds.xml to connect to mysql, and put mysql jdbc driver into $jboss_home/server/default/lib
3) deploy jbpm.sar and point the config to jbpm datasource.
4) deploy process by using ant task
5) deploy a simple war to test. I can successfully get the current JbpmContext and findLatestProcessDefinitions.
Is the CommandExecutorThread required? and How to configure it to run?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971589#3971589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971589
19 years, 7 months
[JBoss Seam] - Re: Interface from C app to Seam?
by chuaky
dear all,
I end up using seam remoting method. The following is an example of what i did.
Cheers.
java -cp . Reverse http://localhost:8080/seam-helloworld/seam/remoting/execute "<call component=\"helloAction\" method=\"sayHello\" id=\"0\">hjhj"
Reverse class:
==========
import java.io.*;
import java.net.*;
public class Reverse {
public static void main(String[] args) throws Exception {
if (args.length != 2) {
System.err.println("Usage: java Reverse " +
"http://<location of your servlet/script>" +
" string_to_reverse");
System.exit(1);
}
String stringToReverse = args[1];
URL url = new URL(args[0]);
URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.setRequestProperty("Content-Type","text/xml");
connection.setDoInput(true);
OutputStreamWriter out = new OutputStreamWriter(
connection.getOutputStream());
out.write(stringToReverse);
out.close();
BufferedReader in = new BufferedReader(
new InputStreamReader(
connection.getInputStream()));
String decodedString;
while ((decodedString = in.readLine()) != null) {
System.out.println(decodedString);
}
in.close();
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971583#3971583
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971583
19 years, 7 months