T5 NPE on service realization

2009-10-16 Thread zack1403
Hi all, I was just curious if anyone has had weird NullPointerExceptions on service realization. I am getting this NPE when using this service for the first time after startup: if (hu == null) throw new RuntimeException("bad"); //debug and system.out show this as a proxied service if (c

Re: Best way to get service from different thread

2009-10-01 Thread zack1403
t; > On Thu, Oct 1, 2009 at 10:09 AM, zack1403 wrote: >> Sorry yea I shouldnt have used quartz as an example.  I use job data map >> to >> pass hibernate stuff through in that case but what about a standalone new >> thread?  I have a service that spawns new tasks in new t

Re: Best way to get service from different thread

2009-10-01 Thread zack1403
Korhonen-2 wrote: > > You put the service in JobDataMap and in Job you get the map from > JobExecutionContext. > > Kalle > > > On Thu, Oct 1, 2009 at 9:44 AM, zack1403 wrote: >> >> Hi Everyone, >> >> I have been looking through the docs and mailing li

Best way to get service from different thread

2009-10-01 Thread zack1403
Hi Everyone, I have been looking through the docs and mailing list but cant find and answer to this. What is the best way to get an autobuilt service from a separate thread? I have a quartz job that needs one of my services but im not sure what i do to get it. Thanks, Zack -- View this messag

Re: Intermittent Stax Exception

2009-08-19 Thread zack1403
Yes martijn.list wrote: > > Is your application the only web application running in the Servlet > container? > > Martijn > > -- View this message in context: http://www.nabble.com/Intermittent-Stax-Exception-tp24648581p25051825.html Sent from the Tapestry - User mailing list archive at N

Re: Intermittent Stax Exception

2009-08-19 Thread zack1403
The page works fine for ~24 hours before this exception starts to show up. If the user.home property was not set it would probably error out first thing. I am not setting it anywhere else either. Thanks, Zack martijn.list wrote: > > Afaics resolve only throws a NullPointerException when eithe

Re: Intermittent Stax Exception

2009-08-19 Thread zack1403
Thanks for the points felix. The real issue is that the exception is intermittent. I've closed the bug 2 times only to be opened again when customers start calling. The page is incredibly simple and I can safely say everything is split up as much as possible. Its a simple unsubscribe page very

Re: Intermittent Stax Exception

2009-08-19 Thread zack1403
Ummm alright well I guess this is just a bug? We are switching the site slowly back over to a more mature framework without all the bugs. I am having to rewrite this isolated page in php to get it working in the mean time. I guess I bet on the wrong horse with tapestry. Zack -- View this messa

Re: Intermittent Stax Exception

2009-08-07 Thread zack1403
Thanks for the help felix! I regularly check the dependency hierarchy to make sure there are not any big conflicts. Commons-collections is conflicted but thats it. Nothing in woodstox or javassist. I have had so many issues like this lately with tapestry. Its incredibly annoying and time wast

Re: Intermittent Stax Exception

2009-08-06 Thread zack1403
? Zack zack1403 wrote: > > I am actually able to reproduce one situation where it shows up. If I > modify the source of ViewEmail.tml the exception shows up. A restart > promptly fixes it. This is just one instance, as it will show up from > time to time on production which is not

Re: Intermittent Stax Exception

2009-07-24 Thread zack1403
iredo wrote: > > Em Fri, 24 Jul 2009 14:27:03 -0300, zack1403 > escreveu: > >> This issue is popping up randomly on my production app and I cant relate >> it to any change. The exception is also deep rooted in tapestry. I can >> post code if necessary but it is

Intermittent Stax Exception

2009-07-24 Thread zack1403
This issue is popping up randomly on my production app and I cant relate it to any change. The exception is also deep rooted in tapestry. I can post code if necessary but it is a very simple isolated page and the exception is occurring at line 1 of the tml. Any ideas? Exception: http://pastebi

Re: T5.1.0.5, XMLInputFactory class cast exception

2009-06-08 Thread zack1403
I have this same issue when I try to redeploy my app in Tomcat 6. If you try to redeploy a war file in Tomcat without restarting the server this exception occurs. It is really annoying to restart each time I deploy. Anyone found a workaround for this? Zack Thiago H. de Paula Figueiredo wrote:

Re: [t5] Contributed master dispatcher not dispatching root url requests

