T5: Why isn't there any validate property for RadioGroup ?

2008-04-27 Thread Joshua Jackson
dear all, when I tried the RadioGroup component, I noticed that there are no validate property unlike all the other form component? Is there any reason why this property is not available for RadioGroup? Because there are times you are required to choose when using radio input. Thanks in advance

T5: Display Zone after form Submission?

2008-04-25 Thread Joshua Jackson
Dear all, Is it possible to display a zone after form submission? How do I do this? Or does zone only applicable for link? Thanks in advance -- Let's show the world what we've got. Blog: http://joshuajava.wordpress.com/ - To

Re: T5: Getting Request Info

2008-04-25 Thread Joshua Jackson
On 4/26/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > You can also just inject the HttpServletRequest. It is a "shadow" of > the request in the RequestGlobals object. Wow I didn't know that :) Great. Thanks Howard. -- Let's show the world what we've got. Blog: http://joshuajava.wordpress

Re: T5: Getting Request Info

2008-04-25 Thread Joshua Jackson
Never mind, I made a workaround as such: @Inject private RequestGlobals requestGlobals; private HttpServletRequest request = requestGlobals.getHTTPServletRequest(); Cheers, On 4/26/08, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Dear all, > > There is a generic Request

T5: Getting Request Info

2008-04-25 Thread Joshua Jackson
Dear all, There is a generic Request component in T5, but it hasn't got some method in HttpServletRequest such as: getRemoteUser() . I wanted to get the user that access the apps. How do I do this in T5? Could anyone give me an insights on this? Thanks in advance -- Let's show the world what w

Re: validation feedback: it rocks :D

2008-04-22 Thread Joshua Jackson
On 4/22/08, János Jarecsni <[EMAIL PROTECTED]> wrote: > in deed :) it is much neater than the previous version (with all errors > cumulated in one place). > > On 22/04/2008, Joshua Jackson <[EMAIL PROTECTED]> wrote: > > > > You mean the event bubbling? That

Re: validation feedback: it rocks :D

2008-04-22 Thread Joshua Jackson
You mean the event bubbling? On 4/22/08, János Jarecsni <[EMAIL PROTECTED]> wrote: > Just want to say I love the way the validation errors are shown now: IT IS > BEAUTIFUL!!! > :) > > cheers > janos > -- Let's show the world what we've got. Blog: http://joshuajava.wordpress.com/ -

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-16 Thread Joshua Jackson
On 4/16/08, Chris Lewis <[EMAIL PROTECTED]> wrote: > How is this not ethical? > > Joshua Jackson wrote: > > On 4/16/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > > > >> Don't you think you are getting carried away with it? > >> > >> &

Re: Trolls (Rob Smeets, Emmanuel Sowah, you know)

2008-04-16 Thread Joshua Jackson
On 4/16/08, Andy Pahne <[EMAIL PROTECTED]> wrote: > > Don't you think you are getting carried away with it? > I think so too. I don't think this is ethical. :) -- Let's show the world what we've got. Blog: http://joshuajava.wordpress.com/ ---

Re: T5: beta?

