Re: StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
that works, thanks. the component approach generates different urls for the same photo depending on which page the component is used, maybe some other approach that can create a unique url regardless pages? http://localhost:8080/test123.memimg:image/image1 http://localhost:8080/testxyz.memimg:ima

Re: StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
here is the code I'm trying to come out, ImageResponse derived from StreamResponse, the issue now is, the img url is always the same for every photo: http://localhost:8080/test123.memimg:image tml: < img t:type="MemImg" image_name='literal:image1' / > java: @SupportsInformalParameters public cl

Re: StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
it's not static, but some small photos that are kept just for a short time. -- View this message in context: http://tapestry.1045711.n5.nabble.com/StreamResponse-for-small-cacheable-images-tp5715755p5715762.html Sent from the Tapestry - User mailing list archive at Nabble.com.

StreamResponse for small cacheable images

2012-08-23 Thread Angelo C.
Hi, I have some very small jpegs that are kept in the file system, what is the right method to render them to client and it can also be cached in the browser? I'm looking at StreamResponse, is it the right way to go? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.n

Re: redirecting in the same page class

2012-08-18 Thread Angelo C.
https://issues.apache.org/jira/browse/TAP5-1990 -- View this message in context: http://tapestry.1045711.n5.nabble.com/redirecting-in-the-same-page-class-tp5715525p5715567.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: redirecting in the same page class

2012-08-17 Thread Angelo C.
could have been nice if setAnchor returns Link instead of void so we can have: return renderLinkSource.createPageRenderLinkWithContext(MyClass.class, code).setAnchor(entry) Howard Lewis Ship wrote > > The Link object already has a setAnchor() method. It's called OO > Design, people :-) > > >

Re: redirecting in the same page class

2012-08-17 Thread Angelo C.
cool, most of time t5 already got something ahead of my poor imagination, thanks. Howard Lewis Ship wrote > > The Link object already has a setAnchor() method. It's called OO > Design, people :-) > > Also note that the server *never sees* the anchor; that stays on the > client and is not part

Re: redirecting in the same page class

2012-08-17 Thread Angelo C.
right, might be nice if PageRenderLinkSource can add another two methods: createPageRenderLinkWithContextAndAnchor createPageRenderLinkWithAnchor the use case is, say you are converting your app into Backbonejs based, you might like to redirect: /mypage/0001 to /mypage#0001 and you would like t

Re: redirecting in the same page class

2012-08-16 Thread Angelo C.
turned out, T5 already has this: Link lnk = renderLinkSource.createPageRenderLinkWithContext(Mypage.class, code); lnk.setAnchor(entry); return lnk -- View this message in context: http://tapestry.1045711.n5.nabble.com/redirecting-in-the-same-page-class-tp5715525p5715529.html Sent from the Tape

redirecting in the same page class

2012-08-16 Thread Angelo C.
Hi, I have a page class(mypage) with two methods: #1. Object onActivate(String code) #2. Object onActivate(String code, String entry) so I can pass localhost:8080/mypage/0001/#entry, this matches method #1, I'd like that method #2 will redirect it to method #1 using code and entry, so : /my

Re: combining scripts

