blackbird.js and IE breaking fixed CSS background image

2010-07-20 Thread Rich
ever, having to manage my own version of the tapestry-core jar to fix an IE bug does not seem like a good idea. Is there a way to exclude blackbird from my projects all together? Or maybe there is some other, better solution?

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-20 Thread Rich
asset referenced when adding to the javascriptStack list, as a path like generic assets/package/name/asset.filetype ? I'm guessing you were the guy who mentioned the blackbird issue in the first place since your name is also Jim. Thanks for the help so far. Thanks, Rich Jim O'Callaghan w

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-22 Thread Rich
Hi, attempt 6 at getting through spam blocker. I used the code mentioned but the "original" object from the decorate method is always null. I'm not sure what to do about that? -Rich Jim O'Callaghan wrote: Hi Rich, Yep same guy, guilty as charged. This may not be th

User List Spam Filter

2010-07-22 Thread Rich
from the log, or even mention any of the classes involved I get the e-mail kicked back at me. Is there some place that defines the spam filter rules so I can see if my e-mails are inadvertently triggering it? I'm not really sure what to do! Th

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-22 Thread Rich
ructure so I can swap the blackbird.js? I find it hard to believe decoration is this complicated. Thanks, Rich Jim O'Callaghan wrote: Rich, I'm on T5.2.0 so the code has been updated accordingly - looking through my file history, I have: public stat

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-22 Thread Rich
now. I'm still trying to be able to intelligibly build on tapestry rather than just using it, and concepts like this seem to be vital components to that progress. Regards, Rich Jim O'Callaghan wrote: Sorry I can't be of more help Rich - we've migrated over to T5.2.0 so I do

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-23 Thread Rich
rastructure.getStylesheetStack(); } } |||At this point I still get a recursion issue on ClientInfrastructure class. I chose this permutation because that recursion seems potentially 'easier' to solve than one on Alias or AliasOverrides. -Rich Robert Zeigler wrote: Hey Rich, C

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-23 Thread Rich
. Regards, Rich Rich wrote: Sure, here is the current code from AppModule and MyClientInfrastructure. AppModule |public static ClientInfrastructure decorateClientInfrastructure(@InjectService("ClientInfrastructure") @Core ClientInfrastructure original, @InjectService(&q

Re: blackbird.js and IE breaking fixed CSS background image

2010-07-23 Thread Rich
o copy all of the blackbird files to /scripts/blackbird_1_0/ to get it to load properly, but that was an easy fix. } Voila! No nasty recursions, no services to implement, now tapestry uses your customized version of blackbird. Cheers! Robert Thanks! Rich On Jul 23, 2010, at 7/239:24

JasperReports / Chenillekit-reports documentation

2010-07-26 Thread Rich
on or should I just work my way through the source code? I'm assuming this is the best implementation of JasperReports into Tapestry at this point in time, but if there are other options I'm all ears. Regards, Rich -

Re: JasperReports / Chenillekit-reports documentation

2010-07-27 Thread Rich
interesting... this exception doesn't actually affect my application since I can use the Chenillekit-Reports jar, but it seemed worthwhile to mention the incompatibility. When I use the ChenilleKit-Reports dependency though, I get the same exception in my AppModule as ChenilleKitReportsModule f

Re: JasperReports / Chenillekit-reports documentation

2010-07-28 Thread Rich
quot;Could not get PDF output stream", e); } } void onSelectedFromXLS(){ formMode = ExportFormat.XLS; try { os = resp.getOutputStream("application/vnd.ms-excel"); debug("OutputStream content-type="+"application/vnd.ms-excel&

Re: JasperReports / Chenillekit-reports documentation

2010-07-28 Thread Rich
ew and improved" Tapestry platform can't. Thanks, Rich Josh Canfield wrote: Hi Rich. Caveat: I haven't used Chenillekit or JasperReports. You should probably not be trying to write to the OutputStream from the Response inside of Tapestry. Tapestry has some built-in methods

Re: JasperReports / Chenillekit-reports documentation

2010-07-30 Thread Rich
Thiago H. de Paula Figueiredo wrote: On Wed, 28 Jul 2010 18:13:17 -0300, Rich wrote: Hi, Hi! java.lang.ClassNotFoundException org.apache.poi.hssf.usermodel.HSSFCellStyle java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap These are dependency problems, not

Grid Sorting of Timestamp objects

2010-08-04 Thread Rich
better search parameters for Timestamp in an external form to the Grid, so the built-in sorting of the Grid for my Timestamp field is really superfluous. Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Centering the default submit input in BeanEditForms

2010-08-05 Thread Rich
e or reason to these submit inputs lining up. Any insights? Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Centering the default submit input in BeanEditForms

2010-08-05 Thread Rich
magic. However Firefox 3.6.8 on Windows throws every single submit tag to the left hand side. So, I guess just ignore the fact that some get put in the right place as I mentioned before that seems to be the exception. Is there no way to override the default submit field? Regards, Rich Thiago

[ANNOUNCE] CFP open for ApacheCon North America 2016

2015-11-25 Thread Rich Bowen
Community growth starts by talking with those interested in your project. ApacheCon North America is coming, are you? We are delighted to announce that the Call For Presentations (CFP) is now open for ApacheCon North America. You can submit your proposed sessions at http://events.linuxfoundation.o

Custom Validation Bubbles

2010-08-11 Thread Rich M
pstart demo) but my validation is server-side not client side, as it compares a password with the confirmation password. So I'm trying to achieve this after the user has submitted the form to be sure they think the passwords are what they want. Thanks, Rich -

