Weird classClassNotFoundException Was: Re: How to pass a reference of ASO to my SqueezeAdaptor

2006-09-06 Thread Borut Bolčina
Thanks Barry, the squeezer now works, but now I am having problem passing the object to and from component on the page. Becouse the error is so weird, I conclude something is wrong with component parametrs not being properly handled. It works without the component. Page includes component

Re: Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
ok. the only other way for me to obtain a users selection would a radio button. might try that. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Obtaining check box data from a form

2006-09-06 Thread Jesse Kuhnert
Most of the time a checkbox - by definition - is more of a boolean operation than value...But far be it from me to argue with semantics that do work.. If you want to just get past the problem and move on you can always call IRequestCycle.getParameterValues("thenameyou gaveallofyourcheckboxes");

Re: Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
just to clarify again, i want to gather the underlying value of each checkbox and not its label. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
ok i will try again. i have a bunch of options which the user can select from. they are all checkboxes (approx say 25). based on this user selection i display corresponding information on the next page. now first thing, 1. how should i group these checkboxes, individually, within a span or somet

Re: Obtaining check box data from a form

2006-09-06 Thread Nick Westgate
Hi Peter. Your explanation is rather vague, but if you want to treat the checkboxes as a group, you might want to look at the contrib MultiplePropertySelection: http://tapestry.apache.org/tapestry3/doc/api/org/apache/tapestry/contrib/form/MultiplePropertySelection.html Note that all the html doc

Re: Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
may be i should put everything within a span and then pass on values of checked checkboxes. but how do i group them together. if they were radio buttons i would have selected RadioGroup. any help guys. - To unsubscribe, e-mail:

Re: Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
i can pass a boolean fine. but how do i pass on the value of the checkbox on a submit. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
its good for a start. how come i couldnt find it. but thanks anyways. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Obtaining check box data from a form

2006-09-06 Thread Jesse Kuhnert
Does this help? http://tapestry.apache.org/tapestry3/doc/ComponentReference/Checkbox.html On 9/7/06, Peter Dawn <[EMAIL PROTECTED]> wrote: guys, i am trying to implement a big form within my web app. in the form the user is able to select through checkboxes what information they want viewed.

Obtaining check box data from a form

2006-09-06 Thread Peter Dawn
guys, i am trying to implement a big form within my web app. in the form the user is able to select through checkboxes what information they want viewed. now each checkbox has a corresponding value associated with it. now when the user clicks on the submit button, i want to pass on the values of

Re: Trace clients actions

2006-09-06 Thread Bryan Lewis
Right... that's been working well for us. I have a request listener method in a POJO: import org.apache.log4j.MDC; public class EventListener implements ServletRequestListener // among others { public void requestInitialized(ServletRequestEvent sre) { HttpServletRequest req = (Ht

Re: external form submissions

