ReflectionSaltSource in tapestry-spring-security

2011-03-07 Thread Chuck Kring
in advance Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Discussion

2010-12-21 Thread Chuck Kring
ke because his code looks great Chuck Kring www.wirelessmedcare.com - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [Bulk] Re: add target to Link

2010-12-20 Thread Chuck Kring
My mistake. I am only returning a link. I ended up using Javascript and it would have been nice to be able to set the target attribute in Java. My question was based upon the fact that you could do that in Tapestry 4 so I figured there was some other way to do this in T5. On 12/20/2010 4:17

Re: [Bulk] Re: add target to Link

2010-12-20 Thread Chuck Kring
n Sat, Dec 18, 2010 at 8:34 PM, Chuck Kring wrote: Hello, I have a submit button that returns a link that I'd like to have open in a new window. I noticed that the Tapestry 4 link API supported specification of that target, but I can figure out how to do it in Tapestry 5.1.0.5. How do

add target to Link

2010-12-18 Thread Chuck Kring
Hello, I have a submit button that returns a link that I'd like to have open in a new window. I noticed that the Tapestry 4 link API supported specification of that target, but I can figure out how to do it in Tapestry 5.1.0.5. How do I specify the target for a Link in Tapestry 5? Thanks i

Re: Storing assets in database ...

2010-12-09 Thread Chuck Kring
Hi Thiago, On 12/9/2010 1:10 PM, Thiago H. de Paula Figueiredo wrote: On Thu, 09 Dec 2010 18:33:13 -0200, Chuck Kring wrote: I use onActivate() to return an image for a heartbeat to an Ajax dashboard. Why the heartbeat? Are you talking about the Tapestry heartbeat concept? No, this is

Re: Storing assets in database ...

2010-12-09 Thread Chuck Kring
I use onActivate() to return an image for a heartbeat to an Ajax dashboard. Using an image allows me to use the onLoad event to verify connectivity.When I proposed that, I was warned that using onActivate() to return an image can create performance issues. In my case I'm returning a 1-pi

Re: another bug in image submit

2010-11-24 Thread Chuck Kring
Oops. Sorry about the title. I'm not sure yet that this is a bug or operator error. On 11/24/2010 4:05 PM, Chuck Kring wrote: Hello, Something odd is occurring in Tapestry 5.1.0.5. I'm using a form inside of a zone. In the form are several image submits - arrows to move tim

another bug in image submit

2010-11-24 Thread Chuck Kring
s. http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> ~ Am I doing something wrong? If this is a bug, is it related to TAP5-711 or something else? Thanks! Chuck Kring - To unsubscribe, e-ma

Re: Tap 5.2.2 With JQuery Problems

2010-11-10 Thread Chuck Kring
I'm using T5.0.5 and the Jquery accordion. I ran into compatibility issues between JQuery and Prototype that were solved using the suggestions on this page: http://docs.jquery.com/Using_jQuery_with_Other_Libraries Chuck Kring On 11/10/2010 11:19 AM, iberck wrote: Dear tapestry user

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
ber of panes. You could build a new component that supports dynamic panes. Josh On Fri, Oct 15, 2010 at 3:01 PM, Chuck Kring wrote: Clarification: programatically created with ids specified from the page or component class, then retrieved using findBlock() or something similar. On 10/15/2010 2:

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
Clarification: programatically created with ids specified from the page or component class, then retrieved using findBlock() or something similar. On 10/15/2010 2:54 PM, Chuck Kring wrote: Understood. The use model for this would be to allow Blocks to be dynamically created in the

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
n Fri, Oct 15, 2010 at 11:41 AM, Chuck Kring wrote: Whoa. Everything is easy in Tapestry. The hard part is figuring out the easy way to do it. Howard, if you happen to read this, one thing that would be generally useful would be to allow t:id to be set using a variable. Something like

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
I'm going to give it a try. It looks very usable. Thanks for the lead. Chuck On 10/14/2010 5:51 PM, ael wrote: JQuery on the Go... http://www.stemkoski.com/stupid-simple-jquery-accordion-menu/ Simple Stupid JQuery Accordion :) -

Re: how to create a loop of parameters?

2010-10-15 Thread Chuck Kring
meters" as Blocks into your code, then pass a List or Map of those Blocks to your component. It isn't as pretty in the markup. Alternately, you could have a naming convention, i.e. ... ... ... ... On Thu, Oct 14, 2010 at 2:29 PM, Chuck Kring wrote: Hi everyone, I'm trying

