Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
This problem is fixed already, now TapestryTools will search for partner file like this: 1. same package 2. same root directory 3. other places in the project In Maven case, now it will always find corresponding file in src folder. 在 2012年4月14日 上午9:39,Gavin Lei 写道: > Hi Giulio, > > Use isDerive

Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
My bad, I have fix it already, now you can find "Tapestry Switch" command in preferences/general/keys, i will upload new package to the update site soon, just see attach file 在 2012年4月14日 上午6:48,Kalle Korhonen 写道: > Thanks Gavin. However, there's something fishy in how the key binding > is implem

Re: Serving images outisde of war in tapestry

2012-04-13 Thread bhorvat
I have found some examples of this. And some JIRA reports. Does anyone have any idea why this is not included into the tapestry itself? It seems to me that this is somewhat important since it is not a good idea to store the images into the war file itself. Any one have any idea if file system appr

Re: Uploading Images!

2012-04-13 Thread bhorvat
Hej Milos I am also from Serbia (well I have moved now) but I have graduate from the FON (since you are using the tapestry and if you are on them faculty then I know your professor - personally) I will give you some example code so that you can figure things out and if you need more help feel free

Re: Javadoc not in the maven builds of the tapestry 5.3

2012-04-13 Thread Chris Mylonas
Good man! Thanks Howard, On 14/04/2012, at 11:36 AM, Howard Lewis Ship wrote: > 5.3.3 will include a downloadable source zip and a javadoc zip in > addition to the binary zip. This change has already been made. > > On Thu, Apr 12, 2012 at 9:01 PM, Chris Mylonas wrote: >> This would be great!

Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
Hi Giulio, Use isDerived can judge one file is generated by Maven or not, this will real work in this situation. But tml file in source code and java file in source code are in the same root directory, my search algorithm should find tml file in source code file first, then return. Currently, it f

Re: Javadoc not in the maven builds of the tapestry 5.3

2012-04-13 Thread Howard Lewis Ship
5.3.3 will include a downloadable source zip and a javadoc zip in addition to the binary zip. This change has already been made. On Thu, Apr 12, 2012 at 9:01 PM, Chris Mylonas wrote: > This would be great! > > +1 > > > On 13/04/2012, at 1:56 PM, bhorvat wrote: > >> I second this. Is it hard to i

tapestry5-jquery - @ImportJQueryUI - order of imports is important!!!

2012-04-13 Thread Chris Mylonas
Hello Tapestry List, Firstly, Sorry to harass your inboxes the last 12 or so hours. But I found something someone may want to have a look into! I've used the draggable sample from http://docs.jquery.com/UI/Draggable Note that jquery.ui.mouse must come before jquery.ui.draggable in the @ImportJ

Re: how to get component event source?

2012-04-13 Thread Chris Mylonas
Good morning - thanks for the candid comments, they are welcome :D Hacky it is. The URL generated is the same for each component. So I'll look at what Thiago suggested by passing a query parameter. Or just let the code sit there ready to tackle it the next release :) Cheers Chris On 14/04/20

Re: how to get component event source?

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 17:15:13 -0300, Lance Java wrote: Well... to say it's not possible is wrong. To say it's hacky is correct ;) Yep, that's right. I'd say Tapestry itself doesn't provide the source of the event, but you can try to figure that out by looking at the URL. :) -- Thiago H.

Re: how to get component event source?

2012-04-13 Thread Lance Java
Well... to say it's not possible is wrong. To say it's hacky is correct ;) He's using a library which doesn't pass the information and might not want to wait for a new release of the library The information is there... Worst case scenario you could @Inject the request and parse the component id f

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Agree. Welcome file list is probably the cleanest (standards-based) fix. This seems to tell Tomcat "there are no welcome files" ... In fact, seems like you can set welcome file to any arbitrary component and it will still pick up Tapestry Index. For instance,

Re: Uploading Images!

2012-04-13 Thread loshmeey
Thank you very much for the quick response! Im gonna try to work my way trough the link you sent me and if i get stuck... ill come back with more detailed questions! Thanks again! @George Christman nop, not using Jquery for now, but will look into it! Thank you! -- Best regards Milos -- Vi

