Re: T5: @Propery can not be an Interface? No default coercion?
You can have interface parameters, but the problem here is that you define a parameter of type PageDelegate, and try to assign a default value of string false to that parameter. Perhaps you meant @Property(required=false) ? - Ville Maximilian Weißböck wrote: I have a component that has a delegate as parameter binding like this: @Parameter(false) @Property private PageDelegate pageDelegate; Inside the page I'm testing if the delegate is set (only then an ActionLink will be shown) t:if test=pageDelegate PageDelegate is an Interface, and I'm getting this error on startup: [ERROR] ipeople.Index Render queue error in BeginRender[ipeople/Index:iphonelistlayout.if_0]: Failure reading parameter 'test' of component ipeople/Index:iphonelistlayout.if_0: Failure reading parameter 'pageDelegate' of component ipeople/Index:iphonelistlayout: Could not find a coercion from type java.lang.Boolean to type at.sphinx.sxfinder.util.PageDelegate. Available coercions: Double -- Float, Float -- Double, Long -- Boolean, Long -- Byte, Long -- Double, Long -- Integer, Long -- Short, Number -- Long, Object -- Object[], Object -- String, ... [deleted] Everything works fine if I change pageDelegate to type Object, as there is a default coercion for Object. Now what I would like is the exact same behaviour for an Interface as it is for Object (test returns true if not null, false if null) Is there e generic way to do this, or even better could that be standard behaviour in T5? Anything that is against this possible standard behaviour? And a second question: What I'm doing with this PageDelegate is to give the Component access to the Page it is contained in. Is there a better/standard way to do this? Thanks, Max -- View this message in context: http://www.nabble.com/T5%3A-%40Propery-can-not-be-an-Interface--No-default-coercion--tp20700914p20768313.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The Form Submit can't Work!
Hi, this is one of the bad sides of T5: there is nothing wrong in your code, but the correct method handler should be named onSuccessFromDownloadFile() I think, not onSuccessFormDownloadFile. The notation is onSOMEEVENTFromSOMECOMPONENTID when you use that approach. I prefer the annotations though. Here you can see the possible events that form invokes: http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html (scroll to the submit events part.) for an example if you want your method to be called when there is a validation failure write onFailureFromDownloadFile() and if you want to execute only when there are no validation errors use onSuccessFromDownloadFile() submit event will fire regardless whether there are validation errors or not. - Ville Gerry Chen wrote: Thank dalahoo ! I use T5.0.16 JAR.I try your codes in my project .But I find it not to work.I try to insert a Breakpoint in the onSuccessFormDownloadFile() .It doesn't stop in the method after my clicking Export File Button. I have tried to add below code. StreamResponse onSubmit() { ... } I find it can work. I think I can't make out the method invoked by Btn_Down or Btn_Search when we click buttons in my Page .Though I can add a private property to distinguish the method invoked by which Botton in my Page,I think it is so tired to handle the click event. So Everyone have some suggestion to me. Thanks! dalahoo wrote: Hi Gerry, Try to change you method name to : onSuccessFormDownloadFile or use Annotation : @OnEvent(value = submit, component = Btn_Down) StreamResponse onSubmitFormDownloadFile() { On Mon, Dec 1, 2008 at 2:55 AM, Gerry Chen [EMAIL PROTECTED] wrote: Hi Everyone: I'm a new Tapestry user. I'm interesting in developing Web Program with Tapestry Framwork.But I have some problem in my project. This question is the Form Submit Event can't be invoked When I click Export File Button in my Page. My Program looks like this: SearchGoodsInfo.tml This tml file hava tow Forms. t:Form id=queryForm input type=submit t:type=submit t:Id=Btn_Search t:value=Find class=button_bg/ /t:Form t:Form t:id=DownloadFile input type=submit t:type=submit t:Id = Btn_Down t:value=Export File class=button_bg/ /t:Form SearchGoodsInfo.java The Event handler in java file like this: StreamResponse onSubmitFormDownloadFile() { StreamResponse responseDown = new XlsFileAttachmet(insFile); return responseDown; } The Extension .java file only have a form submit Event with Export File Button.I use below code to handle another button. That is working finely. @OnEvent(value=selected,component = Btn_Submit) public void onSearch() { . } But the onSubmitFormDownloadFile method can not work!How can I catch the DownloadFile form submit event. -- View this message in context: http://www.nabble.com/The-Form-Submit-can%27t-Work%21-tp20765310p20765310.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- sincerely yours M. H. Shamsi -- View this message in context: http://www.nabble.com/The-Form-Submit-can%27t-Work%21-tp20765310p20768836.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Strange problems using jetty:run
Hi guys... I really need to solve the same problem urgently... How can I restore my project's build path from Maven? Can I do it from the pom.xml or from anywhere else? Please, can you explain it in detail for me? Thank you a lot Ariel --- cnoleherzer wrote: Hi Guys, first of all i am using Tapestry5.0.14 and maven2 to build a website, maven jetty plugin (mvn jetty:run) to launch the application. Everything has worked fine util today i used mvn clean to remove the war file, and then mvn jetty:run didn't work. All pages are gone, or the templates of all pages cann't be located. When i requested the start page of my application, i get this message: Page Index did not generate any markup when rendered. This could be because its template file could not be located, or because a render phase method in the page prevented rendering. any idea? -- View this message in context: http://www.nabble.com/-T5--Strange-problems-using-jetty%3Arun-tp20067500p20772593.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Strange problems using jetty:run
Em Mon, 01 Dec 2008 11:12:15 -0300, gringoac [EMAIL PROTECTED] escreveu: Hi guys... I really need to solve the same problem urgently... How can I restore my project's build path from Maven? Can I do it from the pom.xml or from anywhere else? Try mvn eclipse:eclipse and then refresh your project. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Strange problems using jetty:run
I'm using Eclipse. However, I'm trying to run the project without Eclipse, only from console... I do this steps: - mvn clean install - mvn war:war - mvn package - mvn eclipse:eclipse - mvn tomcat:run (or mvn jetty:run) Then, going to localhost:8080/trunk in my browser, and get the Index did not generate any markup when rendered... If I go to Eclipse and hit MyProject-Run On Server, it opens the browser and get the same error. If I do project-clean from Eclipse, and then mvn tomcat:run again or Run on Server from Eclipse, both of them works fine. Does anybody know how to solve this problem without using Eclipse... only from Maven and the console (cmd)? Do I need to restore the project's build path (if it was wipe in the mvn clean as you said)? How Can i Do that from console, pom.xml or any place like that? Thanks a lot, Ariel Thiago H. de Paula Figueiredo wrote: Em Mon, 01 Dec 2008 11:12:15 -0300, gringoac [EMAIL PROTECTED] escreveu: Hi guys... I really need to solve the same problem urgently... How can I restore my project's build path from Maven? Can I do it from the pom.xml or from anywhere else? Try mvn eclipse:eclipse and then refresh your project. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-T5--Strange-problems-using-jetty%3Arun-tp20067500p20773278.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: T5: @Propery can not be an Interface? No default coercion?
Thanks, yes exactly this is what I meant... I feel so ... still learning T5 :-) Thanks again, Max -Ursprüngliche Nachricht- Von: Ville Virtanen [mailto:[EMAIL PROTECTED] Gesendet: Montag, 1. Dezember 2008 10:04 An: users@tapestry.apache.org Betreff: Re: T5: @Propery can not be an Interface? No default coercion? You can have interface parameters, but the problem here is that you define a parameter of type PageDelegate, and try to assign a default value of string false to that parameter. Perhaps you meant @Property(required=false) ? - Ville Maximilian Weißböck wrote: I have a component that has a delegate as parameter binding like this: @Parameter(false) @Property private PageDelegate pageDelegate; Inside the page I'm testing if the delegate is set (only then an ActionLink will be shown) t:if test=pageDelegate PageDelegate is an Interface, and I'm getting this error on startup: [ERROR] ipeople.Index Render queue error in BeginRender[ipeople/Index:iphonelistlayout.if_0]: Failure reading parameter 'test' of component ipeople/Index:iphonelistlayout.if_0: Failure reading parameter 'pageDelegate' of component ipeople/Index:iphonelistlayout: Could not find a coercion from type java.lang.Boolean to type at.sphinx.sxfinder.util.PageDelegate. Available coercions: Double -- Float, Float -- Double, Long -- Boolean, Long -- Byte, Long -- Double, Long -- Integer, Long -- Short, Number -- Long, Object -- Object[], Object -- String, ... [deleted] Everything works fine if I change pageDelegate to type Object, as there is a default coercion for Object. Now what I would like is the exact same behaviour for an Interface as it is for Object (test returns true if not null, false if null) Is there e generic way to do this, or even better could that be standard behaviour in T5? Anything that is against this possible standard behaviour? And a second question: What I'm doing with this PageDelegate is to give the Component access to the Page it is contained in. Is there a better/standard way to do this? Thanks, Max -- View this message in context: http://www.nabble.com/T5%3A-%40Propery-can- not-be-an-Interface--No-default-coercion--tp20700914p20768313.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Palette NPE
I just had this issue; it was because the object overrided the equals method, but not hashCode, hence the selected object couldn't be found in the selected set. Nick zack1403 wrote: Bump for help on this? Is the because genericSelectModel.getOptionGroups returns null? This occurs intermitently and I havent been able to find a workaround. Zack zack1403 wrote: Hey All, I'm getting a NullPointerException when the palette component in 5.0.16: Caused by: java.lang.NullPointerException at org.apache.tapestry5.internal.util.SelectModelRenderer.option(SelectModelRenderer.java:49) at org.apache.tapestry5.corelib.components.Palette$SelectedRenderer.render(Palette.java:147) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl$RenderPhaseEventHandler$1.render(ComponentPageElementImpl.java:164) at org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72) I'm populating the palette using the code below: selectEncoder = new GenericValueEncoderStringBean(this.spreadsheetHeaders); selectModel = new GenericSelectModelStringBean(this.spreadsheetHeaders, StringBean.class, value, value, propertyAccess); Am I using this correctly? Thanks, Zack - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ASO, Persistent Fields and Restart Service
If I call the restart service, shouldn't all my session-scoped ASOs and persistent page fields be cleaned up? Correct me if i'm wrong, but the restart service simply invalidates the backing HttpSession which in turn should do the cleanup mentioned above. Thanks, Dave Park -- View this message in context: http://www.nabble.com/ASO%2C-Persistent-Fields-and-Restart-Service-tp20774512p20774512.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Strange problems using jetty:run
Hi, Try this: mvn clean install jetty:run This should solve your problem. For the eclipse part, mvn eclipse:clean eclipse:eclipse should do the trick. (Or preferably, use the m2eclipse plugin from within Eclipse). Oh, and another thing: of the steps 1 mvn clean install 2 mvn war:war 3 mvn package 4 mvn eclipse:eclipse 5 mvn tomcat:run (or mvn jetty:run) only step 1 and 5 (and optionally step 4) are necessary. The install phase implies package, which for a web app is a synonym to war:war. It could even be shortened to mvn clean jetty:run. Step 4 is only necessary when you have modified pom.xml HTH, Olle 2008/12/1 gringoac [EMAIL PROTECTED] I'm using Eclipse. However, I'm trying to run the project without Eclipse, only from console... I do this steps: - mvn clean install - mvn war:war - mvn package - mvn eclipse:eclipse - mvn tomcat:run (or mvn jetty:run) Then, going to localhost:8080/trunk in my browser, and get the Index did not generate any markup when rendered... If I go to Eclipse and hit MyProject-Run On Server, it opens the browser and get the same error. If I do project-clean from Eclipse, and then mvn tomcat:run again or Run on Server from Eclipse, both of them works fine. Does anybody know how to solve this problem without using Eclipse... only from Maven and the console (cmd)? Do I need to restore the project's build path (if it was wipe in the mvn clean as you said)? How Can i Do that from console, pom.xml or any place like that? Thanks a lot, Ariel Thiago H. de Paula Figueiredo wrote: Em Mon, 01 Dec 2008 11:12:15 -0300, gringoac [EMAIL PROTECTED] escreveu: Hi guys... I really need to solve the same problem urgently... How can I restore my project's build path from Maven? Can I do it from the pom.xml or from anywhere else? Try mvn eclipse:eclipse and then refresh your project. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-T5--Strange-problems-using-jetty%3Arun-tp20067500p20773278.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Olle Hallin Senior Java Developer and Architect [EMAIL PROTECTED] www.crisp.se
[T5] newb editable loop
Hm, I can get editable loop work fine, with, say, ArrayList of Persons with their First/Last Names editable (thanks for jumpstart http://jumpstart.doublenegative.com.au:8080/jumpstart/). But when I rty the same with ArrayListString or ArrayListBoolean it does not work, To be more specific, I have: @Persist @Property private ListPerson Persons; @Property private Person loopPerson; @Property private Boolean bit; @Property @Persist private ListBoolean bits; I display persons's names in TextFields and booleans in checkboxes in different (very similar, with volatile=true) forms but when I edit them changes to booleans are lost :( I tryed the same with the ArrayList of Strings without success - chenges are lost... I suspect that if editable property corresponds to some setXXX it works, but if its just an element of ArrayList it does not. Is that by design, or am I missing something? TYA
[t5] onEvent mixin failure since 5.0.17 - wrong response sent back to server
hi all, i am using the onEvent mixing but since 5.0.17 my code does not seem to work any more. though the event response should be cost1|cost2 tapestry seems to ignore my textstreamresponse and firebug reports that the response is the value of the selectbox itself (post: value750, response: {value:750} instead of cost1|cost2). any ideas? thank you i got a select box on my page: == t:select t:id=selectQuantity value=orderItem.quantity model=graduatedQuantities t:mixins=t5components/OnEvent event=change onCompleteCallback=onQuantityChange/ with the according javascript function: === script type=text/javascript function onQuantityChange(response) { tokens = response.split(|) $('costWithoutVat').value = tokens[0]; $('costWithVat').value = tokens[1]; } /script in my code there is an event handler: = @OnEvent(component = selectQuantity, value = change) public Object onChangeFromSelectQuantity(int value) { return quantityChange(value); } public StreamResponse quantityChange(int value) { getOrderItem().setQuantity(value); StringBuilder sb = new StringBuilder(); sb.append(getCostWithoutVat()); sb.append(|); sb.append(getCostWithVat()); return new TextStreamResponse(text/html, sb.toString()); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [t5] onEvent mixin failure since 5.0.17 - wrong response sent back to server
seems t5components/onEvent changed its behaviour and always sends back the field's value as repsonse. is there a way to get the old behaviour back? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [t5] onEvent mixin failure since 5.0.17 - wrong response sent back to server
changes submitted into trunk 2008/12/1 Harald Geritzer [EMAIL PROTECTED] seems t5components/onEvent changed its behaviour and always sends back the field's value as repsonse. is there a way to get the old behaviour back? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- with regards Sven Homburg http://www.chenillekit.org http://tapestry5-components.googlecode.com
Re: [t5] onEvent mixin failure since 5.0.17 - wrong response sent back to server
Sven Homburg schrieb: changes submitted into trunk thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[T5] Grid cell labels can't be overridden
I am using T 5.0.17 and trying to override cell labels of the Grid component. I am trying like described here: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html see section UserList.properties The labels defined in the properties file og my page are not used to label the cells. I searched JIRA but found no related issue. Does anybody have the same problem? Andy TaskList.properties: -- title-label=Titel TaskList.tml -- t:grid t:id=tasks row=task exclude=id reorder=module,title,status,type,resolution add=edit inPlace=true pagerPosition=bottom rowsPerPage=25 t:parameter name=editcell a href=# t:type=PageLink page=administration/task/editTask context=task.idedit/a /t:parameter /t:grid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Grid cell labels can't be overridden
BeanModel / BeanModelSource do not do this today, but there's no reason why they should not. Please add a JIRA enhancement issue. On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne [EMAIL PROTECTED] wrote: I am using T 5.0.17 and trying to override cell labels of the Grid component. I am trying like described here: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html see section UserList.properties The labels defined in the properties file og my page are not used to label the cells. I searched JIRA but found no related issue. Does anybody have the same problem? Andy TaskList.properties: -- title-label=Titel TaskList.tml -- t:grid t:id=tasks row=task exclude=id reorder=module,title,status,type,resolution add=edit inPlace=true pagerPosition=bottom rowsPerPage=25 t:parameter name=editcell a href=# t:type=PageLink page=administration/task/editTask context=task.idedit/a /t:parameter /t:grid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Grid cell labels can't be overridden
https://issues.apache.org/jira/browse/TAP5-395 Howard Lewis Ship schrieb: BeanModel / BeanModelSource do not do this today, but there's no reason why they should not. Please add a JIRA enhancement issue. On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne [EMAIL PROTECTED] wrote: I am using T 5.0.17 and trying to override cell labels of the Grid component. I am trying like described here: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html see section UserList.properties The labels defined in the properties file og my page are not used to label the cells. I searched JIRA but found no related issue. Does anybody have the same problem? Andy TaskList.properties: -- title-label=Titel TaskList.tml -- t:grid t:id=tasks row=task exclude=id reorder=module,title,status,type,resolution add=edit inPlace=true pagerPosition=bottom rowsPerPage=25 t:parameter name=editcell a href=# t:type=PageLink page=administration/task/editTask context=task.idedit/a /t:parameter /t:grid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5: Sharing Tapestry and Php apps
Hi, I have an running T5 app, it uses port 80 and the index.tmp/index.java captures everything passed to the domain: www.example.comm, www.example.com/123, www.example.com/list... now I need to install a phh based webmail, for that I installed Apache web server in port 8080: www.example.com:8080/webmail if I configure Apache Web server to run in port 80 and link the tomcat 6 to apache server, can I do this: www.example.com/123 this goes to tapestry 5 app in Tomcat 6 www.example.com/webmail this goes to php app in Apache Web Server possible? Thanks, -- View this message in context: http://www.nabble.com/T5%3A-Sharing-Tapestry-and-Php-apps-tp20783486p20783486.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [T5] Grid cell labels can't be overridden
Hi, As a workaround, maybe this example could help: http://code.google.com/p/tapestry5-appfuse/source/browse/trunk/src/main/java/org/appfuse/webapp/pages/admin/UserList.java /Serge Andy Pahne-6 wrote: https://issues.apache.org/jira/browse/TAP5-395 Howard Lewis Ship schrieb: BeanModel / BeanModelSource do not do this today, but there's no reason why they should not. Please add a JIRA enhancement issue. On Mon, Dec 1, 2008 at 1:52 PM, Andy Pahne [EMAIL PROTECTED] wrote: I am using T 5.0.17 and trying to override cell labels of the Grid component. I am trying like described here: http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html see section UserList.properties The labels defined in the properties file og my page are not used to label the cells. I searched JIRA but found no related issue. Does anybody have the same problem? Andy TaskList.properties: -- title-label=Titel TaskList.tml -- t:grid t:id=tasks row=task exclude=id reorder=module,title,status,type,resolution add=edit inPlace=true pagerPosition=bottom rowsPerPage=25 t:parameter name=editcell # t:type=PageLink page=administration/task/editTask context=task.idedit /t:parameter /t:grid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-T5--Grid-cell-labels-can%27t-be-overridden-tp20781389p20784011.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: Sharing Tapestry and Php apps
You should be able to run Apache with PHP on port 80 and use the proxy module to map in the Tapestry application (running on another port). Something along the lines of: ProxyPass /myapp http://localhost:8081/myapp ProxyPassReverse /myapp http://localhost:8081/myapp This document will give you a good starting place: http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html Mark On Dec 1, 2008, at 6:10 PM, Angelo Chen wrote: Hi, I have an running T5 app, it uses port 80 and the index.tmp/index.java captures everything passed to the domain: www.example.comm, www.example.com/123, www.example.com/list... now I need to install a phh based webmail, for that I installed Apache web server in port 8080: www.example.com:8080/webmail if I configure Apache Web server to run in port 80 and link the tomcat 6 to apache server, can I do this: www.example.com/123 this goes to tapestry 5 app in Tomcat 6 www.example.com/webmail this goes to php app in Apache Web Server possible? Thanks, -- View this message in context: http://www.nabble.com/T5%3A-Sharing-Tapestry-and-Php-apps-tp20783486p20783486.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]