[JBoss Portal] - ajax displaytag issue
by shylajans
Displaytag attribute url (link) is not working in jboss portal 2.4.6
Code :
<ajax:displayTag id="displayTagFrame" ajaxFlag="displayAjax" >
Last Time Table Refreshed: ${now}
<display:table name="pageScope.service.allCars" class="displaytag" pagesize="10"
defaultsort="1" defaultorder="descending" export="true" id="row" excludedParams="ajax">
<display:column property="make" title="Make" sortable="true" headerClass="sortable" />
<display:column property="model" title="Model" sortable="true" headerClass="sortable" />
<display:column title="Link" media="html">
${row.make} Web Page
</display:column>
<display:column title="Link" media="excel xml">
www.${row.make}.com
</display:column>
</display:table>
</ajax:displayTag>
The link will work in tomcat but in jboss portal 2.4.6 its not working.
Please let me if anybody has the solution for this issue.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157632#4157632
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157632
17 years, 10 months
[JBoss Tools (users)] - Re: Migration from JBossIDE 1.6.0 to JBossTools 2.0.0.cr1 &
by Achillix
I tried the program http://download.jboss.org/jbosstools/extras/packaging-convert.zip
and it breaks. Output follows:
| Script started on Thu Jun 12 12:10:21 2008
| achill4@smadev:~/packaging-convert> java -jar packaging-converter.jar ../workspace/SMA/.packaging
| Updating Project Builder to 'org.jboss.ide.eclipse.archives.core.archivesBuilder'...
| Adding 'org.jboss.ide.eclipse.archives.core.archivesNature' nature...
| Backing up to .project.bak, and saving to .project in ../workspace/SMA...
| [copy] Copying 1 file to /usr/home/achill/workspace/SMA
| Converting JBossIDE 1.x packages to JBossTools/RHDS archives...
| Converting package 'SMA_SERVER_SIDE.jar'...
| Converting package 'SMA_COMMON.jar'...
| Converting package 'SMA_EJBs.jar'...
| Exception in thread "main" org.codehaus.groovy.runtime.InvokerInvocationException: String index out of range: -1
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:126)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:664)
| at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:111)
| at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
| at groovy.lang.GroovyShell.runMainOrTestOrRunnable(GroovyShell.java:319)
| at groovy.lang.GroovyShell.run(GroovyShell.java:394)
| at org.jboss.tools.archives.JBossIDEtoTools.main(JBossIDEtoTools.java:24)
| Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
| at java.lang.String.substring(String.java:1768)
| at gjdk.java.lang.String_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
| at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
| at org.jboss.tools.archives.PackagingConverter.convertFile(PackaginConverter.groovy:129)
| at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:525)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at groovy.lang.MetaClass.invokeMethod(MetaClass.java:87)
| at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:73)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:541)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97)
| at org.jboss.tools.archives.PackagingConverter$_convertPackaging_closure2_closure4.doCall(PackaginConverter.groovy:103)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:69)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at groovy.lang.Closure.call(Closure.java:188)
| at groovy.lang.Closure.call(Closure.java:201)
| at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:657)
| at gjdk.java.util.AbstractList$Itr_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| at org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
| at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
| at org.jboss.tools.archives.PackagingConverter$_convertPackaging_closure2.doCall(PackaginConverter.groovy:102)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:69)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at groovy.lang.Closure.call(Closure.java:188)
| at groovy.lang.Closure.call(Closure.java:201)
| at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:657)
| at gjdk.java.util.AbstractList$Itr_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| at org.codehaus.groovy.runtime.NewInstanceMetaMethod.invoke(NewInstanceMetaMethod.java:109)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:119)
| at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
| at org.jboss.tools.archives.PackagingConverter.convertPackaging(PackaginConverter.groovy:87)
| at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:97)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:129)
| at org.jboss.tools.archives.PackagingConverter.convert(PackaginConverter.groovy:54)
| at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:713)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:560)
| at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:450)
| at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:131)
| at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:111)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:187)
| at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:211)
| at org.jboss.tools.archives.PackagingConverter.main(PackaginConverter.groovy:181)
| at gjdk.org.jboss.tools.archives.PackagingConverter_GroovyReflector.invoke(Unknown Source)
| at groovy.lang.MetaMethod.invoke(MetaMethod.java:115)
| ... 7 more
| achill4@smadev:~/packaging-convert> ^D exit
|
| Script done on Thu Jun 12 12:10:37 2008
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157625#4157625
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157625
17 years, 10 months
[Testimonials] - How do I solve database issues with JSF frameworks
by ms_shitole
Hi,
As JBPM is such a nice workflow engine...As we are working from last 6 months. We got very a very good suceess while working with jbpm. As security is one of the concern in Jbpm but we solved security part and added the user mapping also.
Now we wana do the presentation part where we are not geting the concept of JSF framework which was used in JBPM. As our requirement is that, we will add our own tables in the databse containing employee informations, library etc.
For example we created one "HolidayRequest" process definition. And the forms(xhtml) which are related to this process, Inside these xhtml forms, we need to retrieve data from the database and wanted to show dynamically.
And we got one such example of doing so but it is not working with our forms(In our personal process related forms)
In "jbpm-console.war" file contains one "sa" named folder. Inside "sa" folder, all xhtml files are present . One of them is t_task.xhtml, I will give u code of t_tasks.xhtml. The exact same thing I want to do in my own "HolidayRequest" process forms(form.leaveApplication.xhtml) retrieve from database and display same like t_tasks.xhtml....
Code of t_tasks.xhtml file-(Not full code, only data retrieval & diplay code)
<h:outputText>
<ga:attribute name="rendered" value="#{! empty tasks}"/>
<gd:repeat value="#{tasks}" var="task" idVar="rid" first="#{tasks_pager.first}" limit="#{tasks_pager.limit}">
<gs:tr rendered="#{((request.remoteUser == task.loggedUser)||(request.remoteUser == 'manager')||(request.remoteUser == task.actorId)) ? true : false }">
<ga:attribute name="styleClass" value="#{rid % 2 == 0 ? 'odd' : 'even'}"/>
<h:outputText value="#{task.id}"/>
<h:outputText value="#{task.name}"/>
<ga:responseActions>
<gd:sort source="#{task.pooledActors}" target="#{taskActors}" entryVar="e" argument="#{e.actorId}"/>
</ga:responseActions>
<h:form>
<gd:repeat>
<ga:attribute name="value" value="#{taskActors}"/>
<ga:attribute name="var" value="actor"/>
<ga:attribute name="rendered" value="#{! empty task.pooledActors}"/>
<h:outputText value="#{actor.actorId}"/>
<ga:checkRole roles="#{access.role.task}">
<h:outputText value=" - " rendered="#{task.end == null and task.actorId != actor.actorId}"/>
<h:commandLink rendered="#{task.end == null and task.actorId != actor.actorId}">
<f:param name="xtaskId" value="#{task.id}"/>
<f:param name="xactorId" value="#{actor.actorId}"/>
<ga:parameter name="xtaskId" target="#{xtaskId}"/>
<ga:parameter name="xactorId" target="#{xactorId}"/>
<ga:attribute name="value" value="#{task.actorId == null ? 'Assign' : 'Reassign'}"/>
<j4j:loadTask id="#{xtaskId}" target="#{xtask}"/>
<j4j:assignTask task="#{xtask}" actorId="#{xactorId}"/>
<n:nav outcome="success" redirect="true" storeMessages="true"/>
<n:nav outcome="error" redirect="true" storeMessages="true"/>
</h:commandLink>
</ga:checkRole>
</gd:repeat>
</h:form>
<h:outputText value="#{task.actorId}"/>
However procins.xhtml file contains
<j4j:listTasksForProcessInstance unless="#{viewMode != 'task'}" target="#{tasks}" processInstance="#{pi}"/>
this tag is for retrieving data and storing in "{#tasks}" collection object.
So how we could achieve this? please guide us. I will be highly grateful to you.
Thanking you
--Mansingh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157620#4157620
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157620
17 years, 10 months
[Testimonials] - jBPM success stories?
by ms_shitole
Hii Ander
As JBPM is such a nice workflow engine...As we are working from last 6 months. We got very a very good suceess while working with jbpm. As security is one of the concern in Jbpm but we solved security part and added the user mapping also.
Now we wana do the presentation part where we are not geting the concept of JSF framework which was used in JBPM. As our requirement is that, we will add our own tables in the databse containing employee informations, library etc.
For example we created one "HolidayRequest" process definition. And the forms(xhtml) which are related to this process, Inside these xhtml forms, we need to retrieve data from the database and wanted to show dynamically. So how we could achieve this? please guide us. I will be highly grateful to you.
Thanking you
--Mansingh
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157615#4157615
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157615
17 years, 10 months