how to create a loop of parameters?

2010-10-14 Thread Chuck Kring
oup A obj 1 obj 2 obj 3 Group B obj 1 obj 4 For various reasons an accordion will work well for this. This doesn't work but describes what I'd like to do: ${panel.title} ${panel.content} Any suggestions? Than

Re: Stream redirection problem when using JFreeChart with Tapestry

2010-08-13 Thread Chuck Kring
.. -Original Message- From: Chuck Kring [mailto:cjkr...@pacbell.net] Sent: Friday, August 13, 2010 2:08 AM To: users@tapestry.apache.org Subject: Re: Stream redirection problem when using JFreeChart with Tapestry Did you verify that the _context in onChart() is valid? On 8/12/2010 1:45 PM

Re: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Chuck Kring
} public void prepareResponse(Response response){} }; } } -Original Message- From: Chuck Kring [mailto:cjkr...@pacbell.net] Sent: Thursday, August 12, 2010 11:32 PM Cc: Tapestry users Subject: Re: Stream redirection problem when using JFreeChart with Tapestry

Re: Stream redirection problem when using JFreeChart with Tapestry

2010-08-12 Thread Chuck Kring
Handler_12a675b7fca.handle($ComponentEventRequestHandler_12a675b7fca.java) at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43) -Original Message- From: Chuck Kring [mailto:cjkr...@pacbell.net] Sent: Tuesday, August 10, 2

Re: Stream redirection problem when using JFreeChart with Tapestry

2010-08-10 Thread Chuck Kring
Hi. I use JfreeChart extensively with T 5.0.1.5 and I'm very happy with it. Most likely your exception is caused by a bug in your .tml or the underlying class. If you could reduce the template and the class to the minimum size that still shows the bug and post both to a follow up email

Re: Asset in css file?

2010-08-04 Thread Chuck Kring
. You don't have to (atleast in 5.1) expose the image as an asset to reference it in css or html. - Ville Chuck Kring wrote: Of course. But what is most efficient way to return a Tapestry Asset specified in the css file. The css file is not a template. On 8/4/2010 4:23 AM, Steve Eyno

Re: Asset in css file?

2010-08-04 Thread Chuck Kring
y X10 Mini, so excuse the small words and spelling mistakes! On 4 Aug 2010 07:33, "Chuck Kring" wrote: Hi everybody, I'm trying to override the gif image used for tabs in the Chenillekit tabset.This is specified in the chenillekit TabSet.css like this: a.ck.tab { b

Asset in css file?

2010-08-03 Thread Chuck Kring
Hi everybody, I'm trying to override the gif image used for tabs in the Chenillekit tabset.This is specified in the chenillekit TabSet.css like this: a.ck.tab { background:url("white-top-bottom.gif")repeat-x scroll 0 -1px transparent; . } At this point I assume that th

Re: add context to redirected page

2010-07-21 Thread Chuck Kring
setupRender(){ node = Node.getByNodeId(nodeId); if( node.isRed()){ return getPageLink(Red.class, nodeId); } return getPageLink(Green.class, nodeId); } In Red or Green page, you use activate method to get nodeId. On 7/22/2010 9:26 AM, Chuck Kring wrote: Hi, I have a page that

add context to redirected page

2010-07-21 Thread Chuck Kring
Hi, I have a page that takes a nodeId as a parameter, then redirects into the page to a different page depending upon the type of object referred to by the nodeId. I also would like to set the nodeId of the redirected page. What's the best way to do this? Thanks. Chuck public class myP

Re: directly return an image from Tapestry

2010-07-21 Thread Chuck Kring
thens, Beirut, Bucharest, Istanbul Subject: Re: directly return an image from Tapestry On Tue, 20 Jul 2010 19:15:33 -0300, Chuck Kring wrote: Hi everybody, Hi! I don't want to handle this as an event on the watched page because I'm not sure how Tapestry will

Re: directly return an image from Tapestry

2010-07-20 Thread Chuck Kring
That was simple and effective. Thanks! Chuck Thiago H. de Paula Figueiredo wrote: On Tue, 20 Jul 2010 19:15:33 -0300, Chuck Kring wrote: Hi everybody, Hi! I don't want to handle this as an event on the watched page because I'm not sure how Tapestry will handle the event if

