tapestry-developer Mailing List for Tapestry: Java Web Components (Page 3)
Brought to you by:
hship
You can subscribe to this list here.
2002 |
Jan
|
Feb
(17) |
Mar
(77) |
Apr
(233) |
May
(235) |
Jun
(261) |
Jul
(279) |
Aug
(214) |
Sep
(417) |
Oct
(518) |
Nov
(347) |
Dec
(318) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(217) |
Feb
(115) |
Mar
(17) |
Apr
|
May
(2) |
Jun
(4) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
|
Nov
(18) |
Dec
(18) |
2004 |
Jan
(43) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2003-03-07 20:47:51
|
Bugs item #699623, was opened at 2003-03-07 16:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104754&aid=699623&group_id=4754 Category: Examples : Vlib Group: bug Status: Open Resolution: None Priority: 5 Submitted By: Adam Greene (ccm682) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with the Table Example Page in Tapestry 2.4-A-4 Initial Comment: See the attached Exception Page. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104754&aid=699623&group_id=4754 |
From: Jaime B. <jba...@ya...> - 2003-03-06 06:10:13
|
hello all i'm discovering tapestry righ now and it reminds me my delphi days, i love it i was wondering if a web site build with tapestry can be (easily) configured so that it can be used with a browser in a pda or cell phone for example, or (more extreme) by regular plain old voice phone in other words, is it "presentation agnostic"? thanks in advance jaime __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |
From: Joel T. <Jo...@Sm...> - 2003-03-04 20:32:59
|
I'm glad to see this feature request is still being kicked around. I think it is important regardless of implmentation. I may have jumped the gun when I said "ala jsp." In our case, any solution that would be run efficiently in the normal operating case, but still lets you refresh pages dynamically (using timestamp checking, or "hitting a button" somewhere) would fill the bill nicely. What we don't want is to lose sessions in the process. Joel |
From: SourceForge.net <no...@so...> - 2003-03-04 17:05:43
|
Feature Requests item #685544, was opened at 2003-02-12 16:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=685544&group_id=4754 Category: framework Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joel Trunick (harpsoft) Assigned to: Nobody/Anonymous (nobody) Summary: Efficient Page Refresh w/o restart (ala jsp) Initial Comment: I would like to drop new pages into production without having to restart the webserver. This exists in development as an option, but is expensive (reloads pages every click). This would need to be efficient like JSP. That is, simply check the timestamps on the files to determine whether they are updated. If they are, then reload, w/o flushing any sessions. If the files are in a .zip (ie. .war file), then no updating/checking is necessary. This should be the default. No option necessary, development or production. If you don't need it, .war it. This is highly important and practical for a 24x7 website. Joel ---------------------------------------------------------------------- >Comment By: Howard Lewis Ship (hship) Date: 2003-03-04 12:15 Message: Logged In: YES user_id=26816 Timestamp checking IS possible in theory. I believe that you can get the URL for each resource (even from the classpath, even in a JAR or WAR) and from that, the date last modified. For packaged files, it is the date last modified of the archive. I'm concerned about the performance impact, and the degree to which code will be mangled to support this. Think about this: "check the timestamps". Which timestamps: We're talking about the page template, page specification, and the template and specification of every compoent, recursively. that means that when IREquestCycle gets a page, it has to perform a check on potentially dozens of files (yes, we would gate this, and only perform checks every so often). I would rather spend the effort creating some kind of JMX extension that would link to Tapestry and allow you to safely reset the Tapestry caches, or a smarter version of the reset service that you could invoke from your web browser after uploading new content. These solutions ensure that the running application continues to use the old content until the upload of new content is complete. ---------------------------------------------------------------------- Comment By: Luke Galea (lgalea) Date: 2003-03-04 11:24 Message: Logged In: YES user_id=444918 Could you extend the page service to check the timestamps and have it call the reset service if needed? I suppose having your own custom "AutoRefreshPageService" would be somewhat difficult though because so many things would still call the baseclass.. Is there any merit to this? Something I am missing? ---------------------------------------------------------------------- Comment By: Howard Lewis Ship (hship) Date: 2003-03-04 11:04 Message: Logged In: YES user_id=26816 This is a lot of work. It may be possible in the future, but there are more important priorities right now. I woudl suggest looking at the reset service; it;'s job is to discard all cached data. It is disabled by default because it seems like a likely candidate for a denial-of-service attack. Perhaps you could create a variation of reset that had some app-specific validations (i.e., that the client originated within your internet domain). Thus, after uploading new content, you could invoke the service to force Tapestry to accept the changes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=685544&group_id=4754 |
From: SourceForge.net <no...@so...> - 2003-03-04 16:14:27
|
Feature Requests item #685544, was opened at 2003-02-12 16:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=685544&group_id=4754 Category: framework Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joel Trunick (harpsoft) Assigned to: Nobody/Anonymous (nobody) Summary: Efficient Page Refresh w/o restart (ala jsp) Initial Comment: I would like to drop new pages into production without having to restart the webserver. This exists in development as an option, but is expensive (reloads pages every click). This would need to be efficient like JSP. That is, simply check the timestamps on the files to determine whether they are updated. If they are, then reload, w/o flushing any sessions. If the files are in a .zip (ie. .war file), then no updating/checking is necessary. This should be the default. No option necessary, development or production. If you don't need it, .war it. This is highly important and practical for a 24x7 website. Joel ---------------------------------------------------------------------- Comment By: Luke Galea (lgalea) Date: 2003-03-04 11:24 Message: Logged In: YES user_id=444918 Could you extend the page service to check the timestamps and have it call the reset service if needed? I suppose having your own custom "AutoRefreshPageService" would be somewhat difficult though because so many things would still call the baseclass.. Is there any merit to this? Something I am missing? ---------------------------------------------------------------------- Comment By: Howard Lewis Ship (hship) Date: 2003-03-04 11:04 Message: Logged In: YES user_id=26816 This is a lot of work. It may be possible in the future, but there are more important priorities right now. I woudl suggest looking at the reset service; it;'s job is to discard all cached data. It is disabled by default because it seems like a likely candidate for a denial-of-service attack. Perhaps you could create a variation of reset that had some app-specific validations (i.e., that the client originated within your internet domain). Thus, after uploading new content, you could invoke the service to force Tapestry to accept the changes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=685544&group_id=4754 |
From: SourceForge.net <no...@so...> - 2003-03-04 15:54:22
|
Feature Requests item #685544, was opened at 2003-02-12 16:47 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=685544&group_id=4754 Category: framework Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joel Trunick (harpsoft) Assigned to: Nobody/Anonymous (nobody) Summary: Efficient Page Refresh w/o restart (ala jsp) Initial Comment: I would like to drop new pages into production without having to restart the webserver. This exists in development as an option, but is expensive (reloads pages every click). This would need to be efficient like JSP. That is, simply check the timestamps on the files to determine whether they are updated. If they are, then reload, w/o flushing any sessions. If the files are in a .zip (ie. .war file), then no updating/checking is necessary. This should be the default. No option necessary, development or production. If you don't need it, .war it. This is highly important and practical for a 24x7 website. Joel ---------------------------------------------------------------------- >Comment By: Howard Lewis Ship (hship) Date: 2003-03-04 11:04 Message: Logged In: YES user_id=26816 This is a lot of work. It may be possible in the future, but there are more important priorities right now. I woudl suggest looking at the reset service; it;'s job is to discard all cached data. It is disabled by default because it seems like a likely candidate for a denial-of-service attack. Perhaps you could create a variation of reset that had some app-specific validations (i.e., that the client originated within your internet domain). Thus, after uploading new content, you could invoke the service to force Tapestry to accept the changes. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=354754&aid=685544&group_id=4754 |
From: Norberto O. <no...@qu...> - 2003-02-28 19:33:34
|
Hi, I'm evaluating Tapestry for a project in my current company using Weblogic as the app server (7.0). I don't know why when i do a change in a java file (the Home.java for example) i need to restart the weblogic server in order to see the change. the server is running in development mode. Anyone has a solution for this problem? or maybe i need to use another app server for development. Thanks in advance. Norberto Ortigoza |
From: Joel T. <Jo...@Sm...> - 2003-02-27 23:04:51
|
What's the appropriate place to validate between two ValidField's? If the user has to enter their email twice, where do I check that they are the same, and how do I tell the ValidField's that they aren't valid? I didn't see an example. Joel |
From: Lennart B. <lb...@ax...> - 2003-02-27 09:57:12
|
Hey Folks, While trying to configure a decent development environment ( Eclipse, Tomcat Plugin, Visual SourceSafe Plugin, Tapestry 1.3) with the following requirements: 1) The web application (java , html, page files) is in an existing development tree in an existing project. I don't want to make a seperate project in eclipse ( same classes would be in two projects) 2) I wan't to be able to debug: this requirement leaves me no other opportunity then using the Tomcat Plugin 3) I don't want to restart tomcat on every change I make. For java changes i installed the latest JDK which is able replace code at runtime. For .html and .page files, i tried setting the vm property net.sf.tapestry.disable-caching=true . This had the unwanted side effect of short-circuiting my login mechanism. The login mechanism is implemented like the VLIB. When a user isn't logged in, a PageRedirectException is thrown containing a callback to the actual page. After logging in, the callback is used to return to the actual page. Setting the disable-caching property to true makes this callback null. Anyone any idea how to solve the problem in 3 or any suggestions on how to configure a development environment with the above requirements? All suggestions are welcome. Regards, Lennart |
From: Joel T. <Jo...@Sm...> - 2003-02-25 20:31:28
|
I was in the same boat. I managed solving this problem by making my first Tapestry page an IExternalPage. In the activateExternalPage(RequestCycle) method I call .getVisit() which seems to appropriately setup the session. I then use RequestCycle..getSession() to grab variables out of the existing session. BTW, Remember to encode the link to the page so that it is stateful. Joel --__--__-- Message: 5 Date: Tue, 25 Feb 2003 10:10:39 -0800 (PST) From: Stav <cc...@ya...> Reply-To: cc...@ya... To: tap...@li... Subject: [Tapestry-developer] How to access session before page loads Hi, I am trying to integrate a prototype Tapestry app with an existing web application that has already set certain user specific parameters in the session. The applications are in the same web context. How would I go about accessing the session before the Home page loads so that I can setup the Home page? I am currently using Tapestry version 2.1. I have tried using BasePage.getRequestCycle(), but this object appears to be null at first page load. Thanks in advance. Cheers, Stav. |
From: Stav <cc...@ya...> - 2003-02-25 18:10:39
|
Hi, I am trying to integrate a prototype Tapestry app with an existing web application that has already set certain user specific parameters in the session. The applications are in the same web context. How would I go about accessing the session before the Home page loads so that I can setup the Home page? I am currently using Tapestry version 2.1. I have tried using BasePage.getRequestCycle(), but this object appears to be null at first page load. Thanks in advance. Cheers, Stav. __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |
From: Tarun R. E. <ta...@we...> - 2003-02-25 03:31:29
|
That would be great to have! :-D On Tue, 2003-02-25 at 03:29, Adam Greene wrote: > We built a cross between the Conditional and Any component that created a > HTML Tag that only appears when the condition is true that supports informal > parameters. Would that be of any use to you?? > > ----- Original Message ----- > From: "Elankath, Tarun (Cognizant)" <ET...@bl...> > To: <tap...@li...> > Sent: Monday, February 24, 2003 10:30 AM > Subject: RE: [Tapestry-developer] Why doesn't the Conditional comonent not > accept informal parameters ? > > > I apologize to the list for my critical post. I didn't mean to be offensive > or negative. > > I was interested in knowing whether there is a particular reason that the > Conditional components forbids informal parameters. > > Thank you, > Tarun > > > > > > -----Original Message----- > From: Elankath, Tarun (Cognizant) [mailto:ET...@bl...] > Sent: Monday, February 24, 2003 5:43 PM > To: tap...@li... > Subject: [Tapestry-developer] Why doesn't the Conditional comonent not > accept informal parameters ? > > > Hi list, > > I am rather peeved that the conditional component doesn't accept informal > parameters. I have an element with a CLASS attribute that I wish to display > conditionally. Unfortunately, if I give a jwcid to this element and let it > be a conditional component, then the CLASS attribute is invalid. > > IMHO, this is a bug. I don't see any good reason as to why informal > parameters are forbidden int the conditional component. As far as good sense > goes, informal parameters should be allowed in all circumstances for all > components, it should only be disabled in case of conflict. > > I know have to put an un-necessary pair of <span jwcid="ifBlah"> tags around > the element now. This only messes the template, instead of keeping it > inviolate. > > > Regards, > Tarun > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tapestry-developer mailing list > Tap...@li... > https://lists.sourceforge.net/lists/listinfo/tapestry-developer > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tapestry-developer mailing list > Tap...@li... > https://lists.sourceforge.net/lists/listinfo/tapestry-developer |
From: Tarun R. E. <ta...@we...> - 2003-02-25 03:30:17
|
Thanks Adam. I realized this later. What about multiple references in a page to the same component ? (an inserter for ex). I have a page that makes use of the same inserter component more than once. So I need to define two inserter components int the page specification with different jwcid's that do the exactly the same thing. On Tue, 2003-02-25 at 03:34, Adam Greene wrote: > Is it possible to make the image a standard IMG tag in the HTML or is some > nature of the image dynamic. Not everything has to be done in the .page. > if it is static you can simply put it in the HTML. The only time an image > would need to be in the .page is if it requires the use of an asset or other > dynamic nature. > > ----- Original Message ----- > From: "Elankath, Tarun (Cognizant)" <ET...@bl...> > To: "Joel Trunick" <Jo...@Sm...>; > <tap...@li...> > Sent: Monday, February 24, 2003 8:21 AM > Subject: RE: [Tapestry-developer] Image used more than once > > > > Hi Joel, > > > > Did you manage to find the solution to your problem ? I too am facing the > > same problem. :-( > > > > Grateful for any help, > > Tarun > > > > > > -----Original Message----- > > From: Joel Trunick [mailto:Jo...@Sm...] > > Sent: Saturday, February 22, 2003 2:09 AM > > To: 'tap...@li...' > > Subject: [Tapestry-developer] Image used more than once > > > > > > > > > > I have a spacer image that is probably used a 100 times in one page. > > However, as soon as I reference the image twice with an ID tag, it > > complains: > > "Template for component Account contains multiple references to embedded > > component imgSpacer" > > How do I reference the same asset a thoughout the page? That would be > > awfully tedious to make a new component for the same thing 100x :-) > > Joel > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tapestry-developer mailing list > Tap...@li... > https://lists.sourceforge.net/lists/listinfo/tapestry-developer |
From: Adam G. <ag...@nb...> - 2003-02-24 22:04:39
|
Is it possible to make the image a standard IMG tag in the HTML or is some nature of the image dynamic. Not everything has to be done in the .page. if it is static you can simply put it in the HTML. The only time an image would need to be in the .page is if it requires the use of an asset or other dynamic nature. ----- Original Message ----- From: "Elankath, Tarun (Cognizant)" <ET...@bl...> To: "Joel Trunick" <Jo...@Sm...>; <tap...@li...> Sent: Monday, February 24, 2003 8:21 AM Subject: RE: [Tapestry-developer] Image used more than once > Hi Joel, > > Did you manage to find the solution to your problem ? I too am facing the > same problem. :-( > > Grateful for any help, > Tarun > > > -----Original Message----- > From: Joel Trunick [mailto:Jo...@Sm...] > Sent: Saturday, February 22, 2003 2:09 AM > To: 'tap...@li...' > Subject: [Tapestry-developer] Image used more than once > > > > > I have a spacer image that is probably used a 100 times in one page. > However, as soon as I reference the image twice with an ID tag, it > complains: > "Template for component Account contains multiple references to embedded > component imgSpacer" > How do I reference the same asset a thoughout the page? That would be > awfully tedious to make a new component for the same thing 100x :-) > Joel > |
From: Adam G. <ag...@nb...> - 2003-02-24 21:59:42
|
We built a cross between the Conditional and Any component that created a HTML Tag that only appears when the condition is true that supports informal parameters. Would that be of any use to you?? ----- Original Message ----- From: "Elankath, Tarun (Cognizant)" <ET...@bl...> To: <tap...@li...> Sent: Monday, February 24, 2003 10:30 AM Subject: RE: [Tapestry-developer] Why doesn't the Conditional comonent not accept informal parameters ? I apologize to the list for my critical post. I didn't mean to be offensive or negative. I was interested in knowing whether there is a particular reason that the Conditional components forbids informal parameters. Thank you, Tarun -----Original Message----- From: Elankath, Tarun (Cognizant) [mailto:ET...@bl...] Sent: Monday, February 24, 2003 5:43 PM To: tap...@li... Subject: [Tapestry-developer] Why doesn't the Conditional comonent not accept informal parameters ? Hi list, I am rather peeved that the conditional component doesn't accept informal parameters. I have an element with a CLASS attribute that I wish to display conditionally. Unfortunately, if I give a jwcid to this element and let it be a conditional component, then the CLASS attribute is invalid. IMHO, this is a bug. I don't see any good reason as to why informal parameters are forbidden int the conditional component. As far as good sense goes, informal parameters should be allowed in all circumstances for all components, it should only be disabled in case of conflict. I know have to put an un-necessary pair of <span jwcid="ifBlah"> tags around the element now. This only messes the template, instead of keeping it inviolate. Regards, Tarun ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list Tap...@li... https://lists.sourceforge.net/lists/listinfo/tapestry-developer |
From: Tarun R. E. <ta...@we...> - 2003-02-24 18:12:48
|
I belive that should be tap...@ja... as mentioned in http://archives.apache.org/eyebrowse/ViewLists. On Mon, 2003-02-24 at 19:51, Howard M. Lewis Ship wrote: > I no longer monitor the two SourceForge mailing lists. > > Please subscribe to the Jakarta Mailing Lists: > > tap...@ja... - For all questions about using Tapestry. > tap...@ja... - For Tapestry committers ONLY. > > http://jakarta.apache.org/site/mail.html > > Feel free to monitor the developer mailing list and even contribute if you > have something worthwhile to say. We often discuss future directions for > Tapestry and are interested in comments by end-users who have deployed > Tapestry applications. Active participation in this list is the first step > towards becoming a Tapestry committer. > > > People have begun to CONSISTENTLY misuse the mailing lists. > > If you are having problems with your Tapestry application, don't understand > the documentation, need help ...please contact us on the user mailing list > (tap...@ja...). We want to help, to grow the community, > to fix anything broken in the framework. > > As the volume of traffic on the mailing lists increase, "bad" messages are > going to get ignored! If you have a problem and are seeking resolution it > is vitally important that you play by the rules: > > 1) Tapestry is free. Nobody owes you anything. > > Our desire to grow and support the community is great, but we're all > sacrificing family time, play time, time with our friends, spouses and kids > to contribute to the project ... so if we have a low level of frustration > for poorly written, undocumented help requests, so be it. > > 2) Do not e-mail individual team members! > > Use the lists and only the lists. Getting e-mail just pisses us off (well, > me anyway), and a spam filter may eat the message anyway. We want to help, > but we're not your personally help desk. In addition, questions and > responses need to be on the list to be archived, so that the NEXT person has > a resource before contacting the list. > > > 3) Be polite. > > Mark Fleury can get away with being an asshole (just once), but you can't. > > 4) Do your research. > > There's a lot of Tapestry documentation. Did you read it? Did you look at > the code? Did you use the debugger to step through problem areas? > > 5) Provide information. > > You've seen the Tapestry Exception page. Use it! Messages like "My page > broke" are asking US to do YOUR work. The first step is to cut-and-paste > the exception report into your mail. All that information can be a very > precise description of the what and why of your problem. > > > Please read the following BEFORE posting a help request to the list: > http://216.239.53.100/search?q=cache:Rx-raoTa3JUC:www.tuxedo.org/~esr/faqs/s > mart-questions.html&hl=en&ie=UTF-8 > > > > -- > Howard M. Lewis Ship > Creator, Tapestry: Java Web Components > http://jakarta.apache.org/proposals/tapestry > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Tapestry-developer mailing list > Tap...@li... > https://lists.sourceforge.net/lists/listinfo/tapestry-developer |
From: Elankath, T. (Cognizant) <ET...@bl...> - 2003-02-24 14:22:16
|
I apologize to the list for my critical post. I didn't mean to be = offensive or negative. I was interested in knowing whether there is a particular reason that = the Conditional components forbids informal parameters. Thank you, Tarun -----Original Message----- From: Elankath, Tarun (Cognizant) [mailto:ET...@bl...] Sent: Monday, February 24, 2003 5:43 PM To: tap...@li... Subject: [Tapestry-developer] Why doesn't the Conditional comonent not accept informal parameters ? Hi list, I am rather peeved that the conditional component doesn't accept = informal parameters. I have an element with a CLASS attribute that I = wish to display conditionally. Unfortunately, if I give a jwcid to this = element and let it be a conditional component, then the CLASS attribute = is invalid. IMHO, this is a bug. I don't see any good reason as to why informal = parameters are forbidden int the conditional component. As far as good = sense goes, informal parameters should be allowed in all circumstances = for all components, it should only be disabled in case of conflict. I know have to put an un-necessary pair of <span jwcid=3D"ifBlah"> tags = around the element now. This only messes the template, instead of = keeping it inviolate.=20 Regards, Tarun ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list Tap...@li... https://lists.sourceforge.net/lists/listinfo/tapestry-developer |
From: Howard M. L. S. <hl...@at...> - 2003-02-24 14:22:16
|
I no longer monitor the two SourceForge mailing lists. Please subscribe to the Jakarta Mailing Lists: tap...@ja... - For all questions about using = Tapestry. tap...@ja... - For Tapestry committers ONLY. http://jakarta.apache.org/site/mail.html Feel free to monitor the developer mailing list and even contribute if = you have something worthwhile to say. We often discuss future directions = for Tapestry and are interested in comments by end-users who have deployed Tapestry applications. Active participation in this list is the first = step towards becoming a Tapestry committer. People have begun to CONSISTENTLY misuse the mailing lists. If you are having problems with your Tapestry application, don't = understand the documentation, need help ...please contact us on the user mailing = list (tap...@ja...). We want to help, to grow the = community, to fix anything broken in the framework. As the volume of traffic on the mailing lists increase, "bad" messages = are going to get ignored! If you have a problem and are seeking resolution = it is vitally important that you play by the rules: 1) Tapestry is free. Nobody owes you anything. =20 Our desire to grow and support the community is great, but we're all sacrificing family time, play time, time with our friends, spouses and = kids to contribute to the project ... so if we have a low level of = frustration for poorly written, undocumented help requests, so be it. 2) Do not e-mail individual team members! =20 Use the lists and only the lists. Getting e-mail just pisses us off = (well, me anyway), and a spam filter may eat the message anyway. We want to = help, but we're not your personally help desk. In addition, questions and responses need to be on the list to be archived, so that the NEXT person = has a resource before contacting the list. 3) Be polite.=20 Mark Fleury can get away with being an asshole (just once), but you = can't.=20 4) Do your research. =20 There's a lot of Tapestry documentation. Did you read it? Did you look = at the code? Did you use the debugger to step through problem areas? 5) Provide information. =20 You've seen the Tapestry Exception page. Use it! Messages like "My = page broke" are asking US to do YOUR work. The first step is to = cut-and-paste the exception report into your mail. All that information can be a very precise description of the what and why of your problem. Please read the following BEFORE posting a help request to the list: http://216.239.53.100/search?q=3Dcache:Rx-raoTa3JUC:www.tuxedo.org/~esr/f= aqs/s mart-questions.html&hl=3Den&ie=3DUTF-8 -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/proposals/tapestry |
From: Elankath, T. (Cognizant) <ET...@bl...> - 2003-02-24 12:13:41
|
Hi Joel, Did you manage to find the solution to your problem ? I too am facing the same problem. :-( Grateful for any help, Tarun -----Original Message----- From: Joel Trunick [mailto:Jo...@Sm...] Sent: Saturday, February 22, 2003 2:09 AM To: 'tap...@li...' Subject: [Tapestry-developer] Image used more than once I have a spacer image that is probably used a 100 times in one page. However, as soon as I reference the image twice with an ID tag, it complains: "Template for component Account contains multiple references to embedded component imgSpacer" How do I reference the same asset a thoughout the page? That would be awfully tedious to make a new component for the same thing 100x :-) Joel |
From: Elankath, T. (Cognizant) <ET...@bl...> - 2003-02-24 12:05:43
|
Hi list, I am rather peeved that the conditional component doesn't accept = informal parameters. I have an element with a CLASS attribute that I = wish to display conditionally. Unfortunately, if I give a jwcid to this = element and let it be a conditional component, then the CLASS attribute = is invalid. IMHO, this is a bug. I don't see any good reason as to why informal = parameters are forbidden int the conditional component. As far as good = sense goes, informal parameters should be allowed in all circumstances = for all components, it should only be disabled in case of conflict. I know have to put an un-necessary pair of <span jwcid=3D"ifBlah"> tags = around the element now. This only messes the template, instead of = keeping it inviolate.=20 Regards, Tarun |
From: Elankath, T. (Cognizant) <ET...@bl...> - 2003-02-24 07:38:29
|
Hi tapestry gurus, I have templates that refer to stylesheets and images using relative = paths such as styles/site_common.css and images/logo.jpg. I have these = directories (and their files) present in the WAR file as well. But these don't get included in the resulting page. Do I have to create = an asset for every style-sheet and image used ? That would be extremely = tedious and I don't want to modify the html templates either.=20 All help appreciated, Tarun |
From: Tarun R. E. <ta...@we...> - 2003-02-23 22:14:31
|
Hi list, I have a dynamic javascript tree that loads nodes on the fly, by obtaining it from the server. (I am using the famous xloadtree script at webfx.eae.net) Nodes of the tree are declared by tree elements (see bottom of email for a xml snippet). The tree content conforms to a DTD. A node which is expandable (ie parent node) must provide a SRC attribute. The SRC attribute must link to an xml file that lists the child nodes for this parent node. Ofcourse this xml file is getting generated dynamically by a single page. This page on the server needs the id of the parent node and generates xml content for its children. My problem is that I need to generate the SRC attribute for a TREE element. In other words I need to get the HREF text which contains both the link to this generating page and a parameter to it (id of the node). I know that I can use the ForEach and the Any component to generate the xml nodes. But how do I put the value of the link into the SRC attribute ? All help gratefully appreciated, Tarun tree> <tree text="Loaded Item 1" action="href://webfx.eae.net" /> <tree text="Loaded Item 2"> <tree text="Loaded Item 2.1" action="javascript:alert(2.1)" /> </tree> <tree text="Load "tree1.xml"" src="tree1.xml" /> </tree> |
From: Howard M. L. S. <hl...@at...> - 2003-02-23 14:11:08
|
Standard response: Provide a stack trace.=20 ----- Original Message -----=20 From: jason ho=20 To: tap...@li...=20 Sent: Thursday, February 20, 2003 5:49 AM Subject: [Tapestry-developer] Failed to acquire page Init Hi all, Currently I had successfully constructed a login page and able to = connect to a database. But the problem i have encountered is, after the = login page had successfully validated the login name and password. It = will suppose to direct into another page, which is "Init" page, but i = get this error messages.=20 net.sf.tapestry.ApplicationRuntimeException: Failed to = acquire page Init. I had no clue how to solve this and why this error is thrown. Hope = someone can drop me some hints. Thanks, Jason -------------------------------------------------------------------------= ----- Add photos to your messages with MSN 8. Get 2 months FREE*. = ------------------------------------------------------- This SF.net = email is sponsored by: SlickEdit Inc. Develop an edge. The most = comprehensive and flexible code editor you can use. Code faster. C/C++, = C#, Java, HTML, XML, many more. FREE 30-Day Trial. = www.slickedit.com/sourceforge = _______________________________________________ Tapestry-developer = mailing list Tap...@li... = https://lists.sourceforge.net/lists/listinfo/tapestry-developer |
From: Tarun R. E. <ta...@we...> - 2003-02-22 20:26:47
|
Yes Eric, your explanation did help a bit. Thank you! I have understood what it does, but it still looks a bit like black magic to me. Isn't such a scheme be ad-hoc ? What I understand of rewinding with the illustration that you have given, is that it's basically an operation that enables components to carry out actions using the previous request state, instead of the current one. Am I correct here ? I guess I'll need to experiment with a concrete program example in order to completely get the hang of it. Thanks a ton, Tarun On Fri, 2003-02-21 at 22:48, Eric Everman wrote: > Tarun- > > I can take a stab at that question. > > Form rewinding is the process of recreating the same conditions during form > submit, that a particular component saw during form render. > > For rewinding is key in understanding iterative form components. For > instance, say you have an arbitrary list of items with 'edit' and 'delete' > buttons next to each item. Your template might look something like this > (in pseudo code) > > <for each item> > <insert item name/><create edit button/><create delete button/> > </for each item> > > All the delete buttons call the delete() method, but do not specify which > item to delete. When the user clicks a 'Delete' button, the conditions > that the form saw when the button were rendered are recreated - that is, if > your page had a currentItem property, that property is reset to the > currentItem when the button was rendered. Your delete method is called by > Tapestry and your code deletes the item in currentItem, know that it is the > correct item. > > This is all optional and not ideal in some cases. You can use the Direct > service, which puts the burden on you to give actions a meaningful > identifier by which you can locate the correct item to act on. > > Does that help? > > Eric Everman > > At 2/21/2003, Elankath, Tarun (Cognizant) wrote: > >Hi list, > > > >Sorry for this newbie-style question. I have read the tutorial and the user > >manual. I understand the advantages that Tapestry offers, but its complexity > >is mind-boggling. I have been just totally unable to understand what is form > >rewinding/rewind cycle and its principle. > > > >Could someone please explain what rewind is ? > > > >All help/pointers gratefully appreciated, > >Tarun > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Tapestry-developer mailing list > Tap...@li... > https://lists.sourceforge.net/lists/listinfo/tapestry-developer > |
From: Adam G. <ag...@nb...> - 2003-02-22 03:49:10
|
The basic idea of form rewinding is this: During the regular running of a page, the page is rendered with all of its fields in the form. You fill out the field and submit the form. Upon submission, Tapestry rewinds the page, which means that it takes the values that you filled out in the field and stores those values in their appropriate spot (into the Java Bean Property that you attached to the value binding) and then calls the form listener. During a rewind cycle the page is not rendered into HTML. The analogy is this: You unwind a page when you lay out the forms in HTML, when you submit, you rewind the page and pull back the values in the fields, removing the page from view and replacing it with the next page (which, technically, can be the same page that you just saw). ----- Original Message ----- From: "Elankath, Tarun (Cognizant)" <ET...@bl...> To: <tap...@li...> Sent: Friday, February 21, 2003 3:54 AM Subject: [Tapestry-developer] Can't understand what is form rewinding. > Hi list, > > Sorry for this newbie-style question. I have read the tutorial and the user > manual. I understand the advantages that Tapestry offers, but its complexity > is mind-boggling. I have been just totally unable to understand what is form > rewinding/rewind cycle and its principle. > > Could someone please explain what rewind is ? > > All help/pointers gratefully appreciated, > Tarun > > |