Re: Tapestry 4.1: dojo everywhere?

2006-08-04 Thread Jesse Kuhnert
Yes, it was a mistake to leave that parameter in there at all. It was during a fanciful/fleeting moment where I thought it would be a good/practical idea to globally turn "ajax" on/off like a water spicket. Rational thought soon returned when actually implementing these features. You should find

Re: Tapestry 4.1: dojo everywhere?

2006-08-04 Thread hv @ Fashion Content
I think the intention is that ajax functionality is disabled by default. "Bernard" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Beat Hoermann wrote: >> I surrounded the form component with a shell component. After all, my >> tiny web- >> app, just displaying a simple text f

RE: disable form component

2006-08-04 Thread Mark Stang
It appears you are trying to programatically change a component on the server. However, that seems to require you understand the api for the components. Most components have a paramter: This is from the component reference for Tapestry 3, for the TextField Component. Parameters NameType

Simple question that I have no idea about: paramets in ajax event listeners..

2006-08-04 Thread Josh Long
Hello all! Is there a way to specify parameters for a listener method annotated with the EventListener annotaton, as i might with directlink? My use case is: I have a search which in turn has a Next | Back row. I want next to be given the page range and the same for back. Using a standard direct

Re: Tapestry 4.1: dojo everywhere?

2006-08-04 Thread Bernard
Beat Hoermann wrote: I surrounded the form component with a shell component. After all, my tiny web- app, just displaying a simple text field and a submit button, not using ajax nor any dojo things, was forced to load the 173 KByte heavy "dojo.js". The integration of dojo into Tapestry seems qu

RE: disable form component

2006-08-04 Thread zqzuk
hi, thnx. but i dont know how to do this... i suppose, i need to get the component, for exmaple IFormComponent comp = (FormComponent)getComponent("myCheckBox")); if(condition satisfied){ comp.setDisabled(true); } however i searched tapestry API, there isnt such a setDisabled() method or some

Re: Ajax form question about Tapestry 4.1

2006-08-04 Thread Norbert Sándor
What is an "empty page"? I mean does it have the expected output or simply nothing is rendered? Use a @Shell component to wrap the page because @Form and @DropdownDateTimePicker requires dojo (which is provided by @Shell). Regards, Norbi Marcus wrote: Sorry, I've download Tapestry 4.1 and

Re: Ajax form question about Tapestry 4.1

2006-08-04 Thread Marcus
Sorry, I've download Tapestry 4.1 and folowing jars, all in \shared\lib aspectj-1.5.2.jar easymock.jar jakarta-oro-2.0.8.jar ognl-2.6.9.jar testng-4.7-jdk15.jar commons-io-1.2.jar hivemind-1.1.1.jar hivemind-lib-1.1.1.jar I was using Tapestry 3.03 and all of your library dependencies, then I de

Re: Ajax form question about Tapestry 4.1

2006-08-04 Thread Marcus
Hi, I've download Tapestry 4.1 and folowing jars, all in \shared\lib aspectj-1.5.2.jar easymock.jar jakarta-oro-2.0.8.jar ognl-2.6.9.jar commons-io-1.2.jar

anchors, t4 and base tag

2006-08-04 Thread Henri Dupre
We are using with tapestry 4 many service encoders to generate nicer urls. But this forces us to use the default tag generated by the shell. This did unfortunately break all our empty links and anchors (all the urls that are like ...). For a simple page, I can use @PageLink with the anchor parame

RE: Re: Single HTML, many Pages

2006-08-04 Thread Mark Stang
Have you tried "RenderBlock"? Or a Choose? You seem to have one page and want to have different views within that one page. Does that sound like what you are trying to do? Or do you have many pages and want to re-use components across those pages? Or do you have "real" tapestry components?

RE: disable form component

2006-08-04 Thread Mark Stang
It is possible, most components have a "disabled" attribute. I usually have a radio button or check box do a submit. Once the submit happens, a flag is set on the server, which can then be used by the individual components to "enbable" or "disable" them. HTH, Mark -Original Message

DirectLinks failing

2006-08-04 Thread Manuel Sugawara
Hi all, we have created 3 sites using tapestry and we have seen intermittently that some direct links are failing to set its parameters before calling its listener methods. We have logged the referer header when this happens and indeed the parameters are sent to the server. Since this problem appea

Re: Tapestry 4.1 dependecies.

