Re: Tapestry 5 + JS framework

2014-07-28 Thread Thiago H de Paula Figueiredo
H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How to get Body Request

2014-07-25 Thread Thiago H de Paula Figueiredo
the PartialTemplateRenderer. It'll make your life easier. But is good your interest on what I'm doing. I'm sorry, I'm not following you. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: How to get Body Request

2014-07-25 Thread Thiago H de Paula Figueiredo
everything is working now, right? :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: Tracking ajax requests with T5.4

2014-07-24 Thread Thiago H de Paula Figueiredo
is in your code and it's up to you to track it. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: How to get Body Request

2014-07-24 Thread Thiago H de Paula Figueiredo
HttpServletRequest and use its getInputStream() or getReader() methods. Why do you need that? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail

Re: How to get Body Request

2014-07-24 Thread Thiago H de Paula Figueiredo
post information and parse it later? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: How to get Body Request

2014-07-24 Thread Thiago H de Paula Figueiredo
On Thu, 24 Jul 2014 19:31:35 -0300, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 24 Jul 2014 19:04:09 -0300, ICE Ernesto Arteaga Zavala arterza...@gmail.com wrote: Why do you need that? I'll integrate some backbone.js capabilieties, but zones are not the better match

Re: How to get Body Request

2014-07-24 Thread Thiago H de Paula Figueiredo
On Thu, 24 Jul 2014 20:12:43 -0300, ICE Ernesto Arteaga Zavala arterza...@gmail.com wrote: 2014-07-24 17:33 GMT-05:00 Thiago H de Paula Figueiredo thiag...@gmail.com : On Thu, 24 Jul 2014 19:31:35 -0300, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Thu, 24 Jul 2014 19:04

Re: resize image before upload

2014-07-23 Thread Thiago H de Paula Figueiredo
far is too vague to get a good answer. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: resize image before upload

2014-07-23 Thread Thiago H de Paula Figueiredo
in JavaScript) first, then try it with Tapestry. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: Tapestry AJAX call on submit

2014-07-23 Thread Thiago H de Paula Figueiredo
and JavaScript to do it. So you're asking in the wrong place. This is a Tapestry mailing list and your question isn't Tapestry-related. It's a pure JavaScript question. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Tracking ajax requests with T5.4

2014-07-23 Thread Thiago H de Paula Figueiredo
On Wed, 23 Jul 2014 10:46:24 -0300, Michael Wyraz michael.wy...@evermind.de wrote: Hi, Hi! I'd like to track ajax requests (when do they start, when they are finished) for some purposes: Both Prototype and jQuery provide callbacks for this. -- Thiago H. de Paula Figueiredo Tapestry

Re: FW: FW: Customizing the grid to alter its own content

2014-07-22 Thread Thiago H de Paula Figueiredo
and will *always* be represented by an Element object in Tapestry DOM. div will never be a Text instance. You seem to be confusing what element and text nodes are in HTML and, by consequence, in Tapestry DOM. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer

Re: resize image before upload

2014-07-22 Thread Thiago H de Paula Figueiredo
Object ? Any JavaScript solution for that will work on Tapestry. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: FW: FW: Customizing the grid to alter its own content

2014-07-22 Thread Thiago H de Paula Figueiredo
for your patience in explaining and in spotting my reasoning mistake. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: resize image before upload

2014-07-22 Thread Thiago H de Paula Figueiredo
. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Tapestry AJAX call on submit

2014-07-22 Thread Thiago H de Paula Figueiredo
... //not sure how to call the URL in tapestry that will get me the value This is just about jQuery, not being related to Tapestry at all. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: FW: FW: Customizing the grid to alter its own content

2014-07-21 Thread Thiago H de Paula Figueiredo
, such as a rich text editor like CKEditor. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: Inject dynamic number of components

2014-07-21 Thread Thiago H de Paula Figueiredo
subclass AbstractField. We cannot help much without the source of your components. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: FW: FW: Customizing the grid to alter its own content

2014-07-21 Thread Thiago H de Paula Figueiredo
content in it. Can it be done ? And here's the answer I gave you. String newText = ...; element.removeChildren(): element.text(newText); -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: FW: FW: Customizing the grid to alter its own content

2014-07-21 Thread Thiago H de Paula Figueiredo
On Mon, 21 Jul 2014 09:50:01 -0300, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: F.ex. I have an Element which isdivmy text content/divI create a new Element with same name and attributes, and the new element ends up beingdiv/divbut I don't know how to set the text content

Re: What is the purpose of the JIRA improvement issue TAP5-2192 ?

