Re: Refreshing a from in a Zone

2014-06-02 Thread Thiago H de Paula Figueiredo
On Mon, 02 Jun 2014 18:44:46 -0300, Boris Horvat horvat.z.bo...@gmail.com wrote: Id is there as I have mentioned above. It's generated, but the id parameter of Zone wasn't set and that's exactly what's causing that exception when you try to update the Zone through AJAX. -- Thiago H. de

Re: Refreshing a from in a Zone

2014-06-02 Thread Thiago H de Paula Figueiredo
, *always* check the generated HTML. And, for your sanity's sake, generate valid HTML. Don't put, for example, a div inside a p. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Refreshing a from in a Zone

2014-06-01 Thread Thiago H de Paula Figueiredo
minimum is you tell us which error you are seeing, e.g. a stack trace. Kalle -- Sincerely *Boris Horvat* -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Tapestry ClassLoading errors

2014-06-01 Thread Thiago H de Paula Figueiredo
com.bomahabo.flow.tapestry.utility and it uses private AjaxResponseRenderer ajaxResponseRenderer; private Request request; private JavaScriptSupport javascript; Should I move it outside of the tapestry in order to help with this issue? On Tue, May 27, 2014 at 5:50 PM, Thiago H de Paula Figueiredo

Re: Refreshing a from in a Zone

2014-05-31 Thread Thiago H de Paula Figueiredo
scenario possible? Let me know if you need code samples Cheers -- 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] autocomplete mixin issues

