Re: object based security (owner)

2014-03-18 Thread Dmitriy Vsekhvalnov
Kalle, do you mean it works only for traversing object graph? (sorry i probably have to check myself before asking stupid questions). On Tue, Mar 18, 2014 at 8:31 PM, Kalle Korhonen wrote: > On Tue, Mar 18, 2014 at 7:43 AM, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com > >

Re: object based security (owner)

2014-03-18 Thread Dmitriy Vsekhvalnov
is tapestry-security-jpa provides filtering data support? E.g. when i execute .list() operation with query can it apply filter based on owner or other rule? like Hibernate filters? On Tue, Mar 18, 2014 at 5:08 PM, Ken in Nashua wrote: > Thanks Kalle, thats the answer I was seeking. > > Which pe

T5.3: enable security filters for hibernate Session based on ASO object

2014-02-27 Thread Dmitriy Vsekhvalnov
Hi all, looking for some ideas how to do subj. Would like to enable hibernate filters on session dynamically, based on current security principal. E.g. filter names to enable are stored in application state object. Currently thinking to decorate HibernateSessionManager or override with custom imp

T5.3: pagelink and loopback?

2013-12-27 Thread Dmitriy Vsekhvalnov
Hi all, little bit confused. When page have pageReset() listener tapestry appends ?lb param to pagelinks. But it ignores context. So, if we have /page/10 and on this pages render links to /page/11 or /page/12 - we get links like: /page/11?t:lb=t and /page/12?t:lb=t Clicking on them do not ren

Re: T5.3: per page context session storage?

2013-11-07 Thread Dmitriy Vsekhvalnov
: does the package support mapping the conversation id to a > > query parameter? > > > > > > On Thu, 07 Nov 2013 11:30:59 -0200, Dragan Sahpaski < > > dragan.sahpa...@gmail.com> wrote: > > > > On Thu, Nov 7, 2013 at 2:07 PM, Dmitriy Vsekhvalnov > &

Re: T5.3: per page context session storage?

2013-11-07 Thread Dmitriy Vsekhvalnov
will have an easy time integrating it. > We use the module in multiple projects and it works very well. > > Cheers, > Dragan Sahpaski > > > On Wed, Nov 6, 2013 at 12:11 PM, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com > > wrote: > > > Hi all, > >

Re: T5.3: per page context session storage?

2013-11-07 Thread Dmitriy Vsekhvalnov
Well, if you don't save your object(s) in memory you should save in some other place, right? So, what are you doing if you have to edit object with several pages/screens before finally committing it? On Thu, Nov 7, 2013 at 2:03 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On

T5.3: per page context session storage?

2013-11-06 Thread Dmitriy Vsekhvalnov
Hi all, looking for a way to have session storage per context, e.g. 2 pages: /profile/details/1 /profile/details/2 if work with both in different tabs session storage data obviously clashing. Any ideas how to make per-context session? Thanks.

Re: Override HibernateTransactionAdvisor implementation?

2013-10-11 Thread Dmitriy Vsekhvalnov
i want to add retry on deadlock exception. MySQL specific. So, i simply bind to the same service id with my implementation? On Fri, Oct 11, 2013 at 5:02 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 11 Oct 2013 09:57:49 -0300, Dmitriy Vsekhvalnov <

Override HibernateTransactionAdvisor implementation?

2013-10-11 Thread Dmitriy Vsekhvalnov
Hi All, can i do the trick? I'd like to override HibernateTransactionAdvisor implementation in my appmodule.

Re: T5: bind onlick handler after LinkSubmit

2013-08-21 Thread Dmitriy Vsekhvalnov
; http://code.google.com/p/flowlogix/wiki/TLUpdateEvent > > On Aug 21, 2013, at 9:15 AM, Thiago H de Paula Figueiredo wrote: > > > On Wed, 21 Aug 2013 09:45:33 -0300, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > > >> Hi all, > > > > Hi! >

T5: bind onlick handler after LinkSubmit