2006-08-04 Thread Martin Strand
Leo, the plugin won't work at all unless you create a ~/.m2/ directory (which already exists if you've used maven outside eclipse). Other than that I've never had any problems with it. Jesse, have you found a clever way to have project A depend on project B without having to mvn install proje

Re: Tapestry 4.1 dependecies.

2006-08-04 Thread Jesse Kuhnert
I'm curious, what problems have you had with the maven2 eclipse plugin? I've found it to be very functional and helpful in most cases. I don't use the feature for adding dependencies on the fly, and I don't particular like all the recompilation that happens but overall I've been very pleased. (In

Re: Single HTML, many Pages

2006-08-04 Thread Andrei Chiritescu
You may be able to do that using the "$template" asset ... Regards, Andrei Chiritescu Nerijus Areska wrote: i AM encapsulating this in Pages, if i would choose components, i would still have separate component for each entity. Which leaves with the similar problem, you cannot have many compone

Re: Tapestry 4.1 dependecies.

2006-08-04 Thread Norbert Sándor
The site contains the standard maven information. You can find dependencies under the menu "Project information/Dependencies": http://tapestry.apache.org/tapestry4.1/tapestry-framework/dependencies.html Regards, Norbi Leo Sakhvoruk wrote: Hi, I'm trying to use Tapestry 4.1 for a new project

Re: Tapestry 4.1 dependecies.

2006-08-04 Thread Rui Pacheco
I downloaded the jars from the homepage. And I left behind the following jars from 4.0.2: commons-codec hivemind hivemind-lib javassist ognl oro commons-io - this is new, exception reporting won't work without it. On 8/4/06, Leo Sakhvoruk <[EMAIL PROTECTED]> wrote: Hi, I'm trying to use Tapes

Re: Tapestry 4.1 dependecies.

2006-08-04 Thread Leo Sakhvoruk
Awesome, thanks a bunch! Rui Pacheco wrote: I downloaded the jars from the homepage. And I left behind the following jars from 4.0.2: commons-codec hivemind hivemind-lib javassist ognl oro commons-io - this is new, exception reporting won't work without it. On 8/4/06, Leo Sakhvoruk <[EMAIL PRO

Re: Single HTML, many Pages

2006-08-04 Thread Nerijus Areska
i AM encapsulating this in Pages, if i would choose components, i would still have separate component for each entity. Which leaves with the similar problem, you cannot have many component java files, and one component html Jesse Kuhnert wrote: Have you tried encapsulating these other sections

Tapestry 4.1 dependecies.

2006-08-04 Thread Leo Sakhvoruk
Hi, I'm trying to use Tapestry 4.1 for a new project but I can not find the dependency libraries required by it on the site. I've seen that it uses Maven build system now but the Maven plugin for Eclipse leaves much to be desired (like working period) at this point so I would like to simply d

Re: Single HTML, many Pages

2006-08-04 Thread Jesse Kuhnert
Have you tried encapsulating these other sections of logic into "components" ? On 8/4/06, Nerijus Areska <[EMAIL PROTECTED]> wrote: Hello all, i've stumbled upon %subject% problem. I am writing some CRUD for myself, and soon noticed, i have too many identical html's like ViewStudents.html, V

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
I see. I will try that and reply with news. On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: The model variable will be a member variable in the Page.java - and your method is in the Page.java - so why can't the method access a member variable of the class it is in? On 8/4/06, Rui Pacheco <[E

Single HTML, many Pages

2006-08-04 Thread Nerijus Areska
Hello all, i've stumbled upon %subject% problem. I am writing some CRUD for myself, and soon noticed, i have too many identical html's like ViewStudents.html, ViewGroups.html. Since only thing they got in them is some component call, i decided to have one and only html probably named ViewR

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
The model variable will be a member variable in the Page.java - and your method is in the Page.java - so why can't the method access a member variable of the class it is in? On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Yes, but if I define the function as you did, then the model variable

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
Yes, but if I define the function as you did, then the model variable won't be known inside of it. On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: each value is stored in a model object in the page. this is because of ognl:model imagine this being like a for loop for(i=0; i < 10; i++) { }

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
each value is stored in a model object in the page. this is because of ognl:model imagine this being like a for loop for(i=0; i < 10; i++) { } each iteration the model object is like "i" so when you refer to model in getFoo you are referring to each model that the for loop is iterating thr