2014-07-20 Thread Thiago H de Paula Figueiredo
myself is a page (/t5dashboard/componentlibraries) listing and describing the component libraries available in the webapp. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: What is the purpose of the JIRA improvement issue TAP5-2192 ?

2014-07-20 Thread Thiago H de Paula Figueiredo
other IoC frameworks. Read more about it here: http://tapestry.apache.org/tapestry-ioc-configuration.html. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: How to call onSuccess in components from page

2014-07-18 Thread Thiago H de Paula Figueiredo
. - not - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Inject dynamic number of components

2014-07-18 Thread Thiago H de Paula Figueiredo
MyCustomComponent instance will be rendered many times. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Re: ajaxformloop and localization

2014-07-17 Thread Thiago H de Paula Figueiredo
submitted. That's basic HTML knowledge. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: ajaxformloop and localization

2014-07-17 Thread Thiago H de Paula Figueiredo
. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: tapestry injecting spring services

2014-07-17 Thread Thiago H de Paula Figueiredo
(using the 'new' keyword). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: ajaxformloop and localization

2014-07-16 Thread Thiago H de Paula Figueiredo
or another. Any other action which reloads the page would do the same. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: ajaxformloop and localization

2014-07-16 Thread Thiago H de Paula Figueiredo
; -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: select problem render queue

2014-07-15 Thread Thiago H de Paula Figueiredo
implementation of equals() and hashCode(), which almost every non-service class should have anyway, specially the ones which can appear inside collections (and SelectModel is a sort of collection of OptionModels). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: select problem render queue

2014-07-15 Thread Thiago H de Paula Figueiredo
void option(OptionModel optionModel) { Object optionValue = optionModel.getValue(); * String clientValue = encoder.toClient(optionValue); --- line 51* Have you checked whether you're passing a null value to the Select's encoder parameter? -- Thiago H. de Paula

Re: Upgrading typeahead to the latest version.

2014-07-15 Thread Thiago H de Paula Figueiredo
On Tue, 15 Jul 2014 10:03:36 -0300, George Christman gchrist...@cardaddy.com wrote: Hi Howard, where are the recent commits located? https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=log -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: select problem render queue

2014-07-15 Thread Thiago H de Paula Figueiredo
() (triggered by Form) instead, as it's called before the form is rendered and before the form submission is processed. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: [t5.4-beta-6] Page class member variable scope

2014-07-14 Thread Thiago H de Paula Figueiredo
to force a full page refresh, and in almost 99% of the time you don't. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: [T5.4] split Tapestry application into separate modules

2014-07-10 Thread Thiago H de Paula Figueiredo
What are you using to launch the webapp? I recommend the RunJettyRun plugin. Way better than jetty:run, if you ask me. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: FW: Customizing the grid to alter its own content

2014-07-10 Thread Thiago H de Paula Figueiredo
in the children list, like element.getChildren().set(0, newNode); That's an option too. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail

Re: select problem render queue

2014-07-10 Thread Thiago H de Paula Figueiredo
. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [T5.4] split Tapestry application into separate modules

2014-07-10 Thread Thiago H de Paula Figueiredo
available and doesn't handle live changes to assets very well. RunJettyRun is faster, finds all available sources when debugging and it's way easier to configure. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: FW: Customizing the grid to alter its own content

2014-07-10 Thread Thiago H de Paula Figueiredo
= elementToModify.getChildren(); nodes.get(1).remove(); } } I think the code is ok, even if it could have some improvements. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: [T5.4] split Tapestry application into separate modules

2014-07-09 Thread Thiago H de Paula Figueiredo
for the component libraries included in this way, but then you can use the tapestry.modules VM argument to specify comma-separated fully qualified module class names to be loaded. Another option is to use @Submodule in your AppModule. -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: file serving

2014-07-08 Thread Thiago H de Paula Figueiredo
a simple CMS to a DRM system. Anyway, the only Tapestry-related part of it is wrapping the files in StreamResponse and maybe use Apache Shiro (through tapestry-security) for the authentication and autorization part. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Page Method for Stream Response to Pagelink

2014-07-07 Thread Thiago H de Paula Figueiredo
#PageNavigation-Pageactivation (Pattern 3: Render Requests Only) In that exact page, see section 7. Stream response. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: embedded components form in if

2014-07-07 Thread Thiago H de Paula Figueiredo
rendering preparation, That's 100% incorrect. Tapestry templates have a strictly static structure. Only rendering is dynamic. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Customizing the grid to alter its own content

2014-07-07 Thread Thiago H de Paula Figueiredo
. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: embedded components form in if

