T5: No tag rendered when using enum

2007-03-22 Thread Erik Johansson
Hi, when using the Select component with an Enum the options within the select tag wont render the tag. Example: The enum public enum TestEnum { ONE,TWO,THREE; } will render the select One Two Three Is this a known bug? (I'm not familiar with JIRA so I do

Connect additional javascript to a async DirectLink

2006-12-15 Thread Erik Johansson
Hi, When I submit/click a async request I want to do a fade on a div (the one getting replaced by the async call). Anyone know how I can invoke the fade effect (dojo.lfx.html.fadeOut) before the async. call is made? Im using a DirectLink to update the component 'toplist' like this right now

Re: Generate Unique Javascript IDs?

2006-09-11 Thread Erik Johansson
he index parameter with two nested for loops element="td"> -erik Josh Joy wrote: Thanks Erik. Couple questions...what do the following mean and how are their values populated? 1. time$ 2. row 3. column Thanks, Josh Erik Johansson wrote: Hi Josh, This is how I

Re: Generate Unique Javascript IDs?

2006-09-10 Thread Erik Johansson
Hi Josh, This is how I did it The tag: class="scheduleClicked" onclick="ognl:'javascript:switchClicked('+row+','+column+');return false;'"> The javascript function switchClicked(_row, _column){ if(document.getElementById('time$'+_row+'$'+_column).className == 'scheduleClicked'){ do

Localizing the DropdownDatePicker

2006-09-03 Thread Erik Johansson
Im having a bit of trouble localizing the DropdownDatePicker. The default lanugage of my browser is Swedish. I choose a date where the abbreviation differs between English and Swedish * *e.g. Oct/Okt. I get the following in the input field 11 Oct 2006 When I submit the form Tapestry complains ab

AlertDialog

2006-08-28 Thread Erik Johansson
Hi, Im trying to figure out how to use the tapestry.widget.AlertDialog widget which as far as I can tell seems to be the tapestry implementation of the dojo Dialog widget. Will there be a tapestry component for this later (like tacos:Dialog)? This is the code Im trying to run but I only get

IAutocompleteModel and DefaultAutocompleteModel

2006-08-15 Thread Erik Johansson
I cannot seem to find the org.apache.tapestry.dojo.form.DefaultAutocompleteModel org.apache.tapestry.dojo.form.IAutocompleteModel class and interface used in the TimeTracker demo. I downloaded the latest tapestry 4.1 release yesterday. Have they been moved or what do I have to do to get them

hivemind wireing

2006-08-08 Thread Erik Johansson
Hi, Im trying to wire my visit object, which implements javax.servlet.http.SessionBindingListener, together with my SessionManager so that when the visit object is detached the visit object will be notified which in turn notifies the SessionManager which will do some logout procedures. My p

Catching session dereferencing

2006-07-04 Thread Erik Johansson
Hi, what is the preferred way of catching a session dereferencing/invalidation in Tapestry 4.x? -Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reading parameters

2006-06-16 Thread Erik Johansson
Hi, Im trying to create a component which initializes a PropertySelection component based on a parameter provided to my own component. I have placed the setup code in prepareForRender() since the parameter does not seem to be set in pageBeginRender() public abstract class BasketItem extends