2014-05-30 Thread Thiago H de Paula Figueiredo
? (That's not very difficult anyway) Any other suggestions? -- 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-05-28 Thread Thiago H de Paula Figueiredo
with no tml, where would it sit, how do I configure tapestry so that it knows to create a new instance for each request. A nudge of where I could document myself regarding this type of integration would be most welcome. Thank you, Bogdan. -- Thiago H. de Paula

Re: Tapestry ClassLoading errors

2014-05-27 Thread Thiago H de Paula Figueiredo
always access it though Tapestry (classes in controlled packages) or Tapestry-IoC (injected services). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe

Re: [T5.4] Component Rendering / Form Events

2014-05-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: [T5.4] Bootstrap and jQuery related JS libraries

2014-05-26 Thread Thiago H de Paula Figueiredo
on the CSS side, not on the widget one. There's https://github.com/trsvax/tapestry-bootstrap, but it wasn't upgraded to 5.4 yet. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Thiago H de Paula Figueiredo
On Thu, 22 May 2014 06:14:51 -0300, Stephen Nutbrown steves...@gmail.com wrote: Hi, Hi! Use JavaScriptSupport.importJavaScriptLibrary(Asset asset) instead. To get an asset, use the AssetSource service methods. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-21 Thread Thiago H de Paula Figueiredo
components is the same, located in AbstractField, so that's expected, even if not what we want (yet). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e

Re: subcomponent that changes a parent components property

2014-05-20 Thread Thiago H de Paula Figueiredo
, you do a someParameterInOuter = ...;, you're also changing the value of someParameter in Inner.java. Of course, this would only inside a request. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: js executes before dom ready?

2014-05-20 Thread Thiago H de Paula Figueiredo
not correct. Is this erratic code dealing with HTML elements created by other JS code? Are there any tips for making sure js executes when the page is ready? Just call your JS code using JavaScriptSupport methods. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Referencing Tapestry components from a module in Intellij IDEA

2014-05-20 Thread Thiago H de Paula Figueiredo
AppModule for including the library's module class explicitly, as the implicit inclusion through MANIFEST.MF won't happen unless the library is inside a JAR. These instructions are IDE-agnostic. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Thiago H de Paula Figueiredo
% of the times, it's either completely wrong or completely useless. Try this: t:loop t:source=result.action t:value=currentAction input t:type=TextField t:value=currentAction/ /t:loop -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: event triggering inside form loop

2014-05-20 Thread Thiago H de Paula Figueiredo
of your issue, which is not providing the context for your Submit component. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: event triggering inside form loop

2014-05-20 Thread Thiago H de Paula Figueiredo
multiple times. Many people have the wrong impression that when a component is placed inside a Loop, one instance of the component will be created for each rendering. This is not true. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Displaying an ArrayList of strings in a form using TextFields

2014-05-20 Thread Thiago H de Paula Figueiredo
to which this list belongs. See the JavaDoc for LoopFormState or more details. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users

Re: event triggering inside form loop

2014-05-20 Thread Thiago H de Paula Figueiredo
of that? Otherwise, I cannot help you further. -- 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: Displaying an ArrayList of strings in a form using TextFields

2014-05-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: event triggering inside form loop

2014-05-20 Thread Thiago H de Paula Figueiredo
parameters, while p: is used for block ones. -- 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: Forms require that the request method be POST

2014-05-19 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: Forms require that the request method be POST

2014-05-19 Thread Thiago H de Paula Figueiredo
this exception actually happens? Otherwise, we can only guess. That exception usually happens when a Tapestry form URL is requested without the form fields, hence the bot suspicion. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: passing data from component class to javascript

2014-05-17 Thread Thiago H de Paula Figueiredo
, component or mixin. Or is there a better/standard approach? Another approach, which is the one most used by Tapestry 5.4 internally, is to pass the data in data-* attributes. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: T5.3 - What's the easiest way to detect the current request type?

2014-05-16 Thread Thiago H de Paula Figueiredo
; boolean componentRequest = !pageRenderRequest -- 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: formatting attributes

2014-05-15 Thread Thiago H de Paula Figueiredo
: content=${formattedDate} public String getFormattedDate() { return // whatever you want. } -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e

Re: Invalidating a session

2014-05-15 Thread Thiago H de Paula Figueiredo
. ;) In addition, invalidating the session directly in HttpSession may cause Tapestry to error when accessing the session. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Form values after zone update

2014-05-14 Thread Thiago H de Paula Figueiredo
for a Tapestry release in which the Select component has a context parameter so you can repopulate the edited fields inside onValueChanged(). -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Invalidating a session

2014-05-13 Thread Thiago H de Paula Figueiredo
to remove all cookies associated with the SSO, etc. I'd do this instead: @Inject private Request request; ... if (request.getSession(false) != null) { request.getSession(false).invalidate(); } -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Tapestry 5.4 Select: Can't stop tapestry generating it's own clientId

2014-05-13 Thread Thiago H de Paula Figueiredo
as is if provided: clientId = resources.isBound(id) ? idParameter : renderSupport.allocateClientId(resources); I think the clientId should be respected if bound. JIRA please? :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Fwd: QName::=(NCName':')?NCName error when tml is parsed

2014-05-12 Thread Thiago H de Paula Figueiredo
servers had a days long outage last week. :( -- 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+jboss live class reloading problem

2014-05-12 Thread Thiago H de Paula Figueiredo
files as immutable while the JVM is running. -- 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 remote IP address in a Page

2014-04-28 Thread Thiago H de Paula Figueiredo
if there is a way to do this? No, and I don't think implementing it is worth the effort.. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: Component ID

2014-04-26 Thread Thiago H de Paula Figueiredo
the same value. -- 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: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-26 Thread Thiago H de Paula Figueiredo
of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com @hlship -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Loop with component inside a zone: parameter is bound to null

2014-04-26 Thread Thiago H de Paula Figueiredo
specific case would be to pass the current loop variable value in the event context, but I don't think this was implemented yet. Until then, you'll need to write some JavaScript and not use the valueChanged event of Select. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate

Re: Component ID

2014-04-26 Thread Thiago H de Paula Figueiredo
the correct approach. It works in every situation and no session persistence needed. Win-win situation. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Component ID

2014-04-26 Thread Thiago H de Paula Figueiredo
Yeah, that's a wrong interpretation. There's one component instance for each of its declaration, not matter how many times it is rendered. This is implemented and I am happy to say that it works and I am glad to hear that it is a correct approach. :) -- Thiago H. de Paula Figueiredo Tapestry

Re: different results using different binding style

2014-04-24 Thread Thiago H de Paula Figueiredo
=myEnumEncoder t:loop source=myEnums value=myEnumValue t:radio t:id=myEnum1 value=myEnumValue / /t:loop /t:radiogroup -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Tapestry render variable in zone is null

2014-04-15 Thread Thiago H de Paula Figueiredo
of relying on the one provided by Select itself. -- 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: Over Reliance on Session Storage

2014-04-15 Thread Thiago H de Paula Figueiredo
of our components, moving them into angularjs. This is a webapp rewrite almost from scratch (at least the web UI part) and doesn't really solve the problem of over-reliance on session storage. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Over Reliance on Session Storage

2014-04-15 Thread Thiago H de Paula Figueiredo
but it doesn't look like it's seen an update for 3 years. Is this still the best way forward? If you really need conversational state, yes. For places which don't need that, you can replace most session state by using the page activation context and/or @PageActivationContext. -- Thiago H. de

Re: JavaScript method for context encoding

2014-04-14 Thread Thiago H de Paula Figueiredo
something similar to TriggerFragment mixin, but with a little bit more flexibility (original one can be used only with radio and checkbox controls). If it's just visibility, JavaScript is the solution. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: dynamic forms concept possible solutions

2014-04-14 Thread Thiago H de Paula Figueiredo
validation errors are dropped } } -- 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 Endless Scroll Component