2014-07-07 Thread Thiago H de Paula Figueiredo
) for the component, just the client-side HTML one, and they're different. It would work if you used t:Form t:id=sendFilesClientForm instead. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Customizing the grid to alter its own content

2014-07-07 Thread Thiago H de Paula Figueiredo
configuration) { configuration.override(new DisplayBlockContribution(DataTypeConstants.LONG_TEXT, MyPropertyDisplayBlocks, longtext); } -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: FW: Customizing the grid to alter its own content

2014-07-07 Thread Thiago H de Paula Figueiredo
. The answer is actually yes, so I will look into Tapestry DOM rewriting. Actually, you can still override the display blocks for all types, but I'm not sure that's a good idea. You'd probably need to implement parts of what the out-of-the-box display blocks already do. -- Thiago H. de Paula

Re: assets folder vulnerability

2014-07-07 Thread Thiago H de Paula Figueiredo
On Mon, 07 Jul 2014 10:30:42 -0300, Михаил Ярв mixa_poi...@mail.ru wrote: At present it is possible to view structure of application classes. All you need is to follow /assets/1.0.0-DEV/app/ url in Tapestry application. What Tapestry version are you using? -- Thiago H. de Paula Figueiredo

Re: What is the JVM option to specify modules to be loaded ?

2014-07-05 Thread Thiago H de Paula Figueiredo
/TapestryFilter.html#provideExtraModuleClasses(javax.servlet.ServletContext) Actually, there is: tapestry.modules, which is used by IOCUtilities.addDefaultModules() and is documented here: http://tapestry.apache.org/starting-the-ioc-registry.html -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thiago H de Paula Figueiredo
the problem. When posting an exception, please post the full stack trace, as you did here. ;) @Import(stylesheet = asset:layout/layout.css) Use just layout/layout.css (if the asset is in the classpath) or context:layout/layout.css (if the asset is in the context). -- Thiago H. de Paula

Re: java.lang.reflect.InvocationTargetException

2014-07-03 Thread Thiago H de Paula Figueiredo
On Thu, 03 Jul 2014 10:35:18 -0300, squallmat . squall...@gmail.com wrote: I see that when i just use layout/layout.css it searches in the package of my component. Is it possible to tell link it a resource at the root of classpath ? /layout/layout.css -- Thiago H. de Paula Figueiredo

Re: Tapestry 5.4-beta-6 No service implements the interface org.slf4j.Logger.

2014-07-02 Thread Thiago H de Paula Figueiredo
: No service implements the interface org.slf4j.Logger. Full stack trace please. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users

Re: [5.4-beta-6] Form always produces this error: Selected option is not listed in the model

2014-07-01 Thread Thiago H de Paula Figueiredo
. Blocks are declared using t:block. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: [5.4-beta-6] Form always produces this error: Selected option is not listed in the model

2014-07-01 Thread Thiago H de Paula Figueiredo
is something widely recommended in Java, not just Tapestry, specially for objects that end up in collections, as that's the case with the Select component (SelectModel doesn't implement Collection, but semantically it is a collection). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate

Re: Importing Images on FileSystem in Page Class

2014-07-01 Thread Thiago H de Paula Figueiredo
folders should be accessible. Otherwise, people can manipulate it to download any file from your file system. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Javascript appears as one long line in client; it's hard to debug.

2014-06-27 Thread Thiago H de Paula Figueiredo
up from app.properties. That's an internationalization file, not a configuration one. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail

Re: Handling Ajax requests when decorating the RequestExceptionHandler

2014-06-26 Thread Thiago H de Paula Figueiredo
. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: Preload All Pages On Startup

2014-06-25 Thread Thiago H de Paula Figueiredo
implemented as a servlet, but as a servlet filter, so every request passes through it, even when Tapestry itself doesn't generate the response. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Modules Executing in the Wrong Order? Service Bindings Not Around When Expected?

2014-06-25 Thread Thiago H de Paula Figueiredo
before TapestryModule and I'm a little bit stumped as to why. Tapestry-IoC is built in such a way that the ordering in which modules are loaded is irrelevant, so I think you're basing your conclusions on a wrong assumption. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate

Re: Modules Executing in the Wrong Order? Service Bindings Not Around When Expected?

2014-06-25 Thread Thiago H de Paula Figueiredo
into other modules. Some of them are missing in the listing above, something which corroborates my guess that have more than one Tapestry version in your classpath. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Modules Executing in the Wrong Order? Service Bindings Not Around When Expected?

2014-06-25 Thread Thiago H de Paula Figueiredo
H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Handling Ajax requests when decorating the RequestExceptionHandler

