Re: QuickStart

2018-11-27 Thread Taha Hafeez
Just to add my two cents. My tapestry applications have been in production for a long time (7+ years) and are rock solid and highly scalable. I think Tapestry is still a very good solution for many use cases. Thanks Taha > On 28 Nov 2018, at 00:26, Thiago H. de Paula Figueiredo > wrote: >

Re: [ANN] JumpStart 7 Released!

2018-01-12 Thread Taha Hafeez
Thanks Geoff for your great work! > On 11 Jan 2018, at 18:44, JumpStart > wrote: > > Hi all, > > At long last, JumpStart 7 has officially been released, with a downloadable > zip file, installation notes, and tips! > > I am still as excited as ever about Tapestry, particularly since 5.4 whi

Re: Multi selection dropdown in Tapestry

2017-03-15 Thread Taha Hafeez
27;select' tag, see > http://www.w3resource.com/html/attributes/html-multiple-attribute.php . A > working example is under "Multi Select Option" at > https://www.hscripts.com/tutorials/html/form-combobox.php . > > -Original Message- > From: Taha Hafeez [mailto:tawus.tapes

Re: Multi selection dropdown in Tapestry

2017-03-15 Thread Taha Hafeez
And this http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/Checklist.html > On 15 Mar 2017, at 14:19, Taha Hafeez wrote: > > This is another alternative > > https://tawus.wordpress.com/2011/12/28/multivalue-autocomplete-for-tapestry/ > >

Re: Multi selection dropdown in Tapestry

2017-03-15 Thread Taha Hafeez
Hi, A dropdown is not meant for multiple selection. May be you are looking for tapestry palette or autocomplete mixin. https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/main/java/org/apache/tapestry5/corelib/mixins/Autocomplete.java Jumpstart has an example on how to use it ht

Re: How to open a pdf file on click of an action link

2017-03-15 Thread Taha Hafeez
Hi, There are many examples available. Here is one such nicely written component ! https://github.com/uklance/tapestry-stitch/blob/master/tapestry-stitch/src/main/java/org/lazan/t5/stitch/components/PDFLink.java In short, return StreamResponse from an event handler. Don’t forget to set content-

Re: My form error message, include link to a page from java class

2013-12-17 Thread Taha Hafeez Siddiqi
You can use http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/PageRenderLinkSource.html#createPageRenderLink(java.lang.Class) @Inject private PageRenderLinkSource linkSource form.recordError(someField, "my link is " + linkSource.createPageRenderLink(MyPage.class)); there a

Re: Angularjs Datepicker as alternative to Tapestry Datefield

2013-11-05 Thread Taha Hafeez Siddiqi
Hi Barry, I have used Angularjs with tapestry. I used tapestry as an asset pipeline and server side IOC. I don't think using Angularjs just for a date picker is a great idea. I think angularjs is too big a library for a date-picker. Secondly it will be introducing a new technology into tapest

Re: [5.4.23] Troubleshooting Live Class Reloading

2013-10-25 Thread Taha Hafeez Siddiqi
ace and all was > working fine there. I'm going to persevere and find out why the other > workspace isn't working though. > > > Will report back here with any other issues. In the mean time if anyone else > has any ideas please post! :D > > > Tha

Re: [5.4.23] Troubleshooting Live Class Reloading

2013-10-25 Thread Taha Hafeez Siddiqi
Hi It may seem stupid but I have made such mistakes in the past so I will still ask you to check if tapestry.production_mode is true. For class reloading it should be false. Also ensure tapestry.service-reloading-enabled is set to true. regards Taha On 25-Oct-2013, at 2:25 PM, Peter Hvass wr

Re: get @RequestParameters on submit

2013-10-10 Thread Taha Hafeez Siddiqi
Hi George, I am not sure what you mean by "on submit from onActivate" but may be you are looking for http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/ActivationRequestParameter.html regards Taha On 11-Oct-2013, at 10:27 AM, George Christman wrote: > Hello, I'm won

Re: JQuery Datatable Bind Mixin

2013-08-29 Thread Taha Hafeez Siddiqi
Try curRow.fileID instead of ${curRow.fileID} as parameter to bind.context Sent from my iPhone On 30-Aug-2013, at 3:26 AM, john c wrote: > I am attempting to use the jquery/bind mixin with a datatable, but not having > success. > The relevant code is below. Basically I want to click a row and

Re: Transactions and AfterCommit

2013-08-23 Thread Taha Hafeez Siddiqi
Hi Martin You are right. Please file a jira. I will look into it this weekend. regards Taha On 23-Aug-2013, at 12:41 PM, Martin Kersten wrote: > I review some code and I ran into the transaction issue. Annotating a > service @CommitAfter seams to be inappropriate if you have another service >