Re: Tapestry-Hibernate / Sybase image data type

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 15:05:23 -0300, George Christman wrote: I just don't know enough about the hibernate version underlining tapestry-hibernate, I was hoping one of the developers may have some insight. This is a pure Sybase issue as far as I could see, so I still think it shouldn't have

Re: Tapestry-Hibernate / Sybase image data type

2012-04-13 Thread George Christman
I just don't know enough about the hibernate version underlining tapestry-hibernate, I was hoping one of the developers may have some insight. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Hibernate-Sybase-image-data-type-tp5639008p5639081.html Sent from the Tap

Re: Uploading Images!

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 14:47:14 -0300, loshmeey wrote: Hello everyone, Hi! Welcome to the mailing list! I want to upload a picture from a .tml page to web server, You can use Tapestry-Upload's Upload component for that. and on the other .tml page display that picture... There's no single

Re: Tapestry-Hibernate / Sybase image data type

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 14:36:28 -0300, George Christman wrote: Hello, Hi! I know this isn't entirely related to Tapestry, I can't see how this is related to Tapestry at all, so I don't think this should have been posted here. -- Thiago H. de Paula Figueiredo Independent Java, Apache Ta

Re: Uploading Images!

2012-04-13 Thread George Christman
Not sure if your using jquery, but have you looked at the tapestry-jquery ajaxupload component? http://tapestry5-jquery.com/docs/components/docsajaxupload -- View this message in context: http://tapestry.1045711.n5.nabble.com/Uploading-Images-tp5639019p5639042.html Sent from the Tapestry - User

Uploading Images!

2012-04-13 Thread loshmeey
Hello everyone, this is my first post soo i kinda feel i need to introduce myself :). Im 22, studying IT from Serbia. I had tapestry in one of the classes on colleague and i really started to like it and i still like it very much! I mastered all the "basics" (forms, beaneditforms, grids, zones, wor

Tapestry-Hibernate / Sybase image data type

2012-04-13 Thread George Christman
Hello, I'm using tapestry-hibernate in my project. I was recently asked to store file uploads in the database. Sybase only offers the datatype image and tapestry-hibernate doesn't seem to offer that as an option. I've tried @Lob private byte[]fileContent; public byte[] getFileCont

Re: how to get component event source?

2012-04-13 Thread Thiago H. de Paula Figueiredo
Answer to the question is the subject: there's no way to do that. On the other hand, you can add a query parameter to your AJAX request with the information of which client-side object triggered it. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant,

Re: Render Queue Error in Expansion

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 12:14:23 -0300, Lance Java wrote: It sounds like a lot of work... perhaps someone else knows of an easier way to get the source of a component event? Have you thought of adding a query parameter containing the id of the rendered object? That's what I'd do. -- Thiago

how to get component event source?

2012-04-13 Thread Chris Mylonas
Fresh Request now that we have a simple question (re: subject line). Here is the template for my component (a PhoneExtension) - it receives a phone call. http://tapestry.apache.org/schema/tapestry_5_3.xsd";> ${currentExtension.number} ${currentEx

Re: Lightweight TapestryTools update site

2012-04-13 Thread Giulio Micali
Oh, i forgot: the autocomplete feature didn't works for me because I didn't delete the old workspace. With a new workspace it works. Thanks for the great job, Giulio

Re: Lightweight TapestryTools update site

2012-04-13 Thread Giulio Micali
Hi Gavin, I gave a look at the code compared to my old patch, looks like 2 lines of code are missing (the dirty ones in my patch): ### Eclipse Workspace Patch 1.0 #P org.apache.tapestrytools.ui Index: src/org/eclipse/wst/xml/ui/internal/actions/FindCorrespondingFileAction.java

Re: Render Queue Error in Expansion

2012-04-13 Thread Chris Mylonas
Mate, thanks a lot for your effort I must say. And you summed it up well - how to get the source of a component event? (if all the components have the same id) At the moment, all 16 droppables have a component id of either "extensionZone" or "voicemailZone". I can't set a "context" or custom

Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
Hi Giulio, Thank you for your feedbacks here 在 2012年4月13日 下午11:07,Giulio Micali 写道: > Hi Gavin, > i tried with a new workspace and here the results. > > - For the default view: Yes, it works like that even in my PC: it's not the > default for a new workspace, but it remembers the setting (i don'

Render Queue Error in Expansion

2012-04-13 Thread Lance Java
Ignore my prev post about adding the drop zone to the context as this is not associated with the draggable when the page is drawn. I think that you need a handle on the ComponentEventRequestParameters so that you can call getNestedComponentId() which will have the id of the zone which fired the ev

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Kalle Korhonen
welcome-file-list element is a standard part of web.xml. index.jsp is the default value for it at the container level of Tomcat, so setting the value to "index" in a Tapestry5 application is the correct option. Looks like we are missing the configuration from the archetype, I'll fix it for the next

Re: Lightweight TapestryTools update site

2012-04-13 Thread Giulio Micali
Hi Gavin, i tried with a new workspace and here the results. - For the default view: Yes, it works like that even in my PC: it's not the default for a new workspace, but it remembers the setting (i don't know if in project or workspace, i guess the last). - For the issue 13: for pages in /src/main

Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
Hi, One more comment below 在 2012年4月13日 下午10:45,Gavin Lei 写道: > Hi > > 2012/4/13 Giulio Micali : >> Hi Gavin, >> I just tried the feature, and it shows the Issue 13 (it finds the tml in >> target, using maven). > > I will test it in Maven environment now > >> >> For the tml editor, I have 2 prob

Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
Hi 2012/4/13 Giulio Micali : > Hi Gavin, > I just tried the feature, and it shows the Issue 13 (it finds the tml in > target, using maven). I will test it in Maven environment now > > For the tml editor, I have 2 problems: > 1) it doesn't perform the autocomplete of tapestry components (or > par