2014-06-25 Thread Thiago H de Paula Figueiredo
(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); // HTTP status code 500 (internal error) response.setHeader(X-Tapestry-ErrorMessage, exception.getMessage()); where response is a org.apache.tapestry5.services.Response object. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Adding inline javascript at the end of the page body

2014-06-24 Thread Thiago H de Paula Figueiredo
On Tue, 24 Jun 2014 06:34:25 -0300, Numa Schmeder n...@dfacto.ch wrote: Also the zone id shouldn’t change on subsequent request… As you have seen each nested div has a different zone id. Use Zone's id parameter and that won't happen. -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: Adding inline javascript at the end of the page body

2014-06-23 Thread Thiago H de Paula Figueiredo
at the end of the page ? You can write and contribute a MarkupRendererFilter, but then it's not a component anymore. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Adding inline javascript at the end of the page body

2014-06-23 Thread Thiago H de Paula Figueiredo
div id=“zone_874747899884 My initial zone after 2 updates /div /div /div You're probably returning the zone object instead of zone.getBody(). Did I get it right? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: What does this merge mean ?

2014-06-22 Thread Thiago H de Paula Figueiredo
=2c3361119b7e15f48d384f679d34875d1c7c2235 It means I may not be very proficient with Git yet. :P Could this mean that we will have a release anytime soon ? We're heading to the 5.4. No planned dates, though. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer

Re: [5.4-beta-10] providedChecksum is always different from the actualChecksum for a specific asset

2014-06-22 Thread Thiago H de Paula Figueiredo
://en.wikipedia.org/wiki/HTTP_ETag -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: Tapestry-Security @RequiresPermission(xxx:yyy:zzz) on class

2014-06-22 Thread Thiago H de Paula Figueiredo
? By returning a non-null value in an onActivate() method. Null and void are treated as go ahead and render the page. More details here: http://tapestry.apache.org/page-navigation.html -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Tapestry-Security @RequiresPermission(xxx:yyy:zzz) on class

2014-06-22 Thread Thiago H de Paula Figueiredo
return ErrorPage.class or @InjectPage private ErrorPage errorPage;, set some stuff in errorPage then return it. In both cases, the user will be redirected to ErrorPage. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Error in BeginRender[...]: Parameter 'translate' of component .. is bound to null. This parameter is not allowed to be null.

2014-06-20 Thread Thiago H de Paula Figueiredo
! :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: AJAX and Mixin events

2014-06-20 Thread Thiago H de Paula Figueiredo
and it'll work. This isn't related to AJAX or mixins at all. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: Redirecting to a page from a MethodAdvice implementation

2014-06-18 Thread Thiago H de Paula Figueiredo
or components, You're right, but you forgot include Tapestry-IoC services and objects instantiated using ObjectLocator.autobuild(). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Redirecting to a page from a MethodAdvice implementation

2014-06-18 Thread Thiago H de Paula Figueiredo
H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Correct way to JS in tapestry 5.4

2014-06-17 Thread Thiago H de Paula Figueiredo
problem with the code as you posted here is in the AMD module side, maybe not exporting the function you want to call. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: IoC / Multiple Implementations

2014-06-17 Thread Thiago H de Paula Figueiredo
implementations as its distributed configuration and acts as a locator for it. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users

Re: Correct way to JS in tapestry 5.4

2014-06-16 Thread Thiago H de Paula Figueiredo
also inject script directly using javaScriptSupport.addScript or can create a module that gets loaded and initiated when the page finishes loading.. JavaScriptSupport.addScript() is deprecated, so a module is the way to go in 5.4. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate

Re: live class reloading for custom package

2014-06-13 Thread Thiago H de Paula Figueiredo
and mixins in Tapestry). Doing that in a generic way is a way more complex problem. As Lance said, JRebel is the way to go for whole JVM live class reloading. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Section 508 Compliance

2014-06-13 Thread Thiago H de Paula Figueiredo
. But, as a more general solution, I'd go for a mixin. By the way, there's a sadly very much overlooked open source library, tapestry-xpath, that helps a lot in Tapestry DOM rewriting. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Section 508 Compliance

2014-06-13 Thread Thiago H de Paula Figueiredo
the entire project. Lastly I can't do anything about links in a library. I couldn't have said it better myself. ;) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Tapestry 5.3 + java 8

2014-06-12 Thread Thiago H de Paula Figueiredo
it compatible with java8 ? Yep! It was already done on the 5.3 branch, so if you cannot wait for a proper release, you can grab the sources from Git and build them yourself. Anyway, it shouldn't take long to get it released as 5.3.8. -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: Section 508 Compliance