2009-06-01 Thread zack1403
> On Mon, Jun 1, 2009 at 12:09 PM, zack1403 wrote: >> >> hey guys I'm still having this issue.  Am I implementing my dispatcher >> incorrectly? >> >> The code below works for every page but the root url >> (http://localhost/mycontext/): >

Re: [t5] Contributed master dispatcher not dispatching root url requests

2009-06-01 Thread zack1403
hey guys I'm still having this issue. Am I implementing my dispatcher incorrectly? -- View this message in context: http://www.nabble.com/-t5--Contributed-master-dispatcher-not-dispatching-root-url-requests-tp23734225p23820220.html Sent from the Tapestry - User mailing list archive at Nabble.c

Re: [t5] Contributed master dispatcher not dispatching root url requests

2009-05-26 Thread zack1403
Tried before:* with same result. I know its not caching and that its actually processing the request because I can see the output in my console. Refreshing my root page runs without my dispatcher being called but if i click on any links my breakpoint is triggered. If I add 'start' to the base u

[t5] Contributed master dispatcher not dispatching root url requests

2009-05-26 Thread zack1403
For authentication I have contributed a master dispatcher to be called before:RootPath. When visiting the root of my web app (not start), the dispatcher does not get called. I have tried changing when it is called (before:Asset, etc) but cant seem to get it to stop at my breakpoint, even though

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread zack1403
Knowing that that simple example worked for everyone, I started hacking away at my app module. Finally narrowed down what was causing the issue: public void contributeMasterDispatcher(OrderedConfiguration configuration, @InjectService("AuthDispatcher") Dispatcher authDispatcher) { config

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-29 Thread zack1403
Well the thing is that its reproducible when I deploy on my staging server to tomcat 6 from the generated war file. As well as locally with jetty 6.1.6. I am using the maven plugin to run goal jetty:run locally. Zack Ulrich Stärk wrote: > > Your exact same code is working fine using 5.1.0.5-S

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Alright this is the simplest setup I could do. This is way simpler than even the example thats in the nightly docs. I am getting the same error. If someone could please help me out as to what I am missing here I would be eternally grateful. This is the complete source, there is no other source

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
simplest use does not work. Zack Joost Schouten (mailing lists) wrote: > > I'm using 5.1.0.3 > > On Tue, Apr 28, 2009 at 7:27 PM, zack1403 wrote: >> >> Joost, >> >> Are you using this code on >5.1.0.2? >> >> Zack >> >> >&

Re: Exception while http://localhost:8080/myapp/index.pageForm

2009-04-28 Thread zack1403
Wesley, You can contribute a custom exception page in your module class: public static void contributeApplicationDefaults(MappedConfiguration configuration) { configuration.add(SymbolConstants.EXCEPTION_REPORT_PAGE, "ProductionException"); } As for your initial issue, you should ne

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-28 Thread zack1403
Joost, Are you using this code on >5.1.0.2? Zack Joost Schouten (mailing lists) wrote: > > Here is the code related to my AjaxFormLoop which works (besides a few > non T5 related persistance issues in my own code ;-) > > -- View this message in context: http://www.nabble.com/AjaxFormLoop

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
;                                                        > t:id="contactDetailsAjaxLoop"> >>                                                               >>   >>                                                         >> >>                                                 >> >>                                          

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
me DOM alterations in those event methods that > Tapestry doesn't like. > > Cheers, > Joost > > On Tue, Apr 28, 2009 at 3:59 PM, zack1403 wrote: >> >> Hey I hate to bump but this is a huge blocker for me.  Is there more >> information I can give to try an

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-27 Thread zack1403
Hey I hate to bump but this is a huge blocker for me. Is there more information I can give to try and help troubleshoot?? -- View this message in context: http://www.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-upgrade-tp23175801p23269752.html Sent from the Tapestry - User mailing list archive

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-26 Thread zack1403
I just cant believe no one else is getting this with 5.1.0.2. Am I the only one having this issue? BTW, its happening with my AjaxFormLoops application wide so its not just limited to one instance. Zack -- View this message in context: http://www.nabble.com/AjaxFormLoop-Exception-on-5.1.0.2-u

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-24 Thread zack1403
A single text field still triggers the exception. Thiago H. de Paula Figueiredo wrote: > > On Fri, Apr 24, 2009 at 1:34 AM, zack1403 wrote: > >> Is there something with the setup that I am doing wrong? > > Try using a TextField directly, without using BeanEditor and t

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-23 Thread zack1403
Seems like this would be a pretty common exception since the most basic form of the component does not work. I mean this is way more basic than even the tutorial. Is there something with the setup that I am doing wrong? Zack -- View this message in context: http://www.nabble.com/AjaxFormLoop

Re: AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread zack1403
xFormLoop has, effectively, no body and > so no content gets written, and Tapestry can't figure out where to add > the hidden field. > > On Wed, Apr 22, 2009 at 11:52 AM, zack1403 wrote: >> >> When I upgraded to 5.1.0.2 my AjaxFormLoops throw exceptions upon trying

AjaxFormLoop Exception on 5.1.0.2 upgrade

2009-04-22 Thread zack1403
When I upgraded to 5.1.0.2 my AjaxFormLoops throw exceptions upon trying to add a row. Remove row links still work and the transaction is getting committed even when there is an exception. Ie, if I refresh the page after blackbird shows the exception I can see my added row. I have trimmed down

Re: A document must have exactly one root element exception on 5.1.0.2 upgrade.

2009-04-17 Thread zack1403
Ugh sorry about the poorly formatted question. It was one of those issues that seemed so clear when I posted it but looking back there wasn't a good amount of information. I figured it was merely an upgrade issue that I wasnt aware of when moving to 5.1. What was actually happening, for anyone e

Re: A document must have exactly one root element exception on 5.1.0.2 upgrade.

2009-04-14 Thread zack1403
Anyone have a thought on this? I have no idea where to go from here. -- View this message in context: http://www.nabble.com/A-document-must-have-exactly-one-root-element-exception-on-5.1.0.2-upgrade.-tp23014335p23049185.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

A document must have exactly one root element exception on 5.1.0.2 upgrade.

2009-04-12 Thread zack1403
Hey all, Just upgraded to 5.1.0.2 and am getting this exception: Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: A document must have exactly one root element. Element is already the root element. [at classpath:com/inavero/pulse/pages/report/Edit.tml, line 78] at or

Re: T5 Bean editor model override

2009-02-20 Thread zack1403
My unsureness with overriding a property model betrayed me. I was trying to add "project" to the beaneditor when it was set up to override automatically. I removed t:add="project" from one of my bean editors and it worked fine. Zack zack1403 wrote: > > When fol

T5 Bean editor model override

2009-02-20 Thread zack1403
When following the instructions at: http://tapestry.apache.org/tapestry5/guide/beaneditform.html to contribute a property editor, I am getting this error: Bean editor model for com.inavero.pulse.entities.Report already contains a property model for property 'project'. How can I tell tapestry to

Re: Confirm("are you sure want to delete") in LinkSubmit

2009-02-05 Thread zack1403
Does anyone have a confirm mixin (or other js mixin) applied to a LinkSubmit component? If so, howd you do it? Zack Thiago H. de Paula Figueiredo wrote: > > On Thu, Feb 5, 2009 at 9:21 AM, zack1403 wrote: > >> If you read up the thread a bit you would see that that was the la

Re: Confirm("are you sure want to delete") in LinkSubmit

2009-02-05 Thread zack1403
light on this that would be great. Zack Thiago H. de Paula Figueiredo wrote: > > On Thu, Feb 5, 2009 at 6:34 AM, zack1403 wrote: > >> Hey guys sorry to resurrect this issue. I just got around to fixing this >> bug >> :) When I try an inline confirm with jav