Re: Lightweight TapestryTools update site

2012-04-13 Thread Giulio Micali
Hi Gavin, I just tried the feature, and it shows the Issue 13 (it finds the tml in target, using maven). For the tml editor, I have 2 problems: 1) it doesn't perform the autocomplete of tapestry components (or parameters) 2) the "source" tab is not the default view, and everytime I should switch m

Re: Render Queue Error in Expansion

2012-04-13 Thread Lance Java
If you want to know which dropzone received the dragabble, just pass the zone id in the context along with the extension id. I can't remember exatly how but I'm sure you can lookup zones by id by @Inject'ing the ComponentResources

Re: Render Queue Error in Expansion

2012-04-13 Thread Lance Java
Something like this: ${extension.name} ${extension.number} ${droppedExtension.name} ${droppedExtension.number} Page.java - @InjectComponent private Zone extensionZone; @Property private Item extension; @Property pri

Re: Render Queue Error in Expansion

2012-04-13 Thread Chris Mylonas
Thanks Lance - I have two problems at the moment - both when I componentize the stuff. On a single page, no probs. 1. Render Queue Error - on AJAX update for Extensions - it gets lost after the initial render because the looping is finished from initial page load (i presume). 2. Which dropzo

Re: Render Queue Error in Expansion

2012-04-13 Thread Lance Java
Create a ValueEncoder for your currentExtension Object Then use ValueEncoder.toClient(V value) to create a string which will be used in your draggablecontext. Then, in your drop event, use ValueEncoder.toValue(String value) on the context value to deserialise the Object.

Re: Lightweight TapestryTools update site