directly return an image from Tapestry

2010-07-20 Thread Chuck Kring
sure how to handle this in tapestry. Regards, Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [Tapestry Central] Everyone out of the Pool! Tapestry goes singleton!

2010-07-15 Thread Chuck Kring
ce of component fields when components are reused in the page and called as part of an Ajax request. Is this problem in jira? I did a quick search but didn't see it. On Thu, Jul 15, 2010 at 12:28 PM, Chuck Kring wrote: Howard, I have another use case where this might be very usef

Re: [Tapestry Central] Everyone out of the Pool! Tapestry goes singleton!

2010-07-15 Thread Chuck Kring
agement in components more easily controlled by the application. For example, I could forgo the above context mechanism if it were possible to retrieve a handle to the FieldValueCondiut and to set that before re-rendering the component. Regards, Chuck Kring Howard wrote: Tapestry applic

Re: Why can't I return a rendered block via JSON?

2010-05-11 Thread Chuck Kring
d have the event handler triggered by an JS function or something similar. Once again, I'm not an expert on this, maybe one of the T5 devs can chime if I'm sputtering complete garbage. Regards, Alex K On Tue, May 11, 2010 at 12:57 AM, Chuck Kring wrote: Hi Alex, No quite. Current

Re: Why can't I return a rendered block via JSON?

2010-05-10 Thread Chuck Kring
en parsed on the client. Isn't that what you need ? Regards, Alex Kotchnev On Mon, May 10, 2010 at 2:18 AM, Chuck Kring wrote: Hi guys, My application uses Ajax extensively to provide a dashboard-like functionality. I use a rather small Javascript library that contains a poller a

Why can't I return a rendered block via JSON?

2010-05-09 Thread Chuck Kring
added to a JSON return? Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Is this a bug?

2010-05-03 Thread Chuck Kring
Got it. Thanks. Thiago H. de Paula Figueiredo wrote: On Mon, 03 May 2010 19:43:41 -0300, Chuck Kring wrote: Tapestry360 Jira is down. I'll file it when it comes back up. Thanks for helping. Tapestry's JIRA is https://issues.apache.org/jira/b

Re: Is this a bug?

2010-05-03 Thread Chuck Kring
Tapestry360 Jira is down. I'll file it when it comes back up. Thanks for helping. Chuck Thiago H. de Paula Figueiredo wrote: On Mon, 03 May 2010 19:25:55 -0300, Chuck Kring wrote: Does it make sense to file a Jira? Something like 'upload component should be enhanced to work

Re: Is this a bug?

2010-05-03 Thread Chuck Kring
Thanks. Does it make sense to file a Jira? Something like 'upload component should be enhanced to work with Ajax'? Chuck Thiago H. de Paula Figueiredo wrote: On Mon, 03 May 2010 17:07:13 -0300, Chuck Kring wrote: Hello, Hi! I have a form that references a zone. When t

Is this a bug?

2010-05-03 Thread Chuck Kring
work remove t::zone="theForm" from the form. Is this a bug or am I doing something wrong? If it's a bug I'll file a Jira. Thanks. Chuck Kring http://tapes

Re: Checkbox in a Grid in a Zone in a Form?

2010-05-01 Thread Chuck Kring
Thanks. Thiago H. de Paula Figueiredo wrote: On Sat, 01 May 2010 02:10:43 -0300, Chuck Kring wrote: Hi, Hi! The Upgrade component must be enclosed by a Form component. Currently, you cannot have a form field working inside a Zone unless you put the whole Form inside the Zone

Checkbox in a Grid in a Zone in a Form?

2010-04-30 Thread Chuck Kring
there anything I can do about this? Or do I need to have the Select All and Deselect All buttons save state and return another copy of the form? Thanks! Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry

Re: Cleaning up AJAX dashboard

2009-05-20 Thread Chuck Kring
Thanks. Thiago H. de Paula Figueiredo wrote: Em Mon, 18 May 2009 13:44:44 -0300, Chuck Kring escreveu: Hi everybody, Hi! I need to cleanup the persistent fields when the page is no longer in use and I'm considering using the window onunload event and a hidden eventlink to trigge

Cleaning up AJAX dashboard

2009-05-18 Thread Chuck Kring
hanks. Chuck Kring - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Clarification on discardPersistentFieldChanges