Re: Securing page with Tapestry

2013-08-06 Thread Taha Hafeez Siddiqi
Are you defining your own ComponentRequestFilter interface? As you have included the code for that I am assuming you have. You have to implement Tapestry's ComponentRequestFilter, not your own as you can't contribute to the RequestHandler any other implementation. regards Taha On 06-Aug-2013,

Re: kaptcha deployment error

2013-08-02 Thread Taha Hafeez Siddiqi
Why are you binding KaptchaProvider service in your AppModule when it is already bound in tapestry-kaptcha ? regards Taha On 02-Aug-2013, at 8:51 AM, Nikola Vulovic wrote: > this is the error: > java.lang.RuntimeException: Service id 'KaptchaProducer' has already been > defined by > org.apach

Re: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Taha Hafeez Siddiqi
You have to add(require) javascript containing autocomplete plugin require.config({ shim: { "path/to/auto-complete": ["query"] } }); That may be part of jquery.ui.js which is included by Tapestry-jQuery. BTW there is an 5.4-alpha branch in tapestry-jquery but I am not sure about its

Re: Loading JSON into a JS var

2013-07-15 Thread Taha Hafeez Siddiqi
EventLink must have its zone parameter set to a zone for it to use ajax. Remember not to use an empty zone(because of a bug in 5.3). If you want to use an empty zone just add   to it. On 16-Jul-2013, at 6:30 AM, Daniel Jue wrote: > Thanks Taha and Howard! Looks like I have some more learning

Re: Loading JSON into a JS var

2013-07-15 Thread Taha Hafeez Siddiqi
Hi You can use AjaxResponseRenderer and pass the variable to an initializer method (which you have to write in javascript). @Inject private AjaxResponseRenderer ajaxResponseRenderer; @OnEvent("eventLinkEventName") void myEventHandler(){ ajaxResponseRenderer.addCallback(new JavaScriptCallback

Re: How to set HTML checkbox from java page

2013-07-12 Thread Taha Hafeez Siddiqi
I was expecting this ;) Sent from my iPhone On 12-Jul-2013, at 6:21 PM, "Thiago H de Paula Figueiredo" wrote: > On Thu, 11 Jul 2013 23:21:28 -0300, Taha Hafeez Siddiqi > wrote: > >> You can try >> >> >> > checked='checked'/>

Re: How to set HTML checkbox from java page

2013-07-11 Thread Taha Hafeez Siddiqi
You can try regards Taha On 12-Jul-2013, at 7:37 AM, newbie newbie wrote: > Hi. > I am using the HTML checkbox with a Tree. When I use the Checkbox > component(tapestry) with Tree, it gives me error and I don't know how to > solve it. So I try with HTML checkbox. Do you

Re: Variables on application level (shared between users)

2013-07-10 Thread Taha Hafeez Siddiqi
Yes. Singleton service is the way to go. Sent from my iPhone On 10-Jul-2013, at 8:24 PM, Nathan Quirynen wrote: > Hi, > > Is there a way in Tapestry to make a variable that can be used across user > sessions, so not SessionState, but on an application level? > Or should I just make a Tapestr

Re: CaptureResultCallback doesnt return anything

2013-06-30 Thread Taha Hafeez Siddiqi
Hi You won't get the result as true/false are used by Tapestry itself(e.g. to see whether the event should be propagated further or not). Try returning some other type of value like an enumeration. regards Taha On 30-Jun-2013, at 2:56 PM, Boris Horvat wrote: > I have the code such as this >

Re: Ways to do page refresh

2013-06-28 Thread Taha Hafeez Siddiqi
Cmd + R (on OS-X), F5 on windows :) On 28-Jun-2013, at 8:41 PM, newbie newbie wrote: > Hi, > What are the ways to do a page refresh? > Any help would be much appreciated. Thanks. - To unsubscribe, e-mail: users-unsubscr...@ta

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread Taha Hafeez Siddiqi
. On 26-Jun-2013, at 1:09 PM, newbie newbie wrote: > Hi, > Do you have any idea what to look for in the css? > > > On Wed, Jun 26, 2013 at 3:25 PM, Taha Hafeez Siddiqi < > tawus.tapes...@gmail.com> wrote: > >> I don't think it is a tapestry issue. You sh

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread Taha Hafeez Siddiqi
at? > > > On Wed, Jun 26, 2013 at 2:46 PM, Taha Hafeez Siddiqi < > tawus.tapes...@gmail.com> wrote: > >> Hi >> >> This might be a css issue. Does it happen on all browsers ? >> >> Do you see the same behaviour in this example >>

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-25 Thread Taha Hafeez Siddiqi
Hi This might be a css issue. Does it happen on all browsers ? Do you see the same behaviour in this example http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/autocompletemixin ? Taha On 26-Jun-2013, at 12:05 PM, newbie newbie wrote: > Hi, > I have a autocomplete mixin. When t

