Re: T5.3 Select Component onValueChanged never fired

2013-01-23 Thread wesleywj2
hi, thanks for the reply, however i found out the culprit. it's my submit button, it has a clickonce mixin which prevent the ajax method calling. when i removed it, it works ok. i guess the mixin of clickonce is not working very well now. -- View this message in context: http://tapestry.104571

T5.3 Select Component onValueChanged never fired

2013-01-21 Thread wesleywj2
hi, i recently implemented the country and state/province select component where select particular country will load the state/province based on that country. The problem is that when i changed the Value of select in country component, the onValueChanged method never fired on server side. i put so

T5: How to Select Component with Encoder shows multiple label?

2012-07-30 Thread wesleywj2
hi, i have a valueEncoder implemented as List of object used for select component, currently the label of the select component is always the id of object, but i want to show the label as multiple field from the object itself. eg. my DataObject class has 3 private fields 1) dataId 2) dataCode 3)

T5.2: How to block UI and disable double click upon form submission?

2012-07-09 Thread wesleywj2
Hi, I wondered how do i block the UI when user click/double click the submit button upon form submission? T5 has any UI block script to help out? please advice -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-How-to-block-UI-and-disable-double-click-upon-form-submissio

T5.2 How to submit t:Form with POST parameters to external https link?

2012-06-03 Thread wesleywj2
hi, I'm having a problem on how to submit my form along with parameters using method POST to external https link? As i'm aware, Tapestry's t:form doesn't have action attribute that can link to other url. I have no control on the external url, my job is just to have a form and submit to the url alo

T5.3.1 How to show image modal dialog popup with prototype js?

2012-05-15 Thread wesleywj2
hi, i have a page with few thumbnails, each thumbnail when click will load a bigger image in modal window with close button on it, something like http://lokeshdhakar.com/projects/lightbox2/ lightbox 2 but it uses jquery, i would like to use prototype/scriptaculous to solve this since its alread

Re: T5.3.1 How to expand all the tree nodes?

2012-05-14 Thread wesleywj2
Hi Lance, Thanks for the pointer, works great, thank you very much -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-How-to-expand-all-the-tree-nodes-tp5702736p5708795.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: T5.3.1 How to expand all the tree nodes?

2012-05-13 Thread wesleywj2
hi Lance, can you give me an idea on recursive calling on this tree's deeply nested object recursive call? i just can't think of the way to this recursively, please advice and easy example would be helpful. thank you -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-1-

T5.3.1 How to expand all the tree nodes?

2012-05-11 Thread wesleywj2
hi, i need advice on how to expand the tree node with eventlink, currently based on the example from http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse it has only the collapse function.

how to load Tapestry 5.3 data with xml document?

2012-03-18 Thread wesleywj2
hi, i'm currently trying out the tapestry 5.3 new tree component and after searched through and study the demo from :- http://jumpstart.doublenegative.com.au/jumpstart/examples/component/treebrowse i realized its a recursive tree which i'm not very good at. such that i think there must be an eas

Re: How to update the third party library as maven dependency into T5.3 project?

2012-03-13 Thread wesleywj2
hi, thanks for all of your pointer, i got it work. thank you wesley -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-update-the-third-party-library-as-maven-dependency-into-T5-3-project-tp5561813p5561986.html Sent from the Tapestry - User mailing list archive at Nab

How to update the third party library as maven dependency into T5.3 project?

2012-03-13 Thread wesleywj2
hi, i'm new to maven project build, i successfully build a maven project of T5.3 and load to my eclipse IDE as workspace. everything work as expected with jetty run and view on the sample app. but i wanted to include the oracle jdbc driver ojdbc6.jar as my project dependency. how do i do that? i h

Re: Accessing the problem on T5.1 regarding Locale switching

2011-12-09 Thread wesleywj2
hi angelo, thanks much, it's really the link problem; thank you very much for pointing out -- View this message in context: http://tapestry.1045711.n5.nabble.com/Accessing-the-problem-on-T5-1-regarding-Locale-switching-tp5060950p5062656.html Sent from the Tapestry - User mailing list archive at