2013-08-21 Thread Dmitriy Vsekhvalnov
Hi all, i'm looking for a way to bind event handler (js) to element which also is LinkSubmit, but i'd like my event handler to be executed after LinkSubmit handler. E.g. consider example, form inside modal dialog - make ajax call to server first, then close modal. Ideas?

Re: T5.3: pageReset and onActivate order?

2013-07-05 Thread Dmitriy Vsekhvalnov
Trying to migrate T5.1 to T5.3 :) I'm reseting some @Persist properties in pageReset(). In T5.1 there were no pageReset() provided by framework and i was using kind of emulation via pageAttached. In T5.3 there is a pageReset, but i'm wondering order of page events. On Fri, Jul 5, 2013 at 4:25 PM

T5.3: pageReset and onActivate order?

2013-07-05 Thread Dmitriy Vsekhvalnov
Hi all, quick question: in which order pageReset() and onActivate() is designed to be called? With T5.3 i have onActivate(String ctx) called before pageReset() With T5.1 there were kind of emulation of page reset and the order was opposite: public void pageAttached() { boolean isFre

Re: T5.3: @PageReset for components?

2013-07-03 Thread Dmitriy Vsekhvalnov
m> wrote: > On Wed, 03 Jul 2013 09:41:30 -0300, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > any kind of analog? >> > > What exactly are you trying to do? > > >> On Wed, Jul 3, 2013 at 4:27 PM, Thiago H de Paula Figueiredo < >> thiag.

Re: T5.3: @PageReset for components?

2013-07-03 Thread Dmitriy Vsekhvalnov
any kind of analog? On Wed, Jul 3, 2013 at 4:27 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 03 Jul 2013 09:09:23 -0300, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > Hello, >> > > Hi! > > > is @PageReset wor

T5.3: @PageReset for components?

2013-07-03 Thread Dmitriy Vsekhvalnov
Hello, is @PageReset works for components? I can see method pageReset() is called on my page, but never on embedded components. Thanks.

Re: T5.1 -> T5.3 migration question

2013-07-02 Thread Dmitriy Vsekhvalnov
; Kris > > > > > On Tue, Jul 2, 2013 at 10:38 AM, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com > > wrote: > > > Hi everyone, > > > > doing app migration from 5.1 to 5.3, currently face with weird exception: > > > > > > Caused by: o

T5.1 -> T5.3 migration question

2013-07-02 Thread Dmitriy Vsekhvalnov
Hi everyone, doing app migration from 5.1 to 5.3, currently face with weird exception: Caused by: org.apache.tapestry5.ioc.internal.OperationException: Base class java.lang.Enum (super class of xxx.xx.xx) is not in a controlled package and is therefore not valid. You should try moving the class

Re: What does it mean? java.lang.IllegalStateException: Page was stored into the page pool in a dirty state.

2013-04-10 Thread Dmitriy Vsekhvalnov
4:40 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 10 Apr 2013 07:51:47 -0300, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > We started to get exceptions in production like this: >> >> java.lang.**IllegalStateException: Pa

Re: What does it mean? java.lang.IllegalStateException: Page was stored into the page pool in a dirty state.

2013-04-10 Thread Dmitriy Vsekhvalnov
n newer versions. > Sorry I don't think I can help much but hopefully this page could: > http://tapestry.apache.org/page-life-cycle.html. Or probably someone else > can. > > > On Wed, Apr 10, 2013 at 1:26 PM, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com > > wrote:

Re: What does it mean? java.lang.IllegalStateException: Page was stored into the page pool in a dirty state.

2013-04-10 Thread Dmitriy Vsekhvalnov
; > > On Wed, Apr 10, 2013 at 12:51 PM, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > > We started to get exceptions in production like this: > > > > java.lang.IllegalStateException: Page Page[report/Info en] was stored > into > > the page

What does it mean? java.lang.IllegalStateException: Page was stored into the page pool in a dirty state.

2013-04-10 Thread Dmitriy Vsekhvalnov
We started to get exceptions in production like this: java.lang.IllegalStateException: Page Page[report/Info en] was stored into the page pool in a dirty state. This should never happen, and may indicate that a reference to the page (or component within the page) was retained past the end of a req

Re: Mixin to overwrite input field value?

2013-04-04 Thread Dmitriy Vsekhvalnov
..and to complicate things more: T5.1.0.18 ? :) don't ask me to upgrade, i'm locked, because tapestry never compatible with previous versions. On Thu, Apr 4, 2013 at 5:07 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 04 Apr 2013 09:37:12 -0300,

