How to use Jquery with Tapestry

2013-08-04 Thread newbie newbie
Hi, I am using jquery/datatable. I want to highlight selected row in the datatable. There is sample jQuery code that implements that. Here is the code var oTable; var giRedraw = false; $(document).ready(function() { /* Add a click handler to the rows - this could be used as a callback */ $("#exampl

How to scroll horizontal in Palette

2013-07-22 Thread newbie newbie
Hi, ** I have items in Palette that is wider than the box width. The tail-end of items is clipped and not visible. Palette has automatic vertical scrolling but not horizontal scrolling. How do I make horizontal scrolling possible? Here is what I have tried at my css. DIV.t-palette SELECT { overf

How to test using JUnit4 when there is @InjectComponent

2013-07-15 Thread newbie newbie
Hi, ** I am testing using Junit4 with eclipse. I want to test the function expandAll public void expandAll(TreeExpansionModel expansionModel) { List> roots = getTreeModel().getRootNodes(); for (TreeNode root : roots) { expandAllNode(root, expansionModel); } } private void

Re: How to set HTML checkbox from java page

2013-07-11 Thread newbie newbie
hiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > Hi! > > Yeah, I think my suggestion wasn't correct. I apologize. > > One question: why don't you want to use the Checkbox component and use a > regular HTML one instead? > > > On Thu, 11 Jul 2013

Re: How to set HTML checkbox from java page

2013-07-11 Thread newbie newbie
, the checkbox will be checked. I need to checked some checkbox but leave the rest unchecked. On Thu, Jul 11, 2013 at 10:06 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 11 Jul 2013 05:12:53 -0300, newbie newbie > wrote: > > Hi, >> I am using pla

How to set HTML checkbox from java page

2013-07-11 Thread newbie newbie
Hi, I am using plain HTML checkbox(not Tapestry type). I need to set the checkbox to checked in my java page. How do I do that? Here is my tml code fragment Any help would be appreciated. Thanks.

How to write HTML from java page

2013-07-11 Thread newbie newbie
Hi, I need to write HTML from my .java page. Here is what I have tried This is my tml code fragment ${testFunction()} This is my java code fragment public String testFunction() { return "" } The result I want is a checkbox. What I get is a string "input type='checkbox' name='leaf'

How to use Checkbox with Tree

2013-07-09 Thread newbie newbie
Hi, I am trying to implement a tree. I want users to be able to select leaf nodes by clicking on checkbox at each leaf nodes. But it is currently not working with the checkbox. The tree cannot expand. Here is my tml code fragment

Re: Ways to do page refresh

2013-06-28 Thread newbie newbie
> > reference or definition, and expect to get any kind of response? > > > > > > On Fri, Jun 28, 2013 at 8:11 AM, newbie newbie > wrote: > > > >> Hi, > >> What are the ways to do a page refresh? > >> Any help would be much appreciated. Than

Ways to do page refresh

2013-06-28 Thread newbie newbie
Hi, What are the ways to do a page refresh? Any help would be much appreciated. Thanks.

jquery/datatable goes back to first page on reload

2013-06-26 Thread newbie newbie
Hi, My jquery/datatable is in a zone. It has a column with eventlinks. It has many records, thus many pages. If I press on an eventlink on page 5 for example, and reload the datatable, it will go back to page 1. I want it to stay at the current page, page 5. The solution I found for jquery is "bSta

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

2013-06-26 Thread newbie newbie
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 should check your css/js. > Something must be wrong there. > > > On 26-Jun-2013,

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

2013-06-26 Thread newbie newbie
rs ? > > 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 the l

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

2013-06-25 Thread newbie newbie
Hi, I have a autocomplete mixin. When the list of suggestions pop-up, it doesn't stay put in one place. If you scroll down the webpage, it will float down. If you scroll up, it will float up. I want it to stay at my TextField where the Autocomplete mixin is at. Here is my tml file

How to overlay DateField pop-up over jquery/datatable

2013-06-24 Thread newbie newbie
Hi, When I have a DateField component above a grid, the DateField pop-up(calendar style) overlays the grid. However, when I use jquery/datatable, the DateField pop-up is obstructed by the datatable. How can I have the DateField pop-up overlays the datatable?

Re: Error using jquery/datatable with t:mode="true"

2013-06-23 Thread newbie newbie
, 2013 at 10:47 AM, newbie newbie wrote: > Hi, > I am trying to use jquery/datatable with 500 records. It seems slow in > loading but it is working fine. So I was thinking of ajax to solve the slow > loading issue. When I set t:mode="true", i get an error "JSON data from

How to use checkbox with jquery/datatable

2013-06-21 Thread newbie newbie
Hi, I am currently using checkbox with grid in Tapestry. With grid, the t:row="rowData" parameter can be accessed during setCheckbox. But it seems that t:row="rowData" parameter is null with jquery/datatable. Anyone knows how to use checkbox with jquery/datatable?

How to pass an Object using t:context

2013-06-20 Thread newbie newbie
Hi, I am using an eventLink. I can pass String and other primitive types using t:context. But I want to pass a whole Object using t:context. I get the error "Could not find a coercion from type java.lang.String to type test.ViewUsers". I am using valueEncoder but it is not called. Here is my tml f

Error using jquery/datatable with t:mode="true"

2013-06-20 Thread newbie newbie
Hi, I am trying to use jquery/datatable with 500 records. It seems slow in loading but it is working fine. So I was thinking of ajax to solve the slow loading issue. When I set t:mode="true", i get an error "JSON data from server could not be parsed. This is caused by a JSON formatting error." Her

Clear t:alerts messages

2013-06-20 Thread newbie newbie
Hi, I use alertManager.success to output t:alerts messages after the use press the Save button. If the user press the Save button multiple times, I would get multiple t:alerts messages displayed. How do I clear the previous t:alerts messages so that only 1 message is displayed? Here is my tml file