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:
>
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.
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
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
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
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)
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
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
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
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
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
>
> 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
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
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
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
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
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
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
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
>
> 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,
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
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
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
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
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
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'
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
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
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
29 matches
Mail list logo