Re: Custom Validation Bubbles

2010-08-12 Thread Rich M
Thanks Josh, that was exactly what I was looking to do. Hopefully I'll be able to start seeing these things on my own sometime soon! -Rich On 08/11/2010 08:11 PM, Josh Canfield wrote: If you are looking to get the error bubble to pop up after you submit the form you could use this: p

Re: Custom Validation Bubbles

2010-08-16 Thread Rich M
display the popup error when it becomes aware the parameter for the session timeout is triggered. Thanks, Rich On 08/12/2010 10:40 AM, Rich M wrote: Thanks Josh, that was exactly what I was looking to do. Hopefully I'll be able to start seeing these things on my own sometime soon! -Rich

Re: Custom Validation Bubbles

2010-08-18 Thread Rich M
lf-baked alternative strategy I can imagine to try and make progress. There's got to be something I'm missing no? Included below is some related code, this is all triggered by the activation URL <http://localhost/myapp/index/expired> Thanks, Rich CustomerLogin public class

Re: Custom Validation Bubbles

2010-08-19 Thread Rich M
class mislead me a bit. Thanks, Rich On 08/18/2010 06:33 PM, Josh Canfield wrote: Sooo... When you set an error on a field before it's been rendered then the error goes into the list of errors (so you see it in t:errors) but the connection between the field and the error is lost. The reason i

Restoring Live Page Class Reloading

2010-08-19 Thread Rich M
plementations if necessary. At this point I don't want to make this e-mail too long. Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Restoring Live Page Class Reloading

2010-08-19 Thread Rich M
I certainly agree many things about my current implementation are not ideal (memory consumption, not typical way of doing things) but working is better than nothing, not to mention how hard it is to figure out what the "recommended way of doing it" is for any given feature without

Re: Restoring Live Page Class Reloading

2010-08-19 Thread Rich M
t the Component object from ComponentSource's getPage method to the Tab interface in order to access this method? I'm not sure if Tapestry links custom components to the Component class somehow, but my common Java sense would tell me this is silly. -Rich On 08/19/2010 04:20 PM, Rich

Re: Restoring Live Page Class Reloading

2010-08-19 Thread Rich M
e/template? Thanks, Rich On Thu, 19 Aug 2010 17:53:56 -0300, Rich M wrote: Actually I spoke a little too soon about the persistent fields. I'm not really clear on how that is solved by a ComponentRequestFilter, other than it's a good place to do it. ComponentSource doesn't provide

