Re: tapestry4 forward error randomly

2010-12-15 Thread asianCoolz
can advice how to fix this? it only happen like once/twice a month. or can guide how to troubleshoot this one - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.

tapestry4 forward error randomly

2010-12-15 Thread asianCoolz
anyone can decrypt below error and explain what cause this error? http://paste.ideaslabs.com/show/jrscSzhcW - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apa

tapestry4 session integrate with springsecurity

2010-11-22 Thread asianCoolz
hi i need advice on this, i use springsecurity to authenticiate user, then if success, on Home.page, copy the user object to tapestry4 user. this work fine. but sometime, the tapestry4 session timeout. what is the proper way to integrate tapestry 4 session user with springsecurity? need change t

Re: my way

2010-11-08 Thread asianCoolz
sorry , i suppose to click 'reply to thread' instead of creating new thread. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

my way

2010-11-08 Thread asianCoolz
parameters="ognl: new java.lang.Object[]{ rightIdString,agentName,startDateString, endDateString, statusSelectedByString, selectedLimitString }" i use this way for multiple parameters. is it possible to pass other type beside "String" ? what about "List, Date" ? -

serviceLink

2010-11-08 Thread asianCoolz
Experimental in tapestry4, if i have more than 1 parameters that need to call. how should i put in parameter=... ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@

spring security + tapestry

2010-10-09 Thread asianCoolz
any example tutorial on spring security 2 + tappestry4 hivemodule.session.user integration? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

count active users

2010-09-28 Thread asianCoolz
in my hivemodule.xml may i know how to count total number of active users ? which java methods can i call ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: throw new PageRedirectException

2010-09-22 Thread asianCoolz
IEngineService pageService = getPageService(); >String pageName = "NextTapestryPage"; >ILink link = pageService.getLink(false, pageName); >throw new RedirectException(link.getAbsoluteURL()); if page is IPage, and i set parameter to the page.setExtraParameter(abc); how to get absoluteu

throw new PageRedirectException

2010-09-22 Thread asianCoolz
with throw new PageRedirectException("NextTapestryPage"); , i was redicectd to another page, but the url on the browser address bar is not change. is there any method i can call "forward", so that use 'forward' to another page ---

tapestry 4 table methods call multiple times

