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

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()

RE: PageURL rewriting deprecated

2013-06-17 Thread Nomen Nomanum
doing. On Mon, Jun 17, 2013 at 11:32 AM, Nomen Nomanum getibi...@outlook.comwrote: 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

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

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

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

RE: Resolving PersistentClass instances mapping to the same entity

2013-06-17 Thread Nomen Nomanum
, Nomen Nomanum getibi...@outlook.comwrote: 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

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

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

RE: Adding tapestry project to Cpanel

2013-06-15 Thread Nomen Nomanum
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 getibi...@outlook.com wrote: Hi. I have finished my first app, I am s happy and now I am

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 t:if test=outcome div id=Outcomet:actionlink

RE: Contains a child component with id

2013-06-12 Thread Nomen Nomanum
can then have the same event. On 12 Jun 2013 15:29, Nomen Nomanum getibi...@outlook.com wrote: Hi! I have implemented following scenario: based on the following result public boolean getOutcome(){ return article.getOutcomevalue() == 1; } public Article getArticleSpecific

RE: PageURL Rewriting, pulling name instead of id

2013-06-11 Thread Nomen Nomanum
: 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 getibi...@outlook.com wrote: #Thiago Yes, that would work in the case where I want something like localhost:8080

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

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

RE: PageURL Rewriting, pulling name instead of id

2013-06-10 Thread Nomen Nomanum
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 getibi...@outlook.com wrote: Hi. I have an issue with the following: Lets say I click on my article, and it directs me to that specific page

RE: One possible bug with image showing

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

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: 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! :)

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

RE: Boosting TapJQuery GMap3

2013-05-31 Thread Nomen Nomanum
/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 getibi...@outlook.com Hi! I have implemented TapJQuery GMap3, and it works just fine

RE: Pulling different description for image based on choosen language

2013-05-30 Thread Nomen Nomanum
, 2013 at 3:56 AM, Nomen Nomanum getibi...@outlook.comwrote: 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

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
Thank you! :) I have solved even this issue. Now, lets get something more challenging! :)

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.

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: 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

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

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? t:actionlink

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:

RE: Image can't be seen inside a zone

2013-05-27 Thread Nomen Nomanum
...@gmail.com On Sun, 26 May 2013 12:52:12 -0300, Nomen Nomanum getibi...@outlook.com 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 show the images to the user, however set of images from one

RE: Image can't be seen inside a zone

2013-05-27 Thread Nomen Nomanum
:12 -0300, Nomen Nomanum getibi...@outlook.com 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 show the images to the user, however set of images from one article is displayed, and from

RE: Image can't be seen inside a zone

2013-05-26 Thread Nomen Nomanum
On Thu, 23 May 2013 06:17:35 -0300, Nomen Nomanum getibi...@outlook.com 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 same code I have applied already on other spot

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.

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:

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: 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 dmitry.gu...@gmail.com wrote: Hi, Hi! Hi! ^^ just curious if

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

2013-05-21 Thread Nomen Nomanum
@tapestry.apache.org On Tue, May 21, 2013 at 5:57 PM, Nomen Nomanum getibi...@outlook.comwrote: 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

RE: FormFragment checkbox not working

2013-05-21 Thread Nomen Nomanum
Here is the code to see how this could be achieve t:actionlink t:id=first h2dgdgdgdg/h2 /t:actionlink t:actionlink t:id=second !--or in your case put here checker trigger-- h2fsfsf/h2 /t:actionlink t:zone t:id=zone t:delegate to=choosenOne/ t:block id=firstdgdgde/t:block

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: 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

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?

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.

RE: Adding search service in Tapestry app

2013-05-18 Thread Nomen Nomanum
{ return Search.getFullTextSession(sessionManager.getSession()); } On 18 May 2013 21:05, Nomen Nomanum getibi...@outlook.com wrote: 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

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?

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
: horvat.z.bo...@gmail.com Date: Fri, 17 May 2013 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

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
want to use delegates and blocks? That is what they are there for...You could use t:if On Fri, May 17, 2013 at 10:33 PM, Nomen Nomanum getibi...@outlook.comwrote: Hmm... well, what troubles me is this scenario: Suppose in my tml I have t:zone div class=1/div div class=2/div

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
/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 getibi...@outlook.comwrote: Great! That's the answer I have been waiting for. But how my t:if could know

RE: Restarting rendereing block once you get back to page

2013-05-17 Thread Nomen Nomanum
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 getibi...@outlook.comwrote: I have implemented some zone with delegate and blocks on some web page. Now when I go to another page