2008-04-09 Thread Joshua Jackson
On 4/10/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I fully intend to do a full sweep of any low-hanging fruit (i.e., easy > bugs with code and tests that won't destabilize things). > > I've been travelling and working on a client project, which has slowed > things a bit. > > I had a very ni

Re: T5: Using expression language in If component

2008-04-08 Thread Joshua Jackson
pr 8, 2008 at 1:55 PM, Joshua Jackson <[EMAIL PROTECTED]> > wrote: > > > Dear all, > > > > Is it possible to use expression language with If component as in JSP? > > > > Thanks in advance -- Let's s

T5: Using expression language in If component

2008-04-08 Thread Joshua Jackson
Dear all, Is it possible to use expression language with If component as in JSP? Thanks in advance -- Let's show the world what we've got. Blog: http://joshuajava.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: T5: How do I get session information?

2008-03-28 Thread Joshua Jackson
On 3/28/08, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: > i assume you want to access the persistent property of a > component somewhere else!?... Actually I want to get the login session info from Spring security 2.0 I though the best way is to get it manually from the Sessin object. > some

Re: T5: How do I get session information?

2008-03-28 Thread Joshua Jackson
On 3/28/08, Cordenier Christophe <[EMAIL PROTECTED]> wrote: > Hello > > You can inject the Request Tapestry service and then get the Session object > from this service. > This is the Tapestry Session object that wraps the J2EE one and gives you > access to the content of the session. > > I Hope t

T5: How do I get session information?

2008-03-28 Thread Joshua Jackson
Dear all, How do I retrieved information that is stored in a session from my Page component? I could not find this in the docs. Thanks in advance -- Let's show the world what we've got. Blog: http://joshuajava.wordpress.com/

Re: T5: Display action message

2008-03-22 Thread Joshua Jackson
I don't understand. Can you please give me a code snippet? Because I don't use ActionLink to submit form, I use Submit button. Thanks in advance On 3/22/08, Angelo Chen <[EMAIL PROTECTED]> wrote: > > how about let the actionLink pointing to a zone? > > -- Let's show the world what we've got.

T5: Display action message

2008-03-20 Thread Joshua Jackson
Dear all, How do we implement action message in T5? I want to display a message after an event occur, whether on success or on failure. Can anyone give me and insights on this. I've searched the document for the component reference but I could not find it. Thank you in advance -- Let's show the

Re: Make Tapestry a "full" web framework?

2008-03-19 Thread Joshua Jackson
On 3/19/08, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > Fair enough. I'm convinced. Sorry for the false positive, Joshua. > > Cheers, > Christian. No worries. I am integrating T5 with Spring Security 2. But I'm not comfortable with it. I am looking for the best for T5 to have security.

Re: Make Tapestry a "full" web framework?

2008-03-18 Thread Joshua Jackson
I agree. I have requested this before for Tapestry to be a full web framework since right now it's just only a plain web framework. On 3/19/08, yuan gogo <[EMAIL PROTECTED]> wrote: > Tapestry is good. > But I personally think it's lack of something that should be built-in. > e.gsecurity! > > It's

T5: How to configure T5 not to display unwanted log

2008-03-13 Thread Joshua Jackson
Dear all, Currently I am using T 5.0.11 and it displays a helluva message in the logs. Is there any way to configure not to display those messages? I already configured in log4j.properties the log level for org.apache.tapestry to ERROR, but it is no good. Can anyone give me a hint on this? Thanks

T5 & JSecurity

2008-03-02 Thread Joshua Jackson
Hi all, Has anyone here evaluated JSecurity (http://jsecurity.org) and incorporated it in your T5 project? The words around said that this piece of work is much easier than Acegi. Can anyone share it here on how to use JSecurity with T5. Thanks in advance -- Let's show the world what we've got.

Re: T5: Persisting object from ApplicationState

2008-02-28 Thread Joshua Jackson
On 2/29/08, Davor Hrg <[EMAIL PROTECTED]> wrote: > that is expected behavior, > if you persist hibernate objects across requests errors like that will occur > you can try session.merge(obj); > it is recommended to handle it differently > Yes you're right. Silly me that didn't know about this Hiber

T5: Persisting object from ApplicationState

2008-02-28 Thread Joshua Jackson
Dear all, I have annotated an object with @ApplicationState. On the next page, I persist that object with Hibernate. But it turns out it throw this exception. org.hibernate.HibernateException: Illegal attempt to associate a collection with two open sessions I am using Tapestry 5.0.11-SNAPSHOT.

Re: T5: Put template in other directory

2008-02-22 Thread Joshua Jackson
On Fri, Feb 22, 2008 at 10:23 PM, Robert Zeigler <[EMAIL PROTECTED]> wrote: > Page templates can be placed in the context root (or appropriate > subfolders, depending on your package structure). > Component templates are (currently) required to be on the classpath. > That's exactly the problem w

T5: Put template in other directory

2008-02-22 Thread Joshua Jackson
Dear all, Is it possible to place the templates inside other directory other than inside the package alongside with the Java class? Somehow this is not convenient for our webdesigner so we want to place our templates inside another folder just like T4. Thnx in advance -- Let's show the world wha

Re: T5: How to use the Zone component?

2008-01-17 Thread Joshua Jackson
Thanks Geoff, It worked :) Best Regards, On 1/18/08, Geoff Callender <[EMAIL PROTECTED]> wrote: > Off the top of my head, try this (untested): > >$ > {message:comment.add} > > > And some java: > >private boolean _myZoneVisible = false; > >@Component >priv

Re: T5: Pretty URL

2008-01-17 Thread Joshua Jackson
Thanks for the confirmation Howard, I'm going to find a workaround for this :) Best Regards, On 1/18/08, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > Sorry, no this isn't directly possible. Tapestry is pretty rigid > about the format of the URLs: It's always the logical page name > ("project

T5: How to use the Zone component?

2008-01-17 Thread Joshua Jackson
Dear all, I'm trying to show a div element when an ActionLink component is hitted. This is the code: ${message:comment.add} ${message:comment} --- but instead of showing the div with id="zone" it returned an undefi

T5: Pretty URL

2008-01-17 Thread Joshua Jackson
Dear all, If I have pages under my pages package with this structures: + project + -- Detail.java + project.backlog + -- Panel.java Is it possible to have these URL : http://localhost:8080/pjx/project/999/backlog/panel ? So the id is in between instead of at the end of the URL to refer that the

Re: [ANN] Tapestry/Seam integration

2008-01-15 Thread Joshua Jackson
Perhaps we can request seam pageflow from JSF. I know the seam team currently is working very hard to decouple JSF from seam. On 1/16/08, Igor Drobiazko <[EMAIL PROTECTED]> wrote: > No, actually not. I have no idea whether any Tapestry user needs it. I have > no idea how tough it would be to suppo

T5: Formatting date inside loop on template

2008-01-13 Thread Joshua Jackson
I'm trying to format a date field that is inside a loop as such: Template: Page class: private SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/"); public SimpleDateFormat getDateFormat() { return dateFormat; } But I receive this error: #

Re: T5 and Acegi

2008-01-07 Thread Joshua Jackson
Yes this was what I was looking for. For the time being I'm quite happy with the non-annotation configuration. I think I'm going to try the example you have given first. Thanks very much, On 1/7/08, Daniel Jue <[EMAIL PROTECTED]> wrote: > I hope the email made sense, I was falling asleep when I w

Re: T5 and Acegi

2008-01-07 Thread Joshua Jackson
Thanks Daniel. This is the answer I was looking for. :) Cheers, On 1/7/08, Daniel Jue <[EMAIL PROTECTED]> wrote: > Just a note for Acegi/Tapestry newcomers, this is about integrating > Acegi (Spring Security) with T5, so that a page's security is defined > in the actual T5 Java page classes (wou