2014-04-14 Thread Thiago H de Paula Figueiredo
usually doesn't work with endless scroll implementations anyway. Nobody asked, but I really dislike endless scroll. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Why is my tap5.4beta3 Alerts Component rendering all alerts twice?

2014-04-14 Thread Thiago H de Paula Figueiredo
On Fri, 11 Apr 2014 09:39:05 -0300, Jon Williams williams.jonat...@gmail.com wrote:hi,Hi! private Object onSelectedFromRegister() {if (registerForm.getHasErrors()) { return this;}I'm not sure that's related to your problem, but don't return "this" in event handler methods unless you

Re: dynamic forms concept possible solutions

2014-04-14 Thread Thiago H de Paula Figueiredo
right about the validation phase (specifically of the form) being the right place for putting that code. Thanks for pointing this! :) On Mon, Apr 14, 2014 at 2:19 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko ilya.obsha

Re: subject authentication lost after several page requests

2014-04-10 Thread Thiago H de Paula Figueiredo
On Thu, 10 Apr 2014 09:40:56 -0300, Marco Wulf w...@dsb.net wrote: Hi all,Hi!I use shiro-1.2.1 for web security implementations.Are you using tapestry-security (Tapestry-Shiro integration)? If not, the problem is probably not in Tapestry, as your Tapestry code is just using Shiro and very

Re: NullPointer for service constructor

2014-04-08 Thread Thiago H de Paula Figueiredo
think this kind of NPE is one that occurs in the exact same way with ordinary, non-Tapestry-IoC Java, so I agree that I shouldn't be implemented and that constructor injection is the recommended one. On 7 Apr 2014 13:54, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Sun, 06 Apr

Re: NullPointer for service constructor

2014-04-08 Thread Thiago H de Paula Figueiredo
are transformed. Chasing-those-exceptions is never fun, although I'd prefer to do that than compliance documentation and openssl heartbleed shenanigans! Cant believe it'll be Wednesday soon! Whoosh! :D -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: NullPointer for service constructor

2014-04-07 Thread Thiago H de Paula Figueiredo
caused by field injection not done yet from other exceptions? Even if it's just about NPEs, I cannot see how that could be done. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Eclipse Tapestry5 Project version 2.3.0 available for download