Re: Mixin to overwrite input field value?

2013-04-04 Thread Dmitriy Vsekhvalnov
Example (4) in > http://jumpstart.doublenegative.com.au/jumpstart/examples/input/augmentingtranslators > > Geoff > > On 04/04/2013, at 9:40 PM, Dmitriy Vsekhvalnov wrote: > > > Hi everyone, > > > > is it possible to have mixin which will intercept form submission (on T5 > &g

Mixin to overwrite input field value?

2013-04-04 Thread Dmitriy Vsekhvalnov
Hi everyone, is it possible to have mixin which will intercept form submission (on T5 side, not in browser) and overwrite input field value coming from client, before the value bound to input's property? I'm using maskedit mixing for inputs, but for some values i want unmasked data to go to dat

T5: Link form elements to enclosing form after zone update?

2012-04-20 Thread Dmitriy Vsekhvalnov
Hi all, How can i return form elements as part of zone update? E.g: So i'm returning zone_1, which contains some form fields (text fields), and i'm getting client-side exception: 'Client exception processing response: TypeError: Cannot read property '_tapestry' of null' How to

Re: Handling component's actionlink on the enclosing page?

2012-04-20 Thread Dmitriy Vsekhvalnov
Thanks guys, works like a charm. On Fri, Apr 20, 2012 at 3:17 AM, Chris Mylonas wrote: > that is an awesome one or two line explanation of an event bubble! > > this was a little too hard to take in whilst i mucked around with custom > components and totally missed the point ( > https://tapestry.

Re: tapestry5-db-migrations

2012-03-09 Thread Dmitriy Vsekhvalnov
ntage liquibase has over flyway is > hibernate support. Also flyway does not provide a generic way of writing > sqls(not sure) > > regards > Taha > > On Mar 9, 2012, at 2:49 PM, Dmitriy Vsekhvalnov wrote: > > > Take a look: http://code.google.com/p/flyway/ > > &

Re: tapestry5-db-migrations

2012-03-09 Thread Dmitriy Vsekhvalnov
Take a look: http://code.google.com/p/flyway/ On Fri, Mar 9, 2012 at 11:05 AM, Massimo Lusetti wrote: > On Fri, Mar 9, 2012 at 3:18 AM, Taha Hafeez Siddiqi > wrote: > > > Thanks Christian > > > > The only reservation we have against Liquibase is xml. There is a groovy > support but I am not s

Re: Stuts VS Tapestry - I need some ammo

2012-01-26 Thread Dmitriy Vsekhvalnov
Seriously? Struts vs. T5? Go look to market which people you can find more easily & cheaper. At the very end someone have to support the app. Personally i will never go to pick-up struts job because it is dead. Unless you pay me significant more for my wasted time :) T5 simply the best web-fram

Extending T5 annotations

2012-01-21 Thread Dmitriy Vsekhvalnov
Hello everyone, i'm looking for a way to add my custom annotations for T5 pages/components which handles some routine tasks and updates page properties. I'm looking for both field level annotations and method (events) level. Can someone suggest something? I'll provide some examples: @CommitAf

Zone update force browser to scroll up

2012-01-21 Thread Dmitriy Vsekhvalnov
Hi all, i have table inside zone, like this: long table. table data gets bigger than screen, and usually people scroll it down. On zone update more rows can be inserted to the table and this force browser to position at the beginning of zone (span), which for

Re: Documentation for tapestry-core

2011-12-21 Thread Dmitriy Vsekhvalnov
well, i'm using tapestry-ioc alone with several projects, may be around ~10. I perfer it by many means to Spring as i were doing before with HiveMind. Here is how it is typically looks like with my projects: pom.xml org.apache.tapestry tapestry-ioc

Re: Tapestry 5.1.0.5 vs Prototype 1.7 and Scriptaculous 1.9

