How to popup excel file in the IE?

2006-01-26 Thread Vincent
I would like to popup excel file into the client web browser, then he can decide whether to open it , or save to the disk, is it possible to do that in Tapestry?

Re: Including tapestry page with jsp:include doesn't work

2006-01-26 Thread Inge Solvoll
Thanks, Mark, all good suggestions. But I'm pretty sure that all my url's are correct. I have set up tapestry 4, with friendly urls of this style (/Page.html, /Page.external), and it works. I've also verified that the tapestry ApplicationServlet is called when I use the mentioned url with jsp:incl

Re: How to popup excel file in the IE?

2006-01-26 Thread Raul Raja Martinez
Yes it is possible, ussing a implementation of IEngineService such as: public class ExcelToBrowser implements IEngineService { private void toBrowser(HttpServletRequest request, HttpServletResponse response) { try { response.setHeader("Expires", "0")

Future: extending .page and .jwc

2006-01-26 Thread Inge Solvoll
One of the first things I noticed about tapestry was this: The built-in components are very good and handy, but there's this little thing that I wish I could just plug into them. Example: In the LinkSubmit component, I would really like to add a parameter "confirmationMessage". This parameter wou

Re: How to popup excel file in the IE?

2006-01-26 Thread Inge Solvoll
Excellent info, Raul!! Thanks a lot. On 1/26/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote: > > Yes it is possible, ussing a implementation of IEngineService such as: > > public class ExcelToBrowser implements IEngineService { > > private void toBrowser(HttpServletRequest request, > HttpServl

Re: How to popup excel file in the IE?

2006-01-26 Thread Raul Raja Martinez
you're welcome Notice that there is no need to explicitly inject the request and response into your service since they both get autowired by hivemind's magic :) if you provide setters for them, which mean that you can also inject any other service you need (like a hibernate service or a excel

Injecting session-stored object: Duplicate method

2006-01-26 Thread Martin Carel
Hi! I have this in hivemodule.xml: And I have this in my page's spec: Then, in my page (if I do not define any accessors), if I call getMyProp(), I get a compiler error complaining about the unknown method (no surprise there). But when I do add the accessors methods, at runtim

Re: Injecting session-stored object: Duplicate method

2006-01-26 Thread Raul Raja Martinez
If you can use Java 5 the easiest way to access an ASO and bind it to a property is: @InjectState("placeHolder") public abstract com.data.DO getPlaceHolder(); now you can use it in your page with ognl with: ognl:placeHolder or simply placeHolder if you can use annotations you don't have to

Re: Wiring up an Export service

2006-01-26 Thread Dmitry Gusev
I have created a component and a service like that, you can found them at here (sorry no SVN yet) : http://keyintegrity.com/download/servicehub-src-beta-2.tar.tar.gz JavaSource/org/keyintegrity/servicehub/csulengine/components/Jaspe

tapestry not really component based?

2006-01-26 Thread gaz jones
hi, i have already posted a question about this regarding dynamic insertion of content into the page, but i thought i would bring it up again because i think not being able to do so violates the DRY principle (O_o). for example, if i have a component inheriting from AbstractComponent and i want to

Re: tapestry not really component based?

2006-01-26 Thread Ron Piterman
Maybe I am too long in Tapestry develpement, but I really can't see the problem here. If you want to link to a page, you add a PageLink component to your page, done. If you want the page name the link references to be dynamic, you make the page parameter binding of the PageLink component rea

Re: tapestry not really component based?

2006-01-26 Thread gaz jones
you CANT add a PageLink component to your page using java in a component inheriting from AbstractComponent. that is the problem (or one of them)... its the 2nd issue that is the real stinker though... On 1/26/06, Ron Piterman <[EMAIL PROTECTED]> wrote: > > Maybe I am too long in Tapestry develpeme

Re: tapestry not really component based?

2006-01-26 Thread Ron Piterman
you don't need to, you add the PageLink to your component using the .jwc or annotation, and then call getComponents().getComponent("myPageLink").render(writer,cycle); Cheers, Ron gaz jones wrote: you CANT add a PageLink component to your page using java in a component inheriting from Abstra

Re: tapestry not really component based?

2006-01-26 Thread gaz jones
thats not _quite_ what i want though, as its not truly dynamic - thats including a pre-defined component into the page, not generating a completely dynamic one... if i have understood your suggestion, i would need to define every component i ever might need in the jwc or using annotations... whate

Re: tapestry not really component based?

2006-01-26 Thread Ron Piterman
"the fear" is very good LoL... but without reason - so, whats is the problem with the rewind ? gaz jones wrote: thats not _quite_ what i want though, as its not truly dynamic - thats including a pre-defined component into the page, not generating a completely dynamic one... if i have understood

Re: tapestry not really component based?

2006-01-26 Thread gaz jones
its basically the same thing touched on in the earlier post titled "[TAP 4] Components in loops" posted earlier in the week... it appears to be because tapestry components are all pooled, and there is no component "hierarchy" when you are in rewind phase, you cant get hold of components to fiddle w

Re: tapestry not really component based?

2006-01-26 Thread Ron Piterman
while the rewind cycle does make things complicated, this is one of the difficalties one really does not have... I understand the problem theoretically, so - can you give a small example to go through with ? Cheers, Ron gaz jones wrote: hi, i have already posted a question about this regar

Re: tapestry not really component based?

2006-01-26 Thread Norbert Sándor
As I know this issue is to be solved in 4.1 (correct me if I'm wrong). There was a post about this on the devlist, ie. rewriting the rewind phase to something similar you wrote here. (Although accessing the rendered components as a tree is not a "Tapestry-way" approach, so probably only the inte

RE: Including tapestry page with jsp:include doesn't work

2006-01-26 Thread Schulte Marcus
Does it work when you use an instead of the include? I'd be interested how you solve this, because I'll have to do something similar these days ;( Marcus > -Original Message- > From: Inge Solvoll [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 26, 2006 9:46 AM > To: Tapestry users >

How to inject state object into hivemind service?

2006-01-26 Thread Josip Gracin
Hello! I have a threaded hivemind service in which I would like to have a reference to a state object defined like this: How do I do this? How do I obtain a reference the ShoppingCart object within my threaded service?

https again and still absolutely clueless :(

2006-01-26 Thread Gerald Schöffel
Hi ! My first project at work I tried to use Tapestry for was canceled because of deadline constraints and some https-issues I could not solve at that time. Ok, so I went back to Tapestry in my spare time - I think this framework is absolutely great. I want to use it for projects at work. And

T4 + question

2006-01-26 Thread gcormier
For a .. The documentation (http://jakarta.apache.org/tapestry/UsersGuide/spec.html#spec.binding) mentions OGNL and message:. a) Is OGNL still the default? So I can still do "something.property" and b) It doesn't mention literal which I vaguely remember something... Can you still do "literal:H

Re: Interesting Exception, any ideas?

2006-01-26 Thread Chris Chiappone
I added my stack trace to the JIRA issue. On 1/26/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote: > I have posted a issue in JIRA at: > https://issues.apache.org/jira/browse/TAPESTRY-846 > > best regards. > > Raul Raja. > > Geoff Longman wrote: > > This is deep deep nitty gritty Tapestry interna

Re: T4 + question

2006-01-26 Thread Ron Piterman
a) yes b) yes cheers, Ron gcormier wrote: For a .. The documentation (http://jakarta.apache.org/tapestry/UsersGuide/spec.html#spec.binding) mentions OGNL and message:. a) Is OGNL still the default? So I can still do "something.property" and b) It doesn't mention literal which I vaguely re

Re: Interesting Exception, any ideas?

2006-01-26 Thread Raul Raja Martinez
thanks Chris I hope somebody confirms this as a bug or something. Raul. Chris Chiappone wrote: I added my stack trace to the JIRA issue. On 1/26/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote: I have posted a issue in JIRA at: https://issues.apache.org/jira/browse/TAPESTRY-846 best regards

RE: DatePicker in component.

2006-01-26 Thread Schabek Łukasz
Hi! Korbinian, Sergiy, Thank you for your advices. > ... youre familiar with java, right ? I'm learning... even though i didn't implement Icomponent(can't catch the idea...), iv'e implement DatePick in other way: BoxInventory.class: import org.apache.tapestry.Ba

Re: tapestry not really component based?

2006-01-26 Thread Ivano
gaz jones wrote: thats not _quite_ what i want though, as its not truly dynamic - thats including a pre-defined component into the page, not generating a completely dynamic one... if i have understood your suggestion, i would need to define every component i ever might need in the jwc or using

Re: IE crashes when I close my tapestry page

2006-01-26 Thread Cliff Zhao
I did more tests. I believe now that the dojo unload process has conflicts with Tapestry Form with focused Select component. As long as the select component does not have the focus, closing the window has no problem. I think that Jesse is integrating dojo into Tapestry. Jesse, do you or anybody els

Re: Future: extending .page and .jwc

2006-01-26 Thread Jason Dyer
Is there really no way of doing this with T4? If so, I'll second the motion to add it. -Jason On Thursday 26 January 2006 04:20, Inge Solvoll wrote: > One of the first things I noticed about tapestry was this: > > The built-in components are very good and handy, but there's this little > thing

RE: tapestry not really component based?

2006-01-26 Thread Mark Stang
Ivano, I think his complaint is that you can't configure a page dynamically at run-time. I know we have work-arounds, like RenderBlock and DynamicBlock and such. I think what he wants to do is dynamically re-configure and add components at run-time as opposed to the .jwc/.html/.page. If each

RE: T4 + question

2006-01-26 Thread gcormier
Thanks for your prompt reply Ron! Greg m2f Sent from www.TapestryForums.com Read this topic online here: <> http://www.tapestryforums.com/viewtopic.php?p=13808#13808 m2f

Re: tapestry not really component based?

2006-01-26 Thread gaz jones
ivano: i think you slightly missunderstood my example, maybe it wasnt particularly clear. i would not be developing a componet to display a link that i would like to use in a page, i would be developing a component that inherits from AbstractComponent and needs to have links to other pages inside o

Re: tapestry not really component based?

2006-01-26 Thread mike jones
I have the same problem when I run my object model which (tapestry components bind their values to) through external validation. I validate the object model and have set of errors and if the errors are inside a component that is in a loop its very hard to attach that error to it. To resolved this I

Re: tapestry not really component based?

2006-01-26 Thread Richard Kirby
Hello, gaz jones wrote: ivano: i think you slightly missunderstood my example, maybe it wasnt particularly clear. i would not be developing a componet to display a link that i would like to use in a page, i would be developing a component that inherits from AbstractComponent and needs to have li

Re: tapestry not really component based?

2006-01-26 Thread John Coleman
> be predefined). You can choose to say that Tapestry is not really > component based because of this lack of feature if you like, others may > disagree. A component to me is something that is decoupled enough for easy reuse, and probably achieves some fairly low level objective. Tapestry has that

Re: tapestry not really component based?

2006-01-26 Thread Geoff Longman
It all depends on your definition of 'component' and there is no universally accepted definition: http://en.wikipedia.org/wiki/Component In Tapestry a component is packaged, parameterized combination of a class, a template, and a spec. The parameter declarations define the interface. You drop it

RE: tapestry not really component based?

2006-01-26 Thread Patrick Casey
I agree with Richard; the OP's problem isn't that Tapestry doesn't support or use components, it's that he can't dynamically alter the component tree. It's rather like claiming that my laptop's CPU doesn't use transistors because I can't change them after it comes out of the FAB plant :).

Re: tapestry not really component based?

2006-01-26 Thread Stephen Todd
It seems to me that this same issue seems to repeat itself every couple weeks. I also had asked about this functionality a month ago. The solutions all seemed to be workarounds for this design bug. Some reason there are some here that seem hold on to this idea of static structure dynamic co

For component index variable

2006-01-26 Thread Aj Gregory
Is there a way to specify some kind of temporary variable in the index parameter of the For component so I can pass it to the components inside the for loop without declaring the variable in the backing page class? -Aj - To un

Re: How to popup excel file in the IE?

2006-01-26 Thread Geoff Longman
BTW if you want the browser to show an "Open/Save" dialog you need to set the Content-Disposition header too. Geoff On 1/26/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote: > Yes it is possible, ussing a implementation of IEngineService such as: > > public class ExcelToBrowser implements IEngine

RE: tapestry not really component based?

2006-01-26 Thread Mark Stang
I think the CMS example could be done via portlets... -Original Message- From: John Coleman [mailto:[EMAIL PROTECTED] Sent: Thu 1/26/2006 9:50 AM To: Tapestry users Subject: Re: tapestry not really component based? > be predefined). You can choose to say that Tapestry is not really > co

RE: tapestry not really component based?

2006-01-26 Thread Patrick Casey
I'd be more comfortable about that approach if it weren't for the fact that every time somebody on this list seems to use portlets a new bug report gets up being generated for something or another :(. The portlet support smells like it needs another revision or two to knock the rough edges

Re: tapestry not really component based?

2006-01-26 Thread gaz jones
i just wanted to get some opinions on it really and see if others were having the same problem etc... the problem that patrick described is exactly the thing that was bugging me... i wanted to add links and i had to shoe horn them in rather than use the predefined component and it just felt wrong b

Re: For component index variable

2006-01-26 Thread Chris Chiappone
I believe the @For has that ie. ~chris On 1/26/06, Aj Gregory <[EMAIL PROTECTED]> wrote: > Is there a way to specify some kind of temporary variable in the index > parameter of the For component so I can pass it to the components inside > the for loop without declaring the variable in the backin

TextField validators?

2006-01-26 Thread Adrian Davis
I'm trying to setup some validators in a small test application I'm writing. I have to say that as a newcomer the tapestry documentation leaves a lot to be desired. There seems to be a lot of conflicting information as parts are updated for 4.0 and other parts aren't. But on to my specific questi

Re: TextField validators?

2006-01-26 Thread Daniel Lydiard
The user guide mentions how to do it. http://jakarta.apache.org/tapestry/UsersGuide/validation.html Basically don't use ValidField for T4. Now all the normal form components have built in validators i.e. TextField, PropertySelection, Checkbox, etc. If you have old T3 beans o

Re: TextField validators?

2006-01-26 Thread Martin Strand
Basically, you just use the "validators" binding to specify ids for any validators you want to apply to the field: the "validators:" prefix will look up the validator ids in the "tapestry.form.validator.Validators" configuration point. Some predefined validators are already available, read

Re: TextField validators?

2006-01-26 Thread Jesse Kuhnert
Ok, fixed in trunk documentation. Will merge into 4.0 branch eventually. On 1/26/06, Martin Strand <[EMAIL PROTECTED]> wrote: > > Basically, you just use the "validators" binding to specify ids for any > validators you want to apply to the field: > > > the "validators:" prefix will look up the va

Non-intuitive behavior from the For component

2006-01-26 Thread Chris Conrad
Hello everyone, I'm working a tiny little RSVP for a friend. While doing so I found, what seems to me at least, a very non-intuitive result from the For component. Basically the behavior I want is: 1. The user navigates to the RSVP page and is provided a drop down box to select the numb

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Jesse Kuhnert
Hmmm. . I do these sort of things a lot, esp. with hibernate. I've found the For component to incredibly useful, but maybe the identification of objects part could be made more clear? I think the PropertySelectionModel problem could be solved if you used the "BeanPropertySelectionModel" class fo

Re: https again and still absolutely clueless :(

2006-01-26 Thread Fernando Padilla
Though not very clean I use a javax.servlet.Filter that locks down parts of the site by redirecting to/fro http/https. So if a url coming in points to any of those pages I make sure that it's request.isSecure, else I get the full url and replace the scheme( http,https ) and port( 80,443 ), and

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Chris Conrad
Hi Jesse, On Jan 26, 2006, at 11:58 AM, Jesse Kuhnert wrote: Hmmm. . I do these sort of things a lot, esp. with hibernate. I've found the For component to incredibly useful, but maybe the identification of objects part could be made more clear? In this case, however, I'm using the For c

Re: For component index variable

2006-01-26 Thread Aj Gregory
but then you have to create a get/setIndex() in your java class (right?) which I wanted to avoid since I don't need to access the value in the class just the html... -Aj Chris Chiappone wrote: I believe the @For has that ie. ~chris On 1/26/06, Aj Gregory <[EMAIL PROTECTED]> wrote: Is t

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Chris Conrad
Sorry to reply twice, but I thought some code snippets might make things clearer. Here is what I do in my pageBeginRender: rsvpList = new ArrayList(numberAttending); for (int i = 0; i < numberAttending; i++) { Rsvp rsvp = new Rsvp(); rsv

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Jesse Kuhnert
Ahhh, that makes much more sense now. In this instance I would say that you might want to re-think the way that you are implementing equals() in your hibernate objects. Even the hibernate documentation puts in caveates about object identity (tried to lookup a reference but couldn't find it in time

Re: For component index variable

2006-01-26 Thread Geoff Longman
later... ognl:components.namedForm.index or even ognl:components.namedForm.value to get the current value and skip the index. Geoff On 1/26/06, Aj Gregory <[EMAIL PROTECTED]> wrote: > but then you have to create a get/setIndex() in your java class (right?) > which I wanted to avoid since I

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Jesse Kuhnert
P.S. Doing things with your current method also has the added bad side effect of having all of your selection objects serialized into the form. It may not hit you in this instance, but once your hibernate object graph grows you'll quickly run into scenerios where you are having unexplainable perfor

Re: For component index variable

2006-01-26 Thread Jesse Kuhnert
No you don't need a getter/setter for the index value in your class (unless you have a pure class with no .page spec?) ...If you just define the index property in the .page spec file tapestry will make it "just work" for you. (aka add the getter/setters for you automatically at runtime) On 1/26/06

Re: https again and still absolutely clueless :(

2006-01-26 Thread Johan Maasing
Gerald Schöffel wrote: Hi ! My first project at work I tried to use Tapestry for was canceled because of deadline constraints and some https-issues I could not solve at that time. Ok, so I went back to Tapestry in my spare time - I think this framework is absolutely great. I want to use it fo

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Jesse Kuhnert
HmmmBut that only causes more confusion I'm afraid :( OhhI think what you are doing sort of sounds right, but you still can't expect the For component to be able to know the difference between all of your objects if the equals() method on them doesn't enforce some sort of uniqueness.

Re: https again and still absolutely clueless :(

2006-01-26 Thread Gerald Schöffel
Hi Johan, https://localhost:8080/myApp/my.page :( I am just curious but what is wrong with this generated link? It is an absolute URL and it uses the https scheme. The port is probably not the HTTPS listener port but how should Tapestry know which port to use? Is this something you can conf

RE: For component index variable

2006-01-26 Thread Adrian Davis
Interestingly, it appears you don't need a getter AND a setter. Just one or the other seems to work fine. Is there anyway to do this with annotations? -Original Message- From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 3:28 PM To: Tapestry users Subject: R

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Chris Conrad
I think the problem here (and this is also in regards to using the keyProvider parameter and equals method) is I'm dealing with a list of objects which are 100% legitimately equal to each other. And that's really what I want. I want the For component to take a list of equal objects to ren

RE: TextField validators?

2006-01-26 Thread Adrian Davis
Thank you! Is there a similar discussion of translators? I would like a text field to be populated with a number where zeros are not displayed using the number translator. I am able to achieve this, but when the form is submitted an exception is thrown unless all of the fields are filled in (the

Re: TextField validators?

2006-01-26 Thread Jesse Kuhnert
Hmmm...I have no idea, but did plan on doing some new things with tapestry4.1 in this regard very soon. That would mean you'd have to be using alpha code though, which may or may not meet your requirements. On 1/26/06, Adrian Davis <[EMAIL PROTECTED]> wrote: > > Thank you! > > Is there a similar

Re: https again and still absolutely clueless :(

2006-01-26 Thread Chris Conrad
Hi Gerald, If you're using Tomcat (or another servlet container that supports the JK protocol) this is quite easy to handle. First you need to set up two virtual hosts in your Apache config, a regular host listening on port 80 and an SSL host listening on port 443. Each of those virtual

Re: https again and still absolutely clueless :(

2006-01-26 Thread Gerald Schöffel
Fernando Padilla wrote: > Though not very clean I use a javax.servlet.Filter that locks down parts > of the site by redirecting to/fro http/https. > > Not the best/elegant option: 1) all dependent resources/images are https > when they don't have to be, 2) there are a few redirects that we > prob

Re: For component index variable

2006-01-26 Thread Chris Chiappone
Something like this... @Component(id="forloop", type="For", bindings={ "source=source", "value=currval", evenOdd=ognl:page.beans.evenOdd", "index=ongl:index"}) public abstract ForBean getForloop(); ~chris On 1/26/06, Adrian Davis <[EMAIL PROTECTED]> wrote: > Interestingly, it appears you don't n

Re: https again and still absolutely clueless :(

2006-01-26 Thread Gerald Schöffel
Hello Chris, If you're using Tomcat (or another servlet container that supports the JK protocol) this is quite easy to handle. First you need to set up two virtual hosts in your Apache config, a regular host listening on port 80 and an SSL host listening on port 443. Each of those virtual ho

Re: https again and still absolutely clueless :(

2006-01-26 Thread Chris Conrad
Hi Gerald, On Jan 26, 2006, at 1:22 PM, Gerald Schöffel wrote: Hello Chris, If you're using Tomcat (or another servlet container that supports the JK protocol) this is quite easy to handle. First you need to set up two virtual hosts in your Apache config, a regular host listening on por

RE: https again and still absolutely clueless :(

2006-01-26 Thread Patrick Casey
> A nice side benefit is you get to use Apache's native SSL > implementation which is orders of magnitude faster then the terribly > slow Java SSL implementation. My understanding is that this hasn't been true since the 1.4 JVM e.g. java's ssl package has gotten a *lot* faster and now come

Help with T4 doctype error message

2006-01-26 Thread Frank
http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> Could not find a DOCTYPE with a valid Tapestry DTD (public id). I have the T4 jars in my lib, but cannot get eclipse to resolve this. Thanks Frank - To unsubscrib

Re: Help with T4 doctype error message

2006-01-26 Thread Daniel Lydiard
I posted the same question a few days ago, it's a Spindle problem I believe. - Original Message - From: "Frank" <[EMAIL PROTECTED]> To: Sent: Thursday, January 26, 2006 1:59 PM Subject: Help with T4 doctype error message http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> C

Contrib table pagination problems

2006-01-26 Thread Chris Chiappone
I get the following exception when using the auto pagination from contrib:table Either the tableModel parameter or both source and columns parameters must be specified by component CompanyProfile/apps.table.tableView Stack Trace: org.apache.tapestry.contrib.table.components.TableView.getTableModel

How to escape a conditional close tag ?

2006-01-26 Thread Jorge Quiroga
Hello: I'm trying to organize some objects via For into a , but the number of columns is user defined, then I thought to use the index property to open and close the tag but this error appears: Could not parse template context:/WEB-INF/MainForm.html. Because Closing tag on line 297 is imp

RE: TextField validators?

2006-01-26 Thread Adrian Davis
I'm fine testing pieces of alpha code, but I need something in the short term. If I write my own translator, how do I register it so that it's available like the rest of the translators? Or do I have to create it as a bean? - Adrian -Original Message- From: Jesse Kuhnert [mailto:[EMAIL

Re: Contrib table pagination problems

2006-01-26 Thread Daniel Lydiard
Is this every time? i.e. it doesn't work at all? Or do you have the page loaded, then make changes (server context reloads), and refresh the page and you get the error? If it's the latter, I have the same "problem" but the behavior makes sense to me in accordance of how Tapestry works. I ne

Re: TextField validators?

2006-01-26 Thread Bryan Lewis
I found these wiki pages to be quite helpful. Plus a bit of perusal of the Tapestry source code. http://wiki.apache.org/jakarta-tapestry/CreatingCustomValidators http://wiki.apache.org/jakarta-tapestry/CreatingCustomTranslators Adrian Davis wrote: >I'm fine testing pieces of alpha code, but I

Konqueror and DatePicker

2006-01-26 Thread Alan Chandler
Anyone sucessfully using the DataPicker component with Konqueror? I seem to get some days in a month that I can't click on to set a date. It might be some sort of alignment problem, the dates are normally at the end of a week. -- Alan Chandler http://www.chandlerfamily.org.uk Open Source. It's

Re: How to escape a conditional close tag ?

2006-01-26 Thread andyhot
A working, though a bit ugly solution is this: instead of use ";} public String getEndTag() {return "";} >From Jorge Quiroga <[EMAIL PROTECTED]>: > Hello: > > I'm trying to organize some objects via For into a , but the > number of columns is user defined, then I thought to use the index >

Re: instantiating components directly

2006-01-26 Thread Mike . Barber
We're neck deep in Tapestry 3.0.3 and are struggling with how to handle N number of components in a form. (from thread, below) "I've found that anything you might think of solving by using dynamic components can be solved as well or better by some other method which tapestry /does/ provide."

Re: instantiating components directly

2006-01-26 Thread Jesse Kuhnert
That sounds like one crazy set of requirements ;) I don't know how you will possibly handle the layout issues involved, but it wouldn't be far-fetched to do something like(taken from http://jakarta.apache.org/tapestry/tapestry/ComponentReference/RenderBlock.html ): Your pa

Re: How to popup excel file in the IE?

2006-01-26 Thread Vincent
> > Later in your hivemodule.xml: > > > > > > > > > > > > > interface="org.apache.tapestry.engine.IEngineService"> > > > > > > > > Hi guys, Thank you for you information , I am new to Tapestry , what does this needs to use hivemodule.xml? regards, Vincent

Re: instantiating components directly

2006-01-26 Thread Robert Zeigler
Jesse's idea seems reasonable. I was about to spout off some ideas, but then realized that I need to understand your situation better first. :) In particular, can you explain in more detail how the components are configured from a db or xml file? More explicitly, is the number and type of component

Re: Contrib table pagination problems

2006-01-26 Thread Chris Chiappone
No this appears to happen everytime I try to go to the next page of my table. The first page of the table appears fine. Anyone else have any thoughts on this. Oh the table is in a component and references a parameter in the page. On 1/26/06, Daniel Lydiard <[EMAIL PROTECTED]> wrote: > Is this e

Re: IE crashes when I close my tapestry page

2006-01-26 Thread Cliff Zhao
When I disable AcroHlprObj IE Add-on, the problem disappears. What AcroHlprObj is for? After disable it, I still can view pdf files in IE. On 1/26/06, Cliff Zhao <[EMAIL PROTECTED]> wrote: > > I did more tests. I believe now that the dojo unload process has conflicts > with Tapestry Form with fo

Re: session=T

2006-01-26 Thread Lindsay Steele
This works thanks Interestingly the "session=T" parameter is still there. Will look into the IExternalPage Robert Zeigler wrote: It's tap4. Use the source, Luke. :) You're using direct links, which also record whether or not they're stateful. (Defaults to true if there is a current

RE: Non-intuitive behavior from the For component

2006-01-26 Thread Schulte Marcus
Hm, interesting problem. Now, your objects are equal but they are not the same. So, I guess, you could use a keyExpression parameter referring to the objects' hashcode. In standard vm's, Object.hashCode() returns different values for different instances. so, I'd try: would that workf for you?

Re: Non-intuitive behavior from the For component

2006-01-26 Thread Jesse Kuhnert
I don't think that would be consistently unique beyond the objects life. On 1/27/06, Schulte Marcus <[EMAIL PROTECTED]> wrote: > > Hm, interesting problem. Now, your objects are equal but they are not the > same. So, I guess, you could use a keyExpression parameter referring to > the > objects' ha

RE: Non-intuitive behavior from the For component

2006-01-26 Thread Schulte Marcus
No, it would definitely not ;). But as long as he uses session-persistence for his rsvpList it should work, right? > > I don't think that would be consistently unique beyond the > objects life. > > On 1/27/06, Schulte Marcus <[EMAIL PROTECTED]> wrote: > > > > Hm, interesting problem. Now, your