T5 and Acegi

2008-01-06 Thread Joshua Jackson
Dear all, Has anyone integrated T5 with Acegi already? Can use the default configuration from Acegi, or do we need to add additional configurations? Thanks in advance -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ ---

T5: String type param in onActivate()

2008-01-04 Thread Joshua Jackson
Is it possible to have a String type context in T5? Because there are times when we want to have a String type context to have a prettier and easier to remember URL. This is what I get when I used String type context in the PageLink: Exception in method Detail.onActivate(java.lang.Long) (at Detail

Re: T5: How to use the Autocomplete component?

2007-12-28 Thread Joshua Jackson
I know. Perhaps this is due to the incompatibility of scriptaculous library. :( :sigh: On 12/28/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi Joshua, > > I tried your sample, it does not work in IE/Firefox/Safari, maybe I miss > something, I can see calls to the server : > http://localhost:80

Re: T5: How to use the Autocomplete component?

2007-12-28 Thread Joshua Jackson
Dear all, I would like to recall that Autocompleter works on IE. Has anyone tried it on Firefox or any other browser? Thanks in advance. On 12/28/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Dear all, > > I already try to follow what's written on the document re

T5: How to use the Autocomplete component?

2007-12-27 Thread Joshua Jackson
Dear all, I already try to follow what's written on the document regarding how to use Autocomplete component, but still can not get it working. Here's what I've done: Template: Page: private String clientName; String[] onProvideCompletionsFromClientName(String input) { logg

Re: T5: Tapestry 5.07 released?

2007-12-26 Thread Joshua Jackson
Cool Howard. Thanks for your effort :) Thanks in advance On 12/27/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been away, skiing. I'll be putting the 5.0.7 release up tomorrow. > > On Dec 26, 2007 3:22 PM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > > already more than 3 days, time t

Re: Displaying form data in Tapestry 5

2007-12-26 Thread Joshua Jackson
I think T5 has got the best Spring integration there is. I mean, the integration between T5 and Spring is seamless. You can inject Spring bean into T5 just you would inject a T5 bean/components. The configuration is also very small in web.xml I think T5 with Spring is the best deal out there. On 1

Re: T5: Palette does not retrieved the latest object from DB

2007-12-26 Thread Joshua Jackson
Thanks Sven, This approach works best. I also like the code better than the first approach. Cheers On 12/21/07, Sven Homburg <[EMAIL PROTECTED]> wrote: > here an other approche: > >@Persist("flash") >private DatasourceSelectModel _datasourceSelectModel; > >@SetupRender >public vo

Re: T5: Message component

2007-12-24 Thread Joshua Jackson
Thanks Sven, Really helpful :) Cheers, On Dec 21, 2007 8:06 PM, Sven Homburg <[EMAIL PROTECTED]> wrote: > like this ? ... -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ - To unsubscribe, e-mail: [E

T5: Palette does not retrieved the latest object from DB

2007-12-21 Thread Joshua Jackson
Dear all, I have used the T5 palette component that use list of object that is retrieved from database. So the item under the 'available' is retrieved from the database. That way I expect when I move it to the 'selected' then update it to the database, it would not be available anymore under the '

T5: Message component

2007-12-20 Thread Joshua Jackson
Dear all, Is there a message component in T5? Usually I use this in struts to display message after succession upon one process. What I've found is only the t:errors component. Thanks in advance. -- I'm a coder not a drag-n-dropper Blog: http://joshuajava.wordpress.com/ --

Re: T5: A web flow idea on T5

2007-12-20 Thread Joshua Jackson
I like the idea of web-flow like yours. It's not as complicated as Spring Webflow which involves a helluava xml. I hope tapestry5 would adopt your idea. Cheers. On 12/21/07, jeffrey ai <[EMAIL PROTECTED]> wrote: > > Hi All, > > As you may know or not, T5 doesn't have a web flow framework like the

Re: Tapestry job opening

2007-12-19 Thread Joshua Jackson
Hi there, I'm interested with the job opening but before I proceed with applying, does it require me to be a Belgian citizen? Since currently I still reside in Indonesia but willing to move. Thanks in advance, On 12/19/07, Joachim Van der Auwera <[EMAIL PROTECTED]> wrote: > Synergetics, a Belgia

Re: T4: Returning a file to be downloaded on response

2007-12-17 Thread Joshua Jackson
Thanks Ulrich, I must've missed that somehow. Cheers, On 12/17/07, Ulrich Stärk <[EMAIL PROTECTED]> wrote: > Look harder :-) > > http://wiki.apache.org/tapestry/SendingDiferentContentTypes > > Apart from that this topic has been discussed several times on this list, > just search the archives.

T4: Returning a file to be downloaded on response

2007-12-16 Thread Joshua Jackson
Dear all, Is it possible to return a file to be downloaded on response after form submission with T4? Where can I find tutorial on this? I've searched through the Tapestry wiki, but the only thing I find is regarding Excel. Thanks in advance. -- I'm a coder not a drag-n-dropper Blog: http://j

Re: T4 Excel component

2007-12-16 Thread Joshua Jackson
Ok Thanks Matt, I already looked at jexcelapi and it is much cleaner than POI. I will try to make to component myself. Cheers, On 12/17/07, Matt Brock <[EMAIL PROTECTED]> wrote: > > > Joshua Jackson-3 wrote: > > > > Thanks for replying. I was hoping there&#

Re: T4 Excel component

2007-12-16 Thread Joshua Jackson
Hi Matt, Thanks for replying. I was hoping there's already a T4 component for displaying excel output so I would not have to re-invent the wheel. And yes I need multi sheet capability. Thanks in advance On 12/16/07, Matt Brock <[EMAIL PROTECTED]> wrote: > > > Joshua Jackson

Re: T4.1.3 - Upgrade Dojo

2007-12-13 Thread Joshua Jackson
On 12/14/07, Matt Brock <[EMAIL PROTECTED]> wrote: That's great. Has it been written on JIRA yet? > Supposedly 4.1.4 will offer an upgraded dojo package. And hopefully to 1.0, > not 0.9. > > Which is precisely the reason why Tapestry should be Javascript > library-agnostic and allow hooks so you

T4 Excel component

2007-12-07 Thread Joshua Jackson
Dear all, Is there any component for T4 that integrates with excel? Thanks in advance, -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Blank value for PropertySelection

2007-11-27 Thread Joshua Jackson
Dear all, I have a combo box defined as follow: Now I wanted to add a default message for this combo box that would look like this: Choose... But I can not nest that blank option tag inside a PropertySelection component. Does anyone has a solution for this? Thanks in advance, -- What yo

Tapestry Wiki

2007-11-26 Thread Joshua Jackson
Dear all, I noticed that tapestry wiki located at: http://cwiki.apache.org/TAPESTRY/ is not used. Will we use this in the future? Personally I like confluence better. Cheers, -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ ---

Re: T5: Customize Grid

2007-11-16 Thread Joshua Jackson
Thanks. It worked. :) On 11/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > not beanmodel but mode="department" > > then in the code: > > void pageLoaded() { >model = beanModelSource.create(Department.class, false, resources); >model.remove("id"); // remove ones not visible >

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Joshua Jackson
On 11/16/07, Arve Klev <[EMAIL PROTECTED]> wrote: > hi, > as a novice in regards to Tapestry, I first thought it was a bug, > but at last I tried to supply a beanmodel, and everything is fine (obvious > to others, I think). > I found the tip here: > http://tapestry.apache.org/tapestry5/tapestry-cor

T5: Customize Grid

2007-11-15 Thread Joshua Jackson
Dear all, How do I customize the Grid component since if I use it as such: it will generate and display default list of data. I want to add one more column in the Grid with header Action Thanks in advance -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/

Re: T4: Putting Tapestry files inside another folder

2007-11-14 Thread Joshua Jackson
I kinda get the idea now that Tapestry by default looks for page & component specification under WEB-INF. But what I don't get is why do we have to create a class that implements ISpecificationResolverDelegate and then configure it again in hivemodule.xml instead of just configuring it in hivemodul

Re: T4: Putting Tapestry files inside another folder

2007-11-14 Thread Joshua Jackson
Hi Jim, Thanks for replying. But isn't it possible to configure this just using hivemodule.xml without having to create the classes you've mentioned? Since I'm still new to this and do not have any idea how would the class look like. Thanks On 11/13/07, Jim <[EMAIL PROTECTED]> wrote: > Tapestry'

T4: Putting Tapestry files inside another folder

2007-11-12 Thread Joshua Jackson
Dear all, By default T4 files such as *.jwc, *.page, *.html are required to be place inside WEB-INF/. But I find this quite messy when there are other configuration from another framework. Is there any way I can move these files to another folder? Thanks in advance -- What you want today, may

Re: T5 Previewable pages

2007-11-12 Thread Joshua Jackson
Of course. It's even better :) On 11/12/07, Geoff Callender <[EMAIL PROTECTED]> wrote: > One of T4's great selling points was that the templates could be made > previewable in a browser or WYSIWYG tool. Is this possible in T5? > > Geoff -- What you want today, may not exist tommorrow Blog: htt

Re: T4 Nightly Build

2007-11-12 Thread Joshua Jackson
Thanks andy, This is good enough for me as I need the latest build because it already has some fixes I need. Cheers, On 11/12/07, andyhot <[EMAIL PROTECTED]> wrote: > http://tapestry.apache.org/tapestry4.1/download.html has the url for the > snapshot repo. > It's not really nightly builds - just

T4 Nightly Build

2007-11-11 Thread Joshua Jackson
Dear all, Is there any maven repo for T4 snapshot/nightly build? Since I always need the latest build for T4. Thanks in advance. -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ - To unsu

T4 on Websphere 5.1

2007-10-29 Thread Joshua Jackson
Dear all, Has anyone successfully deployed T4 on websphere 5.1 ? I got this exception when displaying lists of data into Table component. java.lang.String: method replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String; not found org.apache.hivemind.ApplicationRuntimeException

Re: T4: Change locale from Page

2007-10-25 Thread Joshua Jackson
getPage()); >} > > I hope it helps. > Alejandro. > > On 10/25/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > > Dear all, > > > > Is it possible to change locale from the page instead of from the > > browser using T4? > > >