Re: Confirm("are you sure want to delete") in LinkSubmit

2009-02-05 Thread zack1403
Hey guys sorry to resurrect this issue. I just got around to fixing this bug :) When I try an inline confirm with javascript on a LinkSubmit (t5) component it will always submit the form. I know that javascript cant assure order of events. Is this basically an issue that doesnt have a solution

Re: T5: Intercepting the body of a component

2009-01-17 Thread zack1403
Any progress on being able to grab and render the component body from the component class? I am writing a component that has to display data recursively and this seems like the best option. Thanks, Zack Howard Lewis Ship wrote: > > This is one of those cases that is, somewhat delibrately, no

Re: how to install t5components library

2008-12-13 Thread zack1403
http://87.193.218.134:8080/t5components/ org.apache.tapestry t5c-contrib ${tapestry-components-version} org.apache.tapestry t5c-commo

Re: Confirm("are you sure want to delete") in

2008-12-12 Thread zack1403
k something like > > onclick="if(!confirm('Are you sure want to delete?')) > Event.stop(event);" > > > Regards, > > Martijn Brinkers > > > On Fri, 2008-12-12 at 11:25 +0100, Andy Pahne wrote: >> This is sad. We cannot even fill a JIRA,

Re: Confirm("are you sure want to delete") in