2014-04-07 Thread Thiago H de Paula Figueiredo
and never looked back. -- 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

Re: Eclipse Tapestry5 Project version 2.3.0 available for download

2014-04-06 Thread Thiago H de Paula Figueiredo
in completion proposals in WTP editors I don't have WTP installed here (I really, really dislike it) and use the XML editor for Tapestry templates. Does the plugin support autocompletion on it? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Service Advisor and Annotations

2014-04-05 Thread Thiago H de Paula Figueiredo
? They're the only versions in which getting annotations from services' methods and classes will work. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e

Re: Injection related experiences

2014-04-05 Thread Thiago H de Paula Figueiredo
patterns explicitly in you services or patters - i.e. provide a static getInstance method..? Is that a correct? If the given object is a service and you always get service instances by injecting them using Tapestry-IoC, no. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Injection related experiences

2014-04-05 Thread Thiago H de Paula Figueiredo
classes are completely independent of Tapestry-IoC unless some other annotation like @Symbol is needed. Thank you for the clarification regarding proxies/services. My pleasure. :) -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Service Advisor and Annotations

2014-04-05 Thread Thiago H de Paula Figueiredo
and method level. This was my pet peeve my Tapestry-IoC for years until a good soul fixed that. :p -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e

Re: Injection related experiences

2014-04-05 Thread Thiago H de Paula Figueiredo
://tapestry.apache.org/using-jsr-330-standard-annotations.html. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e-mail: users-unsubscr

Re: Injection related experiences

2014-04-05 Thread Thiago H de Paula Figueiredo
. And that's a limitation of Java itself, maybe even object-orientation as a whole, not Tapestry-IoC. That's just how objects work: you cannot do anything with them until the constructor call finishes. Summary: constructor dependency injection rules! :D -- Thiago H. de Paula Figueiredo Tapestry

Re: I am not able to call JSON file in my tapestry template file .. Native HTML standalone works finr in browsers ..

2014-04-03 Thread Thiago H de Paula Figueiredo
/webapp (the webapp root context folder) and refer to it as /family.json instead of family.json (notice the slash). This (absolute vs relative paths) is basic HTML and JavaScript knowledge. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Package private interface loading problem

2014-03-31 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: Assets in component library

2014-03-28 Thread Thiago H de Paula Figueiredo
assets). -- 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: Reg: How to set progressive display whole project

2014-03-28 Thread Thiago H de Paula Figueiredo
), put it in your Layout component. -- 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: Package private interface loading problem

2014-03-28 Thread Thiago H de Paula Figueiredo
a superinterface the proxy, which isn't created in the same package as the service interface, is created. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e

Re: Assets in component library

2014-03-27 Thread Thiago H de Paula Figueiredo
is the place. 2) How can I get the url to these images, also how if I need to get them dynamically (use of AssetSource?) ${classpath:/images/something.png} -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: log4j.properties configuration not working

2014-03-26 Thread Thiago H de Paula Figueiredo
have been posted here. And you didn't even describe what do you mean by doesn't work, so even if it were on-topic we wouldn't be able to help. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Updating a zone from a property method

2014-03-26 Thread Thiago H de Paula Figueiredo
they be treated inside the getter methods themselves? -- 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: AW: log4j.properties configuration not working

2014-03-26 Thread Thiago H de Paula Figueiredo
On Wed, 26 Mar 2014 10:05:21 -0300, Vasili Petrenko vasili.petre...@devintime.de wrote: Hi. thank you. What I should do to control logging log4j in tapestry app. The same as you would in a non-Tapestry application, hence the off-topicness of your question. -- Thiago H. de Paula

Re: Updating a zone from a property method

2014-03-26 Thread Thiago H de Paula Figueiredo
(). I'm a bit perplexed going for something that sounds a bit like a workaround for a scenario that in my opinion is quite standard, but maybe I will come up with something more straightforward in future. That's not a workaround, it's a matter of what is called first. -- Thiago H. de Paula

