Re: pageValidate and PageEndRender cannot output foreign language
let me share my findings to those that faced similar problem. i tried same application on oracle and h2 datbase.and there is no problem displaying and save chinese character. look like it's mysql problem. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pageValidate and PageEndRender cannot output foreign language
Hi, here is my test result. please comment. is it a bug? public void pageEndRender(PageEvent event) { String abc="志志志"; System.out.println("inside page end render"+abc); //i get ??? on print out } public void pageValidate(PageEvent event) { String yoyo2="志"; System.out.println("test string in method="+yoyo2);//i still get ??? onprint out } //my form submit button public void processSubmit(IRequestCycle cycle){ String yoyo="志"; System.out.println("result="+yoyo); //i can display chinese char at ouput } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Does T4 @TextField accept mandarin (big-5) ?
i post my configuration web.xml --- redirect org.apache.tapestry.RedirectFilter redirect / TestPortal org.apache.tapestry.ApplicationServlet 1 TestPortal /app TestPortal *.html TestPortal *.direct TestPortal *.sdirect TestPortal *.svc TestPortal /assets/* 30 index.jsp TestPortal.application - http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Does T4 @TextField accept mandarin (big-5) ?
i tried keyed in big-5 mandarin in textfield and submit the form, after form submiited i do print out, i get ???.. do i need to do any configuration ? in order to make textfield support mandarin? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
client validators accept #,000.00 pattern
i use validator like below. how to allow accept of value range 0.00 --> 5,000,000.000 , with "comma" ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2 T4 web application together
my first web application is used for the front end , and my second web application (CMS) is used for the back end. Both applications use same database. 1. should I put the 2nd application (cms) as jar to the first web application . If yes, can give me the guideliness? i think 2 application with separate web.xml and app.application won't run this way right? 2. should I just deploy 2 war files? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T4: render TREE
sorry, suppose to be public class Content implements Serializable{ public String id; public String parentId; public Collection childContent; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
use scriptlet in html..
=) i know it's funny. but curious. how to use scriptlet in html. i tried <% %> but doesnt work. but it does work in jsp . do i need to configurate web.xml? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T4: render TREE
How to use "for" tag in html to iterate the below element inside tree? how to render tree page? let say my pojo look like this public class Content implements Serializable{ public String id; public String parentId; public Content childContent; } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
read app.application parameter from IengineService
I have tapestery 4 servlet that implemented IEngineService. can i use @InjectMeta("parameterTest") public abstract String getParameterTest(); or similar way to retrieve parameter property from app.application file? I tried this but doesn't work. what is the correct way to do it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5 beta. why so long..
when will it be? will it be in this year? is in beta state means , some of the features/methods will be changes ..? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
T5 beta. why so long..
I noticed T5 has been on beta version for quite long time. may i know when will a candidate release version will be available..? any plan for T6 any soon? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
call clientside pop up dialog with my javascript
i have my own javascript that do my own validation. if validation fail, i want to put my message inside "client side dialog box" . is this possible ? currently i using simple "alert" to show validation fail. it's not standardize as the rest of my validations are done by tapestry clientside validation - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ognl message inside javascript
i have javascript function like below.how to put ognl message key inside my alert as below... function doSomething(){ doSomething(); alert('ognl:key '); return callAnother(); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
adjustable table columns width
is there any example to create adjustable table column width? like yahoo mail style? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
disable validators using javascript
here is how i create a textfield when i submit the form, this field will be validated whether user entered anything or not. if i want dynamic form that in certain condition, will not required validation (some html elements are hidden). how do i use javascript to turn validators="validators:required" OFF ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
i18n in javascript
onclick="javascript:return confirm('${message:key_in_my_property_file}');" i try to use key in javascript like above but failed. how to use key in javascript? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
grey out entire screen when submit button pressed
is tacos or any javascript that able to do this? i have an example javascript but that work only in IE. anyone has example? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: call dojo.widget.byId('addGroupDialog').show() directly
i try out code like below and i get "undefined" dojo.addOnLoad( function() { alert(dojo.widget.byId('addGroupDialog')); } ); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: call dojo.widget.byId('addGroupDialog').show() directly
this is the error that i get for --> dojo.addOnLoad( function() { dojo.widget.byId('addGroupDialog').show(); } ); //error dojo.widget.byId("addGroupDialog") has no properties (no name)()app (line 477) loaded()app (line 236) callLoaded()app (line 292) modulesLoaded()app (line 285) dj_load_init(load )app (line 848) [Break on this error]
Re: call dojo.widget.byId('addGroupDialog').show() directly
Andreas, where should i put that? on top of the page ? below is what i did, but still fail. dojo.addOnLoad( function() { dojo.widget.byId('addGroupDialog').show(); } ); dojo.widget.byId('addGroupDialog').show(); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
frequent out of perm size
i very frequent get this error after using tomcat for sometime. i know increasing memory will temporary delay the problem. but is anyone of you experience this when using tapestry? coz i get it too frequent and very curious... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
call dojo.widget.byId('addGroupDialog').show() directly
wheni try to call dojo.widget.byId('addGroupDialog').show(); directly inside , i cannot call the dialog and display it. but the latter,