2008-12-12 Thread zack1403
When I first wrote my confirm component this is the example I used. This issue is that with linksubmit, i am not able to stop the submit event. When I confirm for an important form, the user clicks cancel, the form still submits. My source is pretty much the exact same as the example. I have l

NPE with ajax form loop

2008-12-12 Thread zack1403
When following the documentation for ajaxformloop to the t, I am getting this error when trying to add a row. The only difference is that I am implementing the value encoder as a service: Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException [at classpath:com/inavero/pulse/pages/su

Re: Confirm("are you sure want to delete") in

2008-12-12 Thread zack1403
I am using the confirm functionality as a component and am having similar problems. Confirm does not work with the linkSubmit component. It is currently a major bug in my app. Zack Tan cyb...@n wrote: > > hi, > > i'm a newbie in tapestry. may i know is it possible to do like: > > onclic

Re: [T5] Palette NPE

2008-12-04 Thread zack1403
Alright, my list I was feeding palette was set to final and was instantiated with a new list. By removing the final and instantiation the issue went away. Should I file this as a bug? Zack zack1403 wrote: > > Happening again using GenericSelectModel for model and encoder. Anyone >

Re: [T5] Palette NPE

2008-12-03 Thread zack1403
Happening again using GenericSelectModel for model and encoder. Anyone have any clue what I might be doing wrong? I discarding persistent field changes after a certain action so I have a fresh start when it happens each time. I seems completely random why this is showing up. Zack zack1403

Re: [T5] Palette NPE

2008-12-03 Thread zack1403
ct > same line of code when passing the palette a Set (instead of a List). > > -james > > On Wed, Dec 3, 2008 at 11:27 AM, zack1403 <[EMAIL PROTECTED]> wrote: > >> >> Ive overridden both equals and hashCode (neither were overridden before) >> and >

Re: [T5] Palette NPE

2008-12-03 Thread zack1403
Ive overridden both equals and hashCode (neither were overridden before) and have been waiting for the issue to reproduce. It is very intermittent and a simple f5 makes it go away which is frustrating. I also am trying using GenericSelectModel as the encoder and model which might make the issue

Re: [T5] Palette NPE

2008-11-29 Thread zack1403
Bump for help on this? Is the because genericSelectModel.getOptionGroups returns null? This occurs intermitently and I havent been able to find a workaround. Zack zack1403 wrote: > > Hey All, > > I'm getting a NullPointerException when the palette component in 5.0.1

Re: Q : paging using loop component ?

2008-11-24 Thread zack1403
You probably want to check out t5 components (http://87.193.218.134:8080/t5components/t5c-commons/ref/index.html). Specifically the pagedLoop component. Zack dwi ardi irawan wrote: > > does anybody could give me information how to do paging using loop > component > in tapestry 5 > > thnx u v

[T5] Palette NPE

2008-11-23 Thread zack1403
Hey All, I'm getting a NullPointerException when the palette component in 5.0.16: Caused by: java.lang.NullPointerException at org.apache.tapestry5.internal.util.SelectModelRenderer.option(SelectModelRenderer.java:49) at org.apache.tapestry5.corelib.components.Palette$SelectedRen

[T5] AjaxFormLoop - Unable to convert serialized id back into an object.

2008-09-11 Thread zack1403
Hey All, I'm getting a recurring error that seems to have been fixed here: https://issues.apache.org/jira/browse/TAPESTRY-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel I am using AjaxFormLoop 3 times in my template and simply trying to do a master detail save. There is

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-16 Thread zack1403
Works great for me now Christian! Looking forward to further features! Zack Christian Scheid wrote: > > I changed the shortcut configuration for the switch file feature and now > it > works for me on my osx and windows machine using ctrl+alt+x. > Would be glad if someone could give it a go to s

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-13 Thread zack1403
ile > > Let me know how you go. > > cheers, > > christian > > > > On Fri, Jun 13, 2008 at 6:37 PM, zack1403 <[EMAIL PROTECTED]> wrote: > >> >> Hi Christian, >> >> I like the thought of some eclipse helper actions for tapestry 5 >>

Re: [T5] javassit exception? I have no idea...

2008-06-13 Thread zack1403
is not catch Exception, but catch only > HibernateException, that 'might' work. > > cheers, > Peter > > - Original Message - > From: "zack1403" <[EMAIL PROTECTED]> > To: users@tapestry.apache.org > Sent: Friday, 13 June, 2008 10:11:05 AM

Re: [T5] javassit exception? I have no idea...

2008-06-13 Thread zack1403
Add.java = http://pastebin.com/m6f3771f6 I am able to cause the error by adding a throw/catch around my session.save. Although that is in the onSubmit() method so it shouldnt actually be running on page load. Zack 9902468 wrote: > > If possible please attach also the page (Add.java) and corres

[T5] javassit exception? I have no idea...

2008-06-12 Thread zack1403
Anyone know what to make of this error? It showed up out of nowhere and it wont seem to go away :\ Is it an issue with tapestry or my environment (Ubuntu 8, java 1.6)? Thanks in advance, Zack org.apache.tapestry5.internal.services.RenderQueueException: Render queue error in BeginRender[survey/I

Re: loom, a tiny eclipse-plugin for tapestry5

2008-06-12 Thread zack1403
Hi Christian, I like the thought of some eclipse helper actions for tapestry 5 development! I installed your plugin but the shortcut isnt working. With a tml open I should just be able to press CTRL-ALT-x right? Thanks, Zack Christian Scheid wrote: > > Hey list, > > i created a tiny plugin

Re: Exception when using a grid in a form

2008-06-10 Thread zack1403
enning a JIRA on this. It smells like a sneaky bug. > José > > zack1403 a écrit : >> On #tapestry, y informed me to try volatile="true", but this didnt fix >> the >> issue for me. Jose, maybe that might work for you? >> Does it matter that my grid is withi

Re: Exception when using a grid in a form

2008-06-09 Thread zack1403
On #tapestry, y informed me to try volatile="true", but this didnt fix the issue for me. Jose, maybe that might work for you? Does it matter that my grid is within a formfragment? Zack zack1403 wrote: > > Anyone have any ideas on this? I am stuck on this exact same issue and

Re: Exception when using a grid in a form

2008-06-09 Thread zack1403
Anyone have any ideas on this? I am stuck on this exact same issue and have not been able to find a workaround. Zack José Paumard wrote: > > Hello all, > > I put a grid in a form, and added a column in that grid, to hold special > options about the item on the given row. > > I wrote somethi

Re: T3: Stop back button

2008-06-02 Thread zack1403
t; 4: I do not need basic research. I have built tons of Tapestry apps and > this > still eludes me. > 5: If its so basic, why do you not just answer my problem. > 6: If you don't have anything constructive towards the post, please just > do > not post... > > Thanks, >

Re: T3: Stop back button

2008-06-01 Thread zack1403
Do you really think this is the right thread for that question? Also, I doubt posting the same question twice will increase your chances of having it answered. In relation to your question, just make sure that the user cant access or makes changes to the survey if it has already been submitted . D

Re: t5-components MultipleSelect use

2008-06-01 Thread zack1403
org.apache.tapestry.commons.models.GenericMultipleSelectModel.getOptions(GenericMultipleSelectModel.java:83) Any thoughts? Zack zack1403 wrote: > > That actually did help being able to look through the code (some links are > broken from the 87.193.218.134 site). My issue that I was trying hard to > just have strings in the list. It

Re: t5-components MultipleSelect use

2008-06-01 Thread zack1403
apestry/demo/pages/MultipleSelectPage.tml > > zack1403 wrote: >> >> @ >> http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/MultipleSelect.html >> the docs say its not required but I guess I need it. Do you have a >>

Re: How to call service during startup?

2008-05-31 Thread zack1403
I am relatively new to tapestry so this was a huge help not only running a service on startup, but learning more about the Ioc container overall. Thanks, Zack Lubor Gajda wrote: > > Hi, > > Just inject your service to the 'contributeRegistryStartup' method as > final > parameter and directly u

Re: Tapestry-5.0.12-SNAPSHOT

2008-05-31 Thread zack1403
Thanks for the T5 components tip on upgrade to 5.0.12. I would have been stuck on that for a while had I not found this post. Updated POM with current t5-contrib/commons fixed the error Zack Tobias Wehrum wrote: > > Maybe an old T5C commons/contrib? That was it for me last two times I > had s

Re: t5-components MultipleSelect use

2008-05-30 Thread zack1403
@ http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/components/MultipleSelect.html the docs say its not required but I guess I need it. Do you have a snippet similar to what you gave for selectModel? Or further documentation on initiating an instance of a select

Re: t5-components MultipleSelect use

2008-05-29 Thread zack1403
Hmm, still getting the error: Render queue error in BeforeRenderTemplate[survey/contact/Upload:multipleselect]: Failure reading parameter 'encoder' of component survey/contact/Upload:multipleselect: Could not find a coercion from type org.apache.tapestry.internal.services.StringValueEncoder to ty

t5-components MultipleSelect use

2008-05-28 Thread zack1403
Hey All, Using tapestry-components, I'm trying to utilize the Mutiple Select component but am getting: 'Could not find a coercion from type org.apache.tapestry.internal.services.StringValueEncoder to type org.apache.tapestry.commons.encoder.MultipleValueEncoder'. Does anyone have an example of h

Re: Layout Attributes Shared

2008-05-23 Thread zack1403
Yea I meant I would set it onActivate of every page (which was a mess). Thanks again for your help. Zack joshcanfield wrote: > > > Yeah, onActivate doesn't get called for your components, it's a > page-level event. > > -- View this message in context: http://www.nabble.com/Layout-Attri

Re: Layout Attributes Shared

2008-05-23 Thread zack1403
her > files...) > > Layout.java: http://pastebin.com/m3ae085a2 > Index.java: http://pastebin.com/m116c1dd1 > Index.tml: http://pastebin.com/m4e494928 > News.java: http://pastebin.com/m265a4f > News.tml: http://pastebin.com/mc71972f > > Josh > > On Fri, May 23, 20

Re: Layout Attributes Shared

2008-05-23 Thread zack1403
a4f > News.tml: http://pastebin.com/mc71972f > > Josh > > On Fri, May 23, 2008 at 8:20 AM, zack1403 <[EMAIL PROTECTED]> wrote: >> >> Hey guys thanks a lot for you help so far. Josh, I have tried adding >> @Persist("flash") to many different parts

Re: Layout Attributes Shared

2008-05-23 Thread zack1403
r doing as Thiago suggested and > move the whole thing into an Application State Object. It'll take a bit > of work - you'll have to keep track of which messages to display on > which pages etc. - but it will probably be a cleaner, better solution in > the end. > > -F

Re: Layout Attributes Shared

2008-05-23 Thread zack1403
es; > > Layout template: >... > > Etc. etc. > > -Filip > > On 2008-05-23 17:20, zack1403 wrote: >> Hey guys thanks a lot for you help so far. Josh, I have tried adding >> @Persist("flash") to many different parts with no apparent luck. Filip, >>

Re: Layout Attributes Shared

2008-05-23 Thread zack1403
> > You could wrap the add functions in a MessageHolder class that you can > easily pass to your layout. Maybe that will work... > > -Filip > > zack1403 skrev: >> Yea I've tried multiple different combinations of @Persist to get >> something >>

Re: Layout Attributes Shared

2008-05-22 Thread zack1403
> Hopefully someone else will be able to help you, then. > > -Filip > > On 2008-05-23 01:20, zack1403 wrote: >> Filip, >> >> One of the first things I added was @Persist("flash") to my pages with no >> luck. Still the same behavior. Even wit

Re: Layout Attributes Shared

2008-05-22 Thread zack1403
h means that you have > to use some sort of persistence to make this work: > http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html > > -Filip > > On 2008-05-23 00:45, zack1403 wrote: >> No. Not using any persist. I really dont have anything else besides

Re: Layout Attributes Shared

2008-05-22 Thread zack1403
Hi Josh, Always cautious not to include code that would just confuse things :P My Layout component is here: http://pastebin.com/m4fd5d6a In my tml I am using the same line in all places (sans actual literal): A page of mine might look like this: http://pastebin.com/m415466a Each of my pages e

Re: Layout Attributes Shared

2008-05-22 Thread zack1403
ou are not using @Persist("flash") ? > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html > > > On Thu, May 22, 2008 at 6:33 PM, zack1403 <[EMAIL PROTECTED]> wrote: >> >> Hello all, >> >> I have a layout component wit

Layout Attributes Shared

2008-05-22 Thread zack1403
Hello all, I have a layout component with a List full of my own message objects as an attribute. First off, it seems that these values are shared across sessions/computers. Second, they persist until i either restart my server or end the session. Any ideas why an attribute of the layout class w

Re: Using t5-components

2008-05-19 Thread zack1403
Toby, You should just be able to add the following to your pom.xml in the appropriate places: t5components T5Components Maven Repository http://87.193.218.134:8080/t5components/maven-reposi

Re: TransformationException/ClassNotFoundException

2008-05-12 Thread zack1403
ough and wont. > > Hope this info helps someone, we are now running in production using > Tapestry 5 and JDK 6, and all is well. > > Best wishes > Peter > > - Original Message - > From: "zack1403" <[EMAIL PROTECTED]> > To: users@tapes

Re: TransformationException/ClassNotFoundException

2008-05-09 Thread zack1403
onal experience with the problem, just remembered it >> being mentioned. >> >> On Fri, May 9, 2008 at 2:11 PM, zack1403 <[EMAIL PROTECTED]> wrote: >>> I am running java 1.6.0_03 on Ubuntu 7. 5.0.11 is my tapestry version. >>> >>> Hmm that would

Re: TransformationException/ClassNotFoundException

2008-05-09 Thread zack1403
avaassist that would cause the > ArrayIndexOutOfBoundsException you are seeing. What version of > Tapestry are you running? > > Josh > > > On Fri, May 9, 2008 at 1:50 PM, zack1403 <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> >> Im getting a very w

TransformationException/ClassNotFoundException

2008-05-09 Thread zack1403
Hi All, Im getting a very wierd error that isnt very descriptive. When just loading this page: http://pastebin.com/m141bdd4d, I get this error: http://pastebin.com/m5f42dd31. If I refresh the error page I get a new error: http://pastebin.com/m1859133b Removing the ContactUpload property seems

Re: onValidate NPE

2008-05-02 Thread zack1403
h On Fri, May 2, 2008 at 11:32 AM, zack1403 <[EMAIL PROTECTED]> wrote: > > > > Your example is very incomplete and thus hard to debug. What version > of tapestry are you using? > > I'm guessing that the "web" in your method is supposed to be "up&q

Re: onValidate NPE

2008-05-02 Thread zack1403
Your example is very incomplete and thus hard to debug. What version of tapestry are you using? I'm guessing that the "web" in your method is supposed to be "up"? Do you have proper getter/setter methods for your uploadfile? Josh On Fri, May 2, 2008 at 11:05 AM, z

onValidate NPE

2008-05-02 Thread zack1403
hey all, i am trying to use the onValidate method to verify an uploaded file but am getting an npe on the UploadedFile. Even just trying to record error on form period does nothing as well. Am I using the onValidate/recordError incorrectly? @Component private Form form; private UploadedFile

Re: T5 actionlink, ajax zone and user onclick handler

2008-04-21 Thread zack1403
Why doesnt tapestry attach events to the DOM instead of using onClick? Zack Chris Lewis-5 wrote: > > Hi Lucca, > > I'd been looking for a good example to use to write a wiki explaining > the integration javascript by Tapestry, and your request gave me what I > was looking for. Check out the a

Re: Tapestry Start

2008-04-21 Thread zack1403
is <[EMAIL PROTECTED]>: >> >> Hi Zack. >> >> By chance are you using any 3rd party component libs? >> >> chris >> >> >> zack1403 wrote: >> > I have a very basic project with a few pages just doing basic crud >> stuff. My

Re: Tapestry Start

2008-04-21 Thread zack1403
Using T5 Components. I was able to get rid of the error when I renamed my classes back to what they were. I.e: pages.project.ProjectAdd went back to pages.project.Add etc. I know the feature is pretty new, maybe a bug? Zack Hi Zack. By chance are you using any 3rd party component libs? c

Tapestry Start

2008-04-21 Thread zack1403
I have a very basic project with a few pages just doing basic crud stuff. My Tomcat6 (SDK 1.6) server is running just this one tapestry project with nothing running of my own during startup. I get this stack trace after 10 seconds starting up. I should not that this project was working like a c