T4: Change locale from Page

2007-10-24 Thread Joshua Jackson
Dear all, Is it possible to change locale from the page instead of from the browser using T4? Thanks in advance -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ - To unsubscribe, e-mail:

Checking null value using If component on UI

2007-10-23 Thread Joshua Jackson
Dear all, How do I check whether an instance is null on user interface using the If component? I tried this: but it doesn't work. Thanks in advance :) -- What you want today, may not exist tommorrow Blog: http://joshuajava.wordpress.com/ -

Re: T4: creating search form and search result on one page

2007-10-19 Thread Joshua Jackson
It stilll doesn't work. Does anyone have a complete sample code for this? thanks in advance, On 10/19/07, Andreas Andreou <[EMAIL PROTECTED]> wrote: > remove > public Collection list; > > inside search(), just do > setList( getService().search(getClient()) ); -- What you want today, may not e

Re: T4: creating search form and search result on one page

2007-10-18 Thread Joshua Jackson
Here is the html template of search form and search result underneath it:

Re: T4: creating search form and search result on one page

2007-10-18 Thread Joshua Jackson
On 10/19/07, andyhot <[EMAIL PROTECTED]> wrote: > Of course it's possible - I usually have an If component that either > shows the table > or an @Insert of "No results found"... > > What's the real problem you're having? The problem is the search result is not displayed if it is on the same page w