2011-12-19 Thread Dmitriy Vsekhvalnov
link.tapx.prototype")); } On Mon, Dec 19, 2011 at 8:07 PM, Dmitriy Vsekhvalnov wrote: > I do. > > I'm using tapestry-js-fixes.js (i'm not sure where did i get it, so > content inlined) > > > == tapestry-js-fixes.js ===

Re: Tapestry 5.1.0.5 vs Prototype 1.7 and Scriptaculous 1.9

2011-12-19 Thread Dmitriy Vsekhvalnov
I do. I'm using tapestry-js-fixes.js (i'm not sure where did i get it, so content inlined) == tapestry-js-fixes.js = Tapestry.ZoneManager.addMethods({ processReply : function(reply) { Tapestry.loadScriptsInReply(reply, function() { /* * In a multi-zone update, the reply.cont

Re: AjaxUpload : Questions

2011-12-13 Thread Dmitriy Vsekhvalnov
is not working, it works for me. > > > On Dec 13, 2011, at 9:29 PM, Dmitriy Vsekhvalnov wrote: > > > Example of what? > > > > On Tue, Dec 13, 2011 at 6:56 PM, Taha Hafeez Siddiqi < > > tawus.tapes...@gmail.com> wrote: > > > >> Hi > >&g

Re: AjaxUpload : Questions

2011-12-13 Thread Dmitriy Vsekhvalnov
tractField). It does not effect the UI. > > There is no remove option in the actual script. I added it for my use > case, so yes if you can read the script you can do all kind of stuff with > it :) > (Of course that is the challenge :)) > > regards > Taha > > >

Re: AjaxUpload : Questions

2011-12-11 Thread Dmitriy Vsekhvalnov
ok into > that, or may be come up with a new implementation :) > > > regards > Taha > > On Dec 11, 2011, at 12:40 AM, Dmitriy Vsekhvalnov wrote: > > > Taha, specifically for you :) want to start separate thread with my > > outstanding questions: > > >

AjaxUpload : Questions

2011-12-10 Thread Dmitriy Vsekhvalnov
Taha, specifically for you :) want to start separate thread with my outstanding questions: 1. i've set @IncludeStylesheet("ajaxupload.css"), and it is not working. The stylesheet link generated on the page: /myapp/assets/classpath/2dc6971e4afe5b2f/com/googlecode/tawus/ajaxupload/components/aja

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
ohh.. i think you may be need to add Submit button? On Fri, Dec 9, 2011 at 4:14 PM, angelochen wrote: > onvalidate and onSuccess was never called. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/ANN-AjaxUpload-An-ajax-based-upload-component-tp4524025p5061699.html

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
and what is the question with your code? On Fri, Dec 9, 2011 at 3:19 PM, angelochen wrote: > here is my code/tml: > > < t:form t:id="myForm" > > > < input t:type="tawus/ajaxupload" > t:id="uploads" type="file" / > >< /t:form > > > > > @Persist >@Property >private Li

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
Regarding where file is store: public void onSuccess() { UploadedFile uploadedFile = uploaded.get(0); File file = new File("/where/i-want/file-to-save"); uploadedFile.write(file); } On Fri, Dec 9, 2011 at 3:11 PM, Dmitriy Vsekhvalnov wrote: >

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
s.get(0).getFileName()); > } > uploads.clear(); >} > > thanks, > > > Dmitriy Vsekhvalnov wrote > > > > this means, you didn't install ajaxupload to your local maven repo. > > > > Please do: gradle install. > > > >

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
this means, you didn't install ajaxupload to your local maven repo. Please do: gradle install. On Fri, Dec 9, 2011 at 2:01 PM, angelochen wrote: > i added that to pom.xml but get this: > > Downloading: > > https://repository.apache.org/content/groups/staging/com/googlecode/tawus/tawus-ajaxupload

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
if you did: gradle install successfully, you can include it to your maven project: com.googlecode.tawus tawus-ajaxupload 0.1-SNAPSHOT then use with .tml: On Fri, Dec 9, 2011 at 12:51 PM, angelochen wrote: > I know this is not tapestry5 r

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-09 Thread Dmitriy Vsekhvalnov
Hey, i got it working with some tweaks, but still experience some issues: 1. i've set @IncludeStylesheet("ajaxupload.css"), and it is not working. The stylesheet link generated on the page: /myapp/assets/classpath/2dc6971e4afe5b2f/com/googlecode/tawus/ajaxupload/components/ajaxupload.css but Re

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-08 Thread Dmitriy Vsekhvalnov
ok. cool, i got it compiled. let me see whether it's working on 5.1.0.8. On Thu, Dec 8, 2011 at 8:39 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > > On Dec 8, 2011, at 9:46 PM, Dmitriy Vsekhvalnov wrote: > > > yep. Here is quite long stack tra

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-08 Thread Dmitriy Vsekhvalnov
ac] ^ [ant:javac] 9 errors FAILURE: Build failed with an exception. On Thu, Dec 8, 2011 at 6:59 PM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > Hi Dmitriy > > That depends on the error :) > > Can you share it ? > > regards > Taha > > On Dec 8, 20

Re: [ANN] AjaxUpload : An ajax based upload component

2011-12-08 Thread Dmitriy Vsekhvalnov
Is there is a way it can work on T5.1.0.8 ? i'm getting errors during gradle build and i'm wondering is it possible to adopt to 5.1.0.8 or i should stop it now :) Thanks.

java.lang.IllegalStateException within Mixins

2011-11-20 Thread Dmitriy Vsekhvalnov
Hi all, looking for workaround for the following issue: 1. i have mixin, which is atatched to t:actionlink: 2. Mixing doing : void afterRender() { String elementId = element.getClientId(); ... } 3. If actionlink is disabled in runtime, i'm getting j

T5: @MergeBefore?

2011-10-24 Thread Dmitriy Vsekhvalnov
Hi everyone, after 200 times writing something like: @CommitAfter public Object onAction() { report=(Report)session.merge(report); //do update report stuff here } i'm curious if there are anything ready to automate this? May be per-field annotation to auto-merge hibernate entities on

Re: Ajax callback for checkbox component?

2011-07-04 Thread Dmitriy Vsekhvalnov
For checkbox or for select component? :) I'm using ZoneUpdater mixin for selects, all my selects looks like: and server code is: public Object onAreaChanged() { .. } On Mon, Jul 4, 2011 at 1:35 PM, Joel Halbert wrote: > OK np. > > Thanks Thiago! > > On Sun, 2011-07-03 at 19:53

Re: LinkSubmit outside Form

2011-06-24 Thread Dmitriy Vsekhvalnov
if(action==Delete) doDelete(); else if (action==Create) doCreate(); return updateZones(); } ..which sucks :) Any idea how to get more clean approach with correct event triggered? On Wed, Jun 22, 2011 at 4:40 PM, Dmitriy Vsekhvalnov wrote: > T5.1.0.8 > > Quick

LinkSubmit outside Form

2011-06-22 Thread Dmitriy Vsekhvalnov
T5.1.0.8 Quick question, fast way to have LinkSubmit outside Form with standard components? Thanks.

Re: Tapestry IoC: Bean Scope

2011-06-07 Thread Dmitriy Vsekhvalnov
(which can be injected into any service) and invokes > autobuild() on it ... so it's a very generic factory. > > On Tue, Jun 7, 2011 at 8:52 AM, Dmitriy Vsekhvalnov > wrote: > > i was hoping someone already did it :) > > > > Last time i was trying to do it with

Re: Tapestry IoC: Bean Scope

2011-06-07 Thread Dmitriy Vsekhvalnov
iag...@gmail.com> wrote: > On Tue, 07 Jun 2011 10:47:23 -0300, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > Hi all, >> > > Hi! > > >is it possible to have services bound with Bean scope? I'm using Quartz >> scheduler and my jobs are act

Tapestry IoC: Bean Scope

2011-06-07 Thread Dmitriy Vsekhvalnov
Hi all, is it possible to have services bound with Bean scope? I'm using Quartz scheduler and my jobs are actually services bound in AppModule with all dependency injection and so on. But i want different instances of jobs. So every time i call ServiceResources:getService(..., Job.cla

Re: LinkSubmit on T5.1.0.8

2011-04-18 Thread Dmitriy Vsekhvalnov
and used initialization to rewrite the element > into an tag (this helps prevent problems where a user clicks the > link before the page has fully initialized). > > On Mon, Apr 18, 2011 at 11:40 AM, Dmitriy Vsekhvalnov > wrote: > > Is it broken? After upgrade from 5.1.0.

LinkSubmit on T5.1.0.8

2011-04-18 Thread Dmitriy Vsekhvalnov
Is it broken? After upgrade from 5.1.0.5 found that all LinkSubmit stop working. Debugging shows JS exception: 'TypeError: Property 'select' of object # is not a function' inside tapestry.js createHidden() function.

Re: T5: upgrade to 5.1.0.8-SNAPSHOT issue

2011-04-14 Thread Dmitriy Vsekhvalnov
27; parameter is > required , it complains. > > You can specify the parameter for zoneupdater as > zoneupdater.zone='whatever' > > http://tapestry.apache.org/component-mixins.html > > regards > Taha > > > On Thu, Apr 14, 2011 at 8:42 PM, Dmitriy Vsekhvalno

T5: upgrade to 5.1.0.8-SNAPSHOT issue

2011-04-14 Thread Dmitriy Vsekhvalnov
Hi all, just upgraded application to 5.1.0.8-SNAPSHOT, and got weird error for components that includes ZoneUpdater ( http://tinybits.blogspot.com/2010/03/new-and-better-zoneupdater.html) org.apache.tapestry5.ioc.internal.util.TapestryException: Parameter(s) 'ZoneUpdater.zone' are required for o

Re: Update table column via Zone(s)

2011-02-24 Thread Dmitriy Vsekhvalnov
t; in .tml, I have: > > Here rendering based on ${currentId} > > > > > > > I can not guarantee that it is the simplest way, but it works for me. > > Regards, > Cezary > > On Tue, Feb 22, 2011 at 4:16 PM, Dmitriy Vsekhvalnov < > dvsekhval.

Update table column via Zone(s)

2011-02-22 Thread Dmitriy Vsekhvalnov
Hi all, i'm looking for some ideas how to update entire column in html table, without updating overall table. For instance: ${rowValue.a} ${rowValue.b} ${rowValue.c}

How i can have multiple components with t:id on the page.

2010-12-15 Thread Dmitriy Vsekhvalnov
Hi all, i'm doing grid editing, where each cell is in-place-editor and i'd like to use one listener in the page to react to value change (my row & column encoded to context), but tapestry dynamically assigns suffix to id only when it's rendered multiple times in Loop. I need something like:

Re: T5: When Flash persisted values are cleared?

2010-12-10 Thread Dmitriy Vsekhvalnov
Does @PageDetached works with components? On Fri, Dec 10, 2010 at 9:20 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Fri, 10 Dec 2010 12:18:22 -0200, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > Hi all, i'm slightly confused w

T5: When Flash persisted values are cleared?

2010-12-10 Thread Dmitriy Vsekhvalnov
Hi all, i'm slightly confused with @Persist("flash") and XHR requests. I have a Message component which used to show alert/warn/info messages on the page, it has a message property, which is flash persisted: @Persisted("flash") private String msg; //+ getter and setter On several pages it wrap

Re: AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
kbox sets all others (but not itself) - it do not wait for zone refresh. Can it be some Prototype issue? On Tue, Oct 19, 2010 at 10:33 PM, Andreas Andreou wrote: > what happens if you omit > Event.stop(event); > in you onClick function ? > > On Tue, Oct 19, 2010 at 21:10, Dmitriy Vs

Re: AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
tName); // record as "true" or "false" tracker.recordInput(this, Boolean.toString(postedValue != null)); value = postedValue != null; } === On Tue, Oct 19, 2010 at 9:25 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.co

Re: AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
? In this case, it's not Tapestry itself, it's > using AJAX. > > > On Tue, 19 Oct 2010 09:24:23 -0200, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > Thiago, is not. >> >> Here is the mechanics i debug using fire-bug: >> 1. check

Re: AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
7;s a problem. Ideas? It's not my code. It's tapestry. On Tue, Oct 19, 2010 at 2:59 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Tue, 19 Oct 2010 08:24:46 -0200, Dmitriy Vsekhvalnov < > dvsekhval...@gmail.com> wrote: > > yeah, i've trie

Re: AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
yeah, i've tried this but, the checkbox in-browser state is NOT set until Zone returned from from handler. Ok honestly it is set when you click, but RESET to original state when form submission via XHR started and updated only when zone is received. Just check it: public Object onSuccess()

Re: AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
I'm sorry what exactly you suggested me to look into? i can't see any example of ajax-checkbox on those page. On Tue, Oct 19, 2010 at 1:26 PM, ael wrote: > > Check this out... > > http://jumpstart.doublenegative.com.au:8080/jumpstart/ > http://jumpstart.doublenegative.com.au:8080/jumpstart/ > >

AjaxCheckbox component

2010-10-19 Thread Dmitriy Vsekhvalnov
Hello all, i think i've asked similar questions some time ago, but receive no answers. And since i've done no progress on this myself, i'd like to ask: - any ideas how to implement checkbox which onClick auto-submits entire form via ajax, and on server side it rolls ordinary tapestry 5 form pro

Re: Component to format null values

2010-10-14 Thread Dmitriy Vsekhvalnov
NPE. > > Regards, > Jim. > > -Original Message- > From: Dmitriy Vsekhvalnov [mailto:dvsekhval...@gmail.com] > Sent: 14 October 2010 09:01 > To: users@tapestry.apache.org > Subject: Component to format null values > > Hello all, > > i'm looking to some approach t

Component to format null values

2010-10-14 Thread Dmitriy Vsekhvalnov
Hello all, i'm looking to some approach to render property value or some default string if value is null. Something like: I have no problem to implement such component,but i want this to work with property chains as well: where i want default string to be rendered, if any of intermediat

Re: T5: AjaxCheckbox

2010-07-27 Thread Dmitriy Vsekhvalnov
Guys anyone? Is it not possible with T5? On Tue, Jul 20, 2010 at 8:10 PM, Dmitriy Vsekhvalnov wrote: > Hello all, > i have a question about ajax form submission in T5. I was needed > checkbox implementation which 'onClick' submits entire form linked to zone > (wrapp

T5: AjaxCheckbox

2010-07-20 Thread Dmitriy Vsekhvalnov
Hello all, i have a question about ajax form submission in T5. I was needed checkbox implementation which 'onClick' submits entire form linked to zone (wrapped inside zone). I ended up with simple implementation, which i post at the end of message. Everything is fine, except i found that before

Re: HandyTapestry 1.0, Intellij Idea Tapestry plugin

2007-04-02 Thread Dmitriy Vsekhvalnov
Is it commercial one? Or will go to commerce in future? On 4/2/07, Alexei Orishchenko <[EMAIL PROTECTED]> wrote: HandyTapestry 1.0 released If you develop a http://tapestry.apache.org/ Tapestry web application using http://www.jetbrains.com/idea IntelliJ Idea then try http://handyedit.com

Re: Tapestry 5-IoC will support Hivemind?

2007-02-19 Thread Dmitriy Vsekhvalnov
7, Massimo Lusetti <[EMAIL PROTECTED]> wrote: On 2/16/07, Dmitriy Vsekhvalnov <[EMAIL PROTECTED]> wrote: > Hello, > > will Tapestry 5 support hivemind integration? I.E. will it be able to > inject HiveMind services to the Tapestry5 pages? > > And if so, is it poss

Tapestry 5-IoC will support Hivemind?

2007-02-15 Thread Dmitriy Vsekhvalnov
Hello, will Tapestry 5 support hivemind integration? I.E. will it be able to inject HiveMind services to the Tapestry5 pages? And if so, is it possible to make Registry instance to use to be configurable? I mean to provide externally instantiated Registry to Tapestry 5 to inject services from?