RE: Resolving PersistentClass instances mapping to the same entity

2013-06-18 Thread Nomen Nomanum
Great proposal, @Lava! :) But for that method MappedConfiguration.override(...) I will have to include TypeCoercion so that Tapestry exactly knows how to handle with the following String --> long ( my entity Article has it's @Id positioned on id field, so HibernateModule.contributeValueEncoderSo

RE: Resolving PersistentClass instances mapping to the same entity

2013-06-17 Thread Nomen Nomanum
27;t provide your own ones. > > > On Mon, Jun 17, 2013 at 10:42 PM, Nomen Nomanum wrote: > > > Hi. :) > > I have following case: > > Article > > - - > > - - > > Fruits Vegetables > > > &

Resolving PersistentClass instances mapping to the same entity

2013-06-17 Thread Nomen Nomanum
Hi. :) I have following case: Article - - - - Fruits Vegetables Fruits and Vegetables inherits Article, and both Fruits and Vegetables have same DiscriminatorValue. Now when I try to do some ValueEncoder magic like in following public class Ar

RE: PageURL rewriting deprecated

2013-06-17 Thread Nomen Nomanum
Also, I plead You to explain me in text of course( not by source code ), if You can step by step how to change following: localhost:8080/MyApp/MyPage1/1 to just localhost:8080/MyApp/1 How to delete MyPage1 context from link url and to leave only localhost:8080/MyApp/1

RE: PageURL rewriting deprecated

2013-06-17 Thread Nomen Nomanum
You are master, master of knowledge, giving help thousands of people here who strive for it, so don't be modest. Your words expose to us new light how things function in a best possible way. For instance, without you I nor my fellows wouldn't know this: This first level (the context/webapp nam

RE: PageURL rewriting deprecated

2013-06-17 Thread Nomen Nomanum
stry)? Anyway, your logic seems wrong, indicating you don't know yet > what you're doing. > > > On Mon, Jun 17, 2013 at 11:32 AM, Nomen Nomanum wrote: > > > Your module is great, @Thiago, however it seems to me I can't setup the > > following scenario:

RE: PageURL rewriting deprecated

2013-06-17 Thread Nomen Nomanum
Your module is great, @Thiago, however it seems to me I can't setup the following scenario: Substring everything before second /, ie localhost:8080/X/Y/Z/ where X stands for app name. I have tried the following, but it won't work. URLRewriterRule rule1 = new URLRewriterRule() {

PageURL rewriting deprecated

2013-06-16 Thread Nomen Nomanum
Hi. I am using latest version of Tap, and in it URL rewriting module is deprecated. What troubles me is why is it deprecated, any particular reason for it, or just because there are many others modules which contribute to that part more optimal like Apaches mod, Tuckey etc... Also, if you had a

RE: Adding tapestry project to Cpanel

2013-06-15 Thread Nomen Nomanum
earch of this list will turn up some options, people were talking about > this within the last couple of months. I have an app running within Jetty > as a custom app on Webfaction. > > > On 15 June 2013 11:00, Nomen Nomanum wrote: > > > Hi. > > I have finished my fir

Adding tapestry project to Cpanel

2013-06-15 Thread Nomen Nomanum
Hi. I have finished my first app, I am s happy and now I am in dilemma how and where to deploy it on the web. I have bought some server, and I thought to implement it in Cpanel, although it can get nasty while setup, not to mention Cpanel might not work around mydomain.com/8080:myApp problem

RE: Contains a child component with id

2013-06-12 Thread Nomen Nomanum
e deprecated actionlink. Both links can then > have the same event. > On 12 Jun 2013 15:29, "Nomen Nomanum" wrote: > > > Hi! I have implemented following scenario: > > > > based on the following result > > > > public boolean getOutcom

Contains a child component with id

2013-06-12 Thread Nomen Nomanum
Hi! I have implemented following scenario: based on the following result public boolean getOutcome(){ return article.getOutcomevalue() == 1; } public Article getArticleSpecific(){ return article; } to render my page However, it complains "... contains a child component wi

Localization issue

2013-06-11 Thread Nomen Nomanum
I have made localization for english, bulgarian, serbian and spanish language, and it all worked fine on my laptop which uses Spanish as default, however, once I have deployed my app to another PC, which has English as root language, I am encountiring following issue: -I have set my property fil

RE: PageURL Rewriting, pulling name instead of id

2013-06-11 Thread Nomen Nomanum
org > Subject: Re: PageURL Rewriting, pulling name instead of id > Date: Tue, 11 Jun 2013 09:00:28 -0300 > From: thiag...@gmail.com > > On Mon, 10 Jun 2013 19:56:06 -0300, Nomen Nomanum > wrote: > > > #Thiago > > Yes, that would work in the case where I want som

RE: PageURL Rewriting, pulling name instead of id

2013-06-10 Thread Nomen Nomanum
23:38, "Thiago H de Paula Figueiredo" > wrote: > > > Just use the name of the article as the page activation context instead. No > > URL rewriting needed. > > > > On Mon, 10 Jun 2013 17:59:42 -0300, Nomen Nomanum > > wrote: > > > >&

PageURL Rewriting, pulling name instead of id

2013-06-10 Thread Nomen Nomanum
Hi. I have an issue with the following: Lets say I click on my article, and it directs me to that specific page localhost:8080/FullArticle/3 where 3 denotes id of article, however I don't want, what I want is to be something like localhost:8080/FullArticle/NameOfArticle or even better local

RE: How to know what language is on

2013-06-07 Thread Nomen Nomanum
Hi Thiago! :) I have solved my issue, minutes after posting here. I have got an idea to use Locale instead PersistLocale, and it worked like a charm! :)

