Custom Validation in a FormBean

2013-04-11 Thread mateen dar
custom validation for a FormBean ? -- Mateen Dar 0321 4040199

Redirecting to a Page

2013-01-15 Thread mateen
Hi, In my code after i validate the username and password i redirect the user to a new page by simply returning Index.class from my validation function. Now i have a requirement to also pass some params in the Query String like Index?xyx=abc. How can i do this ? Kind Regards -- View this mess

Tapestry AlertManager

2013-01-15 Thread mateen
Hi, I use the following code to show my alerts. alertManager.alert( Duration.TRANSIENT, Severity.INFO, "Transaction was processed successfully" ); Now can can i clear the previous alerts, otherwise each time a transaction fails a user has to manually clear the error me

AJAX Throbber

2012-12-27 Thread mateen
Hi, I looking to implement a AJAX Throbber for all ajax calls. This is my java script function. Tapestry.onDOMLoaded(function() { function addAjaxOverlay(event, element) { var mgr = Tapestry.findZoneManager(element); var zone = mgr && mgr.element; if (!zone) {

Re: Accessing the bound list for a Grid

2012-12-24 Thread mateen
When i remove it from the Grid would i have to refresh the zone of the div containing the Grid or would the Grid detect changes to the Underlying data source itself ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-the-bound-list-for-a-Grid-tp5718951p5718959.ht

Re: Testing Grid Row Objects

2012-12-24 Thread mateen
Process Teller and in my JAVA code public boolean isActive() { return true; } The

Testing Grid Row Objects

2012-12-24 Thread mateen
Hi, My tml page contains the following Grid. Process Teller Now I want to conditionally show a certain type of action cell . In

Accessing the bound list for a Grid

2012-12-24 Thread mateen
Hi, I have added a action to my Grid, which opens a JQuery Dialog. The user can either process the transaction or dismiss the Dialog. Once the user presses the process button, i want to remove the row from the Grid. How can i safely access the Grid contents and remove a specific row. I dont want

Grid Scroller

2012-12-24 Thread mateen
Hi, I am untill now binding my Grid to an in memory List. I provide pagination the usual way, and it works fine. Now i my Spring Bean that i have injected, recieves a page number and a page size argument. How can i configure my scroller to paginate with this function? So that when the user presse

Re: Tapestry LoadingBar

2012-12-21 Thread mateen
well what you say is correct, but have never worked in jquery or prototype. Thats one thing i want to get working on. For the time been is there no other help you could provide ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-LoadingBar-tp5718867p5718918.html S

Re: Tapestry LoadingBar

2012-12-21 Thread mateen
I have included jquery in the pom.xml and using the JQuery Popup. I dont get any error messages in my console, or java errors. How would i translate this function to jquery ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-LoadingBar-tp5718867p5718914.html Sent

Re: Ajax loader vs ProgressiveDisplay ...

2012-12-21 Thread mateen
I need to show a spinner when ever an event is fired and hide it when the ajax returns. How can i do this ? Could you give me a more depth into your source code. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Ajax-loader-vs-ProgressiveDisplay-tp4711106p5718910.html Sent

JQuery PopUp on the Grid.

2012-12-20 Thread mateen
Hi, I have a Grid that is bound to a underline list as follows Process Teller now clicking on the link in the action cell opens a alert dialog as follows

BeanModel Exception

2012-12-20 Thread mateen
I have a Grid that i wish to show and hide some columns. Here is my Grid Process Teller In the onSubmit from button that renders my Grid i include the following source code. q

Tapestry LoadingBar

2012-12-20 Thread mateen
Hi, I want to show a loading bar in Tapestry so that its is shown when my onActionFrom starts and ends when onActionFrom returns. How can i do this ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-LoadingBar-tp5718867.html Sent from the Tapestry - User mailing

Tapestry Grid hide Action Column

2012-12-20 Thread mateen
Hi, I have a Grid that is looping over an in memory List. I have added a Action Column to the Grid. Now the Grid will be used to show two kinds of objects and it will show either of the both kind but never both. If i have a status attribute in my object that either returns true or false. How can i

Grid Exception

2012-12-19 Thread mateen
In my app i have the following code Process Teller and in my java code @Log public Object onActionFromLink2( QuoteID transactionQuoteID ) { } The t:context in the A

JQuery Dialog not showing information

2012-12-19 Thread mateen
I have a a Tapestry Gird with an ActionLink as the last column. Clicking on the link i open a JQuery Dialog. Now i have to read the information from the Row of the Grid and show it in the PopupDialog. The Grid part is fine, but the object does not render in the popup. This is my Grid

Re: JQuery Dialog Popup in my tml file.

2012-12-12 Thread mateen
I have had a look, i dont understand where the DocsJQueryDialog class comes into play ? Do we have to create a reference to it, in my parent tml java file or what ? I wanted the ajax link. The code is simple just dont understand where the DocsJQueryDialog class comes into play ? -- View this me

Re: Session Timeout in Tapestry

2012-12-12 Thread mateen
Could you show me how to write a request filter in Tapestry -- View this message in context: http://tapestry.1045711.n5.nabble.com/Session-Timeout-in-Tapestry-tp5718632p5718639.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Session Timeout in Tapestry

2012-12-12 Thread mateen
How can i set the Session Time out and redirect the user the login page, when a timeout occurs ? I know in JSF i could centrally handle the session state from faces config file. How can i do this in Tapestry ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Session-Timeou

Re: DateField Customization

2012-11-15 Thread mateen
Thanks for this. Can u give show me how i replace the button image, or maybe make it slightly larger. -- View this message in context: http://tapestry.1045711.n5.nabble.com/DateField-Customization-tp5718034p5718041.html Sent from the Tapestry - User mailing list archive at Nabble.com.

DateField Customization

2012-11-15 Thread mateen
Hi, I have a requirement where i have to change the date field. I have to change the image of the date field button and if possible place that image within the bounds of the textfield. Is that possible. Can anyone show me the custom css if possible ? Kind Regards -- View this message in contex

Popup in Tapestry Link

2012-11-14 Thread mateen
Hi, My Grid displays a LINK to open a page. Currently i am using window.open, to open the page i need and its working fine, but i dont really like the new window option. I would more prefer a javascript type popup. Can anyone point to how i can get it done. I dont really care if its a modal or sim

Showing a Block condirionally

2012-11-13 Thread mateen
Hi, I have a Border component that has the following code div id="right"> Now in another code i use the component as http://tapestry.apache.org/schema/tapestry_5_3.xsd"; xmlns:p="tapestry:parameter"> Hello How are you Now in this page i wa

using onActivate to see if this is the correct page .

2012-11-12 Thread mateen
Hi, I came across some code that consists of a Index.java page and a index.tml page. In the index.java page we have Object onActivate(String... vals) { return new HttpError(HttpServletResponse.SC_NOT_FOUND, "Page Not Found"); } now this is real magic. If i sat mycontext/index thats fine

Tapestry Grid Page Number

2012-11-06 Thread mateen
Hi, I am using a Grid that has a link that navigates away from the page, when i return to the page i want to be able to set the page the user was on before. How can i get the current pagination number, and then set it back to the grid. Kind Regards -- View this message in context: http://tape

Re: GridHeader Trouble

2012-11-06 Thread mateen
I think it is. The same CSS works fine for my html tables but not for the tapestry Grid.So i though it might be a something special for the Tapestry Grid, especially the a link ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/GridHeader-Trouble-tp5717705p5717722.html Se

GridHeader Trouble

2012-11-06 Thread mateen
Hi, My Tapestry Grid is populating with data. But the problem is the labels in the Header are two big, and the CSS for wrapping thelrabel on two lines is not working. Can anyone share the CSS for setting the fixed width of the table, and the columns. Kind Regards -- View this message in contex

Tapestry Grid Link for Popup Window

2012-11-06 Thread mateen
Hi, I have created a Grid that has a ActionLink as the last element, When clicking on that i go to the next page. But now i want to open the page in a popup. I see there are no In built tapestry popup's present. How can i do this without messy javascript code. I dont want to be providing js cross

Get and set global beans ?

2012-11-05 Thread mateen
Hi, I am creating a simple application where a user logs in. On the next and all subsequent pages, i want to display the user information. How can i set and then read the values of these beens both in the view as well as the backing java file ? Kind Regards -- View this message in context: h

t:if to include a page

2012-11-05 Thread mateen
Hi, I login the user and on the second page i have various roles. Each roles corresponds to certain action that is unique to that role and also common functionality. Now on the second page, i want to include pages based on the users permission. I want to basically show or hide certain parts of t

Grid Ajax Failiure with Pagination.

2012-11-05 Thread mateen
Hi, I have created a simple that submits and ajax renders a form. This fails with two causes. First my code ` View <#> Here is my backing java class public class