Re: Restoring Live Page Class Reloading

2010-08-20 Thread Rich M
d only one should be loaded at any time. The ModuleIndex can know the page path of the Tab and the simple class name from the way it uses ComponentSources. -Rich On 08/19/2010 07:29 PM, Thiago H. de Paula Figueiredo wrote: On Thu, 19 Aug 2010 19:13:43 -0300, Rich M wrote: Ah, great! That h

Re: Restoring Live Page Class Reloading

2010-08-20 Thread Rich M
kage. Loaded Conversion ::"+conv+":: from DB"); } On 08/19/2010 07:29 PM, Thiago H. de Paula Figueiredo wrote: On Thu, 19 Aug 2010 19:13:43 -0300, Rich M wrote: Ah, great! That helped move things forward. Transformation is starting to take place, I was able to get on

Re: Restoring Live Page Class Reloading

2010-08-20 Thread Rich M
out the render error was because I was returning a String in the getSelectedTab method called by the delegate object, instead of using the String to get a Component from the ComponentSource. Oops. Regards, Rich On 08/20/2010 02:30 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 20 Aug 2010

Re: Restoring Live Page Class Reloading

2010-08-20 Thread Rich M
hods don't even get called yet judging by the lack of debug log messages when these errors occur. Is there something special I need to be doing with the Environment to get the PageId back in there? -Rich On 08/20/2010 04:21 PM, Rich M wrote: Ah, I've finally got it. Many many thanks fo

Re: Restoring Live Page Class Reloading

2010-08-23 Thread Rich M
Loaded Product ::"+prod+":: from DB"); } void onPrepareForSubmit(){ debug("\n\n\n In onPrepareForSubmit \n\n\n"); env.push(PageId.class, heldId); //push back debug("\n\n\n pushed PageId onto env \n\n\n"); } -Rich On 08/20/201

Re: Restoring Live Page Class Reloading

2010-08-23 Thread Rich M
yet after the GET request to the server is sent, the new call to onPrepare finds no PageId in the environment. ? -Rich On 08/23/2010 03:36 PM, Robert Zeigler wrote: Hm... are you sure you aren't env.pop'ing that PageId somewhere else? It really ought to still be available in enviro

Maintaing session objects

2010-08-26 Thread Rich M
ager. I tried a quick implementation of this, but when I passivate a string with "/" in it, the '/' gets converted to HEX and I don't like that. Is there a way I can force it to render/output as '/&#x

Re: Maintaing session objects

2010-08-26 Thread Rich M
ser id as a string in the onPassivate context's like I previously thought. Who thought refactoring could be so fun! -Rich On 08/26/2010 12:06 PM, Rich M wrote: Hi, I've been going through my code and doing some concurrency testing and realized that the implementation of session

Aesthetic IE8 issues

2010-08-30 Thread Rich M
h the background 'bubble' image. Instead it's just plain text floating. The other thing I noticed is that every single PasswordField is slightly thinner than every TextField which creates an unappealing appearance in forms. this is 5.1.0.5 by th

Re: Aesthetic IE8 issues

2010-09-03 Thread Rich M
maybe port the PNG files to a different format and serve them myself in my application? Thanks, Rich On 08/30/2010 05:19 PM, Rich M wrote: Hi, I've been doing some testing and noticed two peculiarities inherent to the framework in IE8, wondering if anyone has encountered these and possibly i

Asset Security in 5.1.0.5

2010-09-13 Thread Rich M
can I get the files in my classpath and web context blocked? Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: SessionState for simple types

2010-09-14 Thread Rich M
n the other hand it provides a central location that can be referenced in the project using an IDE that helps keep track of the various objects you pass around the pages, rather than digging through all your page classes looking. -Rich On 09/14/2010 12:25 PM, Adam Zimowski wrote: I understand

Re: How to display form success?

