Re: T5.2.5 Error uploading file using FORM with ID will generate NPE.

2011-06-09 Thread ael
What do you mean i should use the Upload component? I only based the code based on http://tapestry.apache.org/uploading-files.html http://tapestry.apache.org/uploading-files.html Then i modified it based on Multiple FORM design. public class UploadExam

Re: T5.2.5 Error uploading file using FORM with ID will generate NPE.

2011-06-09 Thread Thiago H. de Paula Figueiredo
On Thu, 09 Jun 2011 23:45:03 -0300, ael wrote: Error uploading file using FORM with ID. File value is null. TEMPLATE CLASS You need to use the Upload component in your template. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and

Re: expansions and expresion language

2011-06-09 Thread Thiago H. de Paula Figueiredo
On Thu, 09 Jun 2011 22:50:17 -0300, bogdan_cm wrote: Hi everyone, Hi! I know I found it someplace but for the life of me i cannot find it again. There was a reference on how to use expansions, how to invoke methods from templates, how to generate numeric intervals in the template

T5.2.5 Error uploading file using FORM with ID will generate NPE.

2011-06-09 Thread ael
Error uploading file using FORM with ID. File value is null. TEMPLATE CLASS PAGE CLASS @Component(id = "guestForm") private Form guestForm; @Property private UploadedFile file; public void onSuccessFromguestForm() { // Set Path String path =

expansions and expresion language

2011-06-09 Thread bogdan_cm
Hi everyone, I know I found it someplace but for the life of me i cannot find it again. There was a reference on how to use expansions, how to invoke methods from templates, how to generate numeric intervals in the template and a few other things. Kind'a like an expression language for Tap. A

Re: tapestry-security 0.4.0 released!

2011-06-09 Thread Kalle Korhonen
It's stable as in its tested every which way. The only reason 0.4.0 is carrying a beta tag is that I'm planning on adding a few operations, and there's a remote possibility that some of the existing signatures will change. I fully recommend every T5.2 user moving to 0.4.0 as soon as possible. Kall

Re: tapestry-security 0.4.0 released!

2011-06-09 Thread ael
Wow... Good job... I can wait for the stable version :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-security-0-4-0-released-tp4459174p4474814.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: RE : Eclipse IDE and TML code completion

2011-06-09 Thread Mark
TapestryTools is currently being developed as part of GSOS. I don't think the autocomplete has been implemented yet. Mark On Jun 8, 2011 11:34 AM, wrote: > Hi > > Finally, get it working according to > http://wiki.apache.org/tapestry/Tapestry5JSPEditorEclipse . I don't > know why, but > > http://

Re: Tapestry 5.1.10 Links in Chrome and IE9

2011-06-09 Thread Thiago H. de Paula Figueiredo
On Thu, 09 Jun 2011 14:57:39 -0300, Pups wrote: Hello everybody, Hi! Ok, I'm trying to encode return_url parameter before calling addParameter("return_url", returnUrl) You should do that yourself, as the method documentation says: "Adds a parameter value. The value will be added, as is,

Tapestry 5.1.10 Links in Chrome and IE9

2011-06-09 Thread Pups
Hello everybody, Let's me try to describe my issue. I've some ActionLink on the component and when I click it my Tapestry application generate some link and return it part of code is here public Object onActionFromAddToBundleCart() throws ShoppingCartException { ... Link addProductsToCar

RE: Image file upload with Easy FCKEditor

2011-06-09 Thread Alex W. Croton
Hi Thiago, Yes, I have - there's a bit of a oops there ... I forgot one other change that I made - that is the local path that the files can be saved to - I have changed this in both the SimpleFckEditorPathServiceImpl class and in the section of the Pom file. Other than that, the details are

Re: Swf asset in jar root directory

2011-06-09 Thread leandroaispuru
Thank you for your reply Christian. 2011/6/9 Christian Riedel > It's right there: http://tapestry.apache.org/assets.html > > > Assets in Templates > > Assets can also be referenced directly in templates. Two binding > prefixes[1] exist for this: "asset:" and "context:". The "asset:" prefix can

Re: Image file upload with Easy FCKEditor

2011-06-09 Thread Thiago H. de Paula Figueiredo
On Thu, 09 Jun 2011 13:25:47 -0300, Alex W. Croton wrote: Hi All, Hi! In Firefox, I get a dialog box informing me that I have chosen to open upload.php - and what do I want to do with it? Selecting Cancel, I'm back to the Image Properties box, and can close it. Have you followed the

Image file upload with Easy FCKEditor

2011-06-09 Thread Alex W. Croton
Hi All, I posted a question some time ago regarding getting image uploads to work correctly with FCKEditor, but was pulled off onto another project and therefore unable to follow up, please accept my apologies. [previous posts on http://tapestry.1045711.n5.nabble.com/Image-file-upload-with-Eas

Re: Swf asset in jar root directory

2011-06-09 Thread Christian Riedel
It's right there: http://tapestry.apache.org/assets.html > Assets in Templates > Assets can also be referenced directly in templates. Two binding prefixes[1] > exist for this: "asset:" and "context:". The "asset:" prefix can obtain > assets from the classpath (the default) or from the web contex

Re: BeanEditForm - small problem

2011-06-09 Thread Howard Lewis Ship
Please refer to the FAQ for a description of this problem, and some solutions. On Fri, May 20, 2011 at 9:23 AM, toejoe wrote: > Thank You for the reply. > > However, suggested solution did not work, but your proposal gave me the > idea. I deleted all constructors from entity class. Bean edit form

Re: T5: property expression language intelligence

2011-06-09 Thread Howard Lewis Ship
I understand where you are coming from, but I can't see this in the core. Robert identified my thinking at the time I introduced the naming aliases, and even that's a bit controversial. On Thu, May 26, 2011 at 3:58 PM, Adam Zimowski wrote: > No prob. I'll just hire intern monkeys to do all that u

Re: Swf asset in jar root directory

2011-06-09 Thread leandroaispuru
Sorry... a friend tells me about the "classpath" prefix. Now i have it working. I can't find that in Tapestry Asset Documentation. I think it must be in some place where i didn't search. Thanks again. 2011/6/9 > Hi, > I'm having a problem including an asset from the root dir of a jar. > I have

Swf asset in jar root directory

2011-06-09 Thread leandroaispuru
Hi, I'm having a problem including an asset from the root dir of a jar. I have two projects. projectA --> a web application (war) . projectB --> a jar project with pages (An own Tapestry lib). ProjectA has projectB.jar in its libs directory. ProjectB contains a .swf file that is injected in a p

Re: let tapestry handle hibernate or use spring ?

2011-06-09 Thread Thiago H. de Paula Figueiredo
On Thu, 09 Jun 2011 02:21:33 -0300, wrote: Thanks Thiago, is there anything which is unique in tapestry-hibernate? I means, something I have to give up if I go for spring? Tapestry-Hibernate creates creation of ValueEncoders for mapped entity classes automatically. I can't recall anything e

Issue in implementing multiple select dropdown twice in a form

2011-06-09 Thread nazarhussain_s
Hi, If I am implementing multiple select twice in a form, I am facing an issue.I am currently following Tapestry in Action - pg 145 example for multiple select. If I am trying to implement the example in the way given below i am getting ambiguous output.Anybody help out regarding that. Home

Re: T5 Using DAO within a DAO causes NPE.

2011-06-09 Thread kristian marinkovic
i also prefer constructor injection over anything else :) On Thu, Jun 9, 2011 at 8:05 AM, Taha Hafeez wrote: > Yes, but wherever possible I find it a better option as using constructor > injection ensures the bean is created properly even if you yourself create > it, so minimal NPEs, just like t

Glassfish 3.1 - and tapestry live class reload

2011-06-09 Thread Magnus Kvalheim
Hi all, We're considering switching from a servlet container to a java EE 6 server. I've installed glassfish 3.1 and am using eclipse helios with glassfish plugin. Glassfish has a reloading feature built in, but it actually reloads the app whenever a class file change. Tapestry's live class reloa

Re: First stab at CDI module for tapestry

2011-06-09 Thread Magnus Kvalheim
Thanks Howard, great to hear I'm on the right track :) I haven't given much thought to exposing tapestry services to cdi. It's not something we currently require for our projects, but if it's requested by others I could look into that as well! *Question* I have one issue related to the CDIObjectP

Re: Just completed a barcode component using barbecue

2011-06-09 Thread Massimo Lusetti
On Thu, Jun 9, 2011 at 7:45 AM, Greg Pagendam-Turner wrote: > Hi All, > > I've just completed a component to render barcodes using the opensource > library called barbecue. > > All it takes is to put in a > page. > > Does anyone want to put this component in their component library? Publish it