Re: My little problem with Tap listing

2012-09-17 Thread mailingl...@j-b-s.de
I gues you want to use the foreign key pointing from comment to blog, but you are using the "id" (autoinc pk of comment?) instead. session.createCriteria(Comment.class).add(Restrictions.eq("id",blog)).list(); return l; Jens Sent from my iPhone On 18.09.2012, at 03:02, Taha Siddiqi wrote: >

Re: Problem with tapestry ajax window refresh

2012-09-17 Thread Waleriy
Thank you. That solution works. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Problem-with-tapestry-ajax-window-refresh-tp5716360p5716369.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: How to display images in grid view

2012-09-17 Thread Anbazhagan
Thanks for your reply. Now I am using tapestry loop, & css styles to display those images in that style. However in the mean time I am looking for any built-in component in tapestry, Where I would like to give the rows count & columns count & it will generate the structure like that. Is there any

Re: Problem with tapestry ajax window refresh

2012-09-17 Thread Bob Harner
Sorry, that should be target="_blank", not _new On Mon, Sep 17, 2012 at 9:38 PM, Bob Harner wrote: > The solution I have used is to have the download occur in a separate > window (via a target="_new" attribute on the form (if it's a button) > or the link if it's a link). Not elegant, but it works

Re: Problem with tapestry ajax window refresh

2012-09-17 Thread Bob Harner
The solution I have used is to have the download occur in a separate window (via a target="_new" attribute on the form (if it's a button) or the link if it's a link). Not elegant, but it works. On Mon, Sep 17, 2012 at 1:01 PM, Waleriy wrote: > Hello, everebody! I have a problem with tapestry zone

Re: My little problem with Tap listing

2012-09-17 Thread Taha Siddiqi
Should Restrictions.eq("id",blog) be Restrictions.eq("blog",blog) Also I would use blog as activation context in the second page. @Persist should be avoided if possible. On Sep 15, 2012, at 9:57 PM, JeffersON wrote: > Restrictions.eq("id",blog)

My little problem with Tap listing

2012-09-17 Thread JeffersON
OK, I have quite complicated situation here. I have made one component for listing all my blogs, and in that component I have made one specific method for redirecting user to a BlogFullPage @InjectPage private BlogFullPage fullBlogPage; //code trimmed @CommitAfter public String onActionFromBlog

Re: [5.3.5] Javassist not included in the downloaded binaries archive

2012-09-17 Thread Howard Lewis Ship
On Sun, Sep 16, 2012 at 6:08 AM, Thiago H de Paula Figueiredo wrote: > On Sun, 16 Sep 2012 09:50:22 -0300, Muhammad Gelbana > wrote: > >> I'm manually dropping tapestry's IoC jars to an application but I faced an >> exception mentioning a Javassist class not found in the class path so I >> manual

Problem with tapestry ajax window refresh

2012-09-17 Thread Waleriy
Hello, everebody! I have a problem with tapestry zone update! There is a zone in modal window and there is a button in the window. When user clicks the button, zone in the window must be updated. And most of times it works well, but if there is a download button on the same page, then after down

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2012 12:40:50 -0300, Muhammad Gelbana wrote: Why don't you just @Inject your SymbolProvider implementation in the place you need the mutable configurations and use it directly instead of using SymbolSource? You are talking about injecting a service and calling it's method

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Lance Java
Have you understood that: 1. @Symbol annotations are resolved by the SymbolSource. This resolution can only happen AFTER the SymbolSource service has been instantiated 2. Any SymbolProvider contributed to the SymbolSource will be created before the SymbolSource Are you running into a "chicken or t

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Muhammad Gelbana
> > Why don't you just @Inject your SymbolProvider implementation in the place > you need the mutable configurations and use it directly instead of using > SymbolSource? You are talking about injecting a service and calling it's methods for values, correct ? Anyway, I guess I don't have another op

Re: @Inject Error

2012-09-17 Thread Diego Barreto
Thanks for all, I was just confusing about the Module class and how I could map my interfaces, abstract classes and implementations. After many changes, it works. Diego Barreto 2012/9/15 Thiago H de Paula Figueiredo > On Sat, 15 Sep 2012 04:51:43 -0300, Muhammad Gelbana > wrote: > > I'm so

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2012 09:06:53 -0300, Muhammad Gelbana wrote: Ok this is a problem now since I did a mistake by *assuming* that the value is being fetched from the provider *whenever* it's referenced and this is allover my application now. Is there a way to override the caching mechanism f

Re: How to display images in grid view

2012-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2012 09:55:54 -0300, Anbazhagan wrote: Get the image through url hitting - I just mentioned here about my image retrieval process (Here I got the images to be displayed from json url & parsed that), Please kindly skip that. All I need is to display the images like that above m

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Thiago H de Paula Figueiredo
On Mon, 17 Sep 2012 09:11:31 -0300, Muhammad Gelbana wrote: Thank you but is there a way to override that for my providers only ? No, not partially nor for SymbolSource as a whole. SymbolSource was always about immutable stuff and that will never change. If you want something like Symbo

Re: How to display images in grid view

2012-09-17 Thread Anbazhagan
Get the image through url hitting - I just mentioned here about my image retrieval process (Here I got the images to be displayed from json url & parsed that), Please kindly skip that. All I need is to display the images like that above mentioned view, Is there any tapestry component to achieve t

Re: How to display images in grid view

2012-09-17 Thread Muhammad Gelbana
What do you mean by "Get the images through url hitting" ? On Mon, Sep 17, 2012 at 2:25 PM, Anbazhagan wrote: > Hi, > > I want to display images(Get the images through url hitting) in grid view. > I > have tried grid component but it display all the details from the url in > the > table format. B

How to display images in grid view

2012-09-17 Thread Anbazhagan
Hi, I want to display images(Get the images through url hitting) in grid view. I have tried grid component but it display all the details from the url in the table format. But i want to display only images images in grid view. image1 image2 image3 image4

Re: [5.3.5] Manually building tapestry's registry loads only the main module

2012-09-17 Thread Muhammad Gelbana
> > What's the error? Stack trace? Non tapestry errors. Just errors indicating that symbols couldn't be resolved but that was because my modules with the symbol providers weren't loaded. you need to call the IOCUtilities.**addDefaultModules Yup, that did the trick. Thank you :) On Mon, Sep 17,

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Muhammad Gelbana
Ok this is a problem now since I did a mistake by *assuming* that the value is being fetched from the provider *whenever* it's referenced and this is allover my application now. Is there a way to override the caching mechanism for my own *SymbolProviders * only ? Also would someone please mention

Re: Confirm mixin with form validation errors

2012-09-17 Thread Ray Nicholus
You should be using the on function instead of bind, in jquery 1.7+ On Sep 17, 2012 5:41 AM, "Taha Siddiqi" wrote: > Hi > > You are using tapestry-jquery and trying to access a prototype library > method. Try bind instead of observe > > regards > Taha > > On Sep 17, 2012, at 4:00 PM, ZKN __ wrote

Re: [5.3.5] Manually building tapestry's registry loads only the main module

2012-09-17 Thread Thiago H de Paula Figueiredo
On Sun, 16 Sep 2012 13:59:12 -0300, Muhammad Gelbana wrote: In this environment, If I start my application with the highlighted statements commented as they are, the commented modules wont start although they are in the classpath. What's the error? Stack trace? What did I miss here ? Ass

Re: Confirm mixin with form validation errors

2012-09-17 Thread ZKN __
Thank you guys. With your help now it's working. If anyone is interested here is my final version (including code for confirmation): var Confirm = Class.create(); Confirm.prototype = { initialize: function(element, message) { console.log("initialize -> " + elem

RE: Ajax Upload for Tapestry

2012-09-17 Thread Amr Mohamed Mahmoud Hassanien
Thanks Ray... Actually as the component is not working on IE8, I tried to merge the code also but it did not work,I decided to replace the client component with Yahoo uploader... I just have a problem trying to figure out how the control on presentation(*.tml) sends the values to the a prope

Re: Confirm mixin with form validation errors

2012-09-17 Thread Taha Siddiqi
Hi You are using tapestry-jquery and trying to access a prototype library method. Try bind instead of observe regards Taha On Sep 17, 2012, at 4:00 PM, ZKN __ wrote: > > Thank you! > I tried to implement this but not much success for now. I'm not really good > at js and jQuery so perhaps I'

Re: Confirm mixin with form validation errors

2012-09-17 Thread ZKN __
Thank you! I tried to implement this but not much success for now. I'm not really good at js and jQuery so perhaps I'm doing something wrong. Here is my code initialize: function(element) { var el = $(element); var form = jQuery(el).closest("form"); form.observe(Ta

Re: [5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Lance Java
Symbols can not change after the app has been initialized. If you need a dynamic property, you will need to provide your own mechanism to handle this. -- View this message in context: http://tapestry.1045711.n5.nabble.com/5-3-5-Reference-to-injected-symbols-from-POJOs-tp5716339p5716340.html Sen

[5.3.5] Reference to injected symbols from POJOs

2012-09-17 Thread Muhammad Gelbana
Just to paraphrase, *whenever* the symbol is referenced, it's looked up from the SymbolProvider and not cached by service using the symbol or any tapestry service, correct ? (I hope and think the answer is Yes) Now assume a service with injected symbols (Most commonly immutable objects like String