2006-09-06 Thread Shing Hing Man
Chapter 8 of the book Tapestry in Action discussed (also relevant to Tap4) a way of submitting an 'external' form to a Tapetsry page. (I think you can download the example source code of the book for free from Manning's web site.) Briefly, you set up a Tapestry page whose java class extends Bas

external form submissions

2006-09-06 Thread Payne, Matthew
Can tapestry accept a form submissions from another application(a logon page in this case)? e.g. input page is not a tapestry template or under its control. It must redirect back. Anyone have an example? Matt This message, including any attachments, is intended only for the recipient(s) named

Re: How to implement polling with @EventListener

2006-09-06 Thread Jesse Kuhnert
There ~will~ be more features like this soon, have been on the tail end of a "rent paying" project release and haven't had time for anything else... I'm not sure polling is the perfect answer (at least done this way.) You might check out cometd.org as well. The dojo + jetty guys have been working

Re: How to link from item list to item detail

2006-09-06 Thread David Harkness
Malin Ljungh wrote: This means I will have to check on the details page that the item to be shown is indeed owned by the current user. OK, I can do that, but is there maybe a better way to perform the link? Hi Malin, If you don't enforce the rule by checking on the server, no matter what you

RE: How to pass a reference of ASO to my SqueezeAdaptor

2006-09-06 Thread Shing Hing Man
The HiveMind registry is stored as a context parameter. Please check out the following post in the archive. http://article.gmane.org/gmane.comp.java.tapestry.user/38716/match=shing You can retrieve the ApplicationStateManager from the HiveMind registry, Shing --- [EMAIL PROTECTED] wrote: >

Re: Trace clients actions

2006-09-06 Thread Jérôme BERNARD
I guess, you are speaking of the MDC (Mapped Diagnostic Context) feature in log4j. This is somehow a j.u.Map context that can be used in log statements. You are the one responsible for correction populating the context map. Regards, Jérôme. On 9/6/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: I

Re: Trace clients actions

2006-09-06 Thread Jesse Kuhnert
I know one of the logging packages has a feature that allows you to bind logging output to a particular user associated with a particular servlet session. I'd probably go that route. The syntax in the logger involved something along the lines of "%u" I think. On 9/6/06, Henri Dupre <[EMAIL PROTEC

RE: How to pass a reference of ASO to my SqueezeAdaptor

2006-09-06 Thread Thomas.Vaughan
Ohhh. . . .this is *so* close to what I need! I have a stand-alone HttpSessionListener impl class in my Tap 4 project that needs access to an ASO. As a hivemodule noob, how can I get access to the ApplicationStateManager like shown in Barry's awesome example below? I *assume* I can't define my H

How to link from item list to item detail

2006-09-06 Thread Malin Ljungh
I'm writing an application where logged in users can create "items". User can then list their items and by following a link (DirectLink) they will reach the item details page where the selected item can be edited. This is a typical scenario which I imagine occurs in many apps. I have implemented

Trace clients actions

2006-09-06 Thread Henri Dupre
I'm experiencing some strange bugs and I can't figure out how our customers browsing our website cause these problems. How could I trace the actions people do on the website in order to be able to reproduce them? (and also without killing the log files) -- Henri Dupre Actualis Center

Re: How to pass a reference of ASO to my SqueezeAdaptor

2006-09-06 Thread Barry Books
Here is mine. Just add the state manager as a property and pull out what you need. public Object unsqueeze(DataSqueezer squeezer, String string) { try { Repository repository = (Repository) stateManager.get("repository"); User user

Re: Dynamic Link

2006-09-06 Thread Mael Caldas
Hi Nielsh, You can use a special renderer on DirectLink, PageLink, ExternalLink and so on..: On template: Link Don't forget to use the @Body component, becouse of the generated javascript See the documentation for more details about features and so on... Mael Caldas On

Re: Dynamic Link

2006-09-06 Thread Karthik N
look at the popuplinkrenderer component. On 9/6/06, Nilesh <[EMAIL PROTECTED]> wrote: hi, I need to add dynamic link to Tapestry Page, which should open in a pop-up window. can any one please let me know how can i do this? Thanks A lot -- View this message in context: http://www.nabble.com/D

Dynamic Link

2006-09-06 Thread Nilesh
hi, I need to add dynamic link to Tapestry Page, which should open in a pop-up window. can any one please let me know how can i do this? Thanks A lot -- View this message in context: http://www.nabble.com/Dynamic-Link-tf2226663.html#a6170388 Sent from the Tapestry - User forum at Nabble.com.

Re: How to implement polling with @EventListener

2006-09-06 Thread livelock
Yay, it works, thanks. It really looks like there should be a more elegant solution to this, but hey, it works. Now I am facing a different thing, using AJAX requests I only want to transfer deltas. For example if there are 11 rows on the screen and on the next update there is a new one, I don't

How to pass a reference of ASO to my SqueezeAdaptor

2006-09-06 Thread Borut Bolčina
Hi, I want to pass objects between the pages so I am trying to write my custom squeezer adaptor. In my hivemodule.xml I have an application ASO In my unsqueeze method in my class which implements SqueezeAdaptor I need a reference to initialized Manager ASO ob