T4: creating search form and search result on one page

2007-10-18 Thread Joshua Jackson
Dear all, Is it possible to create a search form and search result on one page where the search result uses contrib:table? I tried to do this but it didn't work, but if the search result is on (redirected to) another page it works. Does anyone have a workaround/solution for this? Thanks in advanc

T4: Localizing @Table component's column header

2007-10-07 Thread Joshua Jackson
Dear all, How do I localize the column header from Table component? This is what I did, I expect that I will get the header localized, but it shows this instead appNumber message payorName message Can anyone give me a hint on this? Thanks in advance -- It's not just abou

T4: Message component, is there any?

2007-10-05 Thread Joshua Jackson
Dear all, Is there any Message component in T4 for displaying messages on pages upon success or failed process? Or should I use Insert component instead? Thanks in advance. -- It's not just about coding, it's a matter of fulfilling your core being YM!: thejavafreak Blog: http://joshuajava.word

Re: T4: How to set the option value for the Option component?

2007-10-04 Thread Joshua Jackson
Looks like I have no other option here. Thanks Nick. :) On 10/5/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > Use the source. That's delegated to the surrounding Select: > http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/Option.java?view=

T4: How to set the option value for the Option component?

2007-10-04 Thread Joshua Jackson
Dear all, I have statically set up an Option component as such: But the html rendered as such: Male Female I need to set up the value to be male and female instead of 0 and 1. Is this possible in Tapestry. I couldn't find it in the Option and Select component document. Thanks in advance. --