Re: Accessing the problem on T5.1 regarding Locale switching

2011-12-09 Thread wesleywj2
hi angelo, thanks for the quick reply, you pointed it, my url has "zh" when locale took place, when i click on the navigation , the zh disappear!, wonder why is that? something i need to tweak on the navigation link? perhaps? a symbol? -- View this message in context: http://tapestry.1045711.n5.

Accessing the problem on T5.1 regarding Locale switching

2011-12-08 Thread wesleywj2
hi all, i facing a very difficult situation where my application needs to switch between locale of english and chinese. my page has a tile like border component and a body. I implemented an actionlink on the border component which can switch language. i successfully switch the language from englis

Re: T5.1 locale switch back to default english after navigate to other page

2011-11-17 Thread wesleywj2
hi, my page is using border, where i wrote @Inject private PersistentLocale peLocale; @OnEvent(component="switchlocale") void changeLocale(){ if(currentLocale.equals(Locale.CHINESE)){ peLocale.set(Locale.ENGLISH); }else{

T5.1 locale switch back to default english after navigate to other page

2011-11-17 Thread wesleywj2
sisted for all pages after locale switching? please advice, wesleywj2 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-locale-switch-back-to-default-english-after-navigate-to-other-page-tp5002303p5002303.html Sent from the Tapestry - User mailing list archive at

Re: Tapestry 5.1 + Spring 2.06 + Oracle 11g has problem on handling non english encoding

2011-11-17 Thread wesleywj2
hi thiago, thanks for the prompt reply, it really is jdbc problem, i resolved it. thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-1-Spring-2-06-Oracle-11g-has-problem-on-handling-non-english-encoding-tp4999736p5002293.html Sent from the Tapestry - User ma

Tapestry 5.1 + Spring 2.06 + Oracle 11g has problem on handling non english encoding

2011-11-16 Thread wesleywj2
hi, currently my development are using T5.1 integrate with Spring 2.06 and using spring's StoredProcedure to perform db operations in Oracle. the container is Tomcat 6.0.29. I set the meta tag to UTF-8 for all .tml pages, the chinese character rendered correctly. On the database test, created

Re: T5: how do i style variable of string and show it in tml?

2011-10-06 Thread wesleywj2
hi jens, it works, thank you very much regards, wesley -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-how-do-i-style-variable-of-string-and-show-it-in-tml-tp4876011p4876231.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

T5: how do i style variable of string and show it in tml?

2011-10-06 Thread wesleywj2
hello, i would like to know how to style the variable in tml page. for eg. in my java class has a private String myMessage, normally i would just show ${myMessage} in my tml file. But the thing is i want to style it, like putting or tag within that variable so it will style accordingly. Is that

Re: T5 capture keyboard events?

2010-12-06 Thread wesleywj2
hi, thks for reply, i've never used custom javascript and load into tapestry before, most of the time just use the Annotation @IncludeJavaScriptLibrary, is that the way? perhaps if i have a javascript written my own, how do i include it? please advice -- View this message in context: http://ta

T5 capture keyboard events?

2010-12-05 Thread wesleywj2
hi, i would like to know if Tapestry 5 can accept keyboard input such as CRTL and SHIFT and some other key like 'M' etc? please advice, wesleywj2 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-capture-keyboard-events-tp3293142p3293142.html Sent from th

how to implement Tapestry.waitForPage(event) ?

2010-01-07 Thread wesleywj2
hi, i saw this feature on waiting response page, but what about the code behind? do i need to implement/override the handler? i put this code on tml on one of my submit button javascript:Tapestry.waitForPage(event); but it doesn't show the greyed area.. did i miss something here? the video just

T5: create directory permission denied

2009-12-28 Thread wesleywj2
hi, i'm actually create directory to store image after user upload the image. i'm using java.io for directory creation. but on the log, the application fails to create directory, testing on the folder write access is false, permission denied. i know this has something to do with permission, but w

T5 how to create another css style for t:grid?

2009-12-16 Thread wesleywj2
hi, I would like to create another css styles for t:grid use explicitly on certain page, how to achieve this? i tried copy the default styles from T5 to another external css and modify, but it seems to take back the original. please advice, wesley -- View this message in context: http://old.na

[T5] IE 8+Stack Overflow At Line:0

2009-12-03 Thread wesleywj2
hi, I got this weird problem on 1 of the tml page of mine, it uses quite intensive amount of zone and updates. whenever i refresh the view, specifically only IE prompt this message out "Stack Overflow At Line:0" and i need to click the ok button several times to ge rid of it. googling around, it

Re: [T5.1.05] Possibly t:loop bug?

2009-11-29 Thread wesleywj2
Oh it works!!, care to share your thoughts on this? what is this formState="NONE"?? regards, wesley -- View this message in context: http://old.nabble.com/-T5.1.05--Possibly-t%3Aloop-bug--tp26565852p26566010.html Sent from the Tapestry - User mailing list archive at Nabble.com.

[T5.1.05] Possibly t:loop bug?

2009-11-29 Thread wesleywj2
hi, I've been using Tapestry 5.0 and recently upgraded to T5.1.05, my t:loop component works fine before that. But I encountered this error everytime i submit/refresh page ++ Caused by: java.lang.IllegalArgumentException: Could not find a coercion from type java.lang.String to type com.w

Re: [T5.1]: How to use MultiZoneUpate?

2009-11-29 Thread wesleywj2
hi Thiago, thanks for the pointer. regards, wesley -- View this message in context: http://old.nabble.com/-T5.1-%3A-How-to-use-MultiZoneUpate--tp26565035p26565691.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

[T5.1]: How to use MultiZoneUpate?

2009-11-29 Thread wesleywj2
hi, I'm confuse as how do i use MultiZoneUpdate component, let's say i have 2 zone with predefined zone id shown below: ${field1} ${field2} i have an actionlink, when clicked, it will perform some calculation and update the above zone "C1" & "C2". please advice, regards, wesley --

Re: T5: Can read/write directory outside of ContextPath?

2009-10-22 Thread wesleywj2
hi angelo, how do i create symbolic link? i'm using windows instead of unix for this. perhaps you can guide me with a little short example perhaps? please advice.. -- View this message in context: http://www.nabble.com/T5%3A-Can-read-write-directory-outside-of-ContextPath--tp26012278p26012583

T5: Can read/write directory outside of ContextPath?

2009-10-22 Thread wesleywj2
hi there, i have 2 application written using T5.1 named "ax" and "ux" both deployed in Tomcat6/webapps directory. However, I would like to create a new folder call "myimage" deployed same level in Tomcat6/webapps which can be read/write by "ax" or "ux" apps. Is this possible? please advice.. tha

Re: Separating request handler between T5 and spring 2.0.6's DispatcherServlet

2009-08-24 Thread wesleywj2
hello Ulrich, thanks so much for the pointer; it's working good now. regards, wesley -- View this message in context: http://www.nabble.com/Separating-request-handler-between-T5-and-spring-2.0.6%27s-DispatcherServlet-tp25114168p25123675.html Sent from the Tapestry - User mailing list archive at

Separating request handler between T5 and spring 2.0.6's DispatcherServlet

2009-08-24 Thread wesleywj2
hi, i've been developing an webapps using T5 with spring 2.0.6 library. Main focus of T5 is to serve as front page and logic with business model using spring 2.0.6. I still have a tonnes of spring controller and i would like to make use of it by calling it directly. But as i aware, Tapestry 5 act

Re: show empty textfield for integer/double property

2009-06-17 Thread wesleywj2
thanks Thiago, it works out alright. thanks much Thiago H. de Paula Figueiredo wrote: > > Em Wed, 17 Jun 2009 17:53:43 -0300, wesleywj2 > escreveu: > >> hi, > > Hi! > >> public class MyPage{ >> @Property >> @Persist >> pr

show empty textfield for integer/double property

2009-06-17 Thread wesleywj2
hi, is there any way to remove or not to show the "0" or "0.0" for t:textfield that bound to integer/double property? in my class file "MyPage.java", i have public class MyPage{ @Property @Persist private int theValue; } for MyPage.tml in t:form: it shows "0" because it is integ

How to stream zip file

2009-06-04 Thread wesleywj2
hi, I couldn't figured it out for streaming zip files with "StreamResponse" interface. With my current implementation based on the Tapestry 5 site wiki tutorial example, i stream txt file. what i want to achieve now is to create few files in memory (eg. file1.txt & file2.txt), zip it and return

Re: Exception while http://localhost:8080/myapp/index.pageForm

2009-04-27 Thread wesleywj2
utomatically > POST its query-parameters to http://localhost:8080/myapp/index.pageForm > when > the form is submitted in the browser. > > > - Onno > > > > On Mon, Apr 27, 2009 at 11:03 AM, wesleywj2 wrote: > >> >> hi, >> >> when i type this u

Exception while http://localhost:8080/myapp/index.pageForm

2009-04-27 Thread wesleywj2
hi, when i type this url in my browser and hit enter, http://localhost:8080/myapp/index.pageForm it throws "Forms require that the request method be POST and that the t:formdata query parameter have values." exception. index is my first/login page, where pageForm is the id of my form. why it thro

Re: T5 How to onLoad focus() to textfield in Layout component

2009-04-15 Thread wesleywj2
thanks so much, simple and efficient. thanks much. regards, wesley Thiago H. de Paula Figueiredo wrote: > > Prototype comes to the rescue: > http://www.prototypejs.org/api/event/observe. > > Event.observe(window, 'load', function() { > $('text1').focus(); > } > > -- > Thiago > > -

T5 How to onLoad focus() to textfield in Layout component

2009-04-15 Thread wesleywj2
hi, i'm trying to do an automatic focus on 1 of 3 textfield input upon the page render. so i thought in my textfield upon resubmit this page, the onLoad attribute in can call the javascript document.getElementById('text1').focus(); but the environment of my page is using Layout component

Logging Setup with T5+Spring 2.06

2009-04-09 Thread wesleywj2
hi, i have the project going using T5 and Spring 2, and deploy in tomcat 6.0.18. The problem is how do i configure the logging? 1) In spring 2? or T5? 2) log4j.properties will be placed under classes under WEB-INF, where do i setup the logger in order for me to inject into T5 pages and do the l

Re: beanModelSource.create deprecated, what to use as an alternative?

2009-02-05 Thread wesleywj2
haha, sweet.. thanks man ;) Thiago H. de Paula Figueiredo wrote: > > Em Thu, 05 Feb 2009 17:42:43 -0300, wesleywj2 > escreveu: > >> hi, >> >> i've been implementing grid list with an added column using >> "beanModelSource.create()", but