2010-09-15 Thread Rich M
re is a reason this won't work, you could consider making the boolean false at a later render phase like afterRender I'd imagine. -Rich On 09/15/2010 12:38 PM, Tim Koop wrote: Hi everyone. I hope this is a quick and easy question. I want to show a "Form successfully subm

[5.1.0.5] Firing javascript from page class from mixin handler method

2010-09-21 Thread Rich M
to handle the "disabled" attribute, and then update the value of the TextField. Can someone point me in the right direction as to how one ought to handle this scenario of needing to call javascript as a result of processing a mixin? Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [5.1.0.5] Firing javascript from page class from mixin handler method

2010-09-21 Thread Rich M
javascript from within a mixin handler if anyone knows. Thanks, Rich On 09/21/2010 01:46 PM, Rich M wrote: Hi, I have a new requirement that came up and I've been considering how to handle accordingly. The issue at hand is to use an AJAX mixin to read a change to a Select input, update

[5.1.0.5] Delete Confirmation Mixin

2010-09-29 Thread Rich M
_delete); //this is not reached } void onSuccessFromForm(){ /* snip */ if(formMode.equals(FormMode.DELETE)){ try { if(!okay_to_delete) return; //skip out

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Rich M
e never occurs now like it used to. Is there something I'm missing? Does @CommitAfter need to be on every method along the stack from the top level call on the page class down through this update method or something? Thanks, Rich On 10/08/2010 03:41 AM, Howard Lewis Ship wrote: W

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Rich M
ate() ) and in EntityDAO update() calls @CommitAfter public void executeUpdate() See anything wrong here? Thanks, Rich On 10/08/2010 12:10 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 08 Oct 2010 12:41:41 -0300, Rich M wrote: Hi, Hi! @CommitAfter protected void executeUpdate(E

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-08 Thread Rich M
age Transaction on your own. Once 5.2 comes out I'll try to remember to come back to this one and let you know about the @CommitAfter. Thanks for the help Thiago. -Rich On 10/08/2010 02:11 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 08 Oct 2010 14:40:29 -0300, Rich M wrote:

Re: Component parameters-unintended persistent binding

2010-10-18 Thread Rich M
This may not be entirely your issue, but the t:if test parameter takes in property bindings, so I believe that is why it would be calling the getters on the mainMenuId even if it were blank/null on the second page. What happens if you have the test parameter link to a boolean method that handle

Re: setSortAscending on BeanModel in Grid

2010-10-20 Thread Rich M
//Should invert the sort colSort = _grid.getSortModel().getColumnSort("txnId"); debug("\n\nColumnSort for txnId after one call to updateSort is: " + colSort + "\n"); } -Rich On 10/20/2010 08:41 AM, Darren Williams wrote: Hi, w

Re: change session id after login

2010-10-21 Thread Rich M
stry5.internal.structure.ComponentPageElementImpl.dispatchEvent(ComponentPageElementImpl.java:902) at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.triggerContextEvent(ComponentPageElementImpl.java:1081) ... 56 more Thanks, Rich On 10/18/2010 08:26 AM, Andreas Andreou wrote: Yea, that's sessio

Form submit conditionally opening new window

2010-10-25 Thread Rich M
hed. The validation works, but this certainly is not going to be acceptable application behavior. Is there a way to get the browser to open a new window from within Tapestry, maybe in a StreamResponse (since that I what I'm using to

5.1.0.5: Supporting mixins in user defined components

2010-10-26 Thread Rich M
s to this component to finally place into the proper parameters of the mixin. @Mixin private DeleteConfirm deleteConfirm; Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-m

Re: 5.1.0.5: Supporting mixins in user defined components

2010-10-26 Thread Rich M
de the values to the parameters of the mixin in this scenario. I'm not using a template for the component, it uses render methods. Thanks, Rich On 10/26/2010 03:47 PM, Norman Franke wrote: Check out the source for Tapestry's mixins. You use the @Parameter annotation in the mixin class. N

[5.1.0.5] - SSL, @Secure annotation, Jetty

2010-10-27 Thread Rich M
ABLED set to true in contributeApplicationDefaults. Now at this point, HTTP requests still seem to work fine, and nothing seems to be rewritten to HTTPS from the client side. This is what makes me think I may be facing a Tapestry issue. Is there something I am m

Re: Form submit conditionally opening new window

2010-10-27 Thread Rich M
ouseover, but that seems like a real hack not to mention something that would probably surprise the user. Any suggestions? Thanks, Rich On 10/25/2010 01:35 PM, Thiago H. de Paula Figueiredo wrote: On Mon, 25 Oct 2010 15:29:52 -0200, Rich M wrote: Hi, Hi! Is there a way to get the bro

Re: Form submit conditionally opening new window

2010-10-27 Thread Rich M
Whoops, just a quick comment, the DateFields are the Tapestry Core components, not the ChenilleKit DateTimeFields, forgot to edit that after double checking.-Rich On 10/27/2010 04:59 PM, Rich M wrote: Ah okay. I'm trying to decide where is best to hook up some AJAX request to achieve

Getting form client input to persist through zone update

2010-11-02 Thread Rich M
the BeanEditForm to store the form values into the property bindings? Also, I know it's possible to pass all the form values through as request parameters via AJAX and copy them into the property bindings of the form elements manually, but that seems pretty excessive. I hope that'

Re: session is NULL

2010-11-10 Thread Rich M
On 11/10/2010 03:42 AM, Anas Mughal wrote: I have setup my DAO as a Tapestry service in the AppModule as: public class AppModule { public static void bind(ServiceBinder binder) { binder.bind(BranchDAO.class, BranchHibernateDAO.class); } } Then, I try

Re: T5 Working Tapestry Hibernate with DAO.

2010-11-10 Thread Rich M
on for you. Hope that helps, Rich On 11/10/2010 11:41 AM, anasmughal wrote: I see you are using "HibernateSessionManager" instead of "Session" object in your DAO. Is it better to use HibernateSessionManager? I would like my methods to automatically commit. Thanks. -- Anas

[5.1.0.5] Log4J and Jetty Stand-Alone?

2010-11-16 Thread Rich M
olved this issue? Is there a better stand-alone version of Jetty that I should be using, maybe one that doesn't have a Log4J issue or maybe one that's easier to solve? Any help is much appreciated. Thanks, Rich -

ContextResource when executing WAR deployment?

2010-11-18 Thread Rich M
plugs in /opt/jetty-6.1.26/ in front of the path. Maybe I'm not using the right approach, is there anyway it's going to be able to access these files from the WAR? Thanks, Rich - To unsubscribe, e-mail: users-unsubscr..

Re: creating property in beaneditform

2010-11-18 Thread Rich M
f-describing in their names and then you can usually look up information about them beyond that once you know the name of the component. -Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands

Re: Default value for @Persist'd object

2010-12-03 Thread Rich M
ethod. Of course your wrapper methods idea seems fine if you prefer a method-per-object convention. -Rich On 12/03/2010 09:39 AM, Richard Hill wrote: Hi, I was wondering whether it's possible to set or define a default value for an object that is @Persist'd? e.g something equival

Referencing and displaying image asset from Webapp

2010-12-13 Thread Rich M
SS that do not break the application filter/dispatcher? I hope I was clear enough as to what my problem is. Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands,

Re: Referencing and displaying image asset from Webapp

2010-12-14 Thread Rich M
o load the images alright then. I could still use some help with the Resource checking. Is that the best idea for validating the existence of a file in the context (assuming I get it to work properly)? Thanks, Rich On 12/14/2010 06:52 AM, LLTYK wrote: I don't think there's a tml shor

Re: Referencing and displaying image asset from Webapp

2010-12-14 Thread Rich M
I thinking because these files aren't being served, my local machine can resolve the "file:///<..>" urls to the image files, but they won't actually display in the page. I'm thinking this might not be my best solution for a production environment. Thanks, R

Re: Referencing and displaying image asset from Webapp

2010-12-14 Thread Rich M
at I've singled it down to this, I think my problem should be more obvious and hopefully simpler. Thanks for your patience, Rich On 12/14/2010 03:42 PM, Kalle Korhonen wrote: You are way over-complicating things. If these are static resources (your webapp/ implies that but storing the n

Re: Referencing and displaying image asset from Webapp

2010-12-15 Thread Rich M
7;m hoping that will fix my problem here, but I won't know until later on, in the middle of company meetings today. Hopefully might help clarify what I have and what you're trying to say? Thanks, Rich On 12/14/2010 10:49 PM, ael wrote: Is this application to img? # Say Hello

Re: Referencing and displaying image asset from Webapp

2010-12-15 Thread Rich M
o wrote: On Wed, 15 Dec 2010 16:03:19 -0200, Rich M wrote: Hi, Hi! I'm sorry I don't completely understand what you are asking here. The images are static and sit within the webapp context. Then you can refer to them without Tapestr

Re: Referencing and displaying image asset from Webapp

2010-12-15 Thread Rich M
On 12/15/2010 03:29 PM, Thiago H. de Paula Figueiredo wrote: On Wed, 15 Dec 2010 18:25:44 -0200, Rich M wrote: That doesn't quite solve it though, how do I get it to know "yourpicture.jpg"? That's a dynamic String within the system that changes throughout the loop. The i

Re: Referencing and displaying image asset from Webapp

2010-12-15 Thread Rich M
the call to is made in the Page TML, the BindingConstants.CONTEXT parameter is not able to resolve "/layout/images/products/${prod.imageLink}" properly into the context path, while it can resolve "/layout/images/products/filename.png". I'm not completely understanding

Re: Referencing and displaying image asset from Webapp

2010-12-15 Thread Rich M
Resending, I think my local links to the files somehow resolved in there... On 12/15/2010 05:16 PM, Rich M wrote: Sure, working: [img src="/app/assets/ctx/1.0/layout/images/products/filename.png "/] $5 - 250 MP $5 USD! Redeem not-working: [img src="/layout/

Re: Referencing and displaying image asset from Webapp

2010-12-16 Thread Rich M
ed to be addressable by the url. If you were deploying to the root context you probably never would have noticed a problem! Josh On Wed, Dec 15, 2010 at 2:18 PM, Rich M wrote: Resending, I think my local links to the files somehow resolved in there... On 12/15/2010 05:16 PM, Rich M wrote:

MarkupWriter and TML together?

2010-12-20 Thread Rich M
erarchy of Categories built into a form that I will process. By doing the HTML elements in the page class, I figured I could keep track of the elements and their attributes/etc with the least pain so I can process them properly on a form submission. This is 5.1.0.5 by the way. Th

Re: MarkupWriter and TML together?

2010-12-20 Thread Rich M
arkupWriter method: @BeginRender public void getSelectedTab(MarkupWriter writer){ writer.element("div","id","tabContent"); writer.element("h2"); writer.write("Test"); writer.end(); writer.en

Re: MarkupWriter and TML together?

2010-12-21 Thread Rich M
No luck, same result. No or elements in the generated HTML. On 12/20/2010 06:23 PM, Thiago H. de Paula Figueiredo wrote: On Mon, 20 Dec 2010 20:48:39 -0200, Rich M wrote: So that seems to narrow it down to some issue in my approach then, as I am not able to see anything written from my

Re: MarkupWriter and TML together?

2010-12-21 Thread Rich M
m the component (private fields with getter methods) I could use @InjectComponent to have a reference to the component in the Page class? Let me know if my assumptions there are in line with the truth. Thanks, Rich On 12/21/2010 04:56 PM, Josh Canfield wrote: Does your event handler get called?

Re: MarkupWriter and TML together?

2010-12-21 Thread Rich M
how a plain HTML form can trigger a Component method, is there a Tapestry Javascript method to leverage this? Alternately, is there a way to feed MarkupWriter content into a TML template, as in to write out HTML elements inside a element? Thanks, Rich On 12/21/2010 05:08 PM, Rich M wrot

Re: MarkupWriter and TML together?

2010-12-22 Thread Rich M
y keeps getting better. Thanks again, Rich On 12/21/2010 07:26 PM, Thiago H. de Paula Figueiredo wrote: On Tue, 21 Dec 2010 21:36:54 -0200, Rich M wrote: writing it as a Component works. Not sure what the problem with the Page class was. Most probably your div was generated before the

Re: MarkupWriter and TML together?

2010-12-22 Thread Rich M
s. Is there anything more elegant that this? I'd surely want to refactor this code ASAP after my deadline. Would an upgrade to 5.2 and using @RequestParameter be the best refactor I could do, or is there another solution, possibly 5.1 compatible? Thanks, Rich On 12/22/2010 11:07 AM, Thiago H

Re: MarkupWriter and TML together?

2010-12-22 Thread Rich M
","javascript:setupSubmit(this);"); w.element("input", "type", "submit", "value", ms.get("save-rewards-preferences")); w.end(); //submit w.end(); //formEventLink

Re: MarkupWriter and TML together?

2010-12-22 Thread Rich M
On 12/22/2010 01:44 PM, Thiago H. de Paula Figueiredo wrote: On Wed, 22 Dec 2010 16:05:15 -0200, Rich M wrote: Hmm, I'd tried that several ways, every time the ParameterNames() list was empty and I couldn't fetch the parameter I was looking for. I tried peeking the Request paramet

Re: MarkupWriter and TML together?

2010-12-22 Thread Rich M
nk to reference the correct component. First I got it working using new LinkImpl, but since that is an internal class, I opted for a Javascript rewrite instead. I couldn't find any other way of regenerating the link though... Not sure if there is one? Thanks, Rich On 12/22/2010 02:42 PM, Thiago H

Tapestry 5 and W3C HTML Validation

2011-01-04 Thread Rich M
ML Validation is achievable, or if I need to learn to distinguish the exceptions from my own issues? I've got some CSS and HTML bugs I need to work through and the Web Design people helping me are throwing a fuss about the HTML and so on. Thanks, Rich -

MarkupWriter element and IE8

2011-01-04 Thread Rich M
/localhost/mloyalty/cai/index/catchoose:savepreferences";>Save Preferences The issue here being that in IE8 the ' characters got written out as &' The setupSubmit script is vital to functionality, anyone have any insight into this issue? Thanks, Rich ---

Re: Tapestry 5 and W3C HTML Validation

2011-01-04 Thread Rich M
see: http://validator.w3.org/check?uri=https%3A%2F%2Fwww.moremagicpoints.com%2Fmloyalty%2Findex&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&user-agent=W3C_Validator%2F1.1 -Rich On 01/04/2011 12:51 PM, Thiago H. de Paula Figueiredo wrote: On Tue

Re: MarkupWriter element and IE8

2011-01-05 Thread Rich M
On 01/04/2011 05:14 PM, Thiago H. de Paula Figueiredo wrote: On Tue, 04 Jan 2011 19:44:34 -0200, Rich M wrote: Hi, Hi! The issue here being that in IE8 the ' characters got written out as &' This isn't a problem with Tapestry. IE doesn't handle HTML entities as

[5.1] Confusing ZoneUpdater behavior

2011-01-25 Thread Rich M
vent accidental deletes onDeleteConfirm() -> ZoneUpdater event handler, delete_confirm = Boolean.parseBoolean(request_parameter); onSuccessFromForm() -> if(!delete_confirm) return; //exit out of form if we arent confirming the deletion

Re: [5.1] Confusing ZoneManager behavior

2011-01-25 Thread Rich M
Hi, got my terms mixed up. ZoneUpdater is a popular mixin that I've used as a model for some of mine. ZoneManager is what I'm actually using here, specifically zoneManager.updateFromURL(updatedUrl); Sorry for the confusion. -Rich On 01/25/2011 02:13 PM, Rich M wrote: Hi, I

Re: [5.1] Confusing ZoneUpdater behavior

2011-01-26 Thread Rich M
ission. Do you think 500 ms is excessive waiting time here? Thanks for pointing that out, Josh, would have never occurred to me! thanks, Rich On 01/25/2011 09:27 PM, Josh Canfield wrote: Sounds like it could be a timing issue. Have you tried putting debug statements around the in code instead o

Re: [5.1] Confusing ZoneUpdater behavior

2011-01-27 Thread Rich M
e two scenarios. Also looks like I was asking about this months ago heh ( http://tapestry.markmail.org/search/?q=cancel%20form%20submission#query:cancel%20form%20submission%20order%3Adate-backward+page:2+mid:wi2l27jeaezsaoo3+state:results ) but

Re: Simple radiogroup question

2011-02-09 Thread Rich M
ssage:contact-by-email-label}t:type="Radio" t:id="contactEmail" value="contactByEmail" onclick="setEmail()" /> ${message:contact-by-phone-label}t:type="Radio" t:id="contactPhone" value="contactByPhone" onclick="setPhon

Re: Regarding overlay image in tapestry

2011-02-09 Thread Rich M
, and then just include that component as an element in your TML file for the page. -Rich On 02/09/2011 05:13 PM, sarov saravanan wrote: Hi, I am just trying to display a playbutton image over a list of main images, That is you see list of images on a page and each will have a playbutton

Re: EventLink URI and loop component

2011-02-18 Thread Rich M
or giving dynamic values to some attributes, clarifying that the component ID/component itself is going to be static, and detailing the implications of static structure and Loops. Regards, Rich On 02/18/2011 11:26 AM, Erik Fäßler wrote: Hey there, It seems I have a problem with tapestry'

Re: EventLink URI and loop component

2011-02-18 Thread Rich M
On 02/18/2011 12:59 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 18 Feb 2011 15:45:54 -0200, Rich M wrote: The challenge in your case is I don't believe you can dynamically assign a component ID. I double checked myself just now, and t:id only took a discrete ID (in 5.1.0.5), and wa

[5.1] NPE when re-rendering Zone with Blocks containing Forms

2011-02-23 Thread Rich M
Page each time. Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [5.1] NPE when re-rendering Zone with Blocks containing Forms

2011-02-23 Thread Rich M
from the Event methods before. Thanks, Rich On 02/23/2011 02:49 PM, Josh Canfield wrote: Hi, I'm getting the following error I can't reproduce the error. Can you create a cut down version that causes the problem? Here is my attempt to recreate. @Property private Stri

[5.1] recordError for Forms in Blocks

2011-02-24 Thread Rich M
e the recordError method of the Form components. However, the Validation Bubbles are failing to display despite being designated for the related fields. Maybe I'm overlooking something here. A simplified code example TML and Page class below. Thanks, Rich TML: ${message:discountPerce

Re: Select with zone failing intermittently

2011-02-25 Thread Rich M
http://tapestry.markmail.org/thread/6nlztv5dlv4pix77 Regards, Rich On 02/25/2011 10:35 AM, Bryan Lewis wrote: To follow up... moving the first select out of the zone didn't help. I didn't see how it would, was grasping at straws. I finally avoided the problem by getting rid of the chained select

Re: [5.1] recordError for Forms in Blocks

2011-02-25 Thread Rich M
form being part of a zone update versus a page render change the behavior or lack thereof of validation bubbles? Thanks, Rich On 02/24/2011 05:02 PM, Rich M wrote: Hi, I'm having a hard time tracking down my issue at hand here. I have Form components defined in a set of Block components

Re: [5.1] recordError for Forms in Blocks

2011-02-25 Thread Rich M
e on the page that's preventing normal initialization logic for occurring. On Fri, Feb 25, 2011 at 11:08 AM, Rich M wrote: Does anyone have insight into what I might be missing here? As I mentioned clicking the form submit will not render the validation bubbles, but if I click the form submi

  1   2   >