Re: disable form component

2006-08-04 Thread zqzuk
hi, thnx for that. but does that mean it is not possible to do so using tapestry? the problem is, im using tapestry and java to render the page and form elements, collect input from these components and do database transactions. -- View this message in context: http://www.nabble.com/disable-fo

RE: Re: I want my HTML *that* way

2006-08-04 Thread Kristian Marinkovic
hi, you could try to check your html templates by using the HTML Validator add-on for Firefox. It will show you exactly where the unclosed tags are. i know it's not exactly what you are looking for :) but it could help reduce the number of hours you spend on correcting your templates. maybe you

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
Exactly what I meant. On 8/4/06, Murray Collingwood <[EMAIL PROTECTED]> wrote: Here's a simple example - an extra where I hadn't intended one. This could easily have been ignored (maybe a warning). org.apache.tapestry.parse.TemplateParseException Closing tag on line 82 is improperly nested

Re: I want my HTML *that* way

2006-08-04 Thread Murray Collingwood
Here's a simple example - an extra where I hadn't intended one. This could easily have been ignored (maybe a warning). org.apache.tapestry.parse.TemplateParseException Closing tag on line 82 is improperly nested with tag on line 3. location: context:/WEB-INF/pages/cart/Viewcart.html, line

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
My experience tells me they have to match, also. You can't just close them anywhere, you have to pick that messy html generated by some application and ident it. Thats the part where I lose hours of work. On 8/4/06, Martin Strand <[EMAIL PROTECTED]> wrote: If you leave open , or tags around,

Re: I want my HTML *that* way

2006-08-04 Thread Martin Strand
If you leave open , or tags around, Tapestry can't parse the template properly since it's no longer an xml document. Just close all tags, it doesn't really have to be valid HTML. Martin On Fri, 04 Aug 2006 13:10:50 +0200, Rui Pacheco <[EMAIL PROTECTED]> wrote: This is a possible solut

Re: Manipulate components inside a @For with DirectLink.