how to include numbering in grid ? and can t:dateField now allow dd/mmm/yyyy formatting?

2009-02-05 Thread wesleywj2
hi, its alot to ask for i know, 1. but how do i include numbering in grid table? like - no| column | column | - 1 | x | xx | - 2 | | y | - 2. is there any date formatting for t:dateField av

beanModelSource.create deprecated, what to use as an alternative?

2009-02-05 Thread wesleywj2
hi, i've been implementing grid list with an added column using "beanModelSource.create()", but right after i changed the library to T5.0.18, it is marked as deprecated. any alternative i missed? usually i add column in tml page with the page class code as below:- public BeanModel getModel

Re: how to use @IncludeJavaScriptLibrary to include more than 1 library in page

2009-02-05 Thread wesleywj2
oh my... IE really sucks big time but the most unfortunate thing is there are still many ppl using IE. guess that i need to drop the use of tree viewing. anyway, thanks for the reply thiago. :) Thiago H. de Paula Figueiredo wrote: > > Em Thu, 05 Feb 2009 14:19:25 -0300, wes

Re: how to use @IncludeJavaScriptLibrary to include more than 1 library in page

2009-02-05 Thread wesleywj2
hi thiago, sorry to send you directly on the same topic for this question. as i've implemented the tree object on my web page FF3 works great. but i just don't understand why IE can't render the tree properly. right after i restarted my server. when opening the page contained the tree object, it