2009-05-09 Thread Chuck Kring
Thank you! Igor Drobiazko wrote: Hi, a call of discardPersistentFieldChanges() will clean the state of the page and all embedded components. So you don't have to iterate over all components. On Sat, May 9, 2009 at 1:24 AM, Chuck Kring wrote: Hi, I have a question

Clarification on discardPersistentFieldChanges

2009-05-08 Thread Chuck Kring
call discardPersistentFieldChanges on any component on the page and it will discard all persistent field changes on the page and on all components used in the page. Is this true or do I need to explicitly call discardPersistentFieldChanges on each component? Thanks. Chuck

Re: T5.0.18: how to have variable data structures in a bean?

2009-04-19 Thread Chuck Kring
iated java code snippet also - Ville Chuck Kring wrote: Hi all, This is somewhat complicated so bear with me. I'm trying to create a bean with a variable number of fields, each which has a name and an associated select box to set various properties. The tml looks something

T5.0.18: how to have variable data structures in a bean?

2009-04-18 Thread Chuck Kring
it's own copy. My bean never sees the updated result. The work around is ugly - to store the profiles list in the session, the retrieve it and update the actual bean in in the profile.setSelection() method. My question is is this a bug in tapestry or am I doing something wrong? Is ther

Re: T5's Ajax/Zone implementation has substantial limitations

2009-01-08 Thread Chuck Kring
pdate cells in grids, extend forms based upon a select, etc. Regards, Chuck Kring Francois Armand wrote: Avi Cherry wrote: First off, I want to say that I'm a huge supporter, advocate (and long time user) of Tapestry, particularly T5. Hello Avi, [...] a lot of intersting things

T5: Dynamically returning a component to a zone

2008-05-28 Thread Chuck Kring
Hello, I have an application where I use a zone to display content that changes depending upon user input. This content can vary and I would like to have different versions of the content served by a library of components. Think if this a zone with various modes that depend upon other user

Re: T5.0.9 bug? Session in actionlink URL kills context

2008-02-03 Thread Chuck Kring
Should I file a bug? What version and component should I file it under? Howard Lewis Ship wrote: That looks like a bug ... as if it were running the partial path through HttpServletResponse.encodeURL rather than the full path. On Feb 2, 2008 5:22 PM, Chuck Kring <[EMAIL PROTECTED]>

T5.0.9 bug? Session in actionlink URL kills context

2008-02-02 Thread Chuck Kring
I'm debugging a strange behavior in a T5.0.9 application. The application is a dashboard containing multiple zone-like divs that are refreshed via a javascript keypress event handler. The handler does an Ajax.request on an actionlink.href, then updates several zone-like div areas. This is i

Re: Exception in grid component if source returns an empty list

2008-01-31 Thread Chuck Kring
source. I hit the same issue. Jonathan -Original Message- From: Chuck Kring [mailto:[EMAIL PROTECTED] Sent: Thursday, January 31, 2008 6:55 PM To: Tapestry users Subject: Exception in grid component if source returns an empty list I have an application that pulls data from a

Exception in grid component if source returns an empty list

2008-01-31 Thread Chuck Kring
I have an application that pulls data from a remote database and presents it in a Grid component. Sometimes the database is not available and my access method returns an empty arraylist. This triggers a bad-looking exception in tapestry 5: org.apache.tapestry.ioc.internal.util.TapestryExcept

Re: How to use LinkImpl in T5.0.9 ?

2008-01-30 Thread Chuck Kring
If you are talking about using LinkImpl to send a redirect, use the following: @Inject private Response response; response.sendRedirect("yourUrl"); Christian Gorbach wrote: hi http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html you can simply return an URL object c)hristian

Re: Add a DOCTYPE?

2008-01-29 Thread Chuck Kring
t; worked on 5.0.7 and fails on 5.0.9 Cheers, Chuck Chuck Kring wrote: Was there any resolution to this issue? I just ran into it. My templates work fine with 5.0.7 (prerelease) but break with 5.0.9. My headers look like this: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>

Re: Add a DOCTYPE?

2008-01-29 Thread Chuck Kring
at org.apache.tapestry.dom.Element.toPrefixedName(Element.java:364) ... Chuck Kring Donyee wrote: > > T5.07 works fine! > T5.08-SANPSHOT turns wrong! > > 2008/1/10, Donyee <[EMAIL PROTECTED]>: >> >