2014-06-12 Thread Thiago H de Paula Figueiredo
and EventLink instances is the way to go. No need to copy or subclass the link components. That doesn't I won't implement TAP5-1611. That's part of my to-do list in the Month of Tapestry campaign. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Section 508 Compliance

2014-06-12 Thread Thiago H de Paula Figueiredo
508 be a feature you need to turn on? We can have a symbol for enabling it with a default value of true. But, of course, we can discuss what the better default should be. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Using tapestry tml as a mail template

2014-06-11 Thread Thiago H de Paula Figueiredo
Yep! See tapestry-offline or the PageDocumentGenerator service or the PartialTemplateRenderer service (5.4+). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Using tapestry tml as a mail template

2014-06-11 Thread Thiago H de Paula Figueiredo
be easier than using Tapestry itself for getting the output of a Tapestry page. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: Using tapestry tml as a mail template

2014-06-11 Thread Thiago H de Paula Figueiredo
ways of using the Tapestry templating engine for generating e-mails without any additional library and you're supposing I was talking about using other templating engines. Are you sure we're talking about the same thing? I don't think so. :) -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: [T 5.3.7] URL rewrite the domain with new LinkTransformer API

2014-06-11 Thread Thiago H de Paula Figueiredo
define what this seem not to work for me means. tapestry.machina.com.br itself is using Tapestry URL Rewriter 2.0 for rewriting domain names and also rewriting other URLs. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: How to add our project into Tapestry Applications page

2014-06-10 Thread Thiago H de Paula Figueiredo
either ask for edition permission or just ask here, providing the title, description, URL and screenshot. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe

Re: Use Lablel.for within page class

2014-06-09 Thread Thiago H de Paula Figueiredo
-facing label from the field name, supposing it follows the Java standards for field names. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail

Re: Use Lablel.for within page class

2014-06-09 Thread Thiago H de Paula Figueiredo
Why don't you just adapt the code I've posted here? @Inject private Messages messages; String componentId = ...; String key = componentId + -label; if (messages.contains(key)) return messages.get(key); return TapestryInternalUtils.toUserPresentable(componentId); -- Thiago H. de Paula

Re: Does Tapestry and Tomcat work together?

2014-06-06 Thread Thiago H de Paula Figueiredo
it. Maven and Gradle are quite good for that and have support from IDEs. Just use one of them. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail

Re: How to Use Image as Form Submit Button That Has OnSelectedFrom Handler in Page Class

2014-06-06 Thread Thiago H de Paula Figueiredo
. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: File upload zone not working

2014-06-06 Thread Thiago H de Paula Figueiredo
with zones. Try http://tapestry5-jquery.com/components/docsajaxupload or http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Provide validation markup on a specific field(s) within a loop using serverside recorderror

2014-06-06 Thread Thiago H de Paula Figueiredo
use it in validate=. You'll probably need to have your validator receive some parameter containing the context for the validation. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: HTTP 500 / Render queue error in BeginRender for page with form.

2014-06-06 Thread Thiago H de Paula Figueiredo
. Sometimes I have some weird errors with it. Then I change my run configuration to use Jetty 8 and the problem vanishes. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Prevent session id from appearing in URL while being indexed by google

2014-06-04 Thread Thiago H de Paula Figueiredo
because of that. I think the most important issue here is why the session is being created at first. It's even a performance issue. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Prevent session id from appearing in URL while being indexed by google

2014-06-04 Thread Thiago H de Paula Figueiredo
can use the LinkRewriter API to change teh URLs Tapestry generate. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: Suggestion: Dispatcher interface should have return values as public constants

2014-06-04 Thread Thiago H de Paula Figueiredo
to be very relevant to the contract of the interface; and it could serve to make dispatchers more readable. I don't think that Java inlines final constants anymore, so there could be a trivial performance penalty. Just a thought... very low-impact on my side. -- Robert Hailey -- Thiago H. de

Re: [t5.3] Loop's value inside form isn't preserved while submission

2014-06-03 Thread Thiago H de Paula Figueiredo
to write the JavaScipt yourself and not use the valueChanged event. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: WebSocket for tapestry

2014-06-02 Thread Thiago H de Paula Figueiredo
this never happened by checking the parameters for null in onPassivate and adding string markers instead. Bogdan. On Wed, May 28, 2014 at 4:46 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: That's an unrelated but known issue. On Wed, 28 May 2014 17:42:19 -0300, Bogdan Ivascu

<    4   5   6   7   8   9   10   11   12   13   >