Re: components and stylesheets

2006-02-27 Thread Anthony Fox
Well, as it turns out, I will have to have multiple css classes for the box on a single page, so multiple stylesheets that redefine css classes is no longer an option. I will place all the css classes in a single stylesheet. My question now is how do I switch the css class of a component based on

components and stylesheets

2006-02-27 Thread Anthony Fox
Hi, I have multiple stylesheets that define the way a particular box can look on my page. I have a component that has a need of selecting which stylesheet to use based on a property of the component's class. Only the color scheme of the box will change based on the stylesheet. Has anyone done s

Re: hibernate detached objects as persistent page properties

2006-02-23 Thread Anthony Fox
Thanks for the code. I'll take a look and see if I can incorporate this in my application. One further question, how have people dealt with detached hibernate objects in the session? In my case, which I imagine is a common case for a lot of people, after the user has authenticated, I store the U

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
bject > ). > Explicit merging is better IMO because easily allows "wizard"-like multi > iteration editing of an object and then persisting all the changes if desired. > > With automatic reattaching all the changes will be persisted as user proceeds > and it makes hard

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
t there a few (rare in my case) legitimate instances where this is > needed. In this case, I take care to first evict (or merge if > appropriate) the duplicate object. > > Shawn > > Quoting Anthony Fox <[EMAIL PROTECTED]>: > > > Hi, > > > > I have an ap

Re: hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
st stores it as-is in the session. If you > would like the code, configuration information, just let me know. > > > > -Original Message- > From: Anthony Fox [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 22, 2006 8:12 AM > To: Tapestry users > Subject: hibe

hibernate detached objects as persistent page properties

2006-02-22 Thread Anthony Fox
Hi, I have an application that has a lot of hibernate detached objects (with lazy loaded collections) that are persistent page properties. What are best practices for reattaching these detached objects while maintaining a clean separation of layers? I have my implementation specific persistence

Re: Question about logout link

2005-06-28 Thread Anthony Fox
: > > Logout > > In your .page: > > > > > > In the root directory of your app create a logout.jsp with the following > content: > > <% > session.invalidate(); > response.sendRedirect( "app"); > %> > > T

Question about logout link

2005-06-27 Thread Anthony Fox
My application uses ACEGI x509 authentication. I have implemented a logout link that calls a listener which does the following: public void logout(IRequestCycle cycle) { try { ((Visit)getVisit()).logout(); IEngineServiceView

Tapestry + Acegi Authentication

2005-06-20 Thread Anthony Fox
Hi, My Tapestry application uses Acegi to handle authentication. The current implementation uses an LdapAuthProvider to authenticate via an LDAP directory. I would like to implement an authentication scheme that would first try to authenticate via a certificate and failing that authenticate via

Re: ognl expressions in XTile component

2005-06-13 Thread Anthony Fox
Worked like a charm. Thanks. On 6/13/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > On Jun 13, 2005, at 3:53 PM, Anthony Fox wrote: > > > I would like to use an ognl expression to generate arguments in an > > XTile component a la : > > > > > se

ognl expressions in XTile component

2005-06-13 Thread Anthony Fox
I would like to use an ognl expression to generate arguments in an XTile component a la : ... < Does anyone know how to get something like this working? Thanks, Anthony - To unsubscribe, e-mail: [EMAIL PROTEC

multiple active contrib:Table components

2005-06-10 Thread Anthony Fox
Hi, I am attempting to implement a page that contains a contrib:Table component. I need to be able to open multiple windows of this page that are logically separate (different underlying data for the table) and be able to page through the tables on the different pages independently. I have imple

Re: Multiple instances of the same page for a single user session

2005-06-07 Thread Anthony Fox
ticular results > in the hidden object. Then you can restore the correct result set from > the map using the key. > > Robert > > Anthony Fox wrote: > > Hi, > > > > Is it possible to have multiple instances of the same page for a > > single user session? I ha

Multiple instances of the same page for a single user session

2005-06-07 Thread Anthony Fox
Hi, Is it possible to have multiple instances of the same page for a single user session? I have an application that searches a database and creates a new window with the results of a search. Users can then go back to the original window and perform another search. The second search will pop up

Changing behavior of contrib:Table's paging links

2005-06-01 Thread Anthony Fox
I am interested in changing the behavior of the paging links generated by the contrib:Table component. Specifically, I want the paging links at the top of the table to call a javascript method rather than the default behavior. Can the Block component do this? Are there any examples that change t

Post-processing Tapestry generated html

2005-05-30 Thread Anthony Fox
Hi, I need to perform some post-processing on a Tapestry generated html page in order to transform some links. Specifically, I am using the contrib:Table component and I need to modify the paging links to call some javascript functions. Is it possible to intercept the generated html by overridin

Tapestry/AJAX question

2005-05-25 Thread Anthony Fox
Hi, I am new to Tapestry so forgive me if the answer to this question is simple. I am trying to create a navigation system using AJAX and Tapestry. All the navigation links call a javascript function that uses an XMLHttpRequest to request a page from Tapestry and updates the innerHTML of a div e