[JBoss Portal] - Re: partial refresh for portlets (server-side implications)
by wherisat
Thomas, are you saying that I can benefit from partial refresh using only JSR 168 and JBOSS 2.6.5SP1? For example, if I have a JSP that has a form with a button, and I'd like that button to cause only that portlet to refresh, this can be accomplished?
To clarify, currently my JSP has code similar to this:
| <form action="<%=renderResp.createActionURL().toString()%>" method="POST">
| <select>
| <option value="volvo">Volvo</option>
| <option value="saab">Saab</option>
| <option value="mercedes">Mercedes</option>
| <option value="audi">Audi</option>
| </select>
| <input TYPE="SUBMIT">
| </form>
|
And hitting the SUBMIT button always causes a full portal refresh. How can I fix it so that it only causes a portlet refresh?
I have been searching for the answer to this for several days, with no luck, in both the JBOSS documentation and elsewhere. I am a web noob though, so maybe it's just something simple. I would be happy to pay for a quick solution, if any exists, I've wasted so much time already.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216368#4216368
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216368
15 years, 10 months
[Installation, Configuration & DEPLOYMENT] - Classpath issues with shared libraries
by blima17
I'm trying to deploy and application that we've previously been running on OC4J on JBoss 5.0.0 GA, and I'm receiving some errors on deployment that appear to be classpath related...
14:46:09,649 ERROR [ProfileServiceBootstrap] Failed to load profile:
| org.jboss.deployers.spi.DeploymentException: Unable to find class path entry ClassPathEntryImpl{path=myapp/WEB-INF/flex/jars/
| asc.jar} from mxmlc.jar
| at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
| at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:184)
| at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:82)
| at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.ja
| va:89)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1000)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:303)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
| at org.jboss.Main.boot(Main.java:209)
| at org.jboss.Main$1.run(Main.java:547)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.io.IOException: Child not found myapp/WEB-INF/flex/jars/asc.jar for DelegatingHandler@1148921[path=myapp
| /WEB-INF/flex/jars/mxmlc.jar context=file:/C:/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/de
| ploy/myapp/WEB-INF/flex/jars/mxmlc.jar], available children: [ZipEntryHandler@16127885[path=myapp/WEB-INF/flex/jars/mxml
| c.jar/META-INF context=file:/C:/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/deploy/banstuden
| t/WEB-INF/flex/jars/mxmlc.jar/META-INF], ZipEntryHandler(a)8671341[path=myapp/WEB-INF/flex/jars/mxmlc.jar/flash context=file:/C
| :/jboss-5.0.1.GA/server/default/deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/deploy/myapp/WEB-INF/flex/jars/mxmlc.jar/
| flash], ZipEntryHandler(a)12342946[path=myapp/WEB-INF/flex/jars/mxmlc.jar/flex2 context=file:/C:/jboss-5.0.1.GA/server/default/
| deploy/ real=file:/C:/jboss-5.0.1.GA/server/default/deploy/myapp/WEB-INF/flex/jars/mxmlc.jar/flex2]]
| at org.jboss.virtual.VirtualFile.findChild(VirtualFile.java:461)
| at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:180)
| ... 12 more
| 14:46:09,681 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048)] Started in 18s:
| 47ms
|
|
The file asc.jar is in the same directory as mxmlc.jar, so I'm not sure why it can't be found. Am I missing a configuration somewhere to set the classpath?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216366#4216366
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216366
15 years, 10 months
[JBoss Portal] - Re: how to trigger a portlet render request?
by wherisat
I didn't see any helpful samples.
It would've been nice to have given some more direction.
I'm trying to enable partial refresh of my portlet, which uses straight HTML/JSP/Javascript. For example, currently I have a button within a form inside my JSP:
| <form name="PlanViewForm" action="
| <%=renderResp.createActionURL().toString()%>" method="POST">
| <input NAME="RefreshButton" TYPE="SUBMIT">
| </form>
|
Clicking on that button causes a full portal refresh, my portlet redraws with new user selected values. How can I make it so that just my portlet redraws instead of the whole portal? I would pay for a solution, this has been killing me for a week now and the JBOSS documentation doesn't provide a minimal working example or anything helpful to a web noob.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216365#4216365
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216365
15 years, 10 months