On Wed, 25 Jan 2012 17:00:50 -0200, csckid <testnowsh...@gmail.com> wrote:

Thiago.... I guess doing things using tapestry will be lot easier than jsp. The thing is I haven't yet worked on javascript in tapestry, so it looks
little complicated to me.

Everything about JavaScript you can do in JSP you can do in Tapestry, probably in an easier way.

Moreover, as I have already mentioned my country doesn't have much/or may be none at all jobs. So, I am in a doubt these
days, is it really worth studying.
But, after hearing from Taha.. I did gain little inspiration.

Even being the best, IMHO, Tapestry isn't the most used Java web framework in any place. And Taha's words are very wise.

Taha.. thanks.. For getting tapestry jobs on internet, do you look into
freelance sites? Do they specifically mention its a tapestry job? Sorry I am new to this area and quite fresh graduate too.

I got my current job in this mailing list. :)

<input t:id="medicineNameTf" t:type="TextField" t:mixins="autocomplete"
/><t:submit id="addToList"/>

When the submit button is clicked the value from medicineNameTf will be
added into an arraylist, and that arraylist is pointing to the datagrid.
Should I use a submit button here?

Yes. Create an event (it's just a name), use ComponentResources.createEventLink() to get its URL, then invoke this URL through your JavaScript. It will invoke the event handler method. Pass information as query parameters. Context should be used for passing data that doesn't change between the page rendering and its submission.

--
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

Reply via email to