Difference between @InjectState & @Persist

2007-01-18 Thread jiju
Hi All, can you explain whats the difference if we are saving a page property as ASO with scope="session" and if we are saving a page property using @Persist in our basepage and extending this basepage where ever it is required. secondly i have noticed that if am setting an @Persist property in

Re: @Persist problem in MyBasepage

2007-01-18 Thread jiju
yes, that is working am getting the value of usercontext in Derivedclass but if i am setting usercontext [setUserContext(new usercontext());] in pageAttached() event the usercontext is null in the next request onwords Stephane Decleire wrote: > > Hi, > > Yes, your persistent properties wi

Re: @BeanForm How do you use it ???

2007-01-18 Thread D&J Gredler
Hi, What version are you using? Can you post the full stack trace? I looked at the source code and I don't really see how line 149 of BeanForm.java can cause a NPE... Also, what library id are you using in the .application file? Those jwcid's should probably include the library id, no? Take car

Re: No .page files ?

2007-01-18 Thread Simon Raveh
It is probably using jdk 1.5 and tapestry annotation to specify all the page configuration information inside the java source. Simon [EMAIL PROTECTED] wrote: I am playing around with a HoneycombLib generated Tapestry project There is only an application file and no page filesjust java

No .page files ?

2007-01-18 Thread munich
I am playing around with a HoneycombLib generated Tapestry project There is only an application file and no page filesjust java classes - but it works. How come there are no page files anymore? In the appliction file it only says: --

@BeanForm How do you use it ???

2007-01-18 Thread munich
I have tried: as well as: but it comes up with: ognl.OgnlException beanProperties java.lang.NullPointerException Stack Trace: * com.domain.components.BeanForm.getBeanProperties(BeanForm.java:149) Any pointing in the right direction? Thanks! ---

[JOB] Tapestry Developer

2007-01-18 Thread Steve Motola
Tapestry developers needed for cool client project. Be versed in Tapestry 3/4, Hibernate, Spring. Familiarity with Ajax/Tacos a plus. Please be a fluent English speaker / writer. Work is purely remote, outside of US ok too. Send your resume and rates. Thanks! ...

Re: Tapestry - Multiple File Upload

2007-01-18 Thread Anjana Gopinath
Unfortunately requirement is that users should be able to select multiple files or folders. I think the only option that"ll work out is a signed applet. Thanks for responding, Sunil. Anjana Gopinath True North Technology On Jan 18, 2007, at 2:06 PM, sunilmanu wrote: (you might hav

Re: Tapestry - Multiple File Upload

2007-01-18 Thread sunilmanu
(you might have thought about it already !) you can zip it and upload it to the server. Once thats done, unzip it on the server and delete the zip file. - Sunil Anjana Gopinath-2 wrote: > > Hi, > > I am using tapestry upload component to upload a file to the server. > This works very well

RE: Re: T41: Are there any known problems with BASE tag?

