Re: Tapestry Web Site Updated
That's just plain wrong. The form of communication (forum vs. mailing list) will have no impact at all on whether questions you ask are answered more or less conclusively. It's how you ask your question and what information you provide that influences the likelihood whether you'll get a satisfying answer or not. On 25.11.2010 00:33, Paul Stanton wrote: "They (forums) are to publish discussions on specific matters." Exactly! I'm often disappointed with the level of help offered here, and maybe that's because the mailing list is too much a "community where people try to stay connected continuously" and not enough a question/answer type discussion. I think there's a great need for a simple, searchable question/answer 'area' whether it's a forum or something different, where new users can ask those 'dumb' questions (tapestry veterans may think their dumb) where there's a good likelihood that they will be answered in full instead of just falling down the list. Especially with the design of tapestry is such that the internals are not exposed to the developer (ie no polymophism) which makes it more difficult for developers to get a grasp on what is available to them. I've asked a number of questions here which I feel have never had a conclusive answer, i'm sure i'm not the only one. Not to say people aren't helpful, that's that what i think the problem is. I think it's the mechanism (mailing list) more than anything else. p. On 25/11/2010 3:33 AM, Ivano Luberti wrote: Stack Overflow must be a forum because it is a way to collect many professionals of various competences. But forums are not for community where people try to stay connected continuously. They are to publish discussions on specific matters. On Wed, Nov 24, 2010 at 11:46, Paul Stanton wrote: i know most of you guys, who have been using ml for so long probably prefer ml, that's not the point! i guarantee there's a number of users who don't want to configure their inbox for ml and give up. just a thought, if no one can see the benefit i guess it isn't going to happen! i use stackoverflow a lot and attempt to answer or contribute to most tapestry questions. p. On 24/11/2010 8:35 PM, Ivano Luberti wrote: I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
> "Feel free to create a Tapestry forum. Please post the link here." > > of course i don't have time to set up a server!! I'm too busy trying to work > out my own tapestry issues! Hehe... I'd guess that everyone else here is also busy doing things for which they get paid. Josh - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Threading and SSOs (again)
Ok, just to follow up. I tracked it down and commented on the defects involved. > https://issues.apache.org/jira/browse/TAP5-1355 https://issues.apache.org/jira/browse/TAP5-834 Tapestry has two lines of code which set a session attribute to null and back in order to force updates to clustered servers... not my area of expertise. If you're not in a clustered environment, or possibly using an app server other than Tomcat/Jetty, then your SSO could extend org.apache.tapestry5.OptimizedSessionPersistedObject and always return false in isSessionPersistedObjectDirty. This would circumvent the code that temporarily sets the session attribute holding your SSO to null. If you aren't changing the values inside the object then it should be a safe approach. I'll try to work out a real solution for 5.3... the fix might be a little risky for a 5.2.4 release. Josh On Wed, Nov 24, 2010 at 12:16 AM, Moritz Gmelin wrote: > Thanks > > https://issues.apache.org/jira/browse/TAP5-1355 > > Moritz > > Am 24.11.2010 um 00:29 schrieb Josh Canfield: > >> Can you put the test case into jira? I'll try to look at it over the >> holiday/weekend. >> On 23 Nov 2010 13:16, "Moritz Gmelin" wrote: >>> Hi, >>> >>> I was able to create a very simple example to recreate that problem: >>> >>> -A simple page that displays 20 dynamically generated images in a loop. >>> -In the page, a SSO, holding a number value is initialized to a random >> number. >>> -Each of the dynamic images read that number and draws it. >>> -Make sure that a HTTP-Request is made for every image on the page (my >> adding some random number to the event link) >>> >>> The effect that you'll see after some reloads of the page is that some >> images will draw 0 as SSO value instead of the number set in the page >> @BeginRender method. >>> >>> I definitely beleive that tapestry should take care of this. It is a use >> case for SSOs that is probably too common to ignore. >>> >>> Why can't this be automatically integrated into the >> ApplicationStateManager? >>> >>> Thanks >>> >>> Moritz >>> >>> >>> >>> >>> Am 23.11.2010 um 16:06 schrieb Thiago H. de Paula Figueiredo: >>> On Tue, 23 Nov 2010 12:30:42 -0200, Moritz Gmelin >> wrote: > Hi, Hi! > Is this a design problem with my application that multple threads can >> access the sessionstateobject at the same time and thus break its uniqueness >> or is it tapestrys fault that it does not prevent it from breaking? It's not Tapestry's nor the servlet container to handle concurrency on >> session objects. I suggest you to create a service that synchronizes access >> to your SSO and use it instead of using @SessionState and >> ApplicationStateManger directly. Another option is to decorate or override >> ApplicationStateManager to add thread syncronization to them. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, >> and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: context asset servlet gives directory listing and access to WEB-INF
Thanks Thiago, I have added the following to my AppModule. public RequestFilter buildAccessFilter(final Context context) { return new RequestFilter() { @Override public boolean service(Request request, Response response, RequestHandler handler) throws IOException { String path = request.getPath(); String contextAssetPath = RequestConstants.ASSET_PATH_PREFIX + RequestConstants.CONTEXT_FOLDER; if (path.startsWith(contextAssetPath)) { if (path.contains("WEB-INF") || path.contains("META-INF")) { LOG.debug("attempted access to protected resource: " + path); response.setStatus(403); return true; } String realPath = path.substring(contextAssetPath.length()); realPath = realPath.substring(path.indexOf('/')); // remove version File file = context.getRealFile(realPath); if (!file.exists() || file.isDirectory()) { LOG.debug("attempted access to protected resource: " + path); response.setStatus(403); return true; } } LOG.trace("allowed " + path); return handler.service(request, response); } }; } public void contributeRequestHandler(OrderedConfiguration configuration, @InjectService("AccessFilter") RequestFilter filter) { configuration.add("AccessFilter", filter); } On 25/11/2010 11:26 AM, Thiago H. de Paula Figueiredo wrote: On Wed, 24 Nov 2010 22:13:03 -0200, Paul Stanton wrote: I've just noticed in one of my apps (T5.1.0.5) is allowing not only directory listing via the "assets" servlet (i know it's not a servlet as such) including access to directory listing and files within WEB-INF. You can even download .class files. This is a known problem in 5.1.0.5 which, as far as I know, was fixed in 5.2. There are some solutions if you search the mailing list or JIRA. I use this in a project, inside a RequestFilter: String path = request.getPath(); if (path.endsWith(RequestConstants.ASSET_PATH_PREFIX)) { response.setStatus(403); return true; } else if (path.startsWith(RequestConstants.ASSET_PATH_PREFIX)) { if (path.contains("WEB-INF") || path.endsWith("hibernate.cfg.xml") || path.endsWith(".class") || path.endsWith(".tml") || path.endsWith("salt.properties") || path.contains("META-INF")) { response.setStatus(403); return true; } return false; } - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
On Wed, 24 Nov 2010 22:29:15 -0200, Paul Stanton wrote: Thiago, Hi, Paul! "Feel free to create a Tapestry forum. Please post the link here." of course i don't have time to set up a server!! I'm too busy trying to work out my own tapestry issues! I was thinking about using ready=to-use forums, not setting up one. "What do you mean by core Tapestry community?" i mean you and everyone else here! everyone else who visits the tapestry main site and uses tapestry. Then you need to convince people to also use the forum. ;) I guess most people would stick to just one: mailing list or forum. and thiago, i have to say you are probably the most helpful source of answers on here. your help is greatly appreciated. This list is full of helpful people and is one of the Tapestry's advantages. :) now could you have a go at answering my question regarding ComponentResources? haha. Which one? :D Getting the ComponentResources of a component in a service? Sincerely, I guess there are better approaches to do what you want. By the way, I can't recall you describing what do you want to do instead of asking how to do it. ;) :) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
Andreas, Agreed 100%. http://stackoverflow.com/questions/tagged/tapestry or as a feed: http://stackoverflow.com/feeds/tag/tapestry Maybe the tapestry site can leverage stackoverflow as it's recommended question/answer forum? To work however, this would require some of the people here to take interest. p. On 25/11/2010 11:41 AM, Andreas Andreou wrote: You're probably right on the reasons, but the thing is that it's a pain having to monitor multiple sources of user feedback - there's just never enought free time to do so. And there's also a few big risks: 1) Making the community appear to be unresponsive 2) Frustrating users who never get their questions answered 3) Spreading the info to multiple places is hard to update and easy to get obsolete So, anyway, Tapestry has the mailing list, its website/documentation and there's always StackOverflow. Perhaps it makes sense to define a strategy on how to take advantage of that last one though On Thu, Nov 25, 2010 at 01:36, Paul Stanton wrote: it did. it's still there but doesn't have the community. the reason it dies was twofold: 1. it was very spam prone: the way it was set up did not do enough to limit/kill spammers 2. it did not get the tapestry community support - it was not even acknowledged by the tapestry site that's not to say a forum wouldn't work if setup and supported by the core tapestry community. p. On 25/11/2010 8:18 AM, Robert Zeigler wrote: Tapestry had a forum for awhile. I think it died. Robert On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote: i know most of you guys, who have been using ml for so long probably prefer ml, that's not the point! i guarantee there's a number of users who don't want to configure their inbox for ml and give up. just a thought, if no one can see the benefit i guess it isn't going to happen! i use stackoverflow a lot and attempt to answer or contribute to most tapestry questions. p. On 24/11/2010 8:35 PM, Ivano Luberti wrote: I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
You're probably right on the reasons, but the thing is that it's a pain having to monitor multiple sources of user feedback - there's just never enought free time to do so. And there's also a few big risks: 1) Making the community appear to be unresponsive 2) Frustrating users who never get their questions answered 3) Spreading the info to multiple places is hard to update and easy to get obsolete So, anyway, Tapestry has the mailing list, its website/documentation and there's always StackOverflow. Perhaps it makes sense to define a strategy on how to take advantage of that last one though On Thu, Nov 25, 2010 at 01:36, Paul Stanton wrote: > it did. it's still there but doesn't have the community. > > the reason it dies was twofold: > > 1. it was very spam prone: the way it was set up did not do enough to > limit/kill spammers > 2. it did not get the tapestry community support - it was not even > acknowledged by the tapestry site > > that's not to say a forum wouldn't work if setup and supported by the core > tapestry community. > > p. > > On 25/11/2010 8:18 AM, Robert Zeigler wrote: >> >> Tapestry had a forum for awhile. I think it died. >> >> Robert >> >> On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote: >> >>> i know most of you guys, who have been using ml for so long probably >>> prefer ml, that's not the point! >>> >>> i guarantee there's a number of users who don't want to configure their >>> inbox for ml and give up. >>> >>> just a thought, if no one can see the benefit i guess it isn't going to >>> happen! >>> >>> i use stackoverflow a lot and attempt to answer or contribute to most >>> tapestry questions. >>> >>> p. >>> >>> On 24/11/2010 8:35 PM, Ivano Luberti wrote: I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: > > how about adding a forum? > > personally i prefer forums to mailing lists, and i believe a lot of > people don't participate in this 'user-group' community and therefore > don't get help and therefore don't like tapestry... > > if you want to attract more users i recommend this. > > p. > > On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: >> >> We're still working out the kinks ... and I've been working hard on >> revising >> the tutorial ... but at long last, we're debuting the new Tapestry >> Web Site: >> >> http://tapestry.apache.org/ >> >> Feedback is encouraged; just post to users@tapestry.apache.org with >> [SITE] >> in the subject. >> > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr Tapestry PMC / Tacos developer Open Source / JEE Consulting - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
Thiago, "This is what the FAQ page in the wiki is for. " i think it's highly unlikely that a new user is going to find and figure out how to post a question on a FAQ wiki page. that is only going to happen for 1 of 1000 newbie questions! "Feel free to create a Tapestry forum. Please post the link here." of course i don't have time to set up a server!! I'm too busy trying to work out my own tapestry issues! "What do you mean by core Tapestry community?" i mean you and everyone else here! everyone else who visits the tapestry main site and uses tapestry. "so the MLs are here to stay" Yes i don't doubt that. i'm not saying they are not needed. I'm just wishing for a better question/answer mechanism for myself and people in the same situation. and thiago, i have to say you are probably the most helpful source of answers on here. your help is greatly appreciated. now could you have a go at answering my question regarding ComponentResources? haha. p. On 25/11/2010 11:12 AM, Thiago H. de Paula Figueiredo wrote: On Wed, 24 Nov 2010 21:36:52 -0200, Paul Stanton wrote: 1. it was very spam prone: the wa"y it was set up did not do enough to limit/kill spammers 2. it did not get the tapestry community support - it was not even acknowledged by the tapestry site that's not to say a forum wouldn't work if setup and supported by the core tapestry community. What do you mean by core Tapestry community? The committers use the mailing list and I think they are happy with that. I guess most active mailing list too. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: context asset servlet gives directory listing and access to WEB-INF
On Wed, 24 Nov 2010 22:13:03 -0200, Paul Stanton wrote: I've just noticed in one of my apps (T5.1.0.5) is allowing not only directory listing via the "assets" servlet (i know it's not a servlet as such) including access to directory listing and files within WEB-INF. You can even download .class files. This is a known problem in 5.1.0.5 which, as far as I know, was fixed in 5.2. There are some solutions if you search the mailing list or JIRA. I use this in a project, inside a RequestFilter: String path = request.getPath(); if (path.endsWith(RequestConstants.ASSET_PATH_PREFIX)) { response.setStatus(403); return true; } else if (path.startsWith(RequestConstants.ASSET_PATH_PREFIX)) { if (path.contains("WEB-INF") || path.endsWith("hibernate.cfg.xml") || path.endsWith(".class") || path.endsWith(".tml") || path.endsWith("salt.properties") || path.contains("META-INF")) { response.setStatus(403); return true; } return false; } -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: another bug in image submit
Oops. Sorry about the title. I'm not sure yet that this is a bug or operator error. On 11/24/2010 4:05 PM, Chuck Kring wrote: Hello, Something odd is occurring in Tapestry 5.1.0.5. I'm using a form inside of a zone. In the form are several image submits - arrows to move time back and forth in a chart. When I click on any submit, all image submits receive an event. It doesn't matter if I specify the event or use onSelectedFrom. When using a normal submit (no image parameter) everything is fine. For example, in the following tml, when I click on back, the onBack() AND the onForward() event handlers fire. When I click on the forward icon, only the onForward() event handler fires. xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> ~ Am I doing something wrong? If this is a bug, is it related to TAP5-711 or something else? Thanks! Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
context asset servlet gives directory listing and access to WEB-INF
I've just noticed in one of my apps (T5.1.0.5) is allowing not only directory listing via the "assets" servlet (i know it's not a servlet as such) including access to directory listing and files within WEB-INF. You can even download .class files. It is a slightly non standard configuration in that there are a lot of files under 'webapp' and that libraries are stored in WEB-INF/lib and classes in WEB-INF/classes. I decided to test the 'sites using tapestry' listed on the tapestry homepage to see whether it is a general tapestry issue and although none expose the internals of WEB-INF, some do provide directory listings: http://www.cubiculus.com/ disallows dir listing completely http://www.yanomo.com/ allows dir listing - http://www.yanomo.com/assets/0.9.9/ctx/ disallows WEB-INF access - http://www.yanomo.com/assets/0.9.9/ctx/WEB-INF/ http://recurtrack.com/ allows dir listing - http://recurtrack.com/assets/1.7/ctx/ disallows WEB-INF access http://recurtrack.com/assets/1.7/ctx/WEB-INF/ So my question is, how do I turn off directory listings and how do I stop access within WEB-INF and META-INF? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
On Wed, 24 Nov 2010 21:36:52 -0200, Paul Stanton wrote: 1. it was very spam prone: the way it was set up did not do enough to limit/kill spammers 2. it did not get the tapestry community support - it was not even acknowledged by the tapestry site that's not to say a forum wouldn't work if setup and supported by the core tapestry community. What do you mean by core Tapestry community? The committers use the mailing list and I think they are happy with that. I guess most active mailing list too. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
On Wed, 24 Nov 2010 21:33:17 -0200, Paul Stanton wrote: I think there's a great need for a simple, searchable question/answer 'area' whether it's a forum or something different, where new users can ask those 'dumb' questions (tapestry veterans may think their dumb) where there's a good likelihood that they will be answered in full instead of just falling down the list. This is what the FAQ page in the wiki is for. Not to say people aren't helpful, that's that what i think the problem is. I think it's the mechanism (mailing list) more than anything else. The Apache Foundation has a tradition of using mailing lists instead of forums, so the MLs are here to stay. Even project decisions must be made in mailing lists. Nabble provides a forum-like archive to the mailing lists. Feel free to create a Tapestry forum. Please post the link here. :) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: grid containing multiple types of same interface
On Wed, 24 Nov 2010 20:27:51 -0200, Paul Stanton wrote: by 'manually create the model' do you mean 'create your own implementation of GridModel' ? No. Inject the BeanModelSource and use its createDisplayModel() method to get a GridModel instance. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
another bug in image submit
Hello, Something odd is occurring in Tapestry 5.1.0.5. I'm using a form inside of a zone. In the form are several image submits - arrows to move time back and forth in a chart. When I click on any submit, all image submits receive an event. It doesn't matter if I specify the event or use onSelectedFrom. When using a normal submit (no image parameter) everything is fine. For example, in the following tml, when I click on back, the onBack() AND the onForward() event handlers fire. When I click on the forward icon, only the onForward() event handler fires. http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> ~ Am I doing something wrong? If this is a bug, is it related to TAP5-711 or something else? Thanks! Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
it did. it's still there but doesn't have the community. the reason it dies was twofold: 1. it was very spam prone: the way it was set up did not do enough to limit/kill spammers 2. it did not get the tapestry community support - it was not even acknowledged by the tapestry site that's not to say a forum wouldn't work if setup and supported by the core tapestry community. p. On 25/11/2010 8:18 AM, Robert Zeigler wrote: Tapestry had a forum for awhile. I think it died. Robert On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote: i know most of you guys, who have been using ml for so long probably prefer ml, that's not the point! i guarantee there's a number of users who don't want to configure their inbox for ml and give up. just a thought, if no one can see the benefit i guess it isn't going to happen! i use stackoverflow a lot and attempt to answer or contribute to most tapestry questions. p. On 24/11/2010 8:35 PM, Ivano Luberti wrote: I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
"They (forums) are to publish discussions on specific matters." Exactly! I'm often disappointed with the level of help offered here, and maybe that's because the mailing list is too much a "community where people try to stay connected continuously" and not enough a question/answer type discussion. I think there's a great need for a simple, searchable question/answer 'area' whether it's a forum or something different, where new users can ask those 'dumb' questions (tapestry veterans may think their dumb) where there's a good likelihood that they will be answered in full instead of just falling down the list. Especially with the design of tapestry is such that the internals are not exposed to the developer (ie no polymophism) which makes it more difficult for developers to get a grasp on what is available to them. I've asked a number of questions here which I feel have never had a conclusive answer, i'm sure i'm not the only one. Not to say people aren't helpful, that's that what i think the problem is. I think it's the mechanism (mailing list) more than anything else. p. On 25/11/2010 3:33 AM, Ivano Luberti wrote: Stack Overflow must be a forum because it is a way to collect many professionals of various competences. But forums are not for community where people try to stay connected continuously. They are to publish discussions on specific matters. On Wed, Nov 24, 2010 at 11:46, Paul Stanton wrote: i know most of you guys, who have been using ml for so long probably prefer ml, that's not the point! i guarantee there's a number of users who don't want to configure their inbox for ml and give up. just a thought, if no one can see the benefit i guess it isn't going to happen! i use stackoverflow a lot and attempt to answer or contribute to most tapestry questions. p. On 24/11/2010 8:35 PM, Ivano Luberti wrote: I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Guide: Developing with Tomcat and Eclipse
Thanks, I'm amazed and flattered, people still seem to love Sysdeo Tomcat Launcher and my buttons I designed for it from v0.9: http://www.eclipsetotale.com/tomcatPlugin/releaseNotesV3.txt [?] Werner
Re: Guide: Developing with Tomcat and Eclipse
Thanks, am amazed and flattered, eople still seem to love Sysdeo Tomcat Launcher and my buttons I designed for it from v0.9: http://www.eclipsetotale.com/tomcatPlugin/releaseNotesV3.txt [?] Werner
Re: grid containing multiple types of same interface
by 'manually create the model' do you mean 'create your own implementation of GridModel' ? can you provide an example? On 25/11/2010 12:50 AM, LLTYK wrote: You manually create the grid model, which lets you specifically tell it to use the interface. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: AJAX zone refresh error messages
At the moment we're using a 5.2 build (pulled from head sometime in April). Here's the simplest sort of example I could come up with. The java code would look something like this import org.apache.tapestry5.annotations.InjectComponent; import org.apache.tapestry5.corelib.components.Zone; import java.util.Date; public class TestErrorPage { @InjectComponent private Zone testZone; public Object onActionFromRefreshTestZoneLink() { return testZone.getBody(); } public String getCurrentTime() { return new Date().toString(); } } and the TML http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> This is only a test This is text outside the zone: ${currentTime} This is text inside the zone: ${currentTime} Refresh Zone When everything works you get something like [image: working.png] Now let's simulate an error happening during the AJAX request public Object onActionFromRefreshTestZoneLink() { throw new RuntimeException("Oh no there was an error!"); } Now you'll get something like the following [image: Simple_error.png] Notice the red box with the error message in it. This will appear on screen, and then fade out after a few seconds. When you have a simple exception like this it's not too bad, however when the exception gets generated deep down in the code and passes through multiple layers of rethrowing it's starts getting ugly. For example if I do this public Object onActionFromRefreshTestZoneLink() { throw new RuntimeException(new RuntimeException(new RuntimeException("Oh no there was an error!"))); } then the error message looks like [image: nested_error.png] Now I can kind of fix this by wrapping all of my zone refresh handlers in a giant try catch block and eating the thrown exception and throwing a more user friendly exception (although even then I seem to be stuck with the "Communication with the server failed:" being tacked onto the front of it) but I was wondering if there were any other options. Mike T On Tue, Nov 23, 2010 at 7:36 PM, Paul Stanton wrote: > haha leverage is perfectly appropriate in that context! > > i'm not sure i'm familiar with the error popup you're referring to, when i > get XHR errors, i think blackbird handles them (ie it is the default in > t5.1) > > what version are you using and can you produce a simple example to > reproduce your problem? > > p. > > > On 24/11/2010 6:30 AM, Christian Edward Gruber wrote: > >> I apologize, sincerely, for my colleague using the word "leverage" as a >> verb. He's been in one too many meetings with management. ;-) >> >> But seriously, no, it's not blackbird. It's the little red error messages >> that pop up when you get XHR errors. (Mike, Blackbird is a javascript-based >> error console per http://www.gscottolson.com/blackbirdjs/) >> >> Christian. >> >> On Nov 23, 2010, at 8:52 AM, Michael Taylor wrote: >> >> To be honest I'm not sure. I don't really know what 'BlackBird' is. >>> I was hoping though to still show an error message to the user, but just >>> make it a little more user friendly instead of a giant stack trace. >>> I could just suppress these error messages and then role my own custom >>> error >>> display, but I thought it might be easier to leverage this one and just >>> change the displayed text. >>> >>> Mike T >>> >>> On Mon, Nov 22, 2010 at 5:59 PM, Paul Stanton >>> wrote: >>> >>> is the error message you're referring to the 'BlackBird' error popup? if you want to disable it set SymbolConstants.BLACKBIRD_ENABLED to false in your Module. p. On 23/11/2010 5:51 AM, Michael Taylor wrote: Greetings Tapestry users, > > I have a question about ajax refreshing zones. > I have a page that contains a number of custom components each of which > has > its own zone that gets refreshed via ajax. > I've noticed that if there is a problem on the server side when > executing > the ajax refresh tapestry dynamically pops up a read error message box > at > the top of the page which is visible for a few seconds and then fades > out. > The problem I'm having is that this error message is showing the stack > trace > of the exception that got thrown on the sever side which isn't > particularly > user friendly. > I'd like to customize what this error message says, but I'm not sure > how > to > do it. I'd tried poking around in the documentation, but all I could > find > was information on form validation error messages which didn't seem > quite > applicable. > Could anyone give me any tips on how to customize these ajax refresh > error > messages (or point me at the relevant documentation). > > Thanks in advance, > > > Mike T > > >
Re: Tapestry Web Site Updated
Tapestry had a forum for awhile. I think it died. Robert On Nov 24, 2010, at 11/244:46 AM , Paul Stanton wrote: > i know most of you guys, who have been using ml for so long probably prefer > ml, that's not the point! > > i guarantee there's a number of users who don't want to configure their inbox > for ml and give up. > > just a thought, if no one can see the benefit i guess it isn't going to > happen! > > i use stackoverflow a lot and attempt to answer or contribute to most > tapestry questions. > > p. > > On 24/11/2010 8:35 PM, Ivano Luberti wrote: >> I prefer ml to forums and in nay case ML web archives allow to search them. >> I cannot see any other advantage of a forum over a ml. >> >> Il 24/11/2010 4.56, Paul Stanton ha scritto: >>> how about adding a forum? >>> >>> personally i prefer forums to mailing lists, and i believe a lot of >>> people don't participate in this 'user-group' community and therefore >>> don't get help and therefore don't like tapestry... >>> >>> if you want to attract more users i recommend this. >>> >>> p. >>> >>> On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: For the one at the Devoxx
Oops, did his talk or the controversial discussion following it cause his own (Java EE powered, at least he eats his own dogfood [?]) servers to crash with not enough memory ?! [?] That would be a poor signal, especially to "Real world" customers, but he's not alone in this. Another "star" among DevoXX presenters, this year he had a scheduling conflict has turned out to fail a similar "reality test", a very smart team mate at my old mobile project last year presented him. It happens to the best of us and maybe the DevOps guys some of them also at the same event could help him to prevent this in future...? Werner On Fri, Nov 19, 2010 at 10:29 PM, Massimo Lusetti wrote: > On Fri, Nov 19, 2010 at 5:37 PM, Christophe Cordenier > wrote: > > > Hi > > > > Actually, you can send him en email if you think values are not > justified, > > he told to the audience that he will update it ! > > Oh... maybe they're still using a pooling mechanism (no rage just > fun:) > > http://raibledesigns.com/contact.jsp > > Unexpected Exception > > Status Code 500 > Message javax.servlet.ServletException: java.lang.OutOfMemoryError: > unable to create new native thread > Type > Exception Roller has encountered and logged an unexpected exception. > > > > -- > Massimo > http://meridio.blogspot.com > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: Tapestry Web Site Updated
Stack Overflow must be a forum because it is a way to collect many professionals of various competences. But forums are not for community where people try to stay connected continuously. They are to publish discussions on specific matters. > On Wed, Nov 24, 2010 at 11:46, Paul Stanton wrote: > >> i know most of you guys, who have been using ml for so long probably prefer >> ml, that's not the point! >> >> i guarantee there's a number of users who don't want to configure their >> inbox for ml and give up. >> >> just a thought, if no one can see the benefit i guess it isn't going to >> happen! >> >> i use stackoverflow a lot and attempt to answer or contribute to most >> tapestry questions. >> >> p. >> >> >> On 24/11/2010 8:35 PM, Ivano Luberti wrote: >> >>> I prefer ml to forums and in nay case ML web archives allow to search >>> them. >>> I cannot see any other advantage of a forum over a ml. >>> >>> Il 24/11/2010 4.56, Paul Stanton ha scritto: >>> how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: > We're still working out the kinks ... and I've been working hard on > revising > the tutorial ... but at long last, we're debuting the new Tapestry > Web Site: > > http://tapestry.apache.org/ > > Feedback is encouraged; just post to users@tapestry.apache.org with > [SITE] > in the subject. > > - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> -- == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 web: www.archicoop.it == - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
I have to agree with you Paul Stanton. A forum instead of the users list would probably give tapestry a better reception from new users that do not like or do not know how to use a mailing list. The main problems with the mailing list (in my opinion) are that: *If a new user wants to know what is happening in the tapesty project, (s)he has to locate the mailing list archives (and I can only see the users list mentioned on the bottom of the getting started page. What about the dev lists?). *If (s)he wants to as a question or get updates, mailing list are even worse. Most users will know how to register on a forum, but registering for a mailing list? This is something most people haven't done in several years (or it will be a new experience for people). If the user manages to register and still wants to as a question to the tapestry-user list, (s)he will have to locate the users@tapestry.apache.org address and send a mail to this. My opinion is that there should be a forum instead of the "users" list while the access to the dev list should be described in detail on this forum. Since I guess we will continue using the mailing lists, maybe someone with write access could create a "Get help" page describing how to use the mailing lists. This page should at least include: *Browsing the archives *Subscribing to a list *Posting to a list *Unsubscribing to a list (important) Sigbjørn Tvedt On Wed, Nov 24, 2010 at 11:46, Paul Stanton wrote: > i know most of you guys, who have been using ml for so long probably prefer > ml, that's not the point! > > i guarantee there's a number of users who don't want to configure their > inbox for ml and give up. > > just a thought, if no one can see the benefit i guess it isn't going to > happen! > > i use stackoverflow a lot and attempt to answer or contribute to most > tapestry questions. > > p. > > > On 24/11/2010 8:35 PM, Ivano Luberti wrote: > >> I prefer ml to forums and in nay case ML web archives allow to search >> them. >> I cannot see any other advantage of a forum over a ml. >> >> Il 24/11/2010 4.56, Paul Stanton ha scritto: >> >>> how about adding a forum? >>> >>> personally i prefer forums to mailing lists, and i believe a lot of >>> people don't participate in this 'user-group' community and therefore >>> don't get help and therefore don't like tapestry... >>> >>> if you want to attract more users i recommend this. >>> >>> p. >>> >>> On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: >>> We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >>> > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >
Re: moving to the next page after form submit
Howard - really appreciate that you take time to reply even to newbie questions! -- View this message in context: http://tapestry.1045711.n5.nabble.com/moving-to-the-next-page-after-form-submit-tp3277654p3278576.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: moving to the next page after form submit
Thanks Howard! It worked in the first go! Link onSuccessFromThePage() { Link link = pageRenderLinkSource.createPageRenderLinkWithContext(ThePage.class, getNextPage()); return link; } -- View this message in context: http://tapestry.1045711.n5.nabble.com/moving-to-the-next-page-after-form-submit-tp3277654p3278573.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: grid containing multiple types of same interface
You manually create the grid model, which lets you specifically tell it to use the interface. -- View this message in context: http://tapestry-users.832.n2.nabble.com/grid-containing-multiple-types-of-same-interface-tp5769095p5770402.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Fwd: Re: JSF vs Tapestry
On Wed, 24 Nov 2010 07:16:10 -0200, Ivano Luberti wrote: I had forwarded to him a message by Thiago that was trying to point out differences between T5 and JSF. The interesting thing he has to say is about facelets as a way to use standard XHTML templates inside JSF. Facelets was inspired by the Tapestry 4 template engine. I'm not making this up, this was explicitly said in the Facelets home page (https://facelets.dev.java.net/). :) "The web community is eagerly seeking a framework like Tapestry, backed by JavaServer Faces as the industry standard." Also the difficulty to use together different component sets is interesting: reminds me of the issue with different JavaScript components in T5. Are you talking about Tapestry or JSF? JSF has compatibility problems among implementation and packages, Tapestry doesn't. The incomplatibilities you're talking about are purely JavaScript ones (Prototype vs jQuery), not Tapestry related. But what really surprises me is the similarity he found between struts and JSF It doesn't surprise me. struts-config.xml (argh) and faces-config.xml are similar. Both frameworks use navigations rules (which I consider a faiiled experiment, a solution in search of a problem) and have the same architect (Craig McClanahan). JSF, to me, looks like a component-oriented version of Struts. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
T5.1 and Tynamo Security: override a Shiro Filter
Hello! I need to override Shiro authc filter. I can do that via shiro.ini file: [main] authc=com.programeter.web.security.RemoteUserAuhtenticationFilter But I am wondering if there's way to achieve the same via XxxModule and configure Shiro via Tynamo Security. Tynamo has a SecurityRequestFilter class, but it seems that section that could help me is commented out: /* //Apply the acquired and/or configured filters: Map filters = getFilters(); if (!CollectionUtils.isEmpty(filters)) { for (Map.Entry entry : filters.entrySet()) { String name = entry.getKey(); Filter filter = entry.getValue(); applyGlobalPropertiesIfNecessary(filter); if (filter instanceof Nameable) { ((Nameable) filter).setName(name); } //'init' argument is false, since Spring-configured filters should be initialized //in Spring (i.e. 'init-method=blah') or implement InitializingBean: manager.addFilter(name, filter, false); } } */ Am I missing something? Or it is by design not permitted to override (or add custom) filters via Tapestry IOC? -- View this message in context: http://tapestry-users.832.n2.nabble.com/T5-1-and-Tynamo-Security-override-a-Shiro-Filter-tp5769989p5769989.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
i know most of you guys, who have been using ml for so long probably prefer ml, that's not the point! i guarantee there's a number of users who don't want to configure their inbox for ml and give up. just a thought, if no one can see the benefit i guess it isn't going to happen! i use stackoverflow a lot and attempt to answer or contribute to most tapestry questions. p. On 24/11/2010 8:35 PM, Ivano Luberti wrote: I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Hi Kalle, Below are my Java Memory Arguments for weblogic: -server -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseParallelGC -XX:SurvivorRatio=3 -XX:+UseCompressedOops -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -verbose:gc -XX:+DisableExplicitGC -Xloggc:/var/applogs/weblogic/vmb-um/managed1/gc_pipe -Xverify:none -Dmanaged1 -Dvmb-um -Djava.awt.headless=true -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278183.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Guide: Developing with Tomcat and Eclipse
Thanks Kalle, I just had a first attempt at following your steps, however I couldn't get it to work. I will try again later. i would prefer to use tomcat especially since i haven't got run-jetty-run to shutdown gracefully yet. you must admit, your instructions are quite involved and i wouldn't expect anyone to guess at the process ... how can you possibly be surprised? p. On 24/11/2010 3:55 PM, Kalle Korhonen wrote: On Thu, Nov 4, 2010 at 4:27 PM, Howard Lewis Ship wrote: I'm always amazed at how tortured people's setups are. That does it. I'm equally surprised every time I see people doing all kinds of crazy manual steps and putting up with several seconds, even minutes of build and wait time after every little change they make. I have nothing against Jetty and I use it both for development and production depending on a project, but since I'm sick and tired of people bashing Tomcat just because they haven't used it or use it wrong, I wrote a guide for developing webapps with Tomcat and Eclipse, available at http://tynamo.org/Developing+with+Tomcat+and+Eclipse. Next time you have the urge to complain about "broken class reloading in Tomcat" please re-read the guide :p Kalle - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: JSF vs Tapestry
Noe it works also for me: It seems I have hit a hole , sorry for false alarm I had tried three times in a span of few minutes before writing the e-mail. Il 24/11/2010 10.59, Igor Drobiazko ha scritto: > Nope, it works for me. > > On Wed, Nov 24, 2010 at 10:47 AM, Ivano Luberti wrote: > >> Oh yes! I can remember about that: but the link is not working, the web >> site seems down >> >> Il 24/11/2010 10.27, Igor Drobiazko ha scritto: >>> Maybe this presentation will be interesting for the jsf developer. >>> >>> >> http://blog.tapestry5.de/wp-content/uploads/2010/06/JSF-2.0-vs-Tapestry-5.pdf >>> On Wed, Nov 24, 2010 at 10:16 AM, Ivano Luberti >> wrote: >>> I forward to the list what a jsf developer has written to me: I'm working with him on a project where he has to develop the web application and I'm working on a web service consumed by his web application. I had forwarded to him a message by Thiago that was trying to point out differences between T5 and JSF. The interesting thing he has to say is about facelets as a way to use standard XHTML templates inside JSF. Also the difficulty to use together different component sets is interesting: reminds me of the issue with different JavaScript components in T5. But what really surprises me is the similarity he found between struts and JSF Messaggio originale Hi Ivano, We do indeed use JSF for our web development and more specifically we use Icefaces which is a set of AJAX enabled components and AJAX push framework which sits on top of JSF. We chose to use JSF because it wasn't too dissimilar from Struts which we were using before. Generally we find it very good although it does have some shortcomings but they don't tend to get in the way too much. We are using JSF 1.2 but JSF 2.0 is now available and adds support for some of the things on your list such as, you can now use annotations for lots of things you use to have to use XML for, there is also the addition of page level scope as per the tapestry idea. One point the tapestry guy is wrong about though is that with JSF you don't have to use JSP, that is only one option. We use facelets which is now part of the JSF 2.0 spec so if you use that you code directly in XHTML using the relevant faces tags, thus the problems that came from using JSP as a display layer disappear. With JSF you get a choice of which component set you want to use, or I believe you can use multiple but then configuration becomes more challenging. We looked at a number including Richfaces and Woodstock and decided that Icefaces offered the best set of components. All three of those are open source though so are completely free to use, although support is available too. Unfortunately I don't know a great deal about tapestry so I can't really say how it compares to JSF, I think you'd have to evaluate them both and decide which one is easier for you to work with based on your previous experience. Hope that helps, Darren - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org >> -- >> == >> dott. Ivano Mario Luberti >> Archimede Informatica societa' cooperativa a r. l. >> Sede Operativa >> Via Gereschi 36 - 56126- Pisa >> tel.: +39-050- 580959 >> tel/fax: +39-050-9711344 >> web: www.archicoop.it >> == >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > -- == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 web: www.archicoop.it == - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: JSF vs Tapestry
Nope, it works for me. On Wed, Nov 24, 2010 at 10:47 AM, Ivano Luberti wrote: > Oh yes! I can remember about that: but the link is not working, the web > site seems down > > Il 24/11/2010 10.27, Igor Drobiazko ha scritto: > > Maybe this presentation will be interesting for the jsf developer. > > > > > http://blog.tapestry5.de/wp-content/uploads/2010/06/JSF-2.0-vs-Tapestry-5.pdf > > > > On Wed, Nov 24, 2010 at 10:16 AM, Ivano Luberti >wrote: > > > >> I forward to the list what a jsf developer has written to me: I'm > >> working with him on a project where he has to develop the web > >> application and I'm working on a web service consumed by his web > >> application. > >> > >> I had forwarded to him a message by Thiago that was trying to point out > >> differences between T5 and JSF. > >> The interesting thing he has to say is about facelets as a way to use > >> standard XHTML templates inside JSF. > >> Also the difficulty to use together different component sets is > >> interesting: reminds me of the issue with different JavaScript > >> components in T5. > >> > >> But what really surprises me is the similarity he found between struts > >> and JSF > >> > >> > >> Messaggio originale > >> > >> Hi Ivano, > >> > >> We do indeed use JSF for our web development and more specifically we > >> use Icefaces which is a set of AJAX enabled components and AJAX push > >> framework which sits on top of JSF. We chose to use JSF because it > >> wasn't too dissimilar from Struts which we were using before. Generally > >> we find it very good although it does have some shortcomings but they > >> don't tend to get in the way too much. We are using JSF 1.2 but JSF 2.0 > >> is now available and adds support for some of the things on your list > >> such as, you can now use annotations for lots of things you use to have > >> to use XML for, there is also the addition of page level scope as per > >> the tapestry idea. One point the tapestry guy is wrong about though is > >> that with JSF you don't have to use JSP, that is only one option. We use > >> facelets which is now part of the JSF 2.0 spec so if you use that you > >> code directly in XHTML using the relevant faces tags, thus the problems > >> that came from using JSP as a display layer disappear. > >> > >> With JSF you get a choice of which component set you want to use, or I > >> believe you can use multiple but then configuration becomes more > >> challenging. We looked at a number including Richfaces and Woodstock and > >> decided that Icefaces offered the best set of components. All three of > >> those are open source though so are completely free to use, although > >> support is available too. > >> > >> Unfortunately I don't know a great deal about tapestry so I can't really > >> say how it compares to JSF, I think you'd have to evaluate them both and > >> decide which one is easier for you to work with based on your previous > >> experience. > >> > >> Hope that helps, > >> Darren > >> > >> > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > > -- > == > dott. Ivano Mario Luberti > Archimede Informatica societa' cooperativa a r. l. > Sede Operativa > Via Gereschi 36 - 56126- Pisa > tel.: +39-050- 580959 > tel/fax: +39-050-9711344 > web: www.archicoop.it > == > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de
Re: JSF vs Tapestry
Oh yes! I can remember about that: but the link is not working, the web site seems down Il 24/11/2010 10.27, Igor Drobiazko ha scritto: > Maybe this presentation will be interesting for the jsf developer. > > http://blog.tapestry5.de/wp-content/uploads/2010/06/JSF-2.0-vs-Tapestry-5.pdf > > On Wed, Nov 24, 2010 at 10:16 AM, Ivano Luberti wrote: > >> I forward to the list what a jsf developer has written to me: I'm >> working with him on a project where he has to develop the web >> application and I'm working on a web service consumed by his web >> application. >> >> I had forwarded to him a message by Thiago that was trying to point out >> differences between T5 and JSF. >> The interesting thing he has to say is about facelets as a way to use >> standard XHTML templates inside JSF. >> Also the difficulty to use together different component sets is >> interesting: reminds me of the issue with different JavaScript >> components in T5. >> >> But what really surprises me is the similarity he found between struts >> and JSF >> >> >> Messaggio originale >> >> Hi Ivano, >> >> We do indeed use JSF for our web development and more specifically we >> use Icefaces which is a set of AJAX enabled components and AJAX push >> framework which sits on top of JSF. We chose to use JSF because it >> wasn't too dissimilar from Struts which we were using before. Generally >> we find it very good although it does have some shortcomings but they >> don't tend to get in the way too much. We are using JSF 1.2 but JSF 2.0 >> is now available and adds support for some of the things on your list >> such as, you can now use annotations for lots of things you use to have >> to use XML for, there is also the addition of page level scope as per >> the tapestry idea. One point the tapestry guy is wrong about though is >> that with JSF you don't have to use JSP, that is only one option. We use >> facelets which is now part of the JSF 2.0 spec so if you use that you >> code directly in XHTML using the relevant faces tags, thus the problems >> that came from using JSP as a display layer disappear. >> >> With JSF you get a choice of which component set you want to use, or I >> believe you can use multiple but then configuration becomes more >> challenging. We looked at a number including Richfaces and Woodstock and >> decided that Icefaces offered the best set of components. All three of >> those are open source though so are completely free to use, although >> support is available too. >> >> Unfortunately I don't know a great deal about tapestry so I can't really >> say how it compares to JSF, I think you'd have to evaluate them both and >> decide which one is easier for you to work with based on your previous >> experience. >> >> Hope that helps, >> Darren >> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > -- == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 web: www.archicoop.it == - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
I prefer ml to forums and in nay case ML web archives allow to search them. I cannot see any other advantage of a forum over a ml. Il 24/11/2010 4.56, Paul Stanton ha scritto: > how about adding a forum? > > personally i prefer forums to mailing lists, and i believe a lot of > people don't participate in this 'user-group' community and therefore > don't get help and therefore don't like tapestry... > > if you want to attract more users i recommend this. > > p. > > On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: >> We're still working out the kinks ... and I've been working hard on >> revising >> the tutorial ... but at long last, we're debuting the new Tapestry >> Web Site: >> >> http://tapestry.apache.org/ >> >> Feedback is encouraged; just post to users@tapestry.apache.org with >> [SITE] >> in the subject. >> > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- == dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 web: www.archicoop.it == - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Re: JSF vs Tapestry
Maybe this presentation will be interesting for the jsf developer. http://blog.tapestry5.de/wp-content/uploads/2010/06/JSF-2.0-vs-Tapestry-5.pdf On Wed, Nov 24, 2010 at 10:16 AM, Ivano Luberti wrote: > I forward to the list what a jsf developer has written to me: I'm > working with him on a project where he has to develop the web > application and I'm working on a web service consumed by his web > application. > > I had forwarded to him a message by Thiago that was trying to point out > differences between T5 and JSF. > The interesting thing he has to say is about facelets as a way to use > standard XHTML templates inside JSF. > Also the difficulty to use together different component sets is > interesting: reminds me of the issue with different JavaScript > components in T5. > > But what really surprises me is the similarity he found between struts > and JSF > > > Messaggio originale > > Hi Ivano, > > We do indeed use JSF for our web development and more specifically we > use Icefaces which is a set of AJAX enabled components and AJAX push > framework which sits on top of JSF. We chose to use JSF because it > wasn't too dissimilar from Struts which we were using before. Generally > we find it very good although it does have some shortcomings but they > don't tend to get in the way too much. We are using JSF 1.2 but JSF 2.0 > is now available and adds support for some of the things on your list > such as, you can now use annotations for lots of things you use to have > to use XML for, there is also the addition of page level scope as per > the tapestry idea. One point the tapestry guy is wrong about though is > that with JSF you don't have to use JSP, that is only one option. We use > facelets which is now part of the JSF 2.0 spec so if you use that you > code directly in XHTML using the relevant faces tags, thus the problems > that came from using JSP as a display layer disappear. > > With JSF you get a choice of which component set you want to use, or I > believe you can use multiple but then configuration becomes more > challenging. We looked at a number including Richfaces and Woodstock and > decided that Icefaces offered the best set of components. All three of > those are open source though so are completely free to use, although > support is available too. > > Unfortunately I don't know a great deal about tapestry so I can't really > say how it compares to JSF, I think you'd have to evaluate them both and > decide which one is easier for you to work with based on your previous > experience. > > Hope that helps, > Darren > > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best regards, Igor Drobiazko http://tapestry5.de
Re: T5 page request return blank layout under heavy load test
Hi Kalle , I am not sure if it's serving only the bare layout page or it's empty response. From the response returned (view with firebug), it seems to be returning the html (similiar to bare layout) on all requests for pages or anything requested internally for css or javascript. Also, tracing the logs, i can't see any log indicate the application is been deployed (weblogic). Also, when the JVM XDebug is switch on, this issue seems to be resolved on it's own, with the same load tests run. I will try to find out what's set on the jvm in the next post. Any suggestion? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278118.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Fwd: Re: JSF vs Tapestry
I forward to the list what a jsf developer has written to me: I'm working with him on a project where he has to develop the web application and I'm working on a web service consumed by his web application. I had forwarded to him a message by Thiago that was trying to point out differences between T5 and JSF. The interesting thing he has to say is about facelets as a way to use standard XHTML templates inside JSF. Also the difficulty to use together different component sets is interesting: reminds me of the issue with different JavaScript components in T5. But what really surprises me is the similarity he found between struts and JSF Messaggio originale Hi Ivano, We do indeed use JSF for our web development and more specifically we use Icefaces which is a set of AJAX enabled components and AJAX push framework which sits on top of JSF. We chose to use JSF because it wasn't too dissimilar from Struts which we were using before. Generally we find it very good although it does have some shortcomings but they don't tend to get in the way too much. We are using JSF 1.2 but JSF 2.0 is now available and adds support for some of the things on your list such as, you can now use annotations for lots of things you use to have to use XML for, there is also the addition of page level scope as per the tapestry idea. One point the tapestry guy is wrong about though is that with JSF you don't have to use JSP, that is only one option. We use facelets which is now part of the JSF 2.0 spec so if you use that you code directly in XHTML using the relevant faces tags, thus the problems that came from using JSP as a display layer disappear. With JSF you get a choice of which component set you want to use, or I believe you can use multiple but then configuration becomes more challenging. We looked at a number including Richfaces and Woodstock and decided that Icefaces offered the best set of components. All three of those are open source though so are completely free to use, although support is available too. Unfortunately I don't know a great deal about tapestry so I can't really say how it compares to JSF, I think you'd have to evaluate them both and decide which one is easier for you to work with based on your previous experience. Hope that helps, Darren - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Hi Thiago, Thanks for reply. I haven't try version 5.2 as I do not want to upgrade the version recklessly without knowing what is the root cause, and may introduce more errors by the upgrade. I will leave that to the last option. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278100.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [ANN] Polish blog about Tapestry 5
Don't worry to much about exception page, it's important for me that it gives me information, I don't need to like colors ;) Besides while translating, I guess that most of context data may be lost. My blog posts won't be 100% serious, it's just not my style. I'm big fan of T5, else I wouldn't follow it for over 2 yrs or something like that ;) @Adam: I don't believe as it is needed. It would also require a lot of work. Also maintaining page later on would be pain. I prefer to cover same topics on my blog as a reference with other examples (guess game is probably not the best example of that ;) Sorry for just copying it, but I had no better idea to show simple mechanism Regards Michal -- View this message in context: http://tapestry-users.832.n2.nabble.com/ANN-Polish-blog-about-Tapestry-5-tp5768229p5769634.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Threading and SSOs (again)
Thanks https://issues.apache.org/jira/browse/TAP5-1355 Moritz Am 24.11.2010 um 00:29 schrieb Josh Canfield: > Can you put the test case into jira? I'll try to look at it over the > holiday/weekend. > On 23 Nov 2010 13:16, "Moritz Gmelin" wrote: >> Hi, >> >> I was able to create a very simple example to recreate that problem: >> >> -A simple page that displays 20 dynamically generated images in a loop. >> -In the page, a SSO, holding a number value is initialized to a random > number. >> -Each of the dynamic images read that number and draws it. >> -Make sure that a HTTP-Request is made for every image on the page (my > adding some random number to the event link) >> >> The effect that you'll see after some reloads of the page is that some > images will draw 0 as SSO value instead of the number set in the page > @BeginRender method. >> >> I definitely beleive that tapestry should take care of this. It is a use > case for SSOs that is probably too common to ignore. >> >> Why can't this be automatically integrated into the > ApplicationStateManager? >> >> Thanks >> >> Moritz >> >> >> >> >> Am 23.11.2010 um 16:06 schrieb Thiago H. de Paula Figueiredo: >> >>> On Tue, 23 Nov 2010 12:30:42 -0200, Moritz Gmelin > wrote: >>> Hi, >>> >>> Hi! >>> Is this a design problem with my application that multple threads can > access the sessionstateobject at the same time and thus break its uniqueness > or is it tapestrys fault that it does not prevent it from breaking? >>> >>> It's not Tapestry's nor the servlet container to handle concurrency on > session objects. I suggest you to create a service that synchronizes access > to your SSO and use it instead of using @SessionState and > ApplicationStateManger directly. Another option is to decorate or override > ApplicationStateManager to add thread syncronization to them. >>> >>> -- >>> Thiago H. de Paula Figueiredo >>> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor >>> Owner, Ars Machina Tecnologia da Informação Ltda. >>> http://www.arsmachina.com.br >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tapestry Web Site Updated
No forum. Forums are a hell to administer and moderate. Apart from that, mailing lists are how Apache projects communicate. Use Nabble if you want to have the look and feel of a forum. Uli On 24.11.2010 04:56, Paul Stanton wrote: how about adding a forum? personally i prefer forums to mailing lists, and i believe a lot of people don't participate in this 'user-group' community and therefore don't get help and therefore don't like tapestry... if you want to attract more users i recommend this. p. On 20/11/2010 8:15 AM, Howard Lewis Ship wrote: We're still working out the kinks ... and I've been working hard on revising the tutorial ... but at long last, we're debuting the new Tapestry Web Site: http://tapestry.apache.org/ Feedback is encouraged; just post to users@tapestry.apache.org with [SITE] in the subject. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org