Re: Tapestry checkbox focus problem.

2013-01-03 Thread Anbazhagan
Thank you very much. It's working. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-remove-defalut-focus-from-check-box-tp5719130p5719132.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Tapestry checkbox focus problem.

2013-01-03 Thread Kalle Korhonen
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Form.html Kalle On Thu, Jan 3, 2013 at 8:50 PM, Anbazhagan wrote: > Hi, > > I am developing web application for iphone and android. I am using tapestry > check boxes in my tml page at the bottom. > When I load th

Tapestry checkbox focus problem.

2013-01-03 Thread Anbazhagan
Hi, I am developing web application for iphone and android. I am using tapestry check boxes in my tml page at the bottom. When I load that page, focus goes to bottom of the page. When remove the check boxes and reload that page, focus goes to top of the page. Please any one say how can I solve

Re: Tapestry 5.4-alpha-2

2013-01-03 Thread Howard Lewis Ship
I'll see what I can do. My goal was to change TapestryFilter to be easier to override or replace. I think the feature you were depending on was one that I was not aware of! On Thu, Jan 3, 2013 at 4:59 PM, Kristian Marinkovic < kristian.marinko...@gmail.com> wrote: > hi Howard, > > i am already

Re: Tapestry 5.4-alpha-2

2013-01-03 Thread Kristian Marinkovic
hi Howard, i am already testing and exploring the possibilities. Would you consider fixing https://issues.apache.org/jira/browse/TAP5-2040 as a 5.4-alpha-3? g, Kris On Thu, Jan 3, 2013 at 11:01 PM, Howard Lewis Ship wrote: > I've created a new preview release, available from the Maven reposi

5.4-alpha-2 API docs

2013-01-03 Thread Howard Lewis Ship
Also, I've recently changed the build to generate CoffeeScript documentation as well as JavaDocs. Here's a preview based on 5.4-alpha-2: http://people.apache.org/~hlship/t5api/ I like having this launch page as a step before jumping into the CoffeeScript documentation or JavaDocs ... especially b

Tapestry 5.4-alpha-2

2013-01-03 Thread Howard Lewis Ship
I've created a new preview release, available from the Maven repository at https://repository.apache.org/content/repositories/orgapachetapestry-096/ this includes the new jQuery support I recently blogged about. Feedback desperately desired! -- Howard M. Lewis Ship Creator of Apache Tapestry

Re: HTML form input value via client side

2013-01-03 Thread Thiago H de Paula Figueiredo
On Thu, 03 Jan 2013 15:44:12 -0200, owzim wrote: Hi, Hi! how can I set a value of any input field client side and have it transfered properly to the backend. The easiest way is just using the Tapestry form field components. I've tried many different approaches, like hidden input fields

Re: Appropriate/recommended usage for @Persist in components

2013-01-03 Thread Cezary Biernacki
On Thu, Jan 3, 2013 at 5:12 PM, Alex Kotchnev wrote: > Now, as far as I understand, @Persist("session") stores the value in the > session, keyed on the component class (e.g. thus in component A, a field > "@Persist private String fooMessage" would/could store a different value > than "@Persist p

Re: Appropriate/recommended usage for @Persist in components

2013-01-03 Thread Alex Kotchnev
Taha - thanks for your comments. I was also building the application w/ almost no usage of @Persist in my code. Then, when I started collaborating w/ another developer, he introduced it in a couple of places. My initial reaction was to remove them, but that's the time I realized that I didn't have

Re: HTML form input value via client side

2013-01-03 Thread Michael Gentry
PS. My memory is rusty, it might also be the getAttribute() method, but try getParameter() first. On Thu, Jan 3, 2013 at 2:16 PM, Michael Gentry wrote: > Try using a normal HTML input (non-T5 component, could be the hidden one > you mentioned) and then: > > import org.apache.tapestry5.services.

Re: HTML form input value via client side

2013-01-03 Thread Michael Gentry
Try using a normal HTML input (non-T5 component, could be the hidden one you mentioned) and then: import org.apache.tapestry5.services.Request; ... @Inject private Request request; ... request.getParameter("name"); On Thu, Jan 3, 2013 at 12:44 PM, owzim wrote: > Hi, > how can I set a value of

HTML form input value via client side

2013-01-03 Thread owzim
Hi, how can I set a value of any input field client side and have it transfered properly to the backend. I've tried many different approaches, like hidden input fields and such, but "value" is mandatory within the tml, it has to be a proper tml/java object/variable, but thats not what I want, I wa

Re: Appropriate/recommended usage for @Persist in components

2013-01-03 Thread Taha Siddiqi
Hi Alex Consider this not as an answer but as a comment :) I think the more I understand tapestry the less I used @Persist. I take it as a challenge to minimize the use of @Persist and even have a count of number of @Persist's I am using in a given application. I use context and have been able