Re: T4: Create a combo box without static binding

2007-10-04 Thread Joshua Jackson
Thanks Martino, I've updated it with: On 10/4/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: > If you write > > > > ognl correctly resolve "false" as the literal "false" value in java. > > You have to write something like: > > > > and then implemente the "selected" property in your page/comp

T4: Create a combo box without static binding

2007-10-04 Thread Joshua Jackson
Dear all, Today I got an error regarding binding in Tapestry 4.1.3 as such: Binding with value false (StaticBinding[false]) may not be updated. 36 37 38 39 The problem is on line 37. How do I create an unstatic binding for property selected? Why can't I hardcode this? Thanks in advance. --

Re: [T4]: Where is the Foreach component ?

2007-10-03 Thread Joshua Jackson
Thanks for the confirmation Nick. :) Regards, joshua On 10/3/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > Please replace "Foreach" with "For" and log a doicumentation JIRA. > > Cheers, > Nick. -- It's not just about coding, it's a matter of fulfilling your core being YM!: thejavafreak Blog:

[T4]: Where is the Foreach component ?

2007-10-03 Thread Joshua Jackson
When running to examples located here: http://tapestry.apache.org/tapestry4.1/components/form/select.html I get this exception: org.apache.hivemind.ApplicationRuntimeException Component 'Foreach' not found in [EMAIL PROTECTED]]. When I opened the tapestry-framework library, there is no Foreach co