Re: user rolle, tapestry +hibernate

2013-06-24 Thread Taha Hafeez Siddiqi
Hi Will I would suggest Tapestry Security. http://tynamo.org/tapestry-security+guide It is very easy to setup, use & configure. You will also find link to a Hibernate based Realm. http://svn.codehaus.org/tynamo/trunk/tynamo-federatedaccounts/tynamo-federatedaccounts-core/src/test/java/org/tyn

Re: best way to integrate a page or component to keep modular

2013-05-21 Thread Taha Hafeez Siddiqi
Hi Ken Tapestry is a wonderful tool. I keep reading your questions and wondering why would somebody do that.. My humble suggestion would be to go through Igor's book and jumpstart examples and once you are done with them, checkout the tests in tapestry-core and tapestry-ioc source. I have seen

Re: Merits of Tapestry-IOC

2013-05-21 Thread Taha Hafeez Siddiqi
Couldn't agree more with Inge I have worked with tapestry-Guice & tapestry-Spring IOC and I think one of the merits of Tapestry IOC is how easily you can integrate it with any IOC. Any web framework needs some build-in IOC, It may be a couple of Java classes but it is there. In Tapestry, we ha

Re: how to use HibernateEntityValueEncoder

2013-05-13 Thread Taha Hafeez Siddiqi
In case you exclusively want to get the encoder, you can inject ComponentDefaultProvider and then use http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/ComponentDefaultProvider.html#defaultValueEncoder(java.lang.String, org.apache.tapestry5.ComponentResources) regards Tah

Re: How to check wheter File exists or not

2013-05-10 Thread Taha Hafeez Siddiqi
Hi On 11-May-2013, at 5:45 AM, Nomer Nominus wrote: > I need to check wheter File can be readable or not, however I don't know how > to implement it in Tapestry app. Just as you would implement it in plain java. > If I put inside my method > > public String getPath() { > File file =

Re: Creating specific url link for specific object

2013-05-10 Thread Taha Hafeez Siddiqi
Hi @PageActivitationContext and @Persist are two ways to persist data across requests. So they are mutually exclusive. @PageActiviationContext adds the data as a context to the url while @Persist saves it in session(or cookie). You should always prefer the former and avoid the latter. Regardi

Re: dependencies of tapestry5

2013-05-08 Thread Taha Hafeez Siddiqi
For gradle you can use ./gradlew dependencies or gradle depedencies On 08-May-2013, at 12:06 PM, Stefan Baur wrote: > Once you have your maven project set up, run this: > > mvn dependency:tree > > or > > mvn dependency:tree > tree.txt (to output the content into a file) > > This will sho

Re: Tapestry5.3 misconfiguration with exanpe component HideablePanel

2013-05-06 Thread Taha Hafeez Siddiqi
Try On 07-May-2013, at 5:59 AM, Nomer Nominus wrote: > I have Tap5.3. and tapestry-related library exanpe in my web application. The > thing is that Hideable panel component is badly configured, since parameter > is deprecated in 5.3 in the favor of tapestry:parameter namespace, however

Re: how to use tapestry component in JSP

2013-05-02 Thread Taha Hafeez Siddiqi
You can't. Tapestry components cannot be used outside Tapestry web-framework. regards Taha On 02-May-2013, at 2:12 PM, Shuu Johnny wrote: > Now I face a trouble. > In a project ,I need to Implement Tapestry 5 Autocomplete Mixin which can > be mixed in an ordinary TextField component. so fa

Re: basic auth in T5

2013-05-01 Thread Taha Hafeez Siddiqi
ation approach. regards Taha On 02-May-2013, at 10:55 AM, Angelo Chen wrote: > Not yet, but that seems not the http basic auth. > > > On Thu, May 2, 2013 at 12:31 PM, Taha Hafeez Siddiqi < > tawus.tapes...@gmail.com> wrote: > >> Did you try this. >> >> h

Re: basic auth in T5

2013-05-01 Thread Taha Hafeez Siddiqi
Did you try this. http://tapestryjava.blogspot.in/2009/12/securing-tapestry-pages-with.html regards Taha On 02-May-2013, at 9:59 AM, Angelo Chen wrote: > Hi, > > I'd like to put http basic authentication in some of page classes, not all, > is there a simple way to do this? probably an annotat

Re: SessionListener interacting with Tapestry services?

2013-05-01 Thread Taha Hafeez Siddiqi
Hi John You can directly extract the registry from the ServetContext using http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/TapestryFilter.html#REGISTRY_CONTEXT_NAME Note: NOT TESTED public class MyListener implements HttpServletListener { public void sessionCreated(Htt