2012-04-13 Thread Gavin Lei
Hi all, I have finished Template/Java switch feature (Shortcuts is still CTRL + R) for TapestryTools, and uploaded the feature into Tapestry update center[1], if you have interested, please have a trial of it. Install guide can be found here[2]. Feedback are welcome here :-) [1] http://tapestryt

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Chris Mylonas
On 13/04/2012, at 11:02 PM, Thiago H. de Paula Figueiredo wrote: > On Fri, 13 Apr 2012 09:46:04 -0300, Chris Mylonas wrote: > >> I need to convert from Ljava.lang.Object@234141 to "string representation" >> or what value it is (which happens to be a string) I set during render (so >> the HTML

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 09:46:04 -0300, Chris Mylonas wrote: I need to convert from Ljava.lang.Object@234141 to "string representation" or what value it is (which happens to be a string) I set during render (so the HTML that is output is good enough for me). It seems to me that you haven't u

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Chris Mylonas
bugger. i think it's null anyway...which is probably what you were both leading me to. i had another field in the event method named context anywaywhich was the URL of the event in the form of an Object[] i'm still back at square one - will review what i have done. thanks On 13/04/2012,

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Chris Mylonas
never never never ... thanks for the tip. String is fine for me - it's not the most efficient way, but I've got a bit of a problem finding out where my dragged (and known) component got dropped. I need to convert from Ljava.lang.Object@234141 to "string representation" or what value it is (whi

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Thiago H. de Paula Figueiredo
On Fri, 13 Apr 2012 08:50:26 -0300, Taha Hafeez Siddiqi wrote: Hi Hi! Try t:context='currentExtension.number' instead of t:context='${currentExtension.number}' Never never never ever use expansions when passing parameter values. :) Expansions always coerce the value to String and a

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Have you tried: Or with jstl

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
How about getting rid of index.jsp and adding "index" to your web.xml in the welcome file list. I'm assuming tomcat will try your config before the default

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Chris Mylonas
Nope. Tried both context and t:context HTML came out: http://tapestry.apache.org/schema/tapestry_5_3.xsd";> The prop expansion worked ok for html before (below) Still get [Ljava.lang.Object@34255245 on the event both ways. I see that using your suggestion is what happens in the Hi-Lo game, wh

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Nope forward does not work, tried that first (see previous post). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5638114.html Sent from the Tapestry - User mai

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Redirect will cause an extra request and will change the URL in the browser. Try forward instead

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
And now empty welcome file list in application does NOT work. Make sense, since the server will just default upward from application to container level default list. I win ;-) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExcept

Re: Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Taha Hafeez Siddiqi
Hi Try t:context='currentExtension.number' instead of t:context='${currentExtension.number}' regards Taha On Apr 13, 2012, at 5:13 PM, Chris Mylonas wrote: > Hi List, > > I tried giving a custom component a context (just a String) but when I go to > use it on an event, I get the output t

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Placing index.jsp with the following in it solves the problem: <% response.sendRedirect("Index"); %> No need to jury rig the configuration. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Perhaps you can override the tomcat defaults by adding an empty to your web.xml Then no tapestry config required?

Give Custom Component a "context" that is not Ljava.lang.Object;@828642

2012-04-13 Thread Chris Mylonas
Hi List, I tried giving a custom component a context (just a String) but when I go to use it on an event, I get the output to be [Ljava.lang.Object;@783b110a instead of "1234" which is what is set during rendering. The output html looks a little strange compared to the component's tml - like I

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
YES, that worked. Sort of. Root URL is not found, but if pulled up as Index, no mo [ERROR]. Specifically, http://localhost:8080/newapp/ leads to HTTP 404 error - page not found However, http://localhost:8080/newapp/Index works (?!) Sorry to be pickyHere is the quote from http:/

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Please try the following: public static void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("/index\\.(?:html|htm|jsp)"); } If it works, we'll close the JIRA and put some tomcat specific documentation somewhere

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Yes, this may indeed be the temporary workaround. Since it is limited to the application, and not the entire server/container, this is the preferred fix. Much Thanks for fleshing this out. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModul

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
YES. That solves the problem indeed. BUT, no thanks ;-). This fix will almost certainly break many other applications on the production server and I am pretty sure the community shares my sentiment. Unfortunately, T5 will need to address this. JIRA created: https://issues.apache.org/jira/br

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Another option might be to tell tapestry to ignore the welcome file list public static void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("(index\\.html)|(index\\.htm)|(index\\.jsp)"); } http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgno

Re: Render Queue Error in Expansion