How to know what language is on

2013-06-07 Thread Nomen Nomanum
I am trying to test something by testing in what language is current page with following: public boolean getEnglishVersionOfDescription() { if ("en".equalsIgnoreCase(persistentLocale.get().getLanguage())) { return true; } else { return false; } }

RE: One possible bug with image showing

2013-06-07 Thread Nomen Nomanum
Thank, both of, you very much! :)

One possible bug with image showing

2013-06-06 Thread Nomen Nomanum
Hi. I have following in css file something like following .displayingBackground{ background-image:url('../graphics/SectionForGifs/myImage.gif'); } and it's OK, it shows just fine in following segments www.mySite.com/thisPage www.mySite.com/thatPage www.mySite.com/* * where denotes any

RE: Boosting TapJQuery GMap3

2013-05-31 Thread Nomen Nomanum
-jquery-jqgrid/blob/master/src/test/java/org/got5/tapestry5/jquery/jqgrid/test/pages/BASIC_ColumnChooser.java > https://github.com/got5/tapestry5-jquery-jqgrid/blob/master/src/test/jquery/jqgrid/webapp/static/js/demo.js > > Manu > > > 2013/5/31 Nomen Nomanum > > > Hi

Boosting TapJQuery GMap3

2013-05-30 Thread Nomen Nomanum
Hi! I have implemented TapJQuery GMap3, and it works just fine. However, I would like to be more or less like the example on Gmap3 page, http://gmap3.net/en/pages/19-demo/ . How to achieve this, any tips, anything? Thanks in advance.

RE: Pulling different description for image based on choosen language

2013-05-30 Thread Nomen Nomanum
Thank you! :) I have solved even this issue. Now, lets get something more challenging! :)

RE: Pulling different description for image based on choosen language

2013-05-30 Thread Nomen Nomanum
OK, one more question concerns me. Do I have to put jquery.js in head or in java class, once I get Tapestry-JQuery downloaded in my project?

RE: Pulling different description for image based on choosen language

2013-05-30 Thread Nomen Nomanum
art it on Jetty? > > Cheer > > > On Thu, May 30, 2013 at 3:56 AM, Nomen Nomanum wrote: > > > Great proposal, Horvat! :) Will do exactly that. However, one more concern > > is on my mind right now. I have included Tap-JQuery library, and everything > > is fi

RE: 5.4-alpha-4 preview release