Re: tapestry-security 0.5.1 released

2013-04-29 Thread Taha Hafeez Siddiqi
Thanks Tynamo Team!! regards Taha On 29-Apr-2013, at 2:41 PM, Borut Bolčina wrote: > Thanks from our team too! > > > 2013/4/28 Dmitry Gusev > >> Congrats! >> >> And thanks for the great library! >> >> On Sat, Apr 27, 2013 at 10:21 PM, Kalle Korhonen < >> kalle.o.korho...@gmail.com >>> wro

Re: how to run tapestry5 app from Intellij 12

2013-04-11 Thread Taha Hafeez Siddiqi
I use mvn jetty:run or ./gradlew jettyRun for running a jetty instance and then do a Cmd + F9 in Intellij Idea to refresh changes. It works well for me. (Thanks Josh! for suggesting this) On 11-Apr-2013, at 12:16 PM, Angelo Chen wrote: > Hi, > > how to run Tapestry5 app from Intellij IDEA 12

Re: getting context from java Class

2013-04-08 Thread Taha Hafeez Siddiqi
Hi You can use assets in your page using @Path annotation. @Inject @Path("context:images/tapestry_banner.gif") private Asset banner; Read more about it at http://tapestry.apache.org/assets.html regards Taha On 08-Apr-2013, at 12:28 PM, Alberto Fernández wrote: > Context is already working

Re: Elegant Handling of Multiple Zones in 'Deep' Hierarchies of Components

2012-11-06 Thread Taha Hafeez Siddiqi
Why not use AjaxResponseRenderer ? On 06-Nov-2012, at 3:03 PM, llama-king wrote: > Hello all, > > I was wondering what everyone's preferred approach to using multiple zones > in a hierarchy of components was. I'm not pleased with the current pattern > we use and figured someone might have come

Re: Strange problem with Taha's AjaxUpload

2012-08-31 Thread Taha Hafeez Siddiqi
If you are already using tapestry-jquery why not use it's own Ajaxupload component Sent from my iPhone On 01-Sep-2012, at 11:15 AM, Rural Hunter wrote: > Yes, thanks. I found that tapestry-jquery in my classpath and it intercept > the post request first sometimes. I'm wondering if there is a

Re: Tapestry 5.3.3 quickstart, Gradle: life class reloading issue

2012-06-23 Thread Taha Hafeez Siddiqi
I use cmd + F9 after I make a change and it is done. Sent from my iPhone On Jun 23, 2012, at 9:43 PM, lukaszkaleta wrote: > Yes, I read this page. > > So far I exclude IDEA from mine tesing. > > As I said with maven it works. > > This is how I am testing with maven: > - on first console I am

Re: Forms and JavaScriptSupport

2012-05-17 Thread Taha Hafeez Siddiqi
If you redirecting , no JavaScript will run. If you want colorbox to close and you stay on the same page don't redirect. If you want to redirect then why to close the colorbox. Sent from my iPhone On May 18, 2012, at 12:09 AM, Juan Alba wrote: > Taha, thanks Again but still can't make it wo

Re: Using generics in tapestry service.

2012-05-10 Thread Taha Hafeez Siddiqi
Use either @InjectService("serviceId") private MyService myService; or @ServiceId("serviceId") @Inject private MyService myService; Sent from my iPhone On May 10, 2012, at 10:10 PM, George Christman wrote: > Well It worked for a single service implementing the interface, as soon as I > ad

Re: Using generics in tapestry service.

2012-05-10 Thread Taha Hafeez Siddiqi
To differentiate between services you can either use different annotations or different service ids. For annotations read "Disambiguation with Marker Annotations" under http://tapestry.apache.org/defining-tapestry-ioc-services.html For serviceIds read "Service Ids" under the same link regards

Re: Using generics in tapestry service.