Maven repo for tapestry-javaforge

2007-09-27 Thread Joshua Jackson
Dear all, where is the tapestry-javaforge maven repo located? I checked in http://howardlewisship.com/repository/ for tapestry-spring library but could not find it. Can anyone point me to the tapestry-javaforge maven repo. Thanks in advance -- It's not just about coding, it's a matter of fulfil

Re: T5 Momentum

2007-09-17 Thread Joshua Jackson
On 9/17/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been hesitant to really push T5 until its just a notch more fully > baked. Ajax support, DateInput component, better Hibernate support and, I > think, Spring Web Flow integration are all important launch day items. Howard, I think a

Re: T5 Momentum

2007-09-17 Thread Joshua Jackson
On 9/17/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I've been hesitant to really push T5 until its just a notch more fully > baked. Ajax support, DateInput component, better Hibernate support and, I > think, Spring Web Flow integration are all important launch day items. > > The real push f

Re: T5: How to use org.apache.tapestry.corelib.components.Select ?

2007-09-04 Thread Joshua Jackson
t; Even if you supply a ValueEncode you might run into a bug in T5.0.5. > https://issues.apache.org/jira/browse/TAPESTRY-1597 > (This was just fixed in SVN.) > > Anyway, your first stop for questions like this should be: > http://wiki.apache.org/tapestry/Tapestry5HowTos > > Cheers,

Re: A experimental JPA Module/Service

2007-09-04 Thread Joshua Jackson
Can you also upload the source so we can study it? Thanks in advance. On 9/5/07, Carlos Delfino Carvalho Pinheiro <[EMAIL PROTECTED]> wrote: > Hi all! > > I create one new Service for Tapestry, for use with JPA. > > The Service is like Tapestry-Hibernate, and I call Tapestry-JPA. > > For first re

T5: How to use org.apache.tapestry.corelib.components.Select ?

2007-09-04 Thread Joshua Jackson
Dear all, I had a problem using the Select component. I have a List of Members that I want to populate into the Select component. Here is my html template: And here's my Page class: @Inject @Parameter Member member; private List members; But I get this exception: No adapter from type com.taxa

Re: T5: Event Handler Method Convention Names

2007-09-03 Thread Joshua Jackson
Thanks Nick It works now. I was confused since I could not find this in the documentation. Cheers, :) On 9/4/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > The Submit component's event notification is "Selected". > So you can use: > > void onSelected() // or onSelectedFromFormName -- It's not

Re: T5: using DOJO?

2007-09-03 Thread Joshua Jackson
Hi Angelo If you read here http://tapestry.apache.org/tapestry5/tapestry-core/index.html, on 'Changes from Tapestry 4 to Tapestry 5' it is written there that Super-duper Ajax integration built on Dojo. So I think Dojo will be supported also with scriptaculous just like Tapestry 4, because script

T5: Event Handler Method Convention Names