2007-01-18 Thread Anna Vo
> > We have been having issues with our CSS image URLs also. > > Example: > url(/assets/static/dojo/src/widget/templates/DatePicker.cssimages/dpBg.g > if) >>if your css is in a css folder in the context, you should use: >>url( "../assets/... >>if its direct in the context dir, use >>url( "./as

Re: T41: Are there any known problems with BASE tag?

2007-01-18 Thread RonPiterman
Anna Vo wrote: Ron- Can you give us an example of a wrong URL? the url is : /bardtke/blog/S861D28AA/l4/images/reiter_hg.gif the page url is : /bardtke/blog/S861D28AA/l4/l7 We have been having issues with our CSS image URLs also. Example: url(/assets/static/dojo/src/widget/templates/Dat

RE: T41: Are there any known problems with BASE tag?

2007-01-18 Thread Anna Vo
Ron- Can you give us an example of a wrong URL? We have been having issues with our CSS image URLs also. Example: url(/assets/static/dojo/src/widget/templates/DatePicker.cssimages/dpBg.g if) I've tried adding inline style tags with the correct image paths directly into the HTML, but Tapestry

Authorization Filter in Tapestry ?

2007-01-18 Thread sunilmanu
Hello Everyone, I want to implement an Authorization Filter in Tapestry that simply checks for the Logged In USER in Session,. public class AuthorizationFilter implements WebRequestServicerFilter{ public void service(WebRequest request, WebResponse response,

Re: Re: Re: @Persist problem in MyBasepage

2007-01-18 Thread Tapestry User List
i meant: public void pageBeginRender(PageEvent event) { super.pageBeginRender(event); } 2007/1/18, Tapestry User List <[EMAIL PROTECTED]>: and if you add this method in your subclass : public void pageValidate(PageEvent event) { super.pageValidate(event); } I thin

Re: Re: @Persist problem in MyBasepage

2007-01-18 Thread Tapestry User List
and if you add this method in your subclass : public void pageValidate(PageEvent event) { super.pageValidate(event); } I think that should work. All the best, D. 2007/1/18, Stephane Decleire <[EMAIL PROTECTED]>: Hi, Yes, your persistent properties will be available in all your

Tapestry - Multiple File Upload

2007-01-18 Thread Anjana Gopinath
Hi, I am using tapestry upload component to upload a file to the server. This works very well for a single file. But Is there a way to upload multiple files to server or to upload a directory? Thanks! Anjana Gopinath

Re: @Persist problem in MyBasepage

2007-01-18 Thread Stephane Decleire
Hi, Yes, your persistent properties will be available in all your subclasses. You could also init your persistent property with an @InitialValue annotation. -- Stéphane Decleire jiju a écrit : Hi All, I have one persistat property in my basepage , i am extending this basepage to specificPa

@Persist problem in MyBasepage

2007-01-18 Thread jiju
Hi All, I have one persistat property in my basepage , i am extending this basepage to specificPages will that persistant data be available in my derived pages also ? public abstract MyBasePage extends BasePage implements PageBeginRenderListener{ @Persist public abstract UserContext getUserContex

Tapestry DOJO Dialog with JavaScript OFF

2007-01-18 Thread Renat Zubairov
Hello All, I like AJAX implementation in Tapestry not only because it's easy for people that don't know JavaScript to do the all fancy things, but also that it might work without Javascript (when Javascript is off). That's an exceptional feature that no other (as far as I know ) frameworks can pr

T41: Are there any known problems with BASE tag?

2007-01-18 Thread RonPiterman
Hi - I have a problem with nice-urls since the css is inserting images in wrong urls - are there any issues with dojo and the base tag? Cheers, Ron - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Bypass pageBeginRender in Ajax calls

2007-01-18 Thread andyhot
You can't bypass... But if you do event.getRequestCycle().getResponseBuilder().isDynamic() you can find out if you're doing an XHR or not. Alexandru Dragomir wrote: To bypass it i don't you can. But you could conditionate the execution of that particular initialization code in the pageBegin

Re: Bypass pageBeginRender in Ajax calls

2007-01-18 Thread Alexandru Dragomir
To bypass it i don't you can. But you could conditionate the execution of that particular initialization code in the pageBeginRender by sending /not sending some variables in the ajax requests. Cheers, Alex On 1/18/07, jiju <[EMAIL PROTECTED]> wrote: Hi All, I have a pageBeginRender listener

Re: No ajax-response elements recieved

2007-01-18 Thread Markus Joschko
OK, the problem was an encoded german umlaut. E.g. the letter "ü" is (giving credit to the pred UTF-8 days) often encoded as ü in web pages. If the text is included in the XML response during an update, the XML engine of IE is stumbling about it. As the default charset is UTF-8 anyway it's no big

Re: [Filtered!] Re: T4.1.1 Client-side validation problems

2007-01-18 Thread Jim Downing
Hi Brian, thanks for the advice - I'll see what happens when I turn off the input disabling. cheers, jim Brian Duchek wrote: Back in Tap3, if you disabled form fields on the client it would totally screw up server side validation (and some client validation schemes). It was a technique fr