Re: how to use @IncludeJavaScriptLibrary to include more than 1 library in page

2009-02-04 Thread wesleywj2
23:41 -0300, wesleywj2 > escreveu: > >> hi thiago, > > Hi again! > >> i've added the configuration inside my AppModule for the javascript: >> i 've actually implemented the tree inside my class, >> >> @AfterRender >>

Re: how to use @IncludeJavaScriptLibrary to include more than 1 library in page

2009-02-04 Thread wesleywj2
treeObj.setImageFolder('../images/'); treeObj.setRenameAllowed(false); treeObj.setDeleteAllowed(false); treeObj.initTree(); please advise, wesley Thiago H. de Paula Figueiredo wrote: > > Em Wed, 04 Feb 2009 14:20:58 -0300, wesleywj2

Re: how to use @IncludeJavaScriptLibrary to include more than 1 library in page

2009-02-04 Thread wesleywj2
hi thiago, thanks for the quick reply, btw; after putting that annotation on the page class; the page should load the js script after the render body, but it didn't show though. i'm actually implementing the JsTree Component referred from the wiki how to's. My page has the border.tml and actual c

how to use @IncludeJavaScriptLibrary to include more than 1 library in page

2009-02-04 Thread wesleywj2
hi, i followed the wiki how to tutorial from Tapestry5AndJavaScriptExplained and i wondered how do i include multiple js file in the file and load in sequence. because i'm using the tree example using JsDragAndDrop, from the sample code, the js include must be in order. how to achieve this using