2006-08-04 Thread Reto Hotz
The TabGroup has a @DirectLink to change the state: minimized/maximized. Home.html: TabGroup.html: TabGroup.jwc: TabGroup.java: public abstract class TabGroup extends BaseComponent implements PageAttachListener, IFormComponent { public abstract String getTitle(); @Pe

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
How do you pass the Model object to your getAnswer function? And while writing the line on the page, how is he going to know which model is that line referring to? On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: well what i am suggesting is to create a method called getFoo which is not in your

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
well what i am suggesting is to create a method called getFoo which is not in your model. getFoo is on your page class using href=ognl:foo all you are doing is wiring the href to a getFoo method on your page inside getFoo you create the string as follows: public String getAnswer() { return ne

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
I don't think I can create a getAnswer method, as my answer variable is inside an object through which I am iterating in a @For loop. The problem with trial and error is that I don't know where to begin. On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: please try this: href=ognl:answer and in

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
please try this: href=ognl:answer and in public String getAnswer() { return new String ( javascript:alert(" ' "+ ognl:model.answer.toString() + " ' " ); } i recommend you use view source to see the generated HTML and tweak things here and there - with a little trial and error you'll get it r

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
I changed my code to this: But now I get an alert saying "ognl:model.answer". On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: each value of your For loop is stored in the ognl:model so for your href you need to access the model object to create the alert javascr

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Karthik N
By "ugly" I was alluding to my approach, and not the formatting of the hidden fields. :-) I would ideally like not to manipulate the html using js to set a F to T, even if i know i can do it. On 8/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: But still more efficient than TRUE/FALSE for rende

Re: Manipulate components inside a @For with DirectLink.

2006-08-04 Thread Karthik N
I am assuming that to the @DirectLink you are passing the appropriate parameter(s) that makes it render a unique URL for each iteration? Any code snippets would help. On 8/4/06, Reto Hotz <[EMAIL PROTECTED]> wrote: Hi Karthik, On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: > I think you wil

Re: Manipulate components inside a @For with DirectLink.

2006-08-04 Thread Reto Hotz
Hi Karthik, On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: I think you will have to look at the parameters that are passed to your TabGroup component. ensure you have cache="false" on all of them in the .jwc file of TabGroup Makes no difference, unfortunately. Greetings Reto -

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
each value of your For loop is stored in the ognl:model so for your href you need to access the model object to create the alert javascript. On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Jesse, how can I access the model in your example? I tried your snippet and it generates an exception.

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
Jesse, how can I access the model in your example? I tried your snippet and it generates an exception. On 8/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: The @Any component is great for this. You can attach a jwcid="@Any" to automatically "decorate" existing random html elements without necess

Tapestry 4.1: dojo everywhere?

2006-08-04 Thread Beat Hoermann
I created a form with a single text field. To my surprise Tapestry 4.1 rendered an HTML-page that contained a piece of javascript with dojo-commands. Since the "dojo.js" was not loaded into the HTML-page it gave me an error. So I surrounded the form component with a shell component. After all, m

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
Its exactly what you saw on the example before. The difference is, I need the parameter passed to the alert to be created dinamically, instead of a hardcoded "1". On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: Can you post a snippet also of what you want the final desired HTML to look like?

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Andreas Andreou
Actually, the idea of Tapestry providing additional js functions that would interact with the html it renders is pretty interesting. Another (more usual) example of this is for replacing (or even including) direct link parameters on the client by tweeking the generated urls. I guess you could log

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Jesse Kuhnert
But still more efficient than TRUE/FALSE for rendering. They aren't typically (hidden input fields) meant to be human friendly so I appreciate the length of statements. (Esp as there are sometimes a great number of them) On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: Yes I meant changing the v

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
Can you post a snippet also of what you want the final desired HTML to look like? On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Sorry, I guess an example is the best way to show my problem:   I want my want to be generated dinamically. T

Re: Passing parameters to a JS function

2006-08-04 Thread Jesse Kuhnert
The @Any component is great for this. You can attach a jwcid="@Any" to automatically "decorate" existing random html elements without necessarily doing anything specific to one component. In your case (as previously suggested), you could add the jwcid="@Any" and then do something like: href="ogn

Re: [New Service]

2006-08-04 Thread Jesse Kuhnert
If you want to register your service as something Tapestry will recognize take a look at this file for an example of how Tapestry does it. http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/descriptor/META-INF/tapestry.services.xml?view=markup The registration part is d

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Karthik N
Yes I meant changing the values of the hidden @If from 'F' to 'T' - rather ugly. On 8/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I'm sure he meant changing the hidden form input fields that control @If in javascript ;) On 8/4/06, Detlef Schulze <[EMAIL PROTECTED]> wrote: > > Javascript run

Re: disable form component

2006-08-04 Thread Karthik N
i would suggest you use javascript to be able to do this on the client side only. iterate through the dom and set the disabled property for your form controls based on the button click On 8/4/06, zqzuk <[EMAIL PROTECTED]> wrote: mmm i meant to disable the component not to use the disabled com

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Karthik N
Bear with me it's a long description I want to use Dojo's TabContainer. But I want to implement lazy tab loading. by that I mean that all contents of all tabs will not be loaded. Here is the approach I follow: 1) I have two forms. The first Form encompasses the TabContainer and has a Submit

Re: Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
Sorry, I guess an example is the best way to show my problem:   I want my want to be generated dinamically. The number comes from the database, inside an object called Model. How can I place it there? On 8/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wr

RE: [New Service]

2006-08-04 Thread Scott Venter
Hey Jesse, Sorry for the vague post. I have Howards book (Tapestry in action) but am using Tapestry 4. The book refers to writing custom engine services when creating new kinds of interaction between client browser and the server (Chapter 8 advanced techniques). Listing 8.3 refers the Banner

Re: disable form component

2006-08-04 Thread zqzuk
mmm i meant to disable the component not to use the disabled component in the first place. for example, if user selects "ENABLE" then other form components are enabled; otherwise if user selects "DISABLE" then all form components are disabled and do not allow input. -- View this message in conte

Re: Tapestry + SVG

2006-08-04 Thread Jesse Kuhnert
I think some of the dojo engineers are working on a cross-browser API that will make appropriate use of the right technology depending on which browser your code is running on. (also believe one of the engineers involved had something to do with the original adobe svg support, so we shouldn't need

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Jesse Kuhnert
I'm sure he meant changing the hidden form input fields that control @If in javascript ;) On 8/4/06, Detlef Schulze <[EMAIL PROTECTED]> wrote: Javascript runs on the client browser, the @If is evaluated on the server What are you trying to accomplish ?!?!?!?!? -Original Message-

RE: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Detlef Schulze
Javascript runs on the client browser, the @If is evaluated on the server What are you trying to accomplish ?!?!?!?!? -Original Message- From: Karthik N [mailto:[EMAIL PROTECTED] Sent: Freitag, 4. August 2006 14:45 To: Tapestry users Subject: Forcing all @If to evaluate to True on F

Re: Manipulate components inside a @For with DirectLink.

2006-08-04 Thread Karthik N
I think you will have to look at the parameters that are passed to your TabGroup component. ensure you have cache="false" on all of them in the .jwc file of TabGroup On 8/4/06, Reto Hotz <[EMAIL PROTECTED]> wrote: Hello, In T4, I have a custom component (TabGroup) in a @For loop. The componen

Re: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Jesse Kuhnert
Perhaps we could be more helpful if you told us what the general purpose of your logic is? (ie does it have to do with validation?) On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: I have a rather bizzare requirement (I think) My Form has 3 or 4 @If components. At any point only one of the @I

Re: Tap 4.1 Migration - deprecated initialize()

2006-08-04 Thread Karthik N
we were able to get most of our code outside of the initialize method. one important learning, in trying to port the initialize() to pageBeginRender - pageBeginRender never gets called for a DirectLink, but only for Form Submits On 8/4/06, Nick Westgate <[EMAIL PROTECTED]> wrote: Hi Chris. I

Re: disable form component

2006-08-04 Thread Karthik N
I'm not sure about the form itself, but you can disable Form controls using the disabled HTML attribute. On 8/4/06, zqzuk <[EMAIL PROTECTED]> wrote: Hi, just wonder is there any way to disable a form component in code? i searched tapestry api, but seems theres only a method isDisabled() which

Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Karthik N
I have a rather bizzare requirement (I think) My Form has 3 or 4 @If components. At any point only one of the @If is True, all others are false. But, for a particular Submit button I want all the @If to force-evaluate to True on the Rewind. One ugly way is to actually change the HTML using ja

Re: Passing parameters to a JS function

2006-08-04 Thread Jesse Kuhnert
Yes, also don't forget the power of "this" and how it changes depending on context. I'd have to see your code but it's quite possible that you can navigate from "this" to any dom node in your browser if "this" points to a dom node. On 8/4/06, Karthik N <[EMAIL PROTECTED]> wrote: i guess i'm not

Re: Passing parameters to a JS function

2006-08-04 Thread Karthik N
i guess i'm not too clear what you want to achieve: i suppose you can have an informal parameter onclick=ognl:clickAction and then create the javascript in the getClickAction which forms the string based on the current ID On 8/4/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: Hi all I need to pass

Re: [New Service]

2006-08-04 Thread Jesse Kuhnert
http://jakarta.apache.org/hivemind/ ? :) On 8/4/06, Scott Venter <[EMAIL PROTECTED]> wrote: Anyone have a link to tutorials/examples on creating new services in Tapestry 4.0? This email and any files transmitted with it are confidential and intended solely for the use of the individual or enti

Re: Tapestry + SVG

2006-08-04 Thread Mitchell O'Brien
On 04.08.2006, at 07:30, Peter Dawn wrote: i am planning to provide perhaps images, but not static ones but dynamic ones which would change depending upon the screen size or some other trigger. it would be very good if SVG can be compatible with tap and even backward compatible with previous ta

Passing parameters to a JS function

2006-08-04 Thread Rui Pacheco
Hi all I need to pass a parameter to a JS alert(). This is repeated in several rows of a table created with a @For component, and the parameter is the id of the elements of the current row. Passing will of course break the JS function and the HTML its in. Can anyone please sugest a different so

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
I'll check that plugin right now. Many thanks! On 8/4/06, Nick Westgate <[EMAIL PROTECTED]> wrote: Hi Rui. This is one reason I'm glad to be still on T3, and thankful for Spindle! See if you can find an HTML checker for your IDE. I've done this before, and my advice is to look for one which i

Re: I want my HTML *that* way

2006-08-04 Thread Nick Westgate
Hi Rui. This is one reason I'm glad to be still on T3, and thankful for Spindle! See if you can find an HTML checker for your IDE. I've done this before, and my advice is to look for one which is customizable (think "jwcid"). (I see someone's just suggested Dave Ragget's htmltidy, which has an E

disable form component

2006-08-04 Thread zqzuk
Hi, just wonder is there any way to disable a form component in code? i searched tapestry api, but seems theres only a method isDisabled() which returns the component's state, but no methods that can change this state... is there anyway i can do this please? thanks -- View this message in conte

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
This is a possible solution.. On 8/4/06, Detlef Schulze <[EMAIL PROTECTED]> wrote: You could try to use a tool for cleaning your html. There are many tools out there for this (i.e. htmltidy http://www.w3.org/People/Raggett/tidy/) Cheers, detlef -Original Message- From: Rui Pacheco [m

RE: I want my HTML *that* way

2006-08-04 Thread Detlef Schulze
You could try to use a tool for cleaning your html. There are many tools out there for this (i.e. htmltidy http://www.w3.org/People/Raggett/tidy/) Cheers, detlef -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Freitag, 4. August 2006 12:58 To: Tapestry users Subject

Re: I want my HTML *that* way

2006-08-04 Thread Norbert Sándor
When creating a page in Dreamweaver, set it to XHTML format. Tapestry will parse XHTML templates without problem. Regards, Norbi Rui Pacheco wrote: Its not the first time that Tapestry's HTML parser throws an exception because a piece of HTML is not well formed. If I have a table that isn't cl

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
Well, I don't have that luxury. Once a design is out of their department, it won't go in. This is really a huge time waster. Right now I'm fixing another snippet, looking for stray tags. On 8/4/06, Ron Piterman <[EMAIL PROTECTED]> wrote: train your designers to produce clean html - after all n

Manipulate components inside a @For with DirectLink.

2006-08-04 Thread Reto Hotz
Hello, In T4, I have a custom component (TabGroup) in a @For loop. The component has a @DirectLink to manipulate itself. Now I have the problem, that the @For-loop creates only one instance of my component and reuses it in every loop. And thus if I click on the components DirectLink to manipulate

Re: I want my HTML *that* way

2006-08-04 Thread Ron Piterman
train your designers to produce clean html - after all nowadays its not out of the cloudes.. Cheers, Ron Rui Pacheco wrote: Its not the first time that Tapestry's HTML parser throws an exception because a piece of HTML is not well formed. If I have a table that isn't closed properly, or a spa

Re: Tapestry + SVG

2006-08-04 Thread Dennis Cieplik
> i am planning to provide perhaps images, but not static ones but > dynamic ones which would change depending upon the screen size or some > other trigger. it would be very good if SVG can be compatible with tap > and even backward compatible with previous tap versions. Dynamic images could be ea

Re: Problem with parameters of a custom component (Tapestry 4.01)

2006-08-04 Thread Ron Piterman
Brian Doherty wrote: Hi, Yes, I understand what you are saying here. I do not understand the following. If I use instance variables to pass the storeLocation into my component it works fine. storeLocation is passed through to the component and getLocationOfStore() contains the location I passe

Re: Problem with parameters of a custom component (Tapestry 4.01)

2006-08-04 Thread hv @ Fashion Content
Is it an ExternalPage parameter that you are trying to access in pageValidate()/pageBeginRender() ? I remember having trouble with the order of callbacks for external pages. You might find that the you are accessing the parameter before activateExternalPage() has been called. > Hi, > Yes, I und

Re: I want my HTML *that* way

2006-08-04 Thread Rui Pacheco
Its not the first time that Tapestry's HTML parser throws an exception because a piece of HTML is not well formed. If I have a table that isn't closed properly, or a span tag that isn't opened correctly, then its impossible to continue, for example. My problem is, I'm creating my component's tem

Re: Tacos4 Live Demo is down?

2006-08-04 Thread Bernard Lange
Bernard Lange wrote: > I forgot to add that I'm talking about live demo referenced from Tacos > home page > > Demo link > Yeah right. As I wrote in other post. Above link is OK. But

Re: Tacos4 Live Demo is down?

2006-08-04 Thread Bernard Lange
Josh Long wrote: > download tacos and the war for the demo is available ont he sam page > from sourceforge as the tacos lib itself. plop it in a container and > you're all set. ;-) Thanks. I've just noticed what is wrong. The links in tacos component reference are wrong. I.e. Dialog component pag

Re: Tacos4 Live Demo is down?

2006-08-04 Thread Josh Long
download tacos and the war for the demo is available ont he sam page from sourceforge as the tacos lib itself. plop it in a container and you're all set. ;-) Josh On 8/4/06, Bernard Lange <[EMAIL PROTECTED]> wrote: Hello, My colleague is doing Tapestry/JSF evaluation in terms of their suitabil

Re: Tacos4 Live Demo is down?

2006-08-04 Thread Bernard Lange
I forgot to add that I'm talking about live demo referenced from Tacos home page Demo link regards, Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Tacos4 Live Demo is down?

2006-08-04 Thread Bernard Lange
Hello, My colleague is doing Tapestry/JSF evaluation in terms of their suitability for his project. To support my argument, that Tapestry would be a great choice I wanted to show him some cool features, he asked about, that can be obtained in Tap 4 / 4.1 using Tacos. Unfortunately it seems that T

Re: Tap 4.1 Migration - deprecated initialize()

2006-08-04 Thread Nick Westgate
Hi Chris. I don't know, you'd have to check the source, but finishLoad()doesn't really belong in this list because it's a method on IComponent, not IPage. Cheers, Nick. Chris Chiappone wrote: I'm curious where does finishLoad fit into this order? On 8/3/06, Nick Westgate <[EMAIL PROTECTED]>

[New Service]

2006-08-04 Thread Scott Venter
Anyone have a link to tutorials/examples on creating new services in Tapestry 4.0? This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sys

Re: Problem with parameters of a custom component (Tapestry 4.01)

2006-08-04 Thread Brian Doherty
Hi, Yes, I understand what you are saying here. I do not understand the following. If I use instance variables to pass the storeLocation into my component it works fine. storeLocation is passed through to the component and getLocationOfStore() contains the location I passed in from the page. I

Re: Button and popup problem

2006-08-04 Thread Taavi Sildeberg
Hi Nick, Thanks for the quick replay :) Looks like this ButtonLinkRenderer is the thing what I am looking for. But I have some questions about that renderer: Inside is a next function protected String getScript(String url, String target) { return "window.open('" + url + "','" + targe

Re: How to specify a Component not in my Library?

2006-08-04 Thread hv @ Fashion Content
Don't think you can do that. As a fix you could copy the Tapestry .jwc to your webapp and get the tap component that way. "Jesse Kuhnert" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] >I have to admit that I have no idea. If no one else come up with a quick > answer I'll dig a

Re: I want my HTML *that* way

2006-08-04 Thread hv @ Fashion Content
I never had that problem could you be a bit more specific "Rui Pacheco" <[EMAIL PROTECTED]> skrev i en meddelelse news:[EMAIL PROTECTED] > Hi all > > I have a template, designed under DreamWeaver with loads of randomly > placed > HTML tags, and Tapestry won't parse it. It chockes on tags that do

Re: R: RoR

2006-08-04 Thread Danny Angus
All, Please don't feed the trolls. "Giampaolo Tomassoni" <[EMAIL PROTECTED]> wrote on 03/08/2006 19:42:44: > Ahahahah! That's a great way to get a fast unsubscribe. :) *** The information in this

RE: RoR

2006-08-04 Thread Danny Angus
Konstantin Ignatyev <[EMAIL PROTECTED]> wrote on 03/08/2006 19:13:04: > He is not the first person having problem with > unsubscribe functionality. > It is better be fixed. You are assuming that it is broken, given the number of lists and the number of subscribers Apache hosts *almost* no one is

Re: RoR

2006-08-04 Thread Danny Angus
1/ check which address you are subscribed from, it may not be the same as the one you use when you are sending mail 2/ send a blank message to [EMAIL PROTECTED] 3/ follow the instructions there for unsubscribing an address other than the one you are sending from. 4/ remember to reply to the confir

Re: Button and popup problem

2006-08-04 Thread Nick Westgate
Hi Taavi. I'm not sure exactly what you want, but I'm sure you can easily make it. Look at the source for Tapestry (are you using 4?) and look in this dir: contrib\src\java\org\apache\tapestry\contrib\link There you'll see PopupLinkRenderer.java and ButtonLinkRenderer.java. ButtonLinkRenderer

Button and popup problem

2006-08-04 Thread Taavi Sildeberg
Hello guys, I have next situation: In one page user input some text in a form and then presses button and form submits the form. After submit opens a new window whit a user input from previous page. I have implemented this situation using DirectLink and PopupLinkRenderer and it works, but I ha