2012-05-10 Thread Taha Hafeez Siddiqi
Hello Unfortunately generics are not supported by Tapestry Services. ASM 4, to which Plastic will be upgraded to soon, has support for Generics (http://weblogs.java.net/blog/forax/archive/2011/04/17/asm-4-rc1-released) so hopefully it might be in the coming version. regards Taha On May 10, 20

Re: Cache avaiable to all user sessions

2012-05-09 Thread Taha Hafeez Siddiqi
Hi George I would use the ORM caching techniques for these cases. http://www.ehcache.org/documentation/ regards Taha On May 10, 2012, at 12:04 AM, George Christman wrote: > Figured it out Thiago, I just needed to do the following. > >private AutocompleteCache autocompleteCache; > >

Re: How do you feel about requiring JRE 1.6 for Tapestry 5.4?

2012-05-02 Thread Taha Hafeez Siddiqi
+1 On May 2, 2012, at 2:10 PM, Christian Riedel wrote: > +1 > > > Am 02.05.2012 um 10:21 schrieb Lance Java: > >> +1 >> >> -- >> View this message in context: >> http://tapestry.1045711.n5.nabble.com/How-do-you-feel-about-requiring-JRE-1-6-for-Tapestry-5-4-tp5679713p5679911.html >> Sent fro

Re: [t5.3.2] Inject hibernate Session problem

2012-04-21 Thread Taha Hafeez Siddiqi
Hi You can inject org.hibernate.Session not org.hibernate.classic.Session as only the former is exposed as a tapestry service. regards Taha On Apr 22, 2012, at 3:21 AM, badluck13 wrote: > Hi guys, > > I have clean quickstart archetype app, and added tapestry-hibernate to pom. > > And hibern

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

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

Re: Zone refresh image uplaod

2012-04-11 Thread Taha Hafeez Siddiqi
Hi It is only added on ajax update. regards Taha On Apr 12, 2012, at 7:12 AM, bhorvat wrote: > Sorry to bother you with something so minor but tnx :D > > That file is not in my javascript files that are included so I can not be > sure where to replace it with > > Tapestry.Initializer.injecte

Re: Zone refresh image uplaod

2012-04-11 Thread Taha Hafeez Siddiqi
https://github.com/apache/tapestry5/blob/trunk/tapestry-upload/src/main/resources/org/apache/tapestry5/upload/components/upload.js On Apr 12, 2012, at 6:54 AM, bhorvat wrote: > Hi Taha, > > Strangely I can not find the upload.js anywhere. Any ideas where is it? > > Thank you for help > > regar

Re: Zone refresh image uplaod

2012-04-11 Thread Taha Hafeez Siddiqi
Sorry I ended up using a non-ajax method because of other reasons. I think it is a bug so you can file a jira. Meanwhile you can override the upload.js script by copying Upload.java from tapestry-upload along with the corresponding js and replace the contents by Tapestry.Initializer.injectedUpl

Re: Zone refresh image uplaod

2012-04-11 Thread Taha Hafeez Siddiqi
I did face this issue once. I think the issue is with upload.js in tapestry-upload.js Tapestry.Initializer.injectedUpload = function(element) { var form = $(element).form; form.enctype = "multipart/form-data"; form.encoding = "multipart/form-data"; } $(element).form returns null for

Re: Checkbox not changing its state after click

2012-04-10 Thread Taha Hafeez Siddiqi
Hi Yes, doesn't seem to be an issue with tapestry. Plus as it is working with other browsers,ie(as always) has to be the culprit. regards Taha On Apr 10, 2012, at 10:14 PM, pradeepchy wrote: > Hi Taha- > > Thanks for reply. My initial thought on this is some other javascript in the > applica

Re: Checkbox not changing its state after click

2012-04-10 Thread Taha Hafeez Siddiqi
Hi how are you using the checkbox ? Ajax or not ? Can you share the code ? regards Taha On Apr 10, 2012, at 9:29 PM, pradeepchy wrote: > Hi friends- > > I am trying to check/uncheck a checkbox on the page, but its not changing > its state. The code which I used in my tml is below : > > > Thi

Re: Tynamo Resteasy / JPA Integration

2012-04-10 Thread Taha Hafeez Siddiqi
Hi Advices (@commitafter) work on service interfaces. Also the annotation should be on the interface method not on the implementation. Hope it helps Sent from my iPhone On Apr 10, 2012, at 1:58 PM, Thilo Tanner wrote: > Hi Alejandro, > > thanks a lot for the hint. I refactored our code accor

Re: Multiple Submits and Zone

2012-04-09 Thread Taha Hafeez Siddiqi
Hi Can you share the code Sent from my iPhone On Apr 10, 2012, at 10:55 AM, resign wrote: > Hi, > > methods "void onSelectedFrom..." seems not to be called. > Tested with Log-Output and Debugging. > > I resolved on another way (not really clean, but it works) > > Thanks, > resign > > -- >

Re: Multiple Submits and Zone

2012-04-05 Thread Taha Hafeez
> http://tapestry.1045711.n5.nabble.com/Multiple-Submits-and-Zone-tp5619561p5620072.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > ----- > To unsubscribe, e-mail: users

Re: Tynamo Federatedaccounts OpenID module coming up...

2012-03-23 Thread Taha Hafeez Siddiqi
but since the sites don't really advertise > what they are using and I don't know beforehand how it looks like, > it's kind of difficult to spot them. > > Kalle > > > On Thu, Mar 22, 2012 at 9:04 PM, Taha Hafeez Siddiqi > wrote: >> >>

Re: Upload file problem

2012-03-23 Thread Taha Hafeez Siddiqi
Hi File upload component does not work with ajax. regards Taha On Mar 24, 2012, at 12:52 AM, Borko Djurovic wrote: > I have simple page that contains upload component. When I provide file for > upload and submit the form, validation can't pass. > > This is part of Index.tml page: > >

Re: Tynamo Federatedaccounts OpenID module coming up...

2012-03-22 Thread Taha Hafeez Siddiqi
Hi Kalle There is an omniauth-openid integration https://github.com/intridea/omniauth-openid http://blog.sethladd.com/2010/09/ruby-rails-openid-and-google.html regards Taha On Mar 22, 2012, at 10:20 AM, Kalle Korhonen wrote: > On Wed, Mar 21, 2012 at 5:57 PM, Taha Hafeez Siddiqi >

Re: Tynamo Federatedaccounts OpenID module coming up...

2012-03-21 Thread Taha Hafeez Siddiqi
Hi In rails, https://github.com/intridea/omniauth is popular. Would love to see something like that in tapestry. regards Taha On Mar 22, 2012, at 1:41 AM, Thiago H. de Paula Figueiredo wrote: > On Wed, 21 Mar 2012 16:45:05 -0300, Kalle Korhonen > wrote: > >> Based on the initial work of Jur

Re: Accessing zone form elements

2012-03-21 Thread Taha Hafeez Siddiqi
Hi You can override the id generated for select by using parameter "clientId". So in your inner select you can use clientId='item' regards Taha On Mar 22, 2012, at 2:05 AM, Markus Grell wrote: > Greetings! > > I have a page that has the following structure: > > ... > > > > > > > The i

Re: simple user authentication

2012-03-18 Thread Taha Hafeez Siddiqi
Hi On Mar 19, 2012, at 6:50 AM, Paul Stanton wrote: > Hi group, > > Is it recommended to use a security module such as tynamo's tapestry-security > when all you require is username/password authentication to a couple of pages? > If the project is going to stay at "a couple of pages of authent

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Taha Hafeez Siddiqi
project requirements are, tapestry-security works like a charm!! Thanks & Regards Taha On Mar 13, 2012, at 10:59 PM, Kalle Korhonen wrote: > On Tue, Mar 13, 2012 at 5:54 AM, Taha Hafeez Siddiqi > wrote: >> I have myself using tapestry-security for most of my projects and that is &g

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Taha Hafeez Siddiqi
Hi Gaurav I have myself using tapestry-security for most of my projects and that is what I will recommend to you too. It is powered by Apache Shiro and is hosted at tynamo.org. http://tynamo.org/tapestry-security%20guide regards Taha On Mar 13, 2012, at 1:36 PM, gaurav wrote: > Hi Taha, > W

Re: html pentaho report missing some data

2012-03-12 Thread Taha Hafeez
- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com -

Re: Tapestry Forums

2012-03-09 Thread Taha Hafeez Siddiqi
I was looking at the hits my blog is getting these days and on an average there are about 150 hits/day although I have not been blogging much. Also tapestry is being used across the world, see the post. http://tawus.wordpress.com/2012/03/09/tapestry-conquering-the-world/ regards Taha On Mar 7,

Re: tapestry5-db-migrations

2012-03-09 Thread Taha Hafeez Siddiqi
way/ > > > > On Fri, Mar 9, 2012 at 11:05 AM, Massimo Lusetti wrote: > >> On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi >> wrote: >> >>> Thanks Christian >>> >>> The only reservation we have against Liquibase is xml. There is a g

Re: tapestry5-db-migrations

2012-03-08 Thread Taha Hafeez Siddiqi
Thanks Christian The only reservation we have against Liquibase is xml. There is a groovy support but I am not sure how good it is. But I think it is the only way to go :-( regards Taha On Mar 5, 2012, at 8:12 PM, derkoe wrote: > > Taha Hafeez wrote >> >> I was looking

Re: A strange error with MaxLength Validator

2012-03-08 Thread Taha Hafeez Siddiqi
You can change the ordering by using %2$s for second argument and %1$s for second argument. So something like "%2$s and %1$s" Please do file a JIRA. regards Taha On Mar 8, 2012, at 6:33 PM, Rural Hunter wrote: > Yes, I overriden the message with the default English one and it works. > But...t

Re: ZoneRefresh mixin should cleanup after itself if the zone is destroyed

2012-03-08 Thread Taha Hafeez Siddiqi
Hi Dragan Great! Please open a Jira and attach the patch. Sent from my iPhone On Mar 8, 2012, at 4:05 PM, Dragan Sahpaski wrote: > Hi, > We have the following use case: > A zone with a ZoneRefresh (located in another zone) is updated several > times and then the outer zone is updated with an

Re: Issues in saving values in cookies

2012-03-05 Thread Taha Hafeez Siddiqi
The lifecycle of pages, components & mixins are maintained by Tapestry. That is why it provides you with these render phases hooks. regards Taha On Mar 6, 2012, at 10:54 AM, karthi wrote: > Thank you for your reply onActivate() method solves my problem, However > constructor is used to prepare

Re: Tapestry Interview Questions

2012-03-05 Thread Taha Hafeez Siddiqi
Hi I have worked on a few projects recently where "non-tapestry" developers were using tapestry. The result was a mixture of C++, jsp, spring-mvc and what not, all written in tapestry :). What I mean to say is that a person may get things working in tapestry but still not know how to use tapest

Re: browser back button, after logout while using Dispatcher

2012-03-05 Thread Taha Hafeez Siddiqi
Hi The browser back button usually shows an offline page till you refresh it. So, I don't think it is an issue as long as you are not able to access any secure links from there. Also does your logout page perform a Session#invalidate(), as it will ensure that the session is cleared. Finally,

Re: How to display special characters in tml page

2012-03-05 Thread Taha Hafeez Siddiqi
If your application module is AppModule then you can put your common properties in /WEB-INF/app.properties. Sent from my iPhone On Mar 5, 2012, at 6:35 PM, karthi wrote: > ...then something is misspelled. > your project name doesn't matter - it must be the page name that has to be > equal to t

Re: Issues in saving values in cookies

2012-03-05 Thread Taha Hafeez Siddiqi
Never use a page constructor for initialization . Use onActivate() Sent from my iPhone On Mar 5, 2012, at 6:24 PM, karthi wrote: > Hi, > > I have a tml page called portfolio.tml and in corresponding java > portfollio page I have written this following to save the values in cookies > > publ

Re: Fails to injecting a textarea

2012-03-04 Thread Taha Hafeez Siddiqi
I usually use the html tags and assign the component type using t:type='MyComponent'. The only other place 't:' is required is with component id('id') and mixins. For other attributes you can skip the prefix. regards Taha On Mar 4, 2012, at 7:08 PM, Bryan Lewis wrote: > I was a little confuse

Re: Fails to injecting a textarea

2012-03-04 Thread Taha Hafeez Siddiqi
http://tapestry.apache.org/component-templates.html "Use of the t: prefix is optional for all other attributes. Some users implement a build process where the Tapestry template files are validated ... in that case, any Tapestry-specific attributes, not defined by the underlying DTD or schema, s

tapestry5-db-migrations

2012-03-04 Thread Taha Hafeez Siddiqi
Hi I was looking for something like rails migration and came across https://github.com/spreadthesource/tapestry5-db-migrations. It looks promising. I have a few queries about it :- 1) Is it being actively maintained as the last commit was 9 months ago. 2) It is based on Tapestry-5.2. Any plans

Re: Fails to injecting a textarea

2012-03-04 Thread Taha Hafeez Siddiqi
use t:id='messageField' instead of id='messageField' regards Taha On Mar 4, 2012, at 6:21 PM, Gunnar Eketrapp wrote: > I fail to inject a textarea .. > > Tml extract > value="message" style="height: 50px;"/> > > > Java extract > > > Neither .. > @InjectComponent > private T

Re: detect textfield text change

2012-02-12 Thread Taha Hafeez Siddiqi
Try jeditable plugin if you are using tapestry-jquery Sent from my iPhone On Feb 13, 2012, at 7:40 AM, Giulio Micali wrote: > In tapestry jumpstart site there was an example of the zoneupdater mixin, i > think that it's already present in the 5.3 version. > > Cheers, > Giulio

Re: How to add a java variable value in href

2012-02-10 Thread Taha Hafeez
in-href-tp5474413p5474413.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...@t

Re: How to upload a file using tapestry

2012-02-10 Thread Taha Hafeez Siddiqi
Hi These are google results http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=tapestry+file+upload and the first link is http://tapestry.apache.org/uploading-files.html The first thing I try when searching for tapestry documentation is to go to http://tapestry.apache.org/documentation

Re: Unit-Test and HibernateSessionSource

2012-02-08 Thread Taha Hafeez Siddiqi
Hi This might help http://jaitechwriteups.blogspot.in/2008/08/how-to-upgrade-hibernate-in-jboss.html regards Taha On Feb 9, 2012, at 2:26 AM, tompeter wrote: > Hi Thiago, thanks for the tips! I looked at the dependency tree with m2e and > didn't find anything obvious. Could you take a look at

Re: Kaptcha - alternative libraries

2012-02-06 Thread Taha Hafeez Siddiqi
Here is one example http://tawus.wordpress.com/2011/10/14/tapestry-using-recaptcha/ Tapestry mailing list is so good that people first ask a question then do a google search :). But I don't think that is the right way :-( regards Taha On Feb 6, 2012, at 6:12 PM, Thiago H. de Paula Figueiredo

Re: Adding common logic to all of onSuccess method / successful form submit

2012-02-02 Thread Taha Hafeez Siddiqi
Hi Yohan It must be your lucky day. I just added a blog post related to this http://tawus.wordpress.com/2012/02/03/some-reporting-tricks-with-class-transformations/ regards Taha On Feb 3, 2012, at 8:48 AM, Lenny Primak wrote: > I think method advice is your ticket here. Search tapestry docs fo

Re: How to automatically add mixins to all

2012-01-31 Thread Taha Hafeez Siddiqi
Hi Write a ComponontClassTransformWorker catch all submit components and add your mixin :) http://tawus.wordpress.com/2011/08/01/tapestry-mixins-classtransformations/ regards Taha On Feb 1, 2012, at 7:50 AM, Yohan Yudanara wrote: > Currently my project already have use standard Submit compone

