[JBoss Seam] - Re: learning up
by laxu
I cannot make neither of them work. I mean, the object is passed correctly but assigning it to the
@Out Organization organization does not outject it. I cannot see it in the upcoming page but a new instance of Organization
By the way, I realized that in the booking demo from Seam 1.0.1 passes the Hotel object "hot" differently than it is done in 1.1 demo. In 1.1 demo, hotel argument is passed by using an s:link and an argument to te selectHotel. Earlier demo uses @DataModelSelection and injects the HotelSearch into HotelBooking.
BTW, explanation pages below 1.1 demo is not updated and explains up to the old style.
Removing h:selectBooleanCheckbox does not make any difference. I changed everything up to the old style and tried passing the hotel with DataModelSelection. Also tried with commandLink.
I am confused a lot and I still cannot get the thing working right.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016983#4016983
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016983
19Â years, 2Â months
[JBossCache] - is it possible by using JBoss Cache accessing a value from s
by mvrck1208
Hi,
i have JBossAS & JBossCache
i have to access an object from several JBoss AS(in a cluster) for every 5 minutes.i have gone through all jboss cache docs.should i use
ReplicationQueue for this...if yes how can i use ReplicationQueue for this requirement.I knew two methodes, ReplicationQueue interval and ReplicationQueue size are
two methodes availabe in TreeCache class.Here size doesn't matter.Here i would like to use JBossCache in synchronization mode and it should synchronize
all machines for every minutes(instead of queue size).
It would be great to know following things are possible or not by using JBossCache
1.Can i use different TreeCache instances in a single machine at same time
2.Can i replicate all instances for every 5 minutes(in a cluster) all should be done at same time(i.e should be synchronized) and here ReplicationQueue size doesn't matter
Please let me know, is it possible or not by using JBoss Cache.
Thanks alot for your time.
Ravi(SSE)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016974#4016974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016974
19Â years, 2Â months
[Tomcat, HTTPD, Servlets & JSP] - Dynamic External Directories
by balcerman
Hello,
Here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories
you can find how to make visible files from outside of 'war'. Here's a quote:
anonymous wrote : Serving Static External Files jboss-3.2.4 Onwards
| JBoss 3.2.4 no longer uses Tomcat 4.1.x The default web container is Tomcat5.0.x
|
| Note : The following two steps are a hack till JBoss WebDeployer? gets updated with support for static content.
|
| Step 1 : Copy a default web.xml from <JBOSS_HOME>/server/<config-name>/deploy/jbossweb-tomcat50.sar and place it in the <JBOSS_HOME>/server/<config-name>/conf directory
|
| Step 2 : Edit <JBOSS_HOME>/server/<config-name>/deploy/jbossweb-tomcat50.sar/server.xml and add a Context element under Host.(Step similar to standalone TC)
|
| <Host name="localhost" ...>
| <!-- ADD static benchmark DIRECTORY -->
|
|
| ...
|
|
| This will enable Tomcat to serve up static content (like html, images etc) from a directory /home/anil/benchmark and the url will be "http://localhost:8080/benchmark"
It works in a 'static' way. If I want to change the external directory name and make it still visible for JBoss, I need to restart server.
Is there a way to change the external directory without restarting JBoss?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016971#4016971
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016971
19Â years, 2Â months