Re: exception report

2013-01-03 Thread Howard Lewis Ship
To be clear, what I was getting at is that you should be serializing the ids of database entities, not the serialized versions of the entities themselves. On Thu, Jan 3, 2013 at 1:37 AM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com> wrote: > > > well i tried blob and mediumblob... it is a

Re: Build latest 5.4 sources for use in a maven project

2013-01-03 Thread Serge Eby
Hi, I don't think steps 3 & 4 are necessary as the maven plugin is already there. "gradlew install" will install in your local .m2 repository. /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/Build-latest-5-4-sources-for-use-in-a-maven-project-tp7584364p75843

Re: why is homePage null ? after long time and possibly session timeout

2013-01-03 Thread Chris Poulsen
Your web container could. -- Chris On Thu, Jan 3, 2013 at 3:24 PM, nhhockeyplayer nashua < nhhockeypla...@hotmail.com> wrote: > > Could shiro be invalidating the session on me? > > > > From: nhhockeypla...@hotmail.com > To: users@tapestry.apache.org > Subject: why is homePage null ? after lon

RE: why is homePage null ? after long time and possibly session timeout

2013-01-03 Thread nhhockeyplayer nashua
Could shiro be invalidating the session on me? From: nhhockeypla...@hotmail.com To: users@tapestry.apache.org Subject: why is homePage null ? after long time and possibly session timeout Date: Thu, 3 Jan 2013 07:41:32 -0500 Folks, I have a component... that uses the folllwing link handle

Re: why is homePage null ? after long time and possibly session timeout

2013-01-03 Thread Cezary Biernacki
I am pretty sure that homePage is not null and/or your code excerpt is not enough to explain NPEs that you are . I would recommend that you should first try to investigate your problems using tools like debugger or application logging. Have you spent at least an hour trying to solve this problem?

Build latest 5.4 sources for use in a maven project

2013-01-03 Thread Lance Java
Hi all, I'm just playing with the latest and greatest tapestry version in a maven webapp. Since it was not trivial, I thought I'd share the steps to build the tapestry source code and deploy it to a local maven repo: 1. Download a git client from http://git-scm.com/ 2. Bring up a git command prom

How to Re-map a URL in Tapestry in Case of a redirect?

2013-01-03 Thread dinesh707
Hi, Currently my project is deployed at another server and can be accessed from following. http://test.a.com/myproject/myproject/ But if I click any action link it will go to http://test.a.com/myproject/ I need it to goto http://test.a.com/myproject/myproject/ How to make this happen? Thank

why is homePage null ? after long time and possibly session timeout

2013-01-03 Thread nhhockeyplayer nashua
Folks, I have a component... that uses the folllwing link handler @InjectPage("Home") private Home homePage; public Object onIndividualPage(int pageNum) { logger.info("In onPage : "); cursor = ((pageNum-1) * itemsPerPage); return homePage; } Ok I ru

Re: 回复: MQ Ajax

2013-01-03 Thread Lance Java
You have told tapestry to ignore "/amq/.*" but from your example below, the url is "/MyComponent/amq" -- View this message in context: http://tapestry.1045711.n5.nabble.com/MQ-Ajax-tp5719106p5719108.html Sent from the Tapestry - User mailing list archive at Nabble.com.