T5 tree component

2009-02-03 Thread wesleywj2
-- View this message in context: http://www.nabble.com/T5-tree-component-tp21825008p21825008.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

Re: change grid table row background color based on column data

2009-01-20 Thread wesleywj2
hello Thiago, thanks very much, it works great, smooth and accurate. :-) regards, wesley Thiago HP wrote: > > On Tue, Jan 20, 2009 at 1:29 AM, wesleywj2 wrote: > >> hi there, > > Hi! > >> i 've wondered how to change the background color of the eleme

change grid table row background color based on column data

2009-01-19 Thread wesleywj2
hi there, i 've wondered how to change the background color of the element based on data? normally we just override the css, but on my case, when my data is populated; one of my column is a fixed string. based on this column value i will have a unique background color for it. so how do it i do

invalidate single ASO object within session

2008-11-27 Thread wesleywj2
ried using appstatemanager in appmodule. but in my T5 page code, what is the appropriate way to do it? please advise. regards wesleywj2 -- View this message in context: http://www.nabble.com/invalidate-single-ASO-object-within-session-tp20722758p20722758.html Sent from the Tapestry - User mailing li

Re: create a web organization chart in Tapestry 5

2008-10-22 Thread wesleywj2
dvise. regards, wesley Weisu wrote: > > You might use T5 Tree component. Please see the wiki link for detail. > http://wiki.apache.org/tapestry/Tapestry5TreeComponent > > Weisu > > wesleywj2 wrote: >> >> hi all, >> >> is there any solution on implementi

create a web organization chart in Tapestry 5

2008-10-22 Thread wesleywj2
hi all, is there any solution on implementing an interactive org chart that can respond to events in T5? please advise, wesley -- View this message in context: http://www.nabble.com/create-a-web-organization-chart-in-Tapestry-5-tp20119734p20119734.html Sent from the Tapestry - User mailing lis