2007-09-03 Thread Joshua Jackson
Dear all, I've tried what is written from here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html regarding method convention names event handler. But it seems that it only worked for ActionLink component but not Submit. Is it true? Do we have to use OnEvent annotation for Subm

Re: T5: Binding Date type

2007-08-30 Thread Joshua Jackson
Thanks Nick, Can I also get the content of DateUtils. And which ParseException do I use? Thanks in advance On 8/30/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > Add something like the following (tweak the date formats) to your > AppModule.java: -- It's not just about coding, it's a mat

T5: Binding Date type

2007-08-30 Thread Joshua Jackson
Dear all, Currently I have a field with java.util.Date type in my page, but it seems that the java.util.Date type is not yet supported in Tapestry5. This is the exception that I get: org.apache.tapestry.ioc.internal.util.TapestryException No adapter from type java.util.Date to type org.apache.tap

Re: T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-11 Thread Joshua Jackson
All right... This is so cool. Just the way I wanted it. Thank you so much Davor. ;) You the man. I think this should be documented since I believe many people wanted to create their own decorator. On 7/11/07, Davor Hrg <[EMAIL PROTECTED]> wrote: ... interceptor is an implementation of the servic

Re: T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-11 Thread Joshua Jackson
I tried the hint you gave me but it seems to be not working. Perhaps I am missing something. Let me paste the code snippets so there won't be any confusion. This is the AppModule: public class AppModule { public static void bind(ServiceBinder binder){ binder.bind(Decorator.class, Decora

Re: T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-08 Thread Joshua Jackson
invoking the method. You could even but a try ... finally arround the call to _delegate and trap exceptions. On 7/8/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Hi all, > > Sorry for the long subject :-D. > > Ok straight to the point. I'm currently building a decorat

T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-08 Thread Joshua Jackson
Hi all, Sorry for the long subject :-D. Ok straight to the point. I'm currently building a decorator for a Service. But the problem I'm facing is, the method inside the decorator is only invoked before the service method is invoked. What I want is the decorator method to be invoked before and af

Re: [ANNOUNCE] Tapestry 5.0.5

2007-07-04 Thread Joshua Jackson
On 7/5/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: Yet another preview (alpha) release, Tapestry 5.0.5 adds many new components, including a file upload component and the Palette component (for multiple selection). Howard, Will the datepicker component be available on the next release?

Re: T5: Will it be a full stack framework?

2007-06-28 Thread Joshua Jackson
On 6/28/07, Todd Orr <[EMAIL PROTECTED]> wrote: Transactions declared in the Web tier? Oy vey. What's next, Tapestry-SOAP??? Come on. Don't be shortsighted. I managed to add a service layer and bind it in the AppModule. I was thinking to have declarative transaction each time the web layer invo

T5: Will it be a full stack framework?

2007-06-26 Thread Joshua Jackson
Dear all, I'm quite happy currently trying out T5 now. And I really like the T5 IoC concept compared to other IoC container. - I really like how it has (or will have) built in AJAX components. - I really like how easy it is to create custom components compared to other component based web framew

T5: Date Picker component

2007-06-24 Thread Joshua Jackson
Dear all, Will we have date picker component bundled with T5 in the near future? I can't see this component yet available on the latest 5.0.5-SNAPSHOT. I must say that date picker is another essential component for today's apps. Thanks in advance. -- Let's create a highly maintainable and effic

Re: T5: Using GridPager

2007-06-22 Thread Joshua Jackson
as a facade around all the other GridXXX components. It often duplicates the underlying components' parameters and rewired them to its own parameters. On 6/21/07, Joshua Jackson <[EMAIL PROTECTED]> wrote: > Thanks for the reply Howard. > > It's working now. Only that I

Re: T5: Using GridPager

2007-06-21 Thread Joshua Jackson
Thanks for the reply Howard. It's working now. Only that I still can't figure out how to pass a parameter for the rowsPerPage property for GridPager. Do I have to process this rowsPerPage by myself in my Page, or is it already available and ready to use in other Component? Thanks in advance On

  1   2   >