Re: Tap 5.3.x : Set field value(s) AFTER transformation

2012-01-26 Thread Taha Hafeez Siddiqi
Hi Get the handle outside the advise and then use it inside. regards Taha On Jan 26, 2012, at 5:20 PM, antalk wrote: > Hi all, > > I'm in the process of converting our webapp to Tap5.3 and have come across > the following issue: After a class has been transformed by plastic i want to > update

Re: Passing parameters dynamically to jquery dialog

2012-01-25 Thread Taha Hafeez Siddiqi
Hi If your dialog is in some kind of a loop you have to ensure t:clientId is unique for each dialog something like ... Link and then in your java file public String getDialogId(){ return "myDialog" + loopIndex; } regards Taha On Jan 26, 2012, at 2:43 AM, Russell John-Baptistr wrote:

Re: jsp & jstl in tapestry

2012-01-25 Thread Taha Hafeez Siddiqi
Hi I get work from our mailing list, my github repository(https://github.com/tawus) and my blog (http://tawus.wordpress.com) (Pretty much every time I help tapestry it helps me back :)). A lot of people use guru.com, elance.com, rent-a-coder.com etc. regards Taha On Jan 26, 2012, at 12:30 AM

Re: jsp & jstl in tapestry

2012-01-25 Thread Taha Hafeez Siddiqi
Hi Well, your tapestry question has already been answered but I will answer your apprehension about Tapestry related work. Where I live, there is no tapestry work (Kashmir, India) but I get a lot of work related to tapestry on internet. I think less people using Tapestry is an advantage rather

Re: What is your tapestry project setup like (build tool/ide)

2012-01-16 Thread Taha Hafeez Siddiqi
Hi I use Intellij Idea and I find it a lot easier to work with. I use it for Tapestry and ruby-on-rails. Coming from eclipse, it took me a few days to get comfortable with it but now I am never going back. I use gradle jettyRun for testing and Cmd + F9 works like a charm. In eclipse i used run

Re: remove cache

2012-01-15 Thread Taha Hafeez Siddiqi
Hi As Thiago always says, "Never never never initialize an instance variable in its declaration in case of a page/component/mixin" use setupRender phase (@SetupRender) for initializing instance variables in case of a components/mixins and onActivate()(@OnEvent(EventConstants.ACTIVATE) in case

Re: [T5.3] How to stop ZoneRefresh mixins

2012-01-11 Thread Taha Hafeez Siddiqi
Hi Please file a jira. regards Taha On Jan 12, 2012, at 10:43 AM, Yohan Yudanara wrote: > Hi.. > > I'm trying to use Tapestry 5.3 new feature: ZoneRefresh mixins to auto > update zone periodically. > I have a question: How to stop the refresh? > > Is it always infinite periodical refresh? >

Re: @CommitAfter Problem?

2012-01-11 Thread Taha Hafeez Siddiqi
Hi @CommitAfter should be on the service interface as that is the one being advised regards Taha On Jan 12, 2012, at 7:50 AM, Jochen Frey wrote: > Hi! > > I am trying to create a startup service that will initialize a database for > me. I'm on Tapestry 5.3.1 and I am using tapestry-hibernate

Re: Event propagation

2012-01-10 Thread Taha Hafeez Siddiqi
Hi Use AjaxResponseRenderer http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/ajax/AjaxResponseRenderer.html http://tawus.wordpress.com/2011/10/01/tapestry-5-3-new-features-part-2/ regards Taha On Jan 11, 2012, at 4:53 AM, bhorvat wrote: > I have a component Header and in

  1   2   3   4   5   6   >