Re: markup question...

2012-10-24 Thread Peter Wendorff
Am 25.10.2012 05:13, schrieb Ken in Nashua: Folks, Ok I implement an if component. And upon condition I render some markup... ESCAPE IT...? CALL JAVA METHOD...? SPECIFY DIRECT MARKUP ? i tried each... This would

Why variable do not update in a text field

2012-10-24 Thread dinesh707
following are my code parts. So when some one and a mp3URL to some text area, system will send a ajax request to " onMp3UrlChanged()". Then it will get the title and set that value into "songName" and refresh the zone. IT WORKS!. But my problem is later when i change the text in the TextField and c

RE: markup question...

2012-10-24 Thread Ken in Nashua
This is producing better results...

RE: markup question...

2012-10-24 Thread Ken in Nashua
My table structure should be able to be modeled as such without having to be chased by exceptions that tell me I am failing to terminate.

RE: markup question...

2012-10-24 Thread Ken in Nashua
If I try to instrument my own markup I get chased down by exceptions stating that I have failed to terminate my tags... and I end up specifying place holder terminator tags to keep the exceptions quiet... while trying to render my own true instrumented tags for the functionality I want to achie

RE: markup question...

2012-10-24 Thread Ken in Nashua
I know folks suggested a format SUGGESTED INSPIRE FORMAT (but its hardwired to a single column for the whole collection) looping collection looping object properties and that works fine to render the collection and its objects and properties... for a single column but

RE: markup question...

2012-10-24 Thread Ken in Nashua
Here is whats being rendered in the page source... to give a clue as to the inoperable markup </tr><tr>

markup question...

2012-10-24 Thread Ken in Nashua
Folks, Ok I implement an if component. And upon condition I render some markup... ESCAPE IT...? CALL JAVA METHOD...? SPECIFY DIRECT MARKUP ? i tried each... or

Re: Excluding properties if 0 or null

2012-10-24 Thread o1550762
Thank you mr. Thiago on your reply. How could I do this with objects? For example if I have object and 4 parameters in it, I want to show only parameters that are not set to 0, but if are set other than that to show them? Is it possible? -- View this message in context: http://tapestry.1045711.

Re: Hibernate & springframework.security question

2012-10-24 Thread Thiago H de Paula Figueiredo
On Wed, 24 Oct 2012 22:41:01 -0200, sommeralex wrote: Hi! Hi! I know that this is more a hibernate than a tapestry question, but i am not sure if my question is really more hibernate specific, or a standard problem. This is a pure Hibernate question as far as I can see. If i am logg

Re: easiest way to update a value on a DB change?

2012-10-24 Thread Thiago H de Paula Figueiredo
On Wed, 24 Oct 2012 22:14:56 -0200, sommeralex wrote: thx - sure. forget about this ;-) :) I think there are two different issues in your scenario, none related to Tapestry: 1) Databases usually don't have any way of notifying changes to anything outside them. 2) In web development,

Hibernate & springframework.security question

2012-10-24 Thread sommeralex
Hi! I know that this is more a hibernate than a tapestry question, but i am not sure if my question is really more hibernate specific, or a standard problem. If i am logged in as User user with session x, but some values of my user get changed from the outside of a session y my User user in my s

Re: easiest way to update a value on a DB change?

2012-10-24 Thread Thiago H de Paula Figueiredo
On Wed, 24 Oct 2012 20:09:50 -0200, sommeralex wrote: Hello! Hi! I have a user class with a specific value, in my case a cash value. I am showing this cash value in a widget via ${user.cash}. If the user is logged in on the server, and the cash is changed for whatever reason, i would

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-24 Thread Alex Kotchnev
Thomas - indeed, the issue w/ tap5-jquery not evaluating the init was a pretty gnarly one. I ran into it myself, albeit in a somewhat different context (and unfortunately it didn't ring a bell when I looked at your questions). Just as a side note, seeing the flurry of your own responses, sometimes

Re: Excluding properties if 0 or null

2012-10-24 Thread Thiago H de Paula Figueiredo
On Wed, 24 Oct 2012 10:23:54 -0200, o1550762 wrote: Hi Thiago! Could you please give me some directions or part of the code so that I can start it. I was thinking to implement javascript code something like if (element.find("div" === null)) return; but then I am not sure if it will render

Re: Excluding properties if 0 or null

2012-10-24 Thread o1550762
Hi Thiago! Could you please give me some directions or part of the code so that I can start it. I was thinking to implement javascript code something like if (element.find("div" === null)) return; but then I am not sure if it will render only non null values. So, if I choose to omit some field on p

Re: Problem in Validation using regexp

2012-10-24 Thread dinesh707
index.properties --> Index.properties This fixed the problem. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-in-Validation-using-regexp-tp5717198p5717199.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Problem in Validation using regexp

2012-10-24 Thread dinesh707
following are my code pars. What am i doing wrong ??---index.tml--index.java---@Persist @Propertyprivate String lyricsUrl;@InjectComponent(value="lyricsUrl")private TextField lyricsUrlField;---index.properties---lyricsurl-regexp=\\d{4}(\\-?\\d{4}){3}---Error---ender queue error in BeginRender[I

Re: [T5.3]Zone parameter of a form null after ajax rendering?

2012-10-24 Thread Thomas Cucchietti
For information, with the help of people from the tapestry-jquery module, the bug has been found. It was located in the addScripts method of tapestry-jquery.js (v3.3.0) : the server reply "inits" wasn't executed. To resolve it, you can use tapestry-jquery v3.3.3. 2012/10/23 Thomas Cucchietti >