2013-05-29 Thread Nomen Nomanum
Sorry, it took me ages before I could retrieve this mail to see new posts and reply. What I meant by dual modding is the ability for any Tapestry user to use whatever JS framework he or she likes. There were rumours that in Tap5.4 Prototype will be once and for all put out of focus, and Prototyp

RE: Pulling different description for image based on choosen language

2013-05-29 Thread Nomen Nomanum
Great proposal, Horvat! :) Will do exactly that. However, one more concern is on my mind right now. I have included Tap-JQuery library, and everything is fine, until I load it! My app can't even be deployed, from the Tomcat logs, I can see it keeps complaining about 30.05.2013 14:32:46 org.apa

Pulling different description for image based on choosen language

2013-05-29 Thread Nomen Nomanum
Hi! I want to implement for my app processing of different description for my image based on choosen language. So, if user chooses Spanish, only Spanish description for my image should be rendered. Thanks in advance.

RE: 5.4-alpha-4 preview release

2013-05-28 Thread Nomen Nomanum
What happened to dual modding? Is it possible that Tapestry itself will figure out when prototype, jquery or some other JS library is involved, and therefore process it's parameters as scheduled from template listing? > From: kcola...@live.com > To: users@tapestry.apache.org > Subject: Re: 5.4-

Lightbox integration: Image isn't displayed

2013-05-28 Thread Nomen Nomanum
I have set up prototype lightbox modal box, and everything works fine, until I click on my t:actionlink. It pops out everything as expected, however image can't be seen. What's the reason for image isn't properly displayed?

RE: Image can't be seen inside a zone

2013-05-27 Thread Nomen Nomanum
Subject: Re: Image can't be seen inside a zone > > Date: Mon, 27 May 2013 09:27:36 -0300 > > From: thiag...@gmail.com > > > > On Sun, 26 May 2013 12:52:12 -0300, Nomen Nomanum > > wrote: > > > > > Ok, this behavior is very strange to me now. I have stored

RE: Image can't be seen inside a zone

2013-05-27 Thread Nomen Nomanum
Mon, 27 May 2013 09:27:36 -0300 > From: thiag...@gmail.com > > On Sun, 26 May 2013 12:52:12 -0300, Nomen Nomanum > wrote: > > > Ok, this behavior is very strange to me now. I have stored key location > > of my file in db, and it is being pulled via getImages to

RE: Image can't be seen inside a zone

2013-05-26 Thread Nomen Nomanum
-0300 > From: thiag...@gmail.com > > On Thu, 23 May 2013 06:17:35 -0300, Nomen Nomanum > wrote: > > > I have images listing wrapped inside a zone, however I am unable to see > > them. What may cause such behavior? From the code itself, everything is > > OK, since the sa

Tawus AjaxUpload can't be built.

2013-05-23 Thread Nomen Nomanum
Hi! I want to implement in my app mr. Siddiqi AjaxUpload library, however I can't do so cause I am constantly getting this error: Dynamic properties are deprecated: http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html Deprecated dynamic property: "tapestryVersi

Image can't be seen inside a zone

2013-05-23 Thread Nomen Nomanum
I have images listing wrapped inside a zone, however I am unable to see them. What may cause such behavior? From the code itself, everything is OK, since the same code I have applied already on other spot, and it works great.

RE: FormFragment checkbox not working

2013-05-21 Thread Nomen Nomanum
Here is the code to see how this could be achieve dgdgdgdg fsfsf dgdgde gdgdgd @InjectComponent private Zone zone; @Persist(PersistenceConstants.FLASH)// will keep your data consistent during just one page life cycle. private boolean first,second;

RE: Is there will be any Tapestry5 + AngularJS integration?

2013-05-21 Thread Nomen Nomanum
n? > To: users@tapestry.apache.org > > On Tue, May 21, 2013 at 5:57 PM, Nomen Nomanum wrote: > > > > To: users@tapestry.apache.org > > > Subject: Re: Is there will be any Tapestry5 + AngularJS integration? > > > Date: Tue, 21 May 2013 10:41:20 -0300 > > &g

RE: Is there will be any Tapestry5 + AngularJS integration?

