Re: Tapestry use both Jquery and Prototype

2013-03-15 Thread bhorvat
Like I mention some other pages are throwing other errors. TypeError: Cannot call method 'configure' of undefined [http://localhost:8080/assets/3e94218d4f262b02/core/scriptaculous_1_9_0/prototype.js:828] This one comes from the cometd plugin as it uses jquery I would expect. TypeError: Cannot

Re: Tapestry use both Jquery and Prototype

2013-03-15 Thread bhorvat
My desire is to include prototype since I want to use cheditor mixin and it relays on prototype. For everything else I want to use jquery. I have only added 2 lines as per instructions and for some reason something is breaking. Versions are 5.3.6 and jquery 3.3.5 -- View this message in contex

Re: Tapestry use both Jquery and Prototype

2013-03-15 Thread bhorvat
The error is TypeError: Cannot call method 'bind' of null [http://localhost:8080:72] I just explained instead of also writing the error in question, my bad. The last lines are part of what ever tapestry has initialized and it looks like it didnt use the alias. Also on other pages I am getting

Tapestry use both Jquery and Prototype

2013-03-15 Thread bhorvat
As per instructions on the tapestry-jquery plugin I have tried to add configuration.add(JQuerySymbolConstants.SUPPRESS_PROTOTYPE, "false"); after this application would throw an error sayting that I need to setup jquery alias (the instruction say it will be use some default value). So I added co

Re: Best generic way to use zones

2013-03-05 Thread bhorvat
Ok that explains a bit better. Then I will proceed with my code. Thanks sody you have been very helpfully All the best Cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Best-generic-way-to-use-zones-tp5720333p5720362.html Sent from the Tapestry - User mailing list

Best generic way to use zones

2013-03-04 Thread bhorvat
Hi all, I have a question about what should be the best approach to use zone in somewhat generic way. Basically I have something like this private void refreshAjaxZones(Zone... zone) { for (Zone tempZone : zone) { ajaxResponseRenderer.addRender(tempZone); }

Checking if user has left the page or refreshed it

2013-03-04 Thread bhorvat
Is there any way to check if the user has just refreshed a page (in this case I would like to keep all of the fields persistent) or if it has come to the page from some other place (in this case I want to have a clear start). Basically I have some checkboxes that I want to keep in memory what has

Re: NPE in Tree when I dont have any data

2013-03-01 Thread bhorvat
I have manged to fix this problem partially. It turns out that my getChildlren methods where hard coded to return true/false. This in turn triggered a NPE. It seems that if we getChildren method returns true it means that there has to be some data so not even empty list will work. Creating Defau

Re: NPE in Tree when I dont have any data

2013-03-01 Thread bhorvat
I guess it cant hurt to show you my root class just to see that I really am not returning a null for the list public class AssetGroupRootValueWrapper implements ValueWrapper { private List children; public AssetGroupRootValueWrapper(List assetGroups) { children = new LinkedList

Re: NPE in Tree when I dont have any data

2013-03-01 Thread bhorvat
Hi, I would say that this is a bug as the NPE is thrown deep under the code. I have something like a categories and items under that. If I have a categories that dont have any items or if I dont have any categories this exception is thrown. I call the code as follows public TreeModel get

NPE in Tree when I dont have any data

2013-02-28 Thread bhorvat
Hi all, I have a a tree in my page and when I dont have any data Tree component throws a NPE. Is this intentional or am I somehow implementing/using the component in a bad way? java.lang.NullPointerException Filter stack frames Stack trace org.apache.tapestry5.corelib.components.Tree$3.render(Tr

Re: Mixng cant find zone parameter

2013-02-28 Thread bhorvat
I see. Year your suggestion works like a charm. thanks a million :) cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Mixng-cant-find-zone-parameter-tp5720157p5720288.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Tapestry Tree (jquery)

2013-02-25 Thread bhorvat
Hi Nicolas, Yea I see that event but sadly it isn't propagated to me. I am not sure if it is possible to change this behaviour using mixin? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Tree-jquery-tp5720196p5720221.html Sent from the Tapestry - User mailing l

Re: Tapestry Tree (jquery)

2013-02-25 Thread bhorvat
The way I see it jumpstart is using the normal tree component from tapestry and even though that one has the event that I need it does not bubble up so I can handle it :( any way to include a mixin that will change the way component is handling the original event? -- View this message in contex

Re: Mixng cant find zone parameter

2013-02-25 Thread bhorvat
Nope removing normal id breaks the ajax. Here is how my code looks like public String getZoneFilterTypeId() { return zoneFilterType.getClientId();// return "z

Tapestry Tree (jquery)

2013-02-24 Thread bhorvat
Any idea how I can trigger an event when someone expends a node on the tree? Can I create mixin for this and if so what can I use it to 'override'? I have looked at the component description but I couldnt find anything to help me with this? I would like to refresh some data due to hibernate lazy

Re: Mixng cant find zone parameter

2013-02-24 Thread bhorvat
Hi sody, Thanks for your info. I have managed to get to the same conclusion but you have explained a few problems that I was having :) 1) I found some old mail treads so I managed to figure this part on my own. However I prefer your solution but for some reason it isnt really working. For some re

Re: Mixng cant find zone parameter

2013-02-23 Thread bhorvat
So I think that both of my problem are related to the fact that zone is not properly generated. It seems that regardless of the number of times I press + it always add the zone with the original name. The html code show that the id genreated is original_someRandomNumber while in the code I see th

Re: Mixng cant find zone parameter

2013-02-23 Thread bhorvat
It seems that this works but not properly. I will try to explain what I am trying to do and then someone can tell me if this is even possible. I want to be able to create using ajaxformloop an ability to add new row to the 'table' each row should have few fields that are either select or textfield

Re: Mixng cant find zone parameter

2013-02-23 Thread bhorvat
But why cant I use @BindParameter private String zone; to bind the name of the zone? I mean am I reading it wrong or should this bind the zone for me? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Mixng-cant-find-zone-parameter-tp5720157p5720180.html Sent

Mixng cant find zone parameter

2013-02-21 Thread bhorvat
the zone parameter is always null for me. call to mixing Mixing class @InjectContainer private Select component; @Inject private ComponentResources resources; @Inject private JavaScriptSupport javascriptSupport; @Parameter private String zone; @Parameter

Re: Spinner - Prototype to JQuery (ie tapestry5-jquery)

2013-02-20 Thread bhorvat
So the jquery code conversion is something I can figure out on my own but I am having hard time with this part $(document.body).on(Tapestry.TRIGGER_ZONE_UPDATE_EVENT, addAjaxOverlay); so in prototype this would return function addAjaxOverlay(event, element) { var mgr = Tapestry.findZoneManager

Re: how to send a row information in ajaxformloop

2013-02-19 Thread bhorvat
Hm...I like the approach but I am not sure how easy that is? I tried to override it but the component select doesnt expose anything to the mixin. Everything is either default, protected or private. I guess another idea would be to extend the select component with the suggested behaviour. However

Re: Spinner - Prototype to JQuery (ie tapestry5-jquery)

2013-02-18 Thread bhorvat
Problem is that I cant switch alias on prototype but I have do it on jquery and that is not the best solution :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Spinner-Prototype-to-JQuery-ie-tapestry5-jquery-tp5720077p5720087.html Sent from the Tapestry - User mailing li

Re: Spinner - Prototype to JQuery (ie tapestry5-jquery)

2013-02-18 Thread bhorvat
Yea I guess I could try to run Prototype as well. Thought I would be more happy to have only one framework if possible. Thanks for the suggestion will keep it in mind :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/Spinner-Prototype-to-JQuery-ie-tapestry5-jquery-tp57

how to send a row information in ajaxformloop

2013-02-18 Thread bhorvat
I have a ajaxformloop. The list of objects that I want to display has two fields. Both of them are enums and I want to be able to refresh the second enum when I make my selection on the first. For example Field 1 Filed 2 name is startDate before My code looks like

Spinner - Prototype to JQuery (ie tapestry5-jquery)

2013-02-18 Thread bhorvat
Probably not the best place to ask (and probably not the best question as well) but I am not that good at jquery so I have no real idea where to start. But does anyone have an idea how to covert // A script that detects when any Form is being submitted or any component issues a request involving

Re: Tapestry5-JQuery mixin jScrollPane

2013-01-11 Thread bhorvat
I dont really use anything from tapestry-jquery.js Most of the js code that is related to tapestry is something like $('#someZoneID').bind(Tapestry.ZONE_UPDATED_EVENT, function() { }); the rest is just normal js/jquery code So basically you plan to have it ready by the time tapestry.5.4 is re

Re: Reason not to use static final

2013-01-10 Thread bhorvat
Awesome then. I think that before (maybe still, but I think it has moved from that) tapestry was using some sort of page pool, so that was my concern. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reason-not-to-use-static-final-tp5719227p5719243.html Sent from t

Re: Reason not to use static final

2013-01-10 Thread bhorvat
It is not related to that. It is more of a general question, what approach should be there considering tapestry? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reason-not-to-use-static-final-tp5719227p5719241.html Sent from the Tapestry - User mailing list archive at N

Re: Tapestry5-JQuery mixin jScrollPane

2013-01-10 Thread bhorvat
sweet I will give it a try then. Any idea when will 3.3.5 be stable? Also now that I have you reading this thread, can you tell me when will tapestry-jquery adjust to the 5.4 and will this new implementation of javascript change something(I am assuming that it will). -- View this message in c

Re: Reason not to use static final

2013-01-10 Thread bhorvat
Interesting. And what would be best approach for the multiple threads accessing the same even handler? Synchronized key word, synchronized block, using Lock or Barrier or something else? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reason-not-to-use-static-final-t

Reason not to use static final

2013-01-09 Thread bhorvat
Is there any reason not to use static final something in the page classes? I want to introduce some const field that is only needed in the page class -- View this message in context: http://tapestry.1045711.n5.nabble.com/Reason-not-to-use-static-final-tp5719227.html Sent from the Tapestry - Us

Tapestry5-JQuery mixin jScrollPane

2013-01-09 Thread bhorvat
Any ideas in which version will this be included? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-JQuery-mixin-jScrollPane-tp5719224.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: [ANN] JumpStart 6.5.0 is out

2013-01-08 Thread bhorvat
By the way is jumpstart using jquer or prototype? -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-6-5-0-is-out-tp5719204p5719211.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: tapestry-yuicompressor minimization problem

2013-01-06 Thread bhorvat
I am running my code locally now and setting the production-mode flag to true. It seems that on jetty this problem is not present (my production code runs on Tomcat 7 on AWS so I think that is there it fails). However I do see some warning AssetsModule.ResourceMinimizer JavaScript compression pro

tapestry-yuicompressor minimization problem

2013-01-06 Thread bhorvat
I have recently added the tapestry-yuicompressor and my production code just went crazy. I have tracked the javascript error to the problem with the minimization. My problem was in the tapestry jquery tooltip plugin. Given below is that the yuicompressor has minimized for me and it was throwing a

Re: Tomcat deploy problem related to tapestry-cometd

2013-01-01 Thread bhorvat
Hi. Thanks for reply. I see (or better I think) that you have also replied to my question on StackOverFlow and seeing how this is not really related to tapestry I dont want to pollute the thread so I will write you there (already have). Thanks for your help -- View this message in context: htt

Tomcat deploy problem related to tapestry-cometd

2012-12-31 Thread bhorvat
I have got a following problem that I am not sure how to solve. I believe that there is some dependency incompatiblity problem, but I dont know how to check. Does anyone have any idea where to start? I am using maven to manage my dependencies. The dependancy that I think is the root of the proble

Re: FormInjector example problem

2012-12-27 Thread bhorvat
I think I have found the way to trigger the call using jquery plugin. It is using $('#injector').tapestryFormInjector("trigger"); However my next problem is how can I get the id of the FormInjector component I have tried @Component private FormInjector injectImages; String cli

FormInjector example problem

2012-12-27 Thread bhorvat
Hi all, I want to be able to use a zone to add fields in my form and from what I can tell I need to use FormInjector. However I am having hard time trying to figure how to use it. I have create a small example that I am trying to run it, before I start working on the real form. My tml is

Re: Output raw html from the method

2012-12-20 Thread bhorvat
I need to output my data to a attribute title in this case so I cannot use output component for this. I have tried that -- View this message in context: http://tapestry.1045711.n5.nabble.com/Output-raw-html-from-the-method-tp5718874p5718877.html Sent from the Tapestry - User mailing list archiv

Output raw html from the method

2012-12-20 Thread bhorvat
Hi all, I am trying to create a list of items in the tooltip. Something like Item 1 Item 2 Item 3 To do this I need to use the tooltip component in tapestry jquery and to generate my list by providing html without <>. In other words something like this Item1
Item2
Item3
In other

Re: Best way to prevent page to be accessed without context?

2012-12-16 Thread bhorvat
Dmitry Gusev wrote > +1 for HTTP 404. > > But you don't have to use StreamResponse for that, just return new > org.apache.tapestry5.services.HttpError(404, "Page Not Found"); from > onActivate. I really like this solution. Thanks Now my web.xml looks like this app org

Re: Best way to prevent page to be accessed without context?

2012-12-15 Thread bhorvat
One other question. Is it possible to return the user to the place from which it came? In other words I dont want to return it to specific place but to what ever place it came from? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Best-way-to-prevent-page-to-be-accessed-w

Re: Best way to prevent page to be accessed without context?

2012-12-15 Thread bhorvat
Thiago H de Paula Figueiredo wrote > On Fri, 14 Dec 2012 21:43:17 -0200, bhorvat < > horvat.z.boris@ > > > wrote: > >> So what would be the best way to prevent a page to be accessed without >> some context? > > Object onActivate(EventContext con

Best way to prevent page to be accessed without context?

2012-12-14 Thread bhorvat
So what would be the best way to prevent a page to be accessed without some context? I have a onActivate(Long id) method but I want to prevent users from simply accessing the page by typing the name of the page. I have tried to return false in onActiavate() method but no luck. Is the only choice

Re: Does Tapestry implements this ${id} by default ?

2012-12-04 Thread bhorvat
Hm That might be possible I do have filtering set in maven like this src/main/resources true and the component tml is under that folder. I am impressive that you have thought of that. Thanks for assistance -- Vie

Re: Does Tapestry implements this ${id} by default ?

2012-12-04 Thread bhorvat
:) I couldn't really image Tapestry being broken but I was interested in figuring out if this was some tapestry feature that I was not aware of. That being said I am not really sure whey I have made a mistake since the code is quite small and easy. Also if I rename the property form id to idd it

Re: Does Tapestry implements this ${id} by default ?

2012-12-03 Thread bhorvat
So if I understood you correctly then it should call the getId of the component that I was implementing this. However that is not the case. That method is never called and instead the application version is displayed. Here is my component bla bla blas @Inject private ComponentRes

Does Tapestry implements this ${id} by default ?

2012-12-03 Thread bhorvat
So like the title stats. Does the tapestry provides (and since when) something for the ${id} in other words the getId() method? I just noticed that my ${id} returns the version of my application like 3.0.0 instead of accessing my method @Inject private ComponentResources resource; p

Re: Adding new properties from AppModule

2012-11-21 Thread bhorvat
I will try to add a bit more content. What I am trying to do is create environments for my development, and one of the key aspect here would be the database connection. So in my hibernate.cfg.xml file I need to set hibernate.connection.url, so I would like to set it using the properties or for

Re: Adding new properties from AppModule

2012-11-20 Thread bhorvat
Ok then my question remains. How can I add new properties, is there any way to add some custom properties or should I simply use System.setPropertie... Also one other question what is the order of the model load? AppModule, ExecutionModelus, SubModules defined in AppModule? Also does it load ever

Re: Adding new properties from AppModule

2012-11-20 Thread bhorvat
hm...so what you are saying is that I should not set a property that will be used by other module, but instead copy the method into my 3 modules and make it custom for them, right? i guess the only problem that I have is code duplication -- View this message in context: http://tapestry.104571

Adding new properties from AppModule

2012-11-20 Thread bhorvat
I have a few execution environments like prod, qa, dev and such and I want to set a certain property based on that. Basically I want to set config property progrematically inside QAMode,ProdMode and DevMode @Contribute(HibernateSessionSource.class) public void addHibernateSessionSource(Ord

Re: Type Coercer for Joda Time

2012-11-12 Thread bhorvat
Cool. I learned a bit today I guess tnx for help -- View this message in context: http://tapestry.1045711.n5.nabble.com/Type-Coercer-for-Joda-Time-tp5717942p5717960.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Type Coercer for Joda Time

2012-11-12 Thread bhorvat
With a bit of testing I figured most of it out I use the coerction below to convert from Long to Local when the event is fire configuration.add(new CoercionTuple(Long.class, LocalDate.class, new Coercion() { @Override public LocalD

Re: Type Coercer for Joda Time

2012-11-12 Thread bhorvat
So I need to set the coercer for String as well. btw does tapestry (I think this is where my confusion is coming from) can do multiple coercer's at once. For example String -> Long -> Date -> JodaDate -- View this message in context: http://tapestry.1045711.n5.nabble.com/Type-Coercer-for-Joda

Re: Type Coercer for Joda Time

2012-11-12 Thread bhorvat
If I add configuration.add(new CoercionTuple(Long.class, LocalDate.class, new Coercion() { @Override public LocalDate coerce(Long input) { return new LocalDate(input); } })

Re: Type Coercer for Joda Time

2012-11-12 Thread bhorvat
It doesnt work as I get the exception Could not find a coercion from type java.lang.String to type org.joda.time.LocalDate. The problem is that what is passed into the context is the date in the format 2012-10-10 and then when that tries to convert back to the Joda Time it will break. Tapestry

Re: Type Coercer for Joda Time

2012-11-12 Thread bhorvat
Sadly no, I did use that as the template of my code. I think that what is different is that they use the date component while I use the event. But I am not sure. But still my code above doesnt work, and according to the jumbstart code it should -- View this message in context: http://tapestry.

Type Coercer for Joda Time

2012-11-12 Thread bhorvat
I would like to add Joda Time for the Type Coerection but I am not sure how. I have the following eventlink that I would like to implement Click For Week View And the method that handles this would be @OnEvent("showWeekHour") public void selectWeek(LocalDa

Re: Displaying UploadedFile in the browser

2012-10-30 Thread bhorvat
Hi Yea I have seen that demo as well, and my problem is that I need to show the image that the user has uploaded. So my question is how can I get from UploadFile something that can be visible without storing it to the hard disk and then displaying it. My idea is to keep the UploadFiles in memor

Displaying UploadedFile in the browser

2012-10-30 Thread bhorvat
Hi all, I would like to use the ajax to upload several images and once the user clicks the button he can then submit them, my question is how can I achieve this? Is it possible to return UploadedFile somehow so that I can get an image to display in the img tag? -- View this message in context:

Re: JSONLiteral breks zone refresh

2012-10-23 Thread bhorvat
btw the order is lost when the component is re-renderd in the zone. Could this affect something? Could the before/after specification get lost in ajax update? -- View this message in context: http://tapestry.1045711.n5.nabble.com/JSONLiteral-breaks-zone-refresh-tapesty-jquery-tp5717101p5717192.

Re: JSONLiteral breks zone refresh

2012-10-23 Thread bhorvat
I need to initialize my custom mixin after autocomlete mixin, as my mixin is adding stuff to autocomplete. So i guess that @MixinAfter has no interest to me. The InitializationPriority.LATE does help as it adds the calling at the end I guess so it is initialized after the autocomplete. However I a

Re: JSONLiteral breks zone refresh

2012-10-23 Thread bhorvat
Yes I have, actually it is part of my code, and I have just removed it since it works the same whether or not it is there -- View this message in context: http://tapestry.1045711.n5.nabble.com/JSONLiteral-breaks-zone-refresh-tapesty-jquery-tp5717101p5717189.html Sent from the Tapestry - User m

Re: JSONLiteral breks zone refresh

2012-10-23 Thread bhorvat
I see your point about it and yea it does make sense so I have give up on the JSONLiteral. François I like your solution. I have implemented my Mixin like this @Import(library = {"submitautocomplete.js"}) public class SubmitAutocomplete { @Environmental private JavaScriptSupport javaSc

Re: JSONLiteral breks zone refresh

2012-10-23 Thread bhorvat
François Facon-3 wrote > I guess your parser error is due to jQuery which reject function even > received from ajax call. I've encountered the problem with the plugin > Jeditable. > see the following commit > > https://github.com/got5/tapestry5-jquery/commit/818ae2a5594397ea7368237d081e40b2fa3edbb

Re: JSONLiteral breks zone refresh

2012-10-22 Thread bhorvat
Yea I have submitted an issue and will see what they say about it. If however anyone has any idea how to implement this so that it is not related to the passing the function from the server code I would appreciate. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com

Re: JSONLiteral breks zone refresh

2012-10-22 Thread bhorvat
I agree, but still it is better then the alternative. Tapestry5-jquery team is providing the js file and if I override it then I will have to make sure that next release from them is not broken in my project as I have override one of their files. What I want to do is just pass the function in th

Re: JSONLiteral breks zone refresh

2012-10-22 Thread bhorvat
Howard Lewis Ship wrote > Well, change that. Have you Ajax response load a library containing > the function. yea that is what I have done at the moment, I have added the code that needs to be executed when a user selects something form the list. But this is hack as I have overridden the original

Re: JSONLiteral breks zone refresh

2012-10-22 Thread bhorvat
Howard Lewis Ship wrote > What if the function already existed on some global object? The function should not exist anywhere before my code. Here is what happens. The page is loaded, I click a link which refreshes a zone and then it reveals a textfield with autocomponent mixin. I am passing that

JSONLiteral breks zone refresh

2012-10-21 Thread bhorvat
Hi, I have already wrote about a problem I was having in 2 different treads and I was finally able to figure out the solution for that. My problem was that I needed to pass the function to the autocomplete mixin. public JSONObject getAutoUsersParams() { JSONObject params = new JSONOb

Re: Implement Autocomplete OnSelect event - jquery bind event

2012-10-21 Thread bhorvat
I manage to solve my problem in a different way. By passing a function that will be triggered once the item in autocomponent is selected. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Implement-Autocomplete-OnSelect-event-jquery-bind-event-tp5717090p5717100.html

Re: Passing a javascript function in JSONArray or JSONObject

2012-10-21 Thread bhorvat
I figured it out Tnx Howard for pointing me in right direction. For those interested here is what did the trick for me public JSONObject getAutoParams() { JSONObject params = new JSONObject(); params.put("select", new JSONLiteral("function (event, ui) {alert('This is the call

Re: Passing a javascript function in JSONArray or JSONObject

2012-10-21 Thread bhorvat
I have tried to use JSONString such as JSONString string = new JSONLiteral(" select: function (event, ui) { alert('test') }"); however the problem is that I can not pass that to the tapestry autocomponent since it only accesspts JSONObject and this is not a valid JSONObject.

Re: Passing a javascript function in JSONArray or JSONObject

2012-10-21 Thread bhorvat
Hi Howard, Can I please ask you to share a link as I couldnt find anything related to the Java Fox Jsonstring. tnx for help -- View this message in context: http://tapestry.1045711.n5.nabble.com/Passing-a-javascript-function-in-JSONArray-or-JSONObject-tp5717095p5717097.html Sent from the Tap

Passing a javascript function in JSONArray or JSONObject

2012-10-20 Thread bhorvat
How can I do this? If i try to put a function it returns surrounded with "" for example tapestry would generate { "id" : "textfield_3", "paramName" : "t:input", "url" : "http://localhost:8080/assets.assetdetails.componentdata.textfield_0:autocomplete";, "options" : {

Re: Implement Autocomplete OnSelect event - jquery bind event

2012-10-20 Thread bhorvat
I manage to do something but still not quite there this will fire an event when I select text and it will be handled on the jave side. However there are 2 problems with this. The first one is that i dont know how to pass the c

Implement Autocomplete OnSelect event - jquery bind event

2012-10-20 Thread bhorvat
I am interested if it is possible to set on select event or value change or something like that on the autocompletion mixin. Basically I would like to get a value that was set using the autocomplete on the jave side. I have tried setting some method @OnEvent(value = "selected", component = "

Re: Event parameter on the form or Multiple from handle in one method

2012-10-18 Thread bhorvat
Thiago H de Paula Figueiredo wrote > the event handler could just invoke another method > that handles forms 1, 2 and 3 and invoke another method for form 4. > -- > Thiago H. de Paula Figueiredo > > - I like this approach. b

Re: Event parameter on the form or Multiple from handle in one method

2012-10-18 Thread bhorvat
Hi Taha, Well my main concern is how can I have a few t:form and have them process by the same method. If I omit the form id in the OnEvent annotation then I can achieve that. However then that method is triggered for all other forms as well. In other words. How can I make it so that form 1,2 and

Event parameter on the form or Multiple from handle in one method

2012-10-17 Thread bhorvat
I am having a bit of a problem that I would like to solve in the most elegant way so I am interested if there a better way to handle it. I have a one object call it component that has multiple properties, and for each 4 properties I have 4 forms that dont have the id so they are handled by one met

Re: tapestry5-highcharts available

2012-10-16 Thread bhorvat
I have created an issue , if you can take a look I would be grateful. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry5-highcharts-available-tp5606181p5716962.html Sent from the Tapestry - User ma

Re: tapestry5-highcharts available

2012-10-15 Thread bhorvat
François Facon-3 wrote > We will deploy a release version this week . That is good to hear, please keep us posted. btw while I have your attention regarding the tapestry5-highchart can you please take look at this thread

Re: tapestry5-highcharts available

2012-10-14 Thread bhorvat
Muhammad Gelbana wrote > I reckon highcharts license doesn't fit in commercial applications. Not really related to the problem here :) but yea the highchart should be paid depending on the requirements. The tapestry-highchart is just a wrapper to help you integrate you application and the highch

Re: tapestry5-highcharts available

2012-10-14 Thread bhorvat
if the snapshot repository is not working does anyone have any idea when it will work as I need the snapshot version due to the fix it contains thanks for the assistance -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry5-highcharts-available-tp5606181p5716889.htm

Re: tapestry5-highcharts available

2012-10-14 Thread bhorvat
The version 1.2.0-SNAPSHOT that has a critical fix for the issue when setting production=true is not available. Does anyone have any idea where I can find the url for the repository? -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry5-highcharts-available-tp5606181

Re: hmac sample

2012-10-13 Thread bhorvat
cool tnx for the tip. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/hmac-sample-tp5716873p5716881.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: hmac sample

2012-10-13 Thread bhorvat
I have run into the same problem. Does someone from the Tapestry dev team has any suggestion about the best value for this (now mandatory) field? Also if we put the value to be random as suggested above is it not possible that 2 application that run on different hosts and thus will generate it di

RE: strange NPE, really making me nervous

2012-10-12 Thread bhorvat
hm...I am not sure what you are looking at with the debug, but the pointer to the collection should be null regardless of the objects actual state (whether or not it has been garbage collected). It is as everyone has described to you, once page is rendered everything is set to null and when you h

Re: Generating unique tapestry id or client id in HighCharts

2012-10-11 Thread bhorvat
tnx for info I will see what I can about the pull request. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Generating-unique-tapestry-id-or-client-id-in-HighCharts-tp5716693p5716810.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Generating unique tapestry id or client id in HighCharts

2012-10-06 Thread bhorvat
Hi I am trying to use the HighChart component in the loop but with not luck so far. My problem is that the client id is always the same for everything that runs in the loop but if I put the few components next to each other then they all have the unique id. The code in the class that comes from the

Re: Why should we specify t:id and id for the zone

2012-08-12 Thread bhorvat
Wow amazing reply. Thanks a lot Christian this was perfect answer to my question and it gave me a chance to learn and understand a few things about tapestry. I really appreciate it. All the best Boris -- View this message in context: http://tapestry.1045711.n5.nabble.com/Why-should-we-speci

Re: Why should we specify t:id and id for the zone

2012-08-11 Thread bhorvat
But if it that important why does not tapestry set the id to be the same as t:id by default? I am just trying to understand the motivation behind it all. Thanks for help cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Why-should-we-specify-t-id-and-id-for-the-zo

Why should we specify t:id and id for the zone

2012-08-09 Thread bhorvat
Well like it says in the subject, why should we specify both normal id and the t:id. I know that the latter is for the tapestry where the first one is for the client, but why is not that set by default in tapestry if it is that important, and I take it that it is because some of my code wont work w

Re: Tapestry Jquery slider problem

2012-08-08 Thread bhorvat
Ok I see, well then my bad again. Sorry for the spam -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Jquery-slider-problem-tp5715130p5715140.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: Tapestry Jquery slider problem

2012-08-07 Thread bhorvat
Please disregard this. I must have missed spell something it is working now. Sorry for the spam if someone could delete this it would be nice. cheers all -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Jquery-slider-problem-tp5715130p5715131.html Sent from the

Tapestry Jquery slider problem

2012-08-07 Thread bhorvat
I am trying to use the slider component from the demo that can be found on the page http://tapestry5-jquery.com/components/docsjqueryslider# http://tapestry5-jquery.com/components/docsjqueryslider# but I get the exception saying that the slider needs to be enclosed by the form. When I do that the

  1   2   3   >