Re: Ckeditor for T5.4 complete with code sample

2014-03-25 Thread Thiago H de Paula Figueiredo
On Tue, 25 Mar 2014 10:27:45 -0300, Geoff Callender geoff.callender.jumpst...@gmail.com wrote: Very cool. Yep. Deserves its own repository in GitHub and JAR in the Maven Central Repository. :) I can help you with that if you want. -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: Updating a zone from a property method

2014-03-25 Thread Thiago H de Paula Figueiredo
, is only invoked *after* the zone is rendered. There's nothing in your page that triggers the AJAX update so you can show the error. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Updating a zone from a property method

2014-03-25 Thread Thiago H de Paula Figueiredo
. The values of the fields will be kept until the request is finished. Plus I don't know if one can update a zone from the setupRender method. It makes absolutely no sense to do that, as I already explained above, because zones are not meant to be updated during the page rendering. -- Thiago H. de

Re: convert mixin to component

2014-03-25 Thread Thiago H de Paula Figueiredo
does. Without the mixin source, we cannot help further. -- 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: Dynamic property conduit

2014-03-21 Thread Thiago H de Paula Figueiredo
on the prop one Tapestry already provides. Or you can decorate or advise the services used in the prop binding so you can inject your fallback logic. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: T5.4 - spinner zone overlay

2014-03-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: T5.4 - spinner zone overlay

2014-03-20 Thread Thiago H de Paula Figueiredo
returns. Both Protype and jQuery have global AJAX request listeners, so they may be the solution here. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br - To unsubscribe, e

Re: How to Declare JSONObject function ?

2014-03-20 Thread Thiago H de Paula Figueiredo
not work. In both cases above I tried with arguments: function(event, ui) {}, but it did not work. How can I declare this function ?? Thanks. Reply, Re -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: [5.4B1] StyleSheet/Stack Bug?

2014-03-19 Thread Thiago H de Paula Figueiredo
(assetSource.getContextAsset(datatables/css/dataTables.bootstrap.css, null))); return stylesheets; }* There you are getting an asset from the context (getContextAsset()), while in the @Import you're getting it from the classpath. Try getClasspathAsset() instead. -- Thiago H. de Paula

Re: Reg: Grid DataSources

2014-03-18 Thread Thiago H de Paula Figueiredo
using tapestry 5.3. Is there any way to do or any addon avaliable or i need to created a new structure on my own. Implement your own GridDataSource and write your own Hibernate query with the joins inside it. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Reg: Grid DataSources

2014-03-18 Thread Thiago H de Paula Figueiredo
is very bad and I explain why in that page, so I won't repeat it here. Do the right thing: write a ValueEncoder for your class (if it's a Hibernate entity, tapestry-hiberate does that for you automatically) and pass it to the Select's encoder parameter. -- Thiago H. de Paula Figueiredo Tapestry

Re: Reg: Grid DataSources

2014-03-18 Thread Thiago H de Paula Figueiredo
on it easily. -- 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: display zone, jquery dialog or message after onValidate success

2014-03-17 Thread Thiago H de Paula Figueiredo
which represents the zone triggers a Tapestry.ZONE_UPDATED_EVENT JavaScript event just after the zone is updated. The rest is ordinary JavaScript you'd write in the same way as if you weren't using Tapestry. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer

Re: How to handle form warnings?

2014-03-17 Thread Thiago H de Paula Figueiredo
This is unrelated to Tapestry. session.saveOrUpdate(timeSheetHolder); Try this instead: timeSheetHolder = session.merge(timeSheetHolder); -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: How to handle form warnings?

2014-03-17 Thread Thiago H de Paula Figueiredo
with the session problem. -- 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: display zone, jquery dialog or message after onValidate success