2012-04-13 Thread Chris Mylonas
I think I need to @InjectContainer private MainPage container Then I can access the "rows" of the grid through the source List<>. (or source list of my entity - phones in this case) I'll have a look at the in-place-editor for grid because that must do something similar. Then do something in t

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
It looks like you will need to remove all entries from the in $TOMCAT_HOME/conf/web.xml See "How do I override the default home page loaded by Tomcat?" here http://wiki.apache.org/tomcat/HowTo

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Here is the complete access log from Tomcat 7 (I pulled up about then index ... captured in 2nd last tine...and then about again)...not sure (yet) what the server config should be ... and if that is even advisable since in production there are other apps to contend with ... 127.0.0.1 - - [13/Ap

Re: Render Queue Error in Expansion

2012-04-13 Thread Chris Mylonas
> Your ajax event handler method will need to initialize any properties that > are required in the rendering block So somewhere in my early rendering phases I'd need to get a reference to the current block that is to be re-rendered and grab values out of that - I guess. > Draggables can have a

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Thanks. YES, commenting out yui-compressor dependency in pom.xml eliminates the first error above. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637859.html

Re: Render Queue Error in Expansion

2012-04-13 Thread Lance Java
Your ajax event handler method will need to initialize any properties that are required in the rendering block Draggables can have a "draggablecontext" attribute. Although I've not used it I'm sure that you could pass the context required to initialize your property.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
Inspect the HTTP logs, is Tomcat trying to redirect from root to some other page (index.jsp or something)? There might be some config in tomcat that you can tweak / remove.

AJAX Re: Render Queue Error in Expansion

2012-04-13 Thread Chris Mylonas
Ah ha - let me make it a bit clearer. The AJAX stuff all works, if I hard code the values within my component. It's like having a grid and each row has the ${currentRow.name} ${currentRow.value} These property bindings don't exist after render. If I were to use the Grid -> addCell then there is

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Indeed. But it is the reference implementation of the servlet standard. In other words, the "fault" is not with Tomcat...even if it probably is. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-requ

Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
I think you've now hit this https://issues.apache.org/jira/browse/TAP5-1729 Try commenting out the following in your pom.xml org.apache.tapestry tapestry-yuicompressor ${tapestry-release-version}

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
The tapestry source code does not have a single reference to "jsp". I think that tomcat might be trying to "help" somehow.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
YES, about link works, with errors in logs, both in Tomcat 7 and 5, (and the index page continues to barf in Tomcat 7). Here is the corresponding stacktrace: First [ERROR] is from About page (renders fine though). Second, now familiar, [ERROR] is generated by clicking on Index link from About

Render Queue Error in Expansion

2012-04-13 Thread Chris Mylonas
Hi Tap List, I've got two custom components. Reception Line & Office Phone They are just little divs and with a draggable and a droppable zone respectively. In my testing, dragging and dropping between these works when everything is done on the same page and this is my first shot at componenti

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
The index page of the T5 tutorial. Not sure of component. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637774.html Sent from the Tapestry - User mailing

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
I wonder if this has something to do with how tomcat 7 is trying to serve the root. Are you able to hit http://localhost:8080/newapp/about

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
So, I think that eliminates the problem that howard was mentioning on his blog. Can you paste the page / component that is trying to run? I'm trying to think of where a "jsp" component would be references inside the tapestry archetype.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Thanks for suggestion. No luck, though. Same error in Tomcat 7 with exploded war approach BUT...war file works in Tomcat 5.5.31 ...JDK 1.6.0_03... Go figure... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread Lance Java
I know it's not ideal but you could deploy an exploded war.

Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
Found this little nugget: http://tapestryjava.blogspot.com/2007/02/fighting-with-tomcat.html http://tapestryjava.blogspot.com/2007/02/fighting-with-tomcat.html Unfortunately, our production is tomcat. Have to comply. Jetty will not do. -- View this message in context: http://tapestry.10

Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.

2012-04-13 Thread netdawg
To Reproduce (using Tomcat 7.0.4 with jdk1.6.0_22 64-bit), follow "Getting Started" at http://tapestry.apache.org/getting-started.html Specifically, 1. mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org 2. Create newapp, change to newapp directory (verify works in jetty, st

Serving images outisde of war in tapestry

2012-04-13 Thread Lance Java
I always keep a copy of the tapestry source code handy. If I search "*Module.java" for AssetFactory I find out how tapestry adds a ContextAssetFactory and a ClasspathAssetFactory. @Marker(ContextProvider.class) public AssetFactory buildContextAssetFactory(ApplicationGlobals globals, AssetP