2013-05-21 Thread Nomen Nomanum
> To: users@tapestry.apache.org > Subject: Re: Is there will be any Tapestry5 + AngularJS integration? > Date: Tue, 21 May 2013 10:41:20 -0300 > From: thiag...@gmail.com > > On Tue, 21 May 2013 09:56:53 -0300, Dmitry Gusev > wrote: > > > Hi, > > Hi! > > Hi! ^^ > > just curious if there is

RE: FormFragment checkbox not working

2013-05-21 Thread Nomen Nomanum
OK, remove completely annotation @Persist, since you don't need it, if you want that behavior.

RE: FormFragment checkbox not working

2013-05-19 Thread Nomen Nomanum
Try adding @Persist(PersistenceConstant.FLASH) to your renew and see how would it behave. From: getibi...@outlook.com To: users@tapestry.apache.org Subject: RE: FormFragment checkbox not working Date: Sun, 19 May 2013 20:53:42 +0100 Pozdrav Nikola! Could you be more specific about what troub

RE: FormFragment checkbox not working

2013-05-19 Thread Nomen Nomanum
Pozdrav Nikola! Could you be more specific about what troubles you? From the code, it looks more-less just fine. What is it supposed to do? Date: Sun, 19 May 2013 17:28:02 +0200 Subject: Re: FormFragment checkbox not working From: nivuk...@gmail.com To: users@tapestry.apache.org tml file

RE: Adding search service in Tapestry app

2013-05-18 Thread Nomen Nomanum
buildFullTextSession(HibernateSessionManager > sessionManager { >return Search.getFullTextSession(sessionManager.getSession()); > } > > > > On 18 May 2013 21:05, Nomen Nomanum wrote: > > > Hi. I am about to implement Hibernate Search +Lucene service in my Tap. Is &

Adding search service in Tapestry app

2013-05-18 Thread Nomen Nomanum
Hi. I am about to implement Hibernate Search +Lucene service in my Tap. Is there anything I should get in concern before doing it? How to wrap/decorate that service? And how could I make service to be injected? Thanks in reply.

Zone and content changment

2013-05-18 Thread Nomen Nomanum
I want to implement a scenario where based on clicked actionlink, zone updates it's content. Lets say I have stored some divs inside that zone, and I need trigger, videlicit checker to see what div to render. How to achieve this behavior?

RE: Restarting rendereing block once you get back to page

2013-05-17 Thread Nomen Nomanum
rsist annotation on the filed that controls what > block will be displayed. Remove it and that way the users selection wont be > remembered > > > On Sat, May 18, 2013 at 1:10 AM, Nomen Nomanum wrote: > > > I have implemented some zone with delegate and blocks on some web pa

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
tp://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Delegate.html > > I usually keep an enum field and then return the appropriate block given > that value. > > Cheers > > > > > On Fri, May 17, 2013 at 10:58 PM, Nomen Nomanum wrote: > &

Restarting rendereing block once you get back to page

2013-05-17 Thread Nomen Nomanum
I have implemented some zone with delegate and blocks on some web page. Now when I go to another page, and come back to the previous, it shows the last block from previous "session", but I don't want that to happen. How can I implement to restart rendering of the blocks from previous session?

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
vat.z.bo...@gmail.com > Date: Fri, 17 May 2013 22:35:26 +0200 > Subject: Re: Zone and content changment > To: users@tapestry.apache.org > > And why dont you want to use delegates and blocks? That is what they are > there for...You could use > > > On Fri, May 17, 20

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
013 21:58:32 +0200 > Subject: Re: Zone and content changment > To: users@tapestry.apache.org > > Generic question requires a generic answer :) > > Start from here http://tapestry.apache.org/ajax-and-zones.html > > > On Fri, May 17, 2013 at 9:49 PM, Nomen Nomanum wr

Zone and content changment

2013-05-17 Thread Nomen Nomanum
I want to implement a scenario where based on clicked actionlink, zone updates it's content. Lets say I have stored some divs inside that zone, and I need trigger, videlicit, checker to see what div to render. How to achieve this behavior?