2014-03-16 Thread Thiago H de Paula Figueiredo
for a request having two different responses, which HTTP doesn't support. In a higher level of abstraction, what exactly are you trying to do? -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: display zone, jquery dialog or message after onValidate success

2014-03-16 Thread Thiago H de Paula Figueiredo
: $('#processingDialog').dialog('open');document.forms[myform].submit() t:mixins=jquery/button/ John - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Sunday, March 16, 2014 12:33 PM Subject: Re: display zone, jquery dialog or message after onValidate success

Re: VS: tapestry + maven + jboss tools + hot deploying ?

2014-03-14 Thread Thiago H de Paula Figueiredo
sucks incredibly hard for debugging and multiproject setups. Just make sure the main project has the other as dependencies, manually in Eclipse or automatically through the Maven plugin. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Event link gets changed after outer zone/table refresh

2014-03-11 Thread Thiago H de Paula Figueiredo
t:context=currentIndex. public Object onBalExpand(String currentIndex) { return balZone; } Never return a zone instance directly: return zone.getBody(). That's probably the source of your problem. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http

Re: Event link gets changed after outer zone/table refresh

2014-03-11 Thread Thiago H de Paula Figueiredo
work, the method never gets called. That because the event link id gets changed. The link id does not interfere in the EventLink working at all. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Use javascriptsupport.require.with() directly with Jackson

2014-03-10 Thread Thiago H de Paula Figueiredo
. In this case, I think you'll need to write a Tapestry JSONObject mapping for Jackson if someone else didn't do it in an open source project yet. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: 5.4 tutorial/documentation for building jquery ajax request.

2014-03-10 Thread Thiago H de Paula Figueiredo
or JSONLiteral with the information you want to send back. In this case, I think the best option is to return new JSONObject(title, Updated title) and, in the JavaScript part, get the 'title' property of the returned object. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: Tapestry App Not booting right - dependency tree help

2014-03-06 Thread Thiago H de Paula Figueiredo
much off-topic bullshit (both off-topic and bullshit, not to mention jingoistic and xenophobic) in that paragraph that I'll restrain myself and not answer it. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Use cases for the any component

2014-03-06 Thread Thiago H de Paula Figueiredo
On Sun, 02 Mar 2014 19:42:29 -0300, Bob Harner bobhar...@gmail.com wrote: Hi Tapestry users, Does anyone have any good use cases for the any component? I think there's only one: adding mixins to something that wasn't a component before. -- Thiago H. de Paula Figueiredo Tapestry, Java

Re: Use cases for the any component

2014-03-06 Thread Thiago H de Paula Figueiredo
On Mon, 03 Mar 2014 04:18:31 -0300, Lance Java lance.j...@googlemail.com wrote: I've also extended any to make new components. I'm really not following you . . . -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: Tapestry App Not booting right - dependency tree help

2014-03-01 Thread Thiago H de Paula Figueiredo
time: 3.647s [INFO] Finished at: Sat Mar 01 09:16:34 EST 2014 [INFO] Final Memory: 12M/29M [INFO] -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant

Re: How to pass a javascript function in tapestry mixin

2014-02-26 Thread Thiago H de Paula Figueiredo
thinks this is a bug and can it be fixed. Thanks for the help and please if you have any idea how to avoid passing the function (that doesn't involve overwriting existing files) I will be happy to try it out. Cheers On Tue, Feb 25, 2014 at 3:10 AM, Thiago H de Paula Figueiredo thiag...@gmail.com

Re: How to pass a javascript function in tapestry mixin

2014-02-26 Thread Thiago H de Paula Figueiredo
on the server side. -- 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: Why is using Tapestry a Filter instead of a Servlet

2014-02-26 Thread Thiago H de Paula Figueiredo
would be to control access to images (or any other URL) located in the webapp context. You can do that in Tapestry even if the files are served by the servlet container itself. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br

Re: beaneditor for complex object

2014-02-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

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