2012-08-16 Thread Angelo C.
hi, location of JS is: webapp/js/jquery-1.7.1.js to compare, WEB-INF is in: webapp/WEB-INF to load something from WEB-INF during run time, I do: globals.getServletContext().getResourceAsStream("/WEB-INF/param.txt") Here is the class: public class JS_stack implements JavaScriptStack {

Re: combining scripts

2012-08-15 Thread Angelo C.
Thanks for the help, I tried : ret.add(assetSource.getUnlocalizedAsset("context:/js/jquery-1.7.1.js")); but still get this error: Caused by: java.lang.NullPointerException at org.apache.tapestry5.internal.services.ajax.JavaScriptSupportImpl.addAssetsFromStack(JavaScriptSupportImpl.java:2

Re: [ANNOUNCEMENT] tapestry-routing 0.0.4 with locale support and rememberme with rolling tokens

2012-08-15 Thread Angelo C.
tapestry-routing is interesting, can it be used in place of PageRenderLinkTransformer? -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANNOUNCEMENT-tapestry-routing-0-0-4-with-locale-support-and-rememberme-with-rolling-tokens-tp5715473p5715476.html Sent from the Tapestry

Re: combining scripts

2012-08-15 Thread Angelo C.
i tried without context as well: ret.add(assetSource.getContextAsset("/js/jquery-1.7.1.js", null)); also this: ret.add(assetSource.getContextAsset("js/jquery-1.7.1.js", null)); not working too -- View this message in context: http://tapestry.1045711.n5.nabble.com/combining-scripts-tp571

Re: combining scripts

2012-08-15 Thread Angelo C.
Hi, got the point, so I'm trying to add a js stack, but seems not getting the location right: this is what I did with Import: @Import(library = {"context:/js/jquery-1.7.1.js"... but in the JavascriptStack:

Re: combining scripts

2012-08-15 Thread Angelo C.
Hi, Thanks for the quick response, as the program come from old version of Tapestry 5, we use only @Import, what 's the difference between JavaScriptStack and scripts loaded from @Import? and how we can put them together? Thanks, -- View this message in context: http://tapestry.1045711.n5.nab

combining scripts

2012-08-15 Thread Angelo C.
Hi, I set this: configuration.add("tapestry.combine-scripts", "true"); and use @Import(library to include scripts, but i can see the scripts not combined in my page source like: "/assets/d83ba0cccf5d1e11/stack/en/core.js" type="text/javascript">

loading order of javascripts

2012-08-12 Thread Angelo C.
Hi, I have this order of loading: @Import(library = {"context:/js/jquery-1.7.1.js"}) public class Layout { } @Import(library = {"context:/js/page_view.js"}) public class page_view { } page_view extends from Layout template, in the final page html source, page_view.js is always ahead of jquery-1

Re: AjaxResponseRenderer help

2012-08-12 Thread Angelo C.
the template is here: < a t:type="eventLink" t:parameters="prop:{'mode':${current}}" t:id="UpdateOff" >Turn it off< /a> -- View this message in context: http://tapestry.1045711.n5.nabble.com/AjaxResponseRenderer-help-tp5715295p5715307.html Sent from the Tapestry - User mailing li

Re: AjaxResponseRenderer help

2012-08-12 Thread Angelo C.
dd > more zones to it. > > Refresh > > @InjectComponent > private Zone zone1; > > @InjectComponent > private Zone zone2; > > @Inject > private AjaxResponseRenderer ajaxResponseRenderer; > > onSomeEvent(){ >ajaxResponseRenderer.addRender("zone2"

Re: AjaxResponseRenderer help

2012-08-12 Thread Angelo C.
That works, now, I'd like to put this eventLink in a loop: Turn it off but got: Component Test123 already contains a child component with id 'UpdateOff'. Embedded component ids must be unique (excluding case, which is ignored). any fix to this? Angelo -- View this message in context

Re: AjaxResponseRenderer help

2012-08-12 Thread Angelo C.
How to specify two zones in a event link? -- View this message in context: http://tapestry.1045711.n5.nabble.com/AjaxResponseRenderer-help-tp5715295p5715301.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: calling some functions from javascript

2012-08-12 Thread Angelo C.
Hi, I got some very old code working, turned out quite tedious, maybe T5.3.4 has some easier way? here is the code public String getUpdateLink() { return resources.createEventLink("action").toAbsoluteURI(); } public void action() { String name = requestGlobals.getR

AjaxResponseRenderer help

2012-08-12 Thread Angelo C.
Hi, I am trying out AjaxResponseRenderer to update multiple zones in a page, here is the code: java: @Inject private AjaxResponseRenderer ajaxResponseRenderer; @Inject Block redBlock; @Inject Block blueBlock; @Component(parameters = {"event=ModeUpdate"}) private EventLink UpdateOff; public vo

calling some functions from javascript

2012-08-12 Thread Angelo C.
Hi, I got a page class, and in the tml I have a javascript function that will call a function in the page class, and the function will return a json object to the javascript, any tips on how to achieve this? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com

Re: Tapestry5 vs Vaadin

2012-08-11 Thread Angelo C.
Hi Taha, I agree with almost all except the testability, maybe it's my fault not knowing how to structure the app to be testable, for now, I test only in the service/class level, very difficult to test the app/page level with those IOC things. angelo Taha Hafeez wrote > > Hi > > You are not

multiple actionlink with same ID in one page

2012-08-09 Thread Angelo C.
Hi, say I have a code: void onActionFromUpdateMode(String mode) { System.out.println(mode); } then I'd like to have this in the page: switch off switch mode but I got this error: Embedded component ids must be unique, any help? thanks, Angelo -- View this me

adding border-radius to t:grid

2012-08-09 Thread Angelo C.
Hi, I'd like the table come out from t:grid rounded, is there a way to add? I tried following, does not work: div.t-data-grid { border-radius:5px; } Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/adding-border-radius-to-t-grid-tp57152

tapestry5 double form submit handled?

2012-08-05 Thread Angelo C.
Hi, Does t5 handle double submit issues? Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry5-double-form-submit-handled-tp5715083.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Loop and starting index

2012-08-02 Thread Angelo C.
(){ >return myList.get(index); > } > > regards > Taha > > On Aug 3, 2012, at 7:29 AM, Angelo C. wrote: > >> I have this list of 10, and I need to have two loops for two tables in >> the >> page, one is from 1 to 5 and another is 6 to 10, side by side,

Re: Loop and starting index

2012-08-02 Thread Angelo C.
Figueiredo wrote > > On Thu, 02 Aug 2012 22:15:35 -0300, Angelo C. <angelochen960@> > wrote: > >> Hi, > > Hi! > >> Can component loop have a starting index? say I have a source of 10, and >> I'd like to loop from 1 to 5, and another Loop from

Loop and starting index

2012-08-02 Thread Angelo C.
Hi, Can component loop have a starting index? say I have a source of 10, and I'd like to loop from 1 to 5, and another Loop from 6 to 10, possible? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/Loop-and-starting-index-tp5715014.html Sent from the Tapest

Iterating a map in template

2012-08-02 Thread Angelo C.
Hi, I'm trying to iterate a map in template with following code, but, it turns out that the entire map is only one row, I'm sure I have made something wrong, can anybody point it out? Thanks, template: ${count} code: @Property private Map count; @Cached public Map getCo

component parameter coercion

2012-08-02 Thread Angelo C.
hi, trying to pass a literal to a component hoping it can do a coercion, here is the code: public class IfGroup { @Parameter(required = true) private Group context; Object beginRender() { } } this works as 'tesGroup' is a property in the page: hello but th

Re: redirecting to a class with parameter

2012-08-01 Thread Angelo C.
for event you can use ComponentResources#createEventLink... > > > On Aug 2, 2012, at 9:10 AM, Angelo C. wrote: > >> thanks for the fast answer, it works, in a related question, if I have >> something like this: >> URL u = new URL(url); >> how to add some q

Re: redirecting to a class with parameter

2012-08-01 Thread Angelo C.
thanks for the fast answer, it works, in a related question, if I have something like this: URL u = new URL(url); how to add some query parameters? -- View this message in context: http://tapestry.1045711.n5.nabble.com/redirecting-to-a-class-with-parameter-tp5714980p5714982.html Sent from the

redirecting to a class with parameter

2012-08-01 Thread Angelo C.
Hi, I have a class that need to return to another class with context parameter, how? Thanks, Angelo public class Info { Object onActivate(String type) { } } @OnEvent(value = EventConstants.SUBMIT, component = "premiumForm") public Object premiumSubmit() { return Inf

Re: tweet buttons?

2012-07-30 Thread Angelo C.
cool, care to share? Christian Riedel-4 wrote > > Yep, I've got one! > > Am 31.07.2012 um 00:54 schrieb Angelo C.: > >> anybody got one ? say, then expand to : >> < a href="https://twitter.com/share"; class="twitter-share-butto

tweet buttons?

2012-07-30 Thread Angelo C.
anybody got one ? say, then expand to : < a href="https://twitter.com/share"; class="twitter-share-button" data-url="https://dev.twitter.com"; data-via="your_screen_name" data-lang="en">Tweet< /a> < script>!func .. -- View this message in context: http://tapestry.1045711.n5.nabble.com/tweet-b

PeriodicExecutor

2012-07-29 Thread Angelo C.
Hi, I put following code to start a job, it runs every min, I'd like it to run once it is loaded, then every min, possible? thanks. @Startup public static void scheduleJobs( PeriodicExecutor executor, final Jobs jobs) { executor.addJob( new Interva

Re: json support in template

2012-07-27 Thread Angelo C.
https://gist.github.com/3187796 > > > Am 27.07.2012 um 02:16 schrieb Angelo C.: > >> Hi, >> >> you have this in the code, >> >> public JSONObject getJS() { >> JSONObject js = new JSONObject(); >> js.put("name1&q

json support in template

2012-07-26 Thread Angelo C.
Hi, you have this in the code, public JSONObject getJS() { JSONObject js = new JSONObject(); js.put("name1","123"); return js; } then in the template: ${js.get('name1')} considering json objects are used often nowadays, possible to have a direct support in template? ma

Re: Tapestry 5.3.4

2012-07-18 Thread Angelo C.
congrats! any breaking feature from 5.3.3 to 5.3.4? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-4-tp5714512p5714584.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: Why the activate of another class got executed? T5.3.3

2012-07-17 Thread Angelo C.
Finally I believe I located the problem: Chrome will fetch ahead pages while you are typing, say: localhost:8080/info/u before i finish the word update, it will show some suggestions, and in fact it already fetch the page as I can see the logs from the terminal, switching to Safari solves the prob

Re: Why the activate of another class got executed? T5.3.3

2012-07-17 Thread Angelo C.
wrote > > On Tue, 17 Jul 2012 10:38:32 -0300, Angelo C. <angelochen960@> > wrote: > >> no, i don't have. strange, one solution I can think of is, i'll create a >> Index.java. > > Isn't this another ocurrence of the assets with paths that

Re: Why the activate of another class got executed? T5.3.3

2012-07-17 Thread Angelo C.
no, i don't have. strange, one solution I can think of is, i'll create a Index.java. Lance Java wrote > > Does update have a pagelink to register (in a layout perhaps?) > > From jumpstart: > When is onActivate(...) called? > The short answer is: whenever Tapestry gets a page. It can be in respo

Re: Why the activate of another class got executed? T5.3.3

2012-07-17 Thread Angelo C.
when I call localhost:8080/info/update, it has nothing to do with /info/register, but register's onActivate() got called before Update.onActivate. Lance Java wrote > > In your example, you have not show how "Register" fits into the picture. > The code you have provided shows no link between > "l

Why the activate of another class got executed? T5.3.3

2012-07-16 Thread Angelo C.
Hi, in a package, i got some files, the first one is Register.java, if I run: localhost:8080/info/update/123 this works, if I run localhost:8080/info/update Register/onActivate() will be called before Update/OnActivate(), that's quite surprising, Am I missing something here? Thanks, Angelo i

Re: non blocking code in T5?

2012-06-13 Thread Angelo C.
gt;> Apache TomEE which implements JMS >> (http://tomee.apache.org/tomcat-jms.html >> ) >> -- I haven't used TomEE though. >> >> Or you can implement your own queue (based on ArrayBlockingQueue, for >> instance) with consumer thread(s) which you should st

Re: non blocking code in T5?

2012-06-13 Thread Angelo C.
no, i don't need the response from the method, MS/JMS is new to me, can it be used even I 'm not using Java EE? Dmitry Gusev wrote > > Do you plan to consume method's response in the same request? > > If not, some sort of MQ/JMS may be an option--just put your message there > and return. > The

non blocking code in T5?

2012-06-13 Thread Angelo C.
hi, Got this situation, for every request, I need to call a function of a service, if I understand it, this is a 'blocking' code, the flow will continue only when the function returns, solution that I can think of is, create a thread, and let it run, but considering so many requests can happen in

global variable concurrent access in different services

2012-06-04 Thread Angelo C.
Hi, This is a situation, in a PageRenderRequestFilter my app need to access a global String variable, and this global variable is updated every hour in a PeriodicExecutor, any suggestion how to do this? will there be a conflict in accessing this variable? Thanks, Angelo -- View this message in

PageRenderRequestFilter

2012-06-01 Thread Angelo C.
Hi, is this the correct way of hooking a PageRenderRequestFilter ? It works for a few hours, then the app simply stops responding after a few thousands of counts: public class CountRequestFilter implements PageRenderRequestFilter { final private RedisService redisService; public CountReq

Re: T5 and Redis

2012-05-31 Thread Angelo C.
Jedis has a pool, maybe it can be implemented as Hibernate. Is there anybody using Redis with T5 and how? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-and-Redis-tp5713546p5713552.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

T5 and Redis

2012-05-30 Thread Angelo C.
Hi, I'm trying to use Redis' Jedis client in T5, following this link: http://spreadthesource.com/2010/11/bringing-realtime-to-your-java-applications-with-websockets-nodejs-redis-tapestry-5/ I'd like to have one connection to redis per request, following is the Redis service code, problem is, aft

counting visitors

2012-05-30 Thread Angelo C.
Hi, Is there a simple way to plug in a function to count number of vistors to various pages? Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/counting-visitors-tp5713527.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: deploy t5 war under jetty

2012-05-30 Thread Angelo C.
thanks, actually I got it running a few months ago, the server restarted, and I can not remember how I did it last time, basically, it was in a screen session, then I run java -jar start.jar and myapp.war, i forgot the details, any idea how to do it this way? -- View this message in context: http

deploy t5 war under jetty

2012-05-30 Thread Angelo C.
Hi, Got a t5 app running inside IDE, now I need to deploy it into a server without tomcat, but i can run jetty, how to do this? thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/deploy-t5-war-under-jetty-tp5713524.html Sent from the Tapestry - User mailing li

accessing json properties in template

2012-05-29 Thread Angelo C.
Hi, say I got a json object in the java side, and how to render its properties in the template? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/accessing-json-properties-in-template-tp5713500.html Sent from the Tapestry - User mailing list archive at Nabble

getting asset path in 5.3.3

2012-05-28 Thread Angelo C.
Hi, In 5.3, this is how to get asset path: RequestConstants.ASSET_PATH_PREFIX in 5.3.3, how? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/getting-asset-path-in-5-3-3-tp5713480.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: AssetProtectionDispatcher for 5.3.3?

2012-05-28 Thread Angelo C.
It runs, but seems css, js are blocked, here is my old code that works with 5.2: public void contributeRegexAuthorizer(Configuration conf) { conf.add("^.*\\.png$"); conf.add("^.*\\.jpg$"); conf.add("^.*\\.jpeg$"); conf.add("^.*\\.js$"); conf.add("^.*\\.swf$"); conf.add("^.*\\.gif$"); conf.add("^.

Re: AssetProtectionDispatcher for 5.3.3?

2012-05-28 Thread Angelo C.
hi robert, thanks, will try this out, but what is "extended paths"? Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/AssetProtectionDispatcher-for-5-3-3-tp5713443p5713458.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

TAP5-1779 and ASSET_PATH_PREFIX

2012-05-28 Thread Angelo C.
Hi, Lenny Primak has this jira for the security issue in 5.3: https://issues.apache.org/jira/browse/TAP5-1779 and he got a fix that works very well in 5.3, it uses a constant ASSET_PATH_PREFIX, but this does not work any more in 5.3.3 as the latter does not have ASSET_PATH_PREFIX, any fix to thi

AssetProtectionDispatcher for 5.3.3?

2012-05-28 Thread Angelo C.
Hi, Do we have Robert's AssetProtectionDispatcher for 5.3.3? thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/AssetProtectionDispatcher-for-5-3-3-tp5713443.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: subdoamin when https else root, possible?

2011-07-18 Thread Angelo C.
right, I was thinking maybe there is a simpler solution. then again, that requirement looks good to me, when a viewer sees: https://safe.sample.com instead of https://sample.com, that make him feel better:) -- View this message in context: http://tapestry.1045711.n5.nabble.com/subdoamin-when-htt

Re: subdoamin when https else root, possible?

2011-07-18 Thread Angelo C.
not sure if that applicable in my case. let me explain a little more, with my BaseURLService: 1. In the www.sample.com/view, login page's link is: https://www.safe.sample.com/login, that's what I want. 2. When you are in the login page, view page's link become: http://www.safe.sample.com/view, i

subdoamin when https else root, possible?

2011-07-18 Thread Angelo C.
Hi, I use @secure on some pages(login, setup, etc), with following BaseURL service, it works well. now, there is this new requirement, when in https mode, the domain should be a subdomain: safe.sample.com not a root domain, sample.com, this cause problems to existing pages, example, a non @secure

Re: T5: accessing json objects posted in body from Groovy

2011-07-12 Thread Angelo C.
right! that's where the data come from. rd = new BufferedReader(new InputStreamReader(requestGlobals.getHTTPServletRequest().getInputStream())); StringBuilder sb = new StringBuilder(); String line = null; while ((line = rd.readLine()) != null) sb.append(lin

T5: accessing json objects posted in body from Groovy

2011-07-12 Thread Angelo C.
Hi, I use following Groovy code to post a json object to a T5 app: def http = new HTTPBuilder( "http://.sample.com"; ) http.request( POST, JSON ) { req -> uri.path = "updateproc/1/2/3" body = [ status : 'update!' , source : 'httpbuilder' ] req

Re: use of ActivationRequestParameter

2011-07-10 Thread Angelo C.
hi taha, right, you and Tiago, always come to my mind when I post a question, see who answer my question:) >@ActivationRequestParameter >private String name; >as the field name is used by default >http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/annotations/ActivationRequestParam

Re: use of ActivationRequestParameter

2011-07-10 Thread Angelo C.
hi taha, seems you are online all the time:) i tried that /test/123, not working too, however I realize it should have been: /test?name=123 @ActivationRequestParameter("name") private String queryParam; that works. -- View this message in context: http://tapestry.1045711.n5.nabble.com/use

use of ActivationRequestParameter

2011-07-10 Thread Angelo C.
hi, not sure if I understand this correctly, was hoping i can do this: www.sample.com/test?123 for that I created following page class, but queryParam is always null: public class Test { @ActivationRequestParameter private String queryParam; Object onActivate() { System.out

Re: t5: https and two T5 apps

2011-07-06 Thread Angelo C.
i use mod_proxy in front of tomcat, does it have the same benefits of proxy_ajp? -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-https-and-two-T5-apps-tp4555456p4556392.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: t5: https and two T5 apps

2011-07-05 Thread Angelo C.
looks the way to go, but how to have this /order context in the 2nd app? in tomcat's server.xml, we need to virtual hosts pointing to two t5 apps, first one uses already Host name="safe.sample.com", how to specify another one 'safe.sample.com' with 'order' context? sorry, this is not t5 related.

t5: https and two T5 apps

2011-07-05 Thread Angelo C.
Hi, I got two T5 applications, the first one: https://www.safe.sample.com:8443 Now I need to add a new one, and I need to share the same ssl certificate as the first one, so I need to use following url: https://www.safe.sample.com:8443/order can't figure out how to do this, suggestions? Thank

Re: Java Magic has 10000+ hits

2011-06-28 Thread Angelo C.
that's very good for a tech blog. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Java-Magic-has-1-hits-tp4530917p4530944.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To uns

Re: T5: @Secure and https with subdomain

2011-06-27 Thread Angelo C.
hi, if force a different host name, should it be another t5 app? Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Secure-and-https-with-subdomain-tp4530831p4530924.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

T5: @Secure and https with subdomain

2011-06-27 Thread Angelo C.
Hi, I have tried the @Secure, it will automatically direct to https:/sample.com/pay, now I have a special requirement, it should direct to: https://safe.sample.com/pay, any idea how to accomplish this? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Se

T5: Asset protection and 5.3.0

2011-06-23 Thread Angelo C.
Hi, do we need assetProtectionDispatcher in 5.3? seems to me following not working any more com.saiwaisolutions AssetProtectionDispatcher 1.0.0 -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Asset-protection-and-5-3-0-tp4516645p4516645.html Sent fr

Re: Contributed modules to Tapestry

2011-06-22 Thread Angelo C.
whatever as long as we can find it:) issue this time is, Taha has a nice module, I came across his posting before and book marked it as I know, I'd use it sometimes, but when the time comes to use, it is not there any more. -- View this message in context: http://tapestry.1045711.n5.nabble.com/C

Re: Contributed modules to Tapestry

2011-06-22 Thread Angelo C.
putting it in github works, probably just a section in the tapestry.apache.org : contributed modules hosted in github with the last update date, forcing it to be in github will make locating easier. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Contributed-modules-to-Tape

RE: [ANN] A Tapestry5 Based Security Module

2011-06-22 Thread Angelo C.
it's a nice module, but not even posted in java magic? -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-Security-Module-tp3322452p4514269.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: [ANN] A Tapestry5 Based Security Module

2011-06-22 Thread Angelo C.
Hi Taha, where to get this source code, everytime I click the link it says: 403. That’s an error. Your client does not have permission to get URL /p/tapestry-addons/ from this server. That’s all we know -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-

Re: Migrating to 5.3

2011-06-19 Thread Angelo C.
might be more helpful by writing some new features in 5.3, example: skinning and theme support? this feature will get some users (I am one of them) goes into 5.3 immediately. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Migrating-to-5-3-tp4503774p4504698.html Sent from t

Re: Migrating to 5.3

2011-06-19 Thread Angelo C.
might be more helpful by writing some new features in 5.3, example: skinning and theme support? this feature will get some users (I am one of them) goes into 5.3 immediately. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Migrating-to-5-3-tp4503774p4504697.html Sent from t

Re: RE : Trying out 5.3.0

2011-06-19 Thread Angelo C.
this works. think have to replace all in the projects in order for upgrading. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Trying-out-5-3-0-tp4503041p4503355.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: RE : Trying out 5.3.0

2011-06-19 Thread Angelo C.
Thanks, works this time, see those 5.3.0 jar's being downloaded, but got this: [ERROR] /Users/wcc/test_t5_3/newapp/src/main/java/com/example/newapp/components/Layout.java:[11,1] cannot find symbol [ERROR] symbol: class IncludeStylesheet [ERROR] @IncludeStylesheet("context:layout/layout.css") [ERRO

Re: RE : Trying out 5.3.0

2011-06-19 Thread Angelo C.
Thanks, works this time, see those 5.3.0 jar's being downloaded, but got this: [ERROR] /Users/wcc/test_t5_3/newapp/src/main/java/com/example/newapp/components/Layout.java:[11,1] cannot find symbol [ERROR] symbol: class IncludeStylesheet [ERROR] @IncludeStylesheet("context:layout/layout.css") [ERRO

Trying out 5.3.0

2011-06-19 Thread Angelo C.
Hi, I updated a working 5.2.4 project's pom with following changes: apache-snapshots https://repository.apache.org/content/repositories/orgapachetapestry-023/org/apache/tapestry/ 5.3.0 but it does not pull down 5.3.0 jars, in

T5: Theming Support

2011-06-17 Thread Angelo C.
Hi, T5.3.0 has Skin and Theming Support, any reference to these two great features? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Theming-Support-tp4500606p4500606.html Sent from the Tapestry - User mailing list archive at Nabble.com.

t5 friendly e commerce framework?

2011-06-11 Thread Angelo C.
Hi, I'm looking for a java based ecommerce software which should have been easier to include some modules written in T5, any suggestions? anybody tried jadasite.com? Thanks, Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-friendly-e-commerce-framework-tp4478915

t5: edit a bean without beaneditform

2011-05-09 Thread Angelo C.
Hi, I got a bean Person with a field name, when submit, the name is always null, why? java class: public class EditPerson { @Persist("flash") @Property private Person person; Object onActivate() { if (person != null) System.out.println(person.getName());

Using iframe to include a T5 page

2011-05-08 Thread Angelo C.
Hi, This seems not too much related to T5, sorry. here is my situation: two t5 applications, A1 and A2, A1's pageA use iframe to include A2's pageB, and the pageB onSuccess returns new URL("http://localhost/A1/done/";); this works, the only problem is, after returning from A2, http://localhost/A

Re: t5: create a record from another table, what is best practice?

2011-04-16 Thread Angelo C.
Hi, Thanks, but how to pass a string to prepareForRender? -- View this message in context: http://tapestry.1045711.n5.nabble.com/t5-create-a-record-from-another-table-what-is-best-practice-tp4307107p4307173.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

t5: create a record from another table, what is best practice?

2011-04-16 Thread Angelo C.
Hi, I have a form with email and name fields, and when the page is activated, it will retrieve an existing application, then initialize email and name, when submit is clicked, a Profile record is created in onSuccess and persisted, the following code seems not working, what is a right practi

Re: @Import

2011-04-02 Thread Angelo C.
how about this? @Import(library = {"context:ext-3.2.1/adapter/ext/ext-base.js","context:ext-3.2.1/ext-all-debug.js"}) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Import-tp4277615p4277644.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [ANN] Tapestry5-JQuery

2011-03-31 Thread Angelo C.
good, will try this in a new project. I have seen lately quite a lot of 3rd party components for t5, good news to the t5 users, thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-Tapestry5-JQuery-tp4272950p4272957.html Sent from the Tapestry - User mailing list arc

Re: Tapestry FileUploader Integration

2011-03-29 Thread Angelo C.
very nice component, also your modalbox, how about putting all those into github? this will be easier for us to follow. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-FileUploader-Integration-tp4268987p4269518.html Sent from the Tapestry - User mailing list archiv

Re: [ANN] Tapestry Facebook components

2011-03-24 Thread Angelo C.
hi, I like to see a simple 'hello World' facebook app in Tapestry5, is there any? Angelo -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-Facebook-components-tp3403224p4262246.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [ANN] Tapestry Facebook components

2011-03-24 Thread Angelo C.
I created an issue, actually if I can find a way to specify t:events as null, it should work, now I just modify the code to have no events at all, just a quick hack until you come out with a new one. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-Tapestry-Facebook-comp

  1   2   >