2010-09-01 Thread asianCoolz
0 down vote favorite i do debug on IBasicTableModel , on method public IBasicTableModel getModel() { return new IBasicTableModel() { public int getRowCount() { //this is called multiple times } public Iterator getCurrentPageRows( int nFir

use % and ognl inside validators

2010-07-12 Thread asianCoolz
validators="validators:required[%com.company.pleasefillinradio ognl:numberQuestion_variable]" may i know in t4 validator, whether possible to use %(message) together with ognl like above? - To unsubscribe, e-mail: users-unsubs

Re: clientsidevalidation call custom javascript function

2010-07-06 Thread asianCoolz
the reason i want to do this is because i have "overlay loading animation" that block page UI whenever submit button is clicked. but at the same time, tapestry will show clientsidevalidation pop up overlay box. I want to call custom javascript function so that it will close my "overlay loading anim

clientsidevalidation call custom javascript function

2010-07-06 Thread asianCoolz
on tapestry 4 when clientsidevalidation is executed and a pop up overlay dialog appeared. can i call my custom javascript function at the same time? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional c

replace form.js file

2010-06-06 Thread asianCoolz
i'm using tapestry 4, i using SVN, and original form.js is located inside tapestry-framework-4.1.6.jar/tapestry-4.1.6/form.js but when i put new form.js inside /src/main/resources/tapestry-4.1.6/form.js , it still grab from jar instead of my classpath

Re: clientsidevalidate show only 1 error

2010-06-04 Thread asianCoolz
form.js is inside tapestry-framework.jar . how to make my project use my custom form.js rather than inside tapestry-framework.jar ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail:

Re: clientsidevalidate show only 1 error

2010-06-03 Thread asianCoolz
nope, i do not want to turn off clientsidevalidation. i want to use it, but i only want to show 1 error at a time. i'm using tapestry4 - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-ma

clientsidevalidate show only 1 error

2010-06-03 Thread asianCoolz
currently if my page have 3 compulsory textinput and all 3 compulsory textinput are not entered, a pop up error will showed 3 rows of compulsory fields not fill in. can it be limit to only show 1 error at a time rather than like below? *please fill in the textinputA *please fill in the textinputB

tapestry warning in log4j

2010-04-29 Thread asianCoolz
Hi, my log4j output the below warning, how to disable below warning and only show if there is error 10:12:12.506 WARN [http-8080-3] - Template for component PeopleSeeEmployeeMasterTable does not reference embedded components: controlCheckbox, checkbox. 10:12:15.271 WARN [http-8080-4] - Templa

session expired error

2010-04-22 Thread asianCoolz
Is below error caused by session expired http://utilitybase.com/paste/29788 if yes, how to extend the tapestry user session? or better way to resolve this? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For ad

onchange force page submit

2010-04-16 Thread asianCoolz
my html code at http://codepaste.net/b6ormu when onchange on selectbox, this form will be submitted and my pageValidate() will be called follow by upadteStaff() listener method. I wonder, when such submission is fired, can onchange='' pass a flag ('selectboxisfired' string) that i able to capture

Re: palette select by key not label

2010-04-07 Thread asianCoolz
i'm refering to this component http://tapestry.apache.org/tapestry4/tapestry-contrib/ComponentReference/Palette.html can advise how to modify it so that i can get by key rather than label ? - To unsubscribe, e-mail: users-uns

palette select by key not label

2010-04-07 Thread asianCoolz
on tapestry4, the existing palette is selected by "label", can select by "key" ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

form submitted get by id

2010-03-30 Thread asianCoolz
my has custom element like below that created using custom ajax California -- CA Colorado -- CO Connecticut -- CN after the

PageBeginRenderListener, PageEndRenderListener

2010-03-29 Thread asianCoolz
my page implements both listener but only pageBeginRender(..) is called, pageEndRender(..) is not called - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apach

Re: how to disable clientsidevalidation?

2010-03-23 Thread asianCoolz
but inside my form, i have html elements that i want clientside validation, only when user click on this "submit button" skip the clientside validation. can you please elaborate - To unsubscribe, e-mail: users-unsubscr...@tapest

how to disable clientsidevalidation?

2010-03-23 Thread asianCoolz
my button, i already put form.onsubmit = null, but after page rendered after button pressed, i can still see "**" in red color on the page code at http://codepaste.net/qqjnek - To unsubscribe, e-mail: users-unsubscr...@tapest

@For how to check last element?

2010-03-18 Thread asianCoolz
when using

call JSP using thorw DirectException()

2010-01-07 Thread asianCoolz
on T4, i call servlet in pageValidate() by throw DirectException("test.jsp"); but I can error http://tinyurl.com/ydwasbr - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...

tapestry4 force invalidate user session in pagevalidate()

2009-12-28 Thread asianCoolz
for some reason i need to do force invalidate of user session on pagevalidate(). i call event.getRequestCycle().cleanup(); is this ok? or is there any proper method i should call to force invalidate current user session? - To

hide tapestry4 palette "move up/move down"

2009-11-22 Thread asianCoolz
may i know how to hide these 2 buttons? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: tapestry-examples-4.0.tar.gz source ?

2009-11-22 Thread asianCoolz
i found the source at http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#MhDrYiwa0D8/tapestry-4.0.2/examples/Workbench/src/java/org/apache/tapestry/workbench/palette/Palette.java&q=type="contrib:Palette"; - To unsubscribe

tapestry-examples-4.0.tar.gz source ?

2009-11-22 Thread asianCoolz
may i know where can i download tapestry-examples-4.0.tar.gz source ? i looking for source for tapestry 4 palette demo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@

tapestry 4 contrib table call getModel() multiple times

2009-11-09 Thread asianCoolz
public IBasicTableModel getModel() { return new IBasicTableModel() { public int getRowCount() { System.out.println("called many times"); return getServiceLayer().countTotalCategoryRow(getKeyword()); } } when i tried this

tapestry4 contrib table making same multiple hibernate query

2009-11-08 Thread asianCoolz
May i know does anyone experience this in tapestry 4. I have a page that query for table row and count. but from hibernate log, it show repeating same query for multiple times. is this normal? Hibernate: select count(*) as y0_ from TESTTABLEONLY this_ where this_.CATEGO RYNAME like ? Hibernate: s

how to use PageEvent in tapestry4 to sendRedirect to another page

2009-10-29 Thread asianCoolz
public void pageValidate(PageEvent event) { //how to use pageEvent to sendRedirect to google.com ? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.a