Re: GSOC 2011 ideas for custom components

2011-03-25 Thread Norman Franke
I've made a more semi-generic HibernateDataSource that works based upon a SQL query. I seem to need to do that a lot, and using the Criteria API just doesn't cut it sometimes. I can post that If people are interested. It modifies the query to add "order by" based on the sort criteria, so it

Re: GSOC 2011 ideas for custom components

2011-03-25 Thread dragan.sahpas...@gmail.com
I guess this could be done when tapestry creates the GridModel and GridDataSource from the List. Off course for smarter HibernateDataSource more work needs to be done by pushing the sort in the hibernate criteria. Maybe we could do this as a configuration symbol maybe. Cheers, Dragan Sahpaski

Re: GSOC 2011 ideas for custom components

2011-03-25 Thread Vangel V. Ajanovski
On 03/24/2011 09:10 PM, dragan.sahpas...@gmail.com wrote: 2. Grid enhacements: 1. better pager, 2. sorting params go in URL, 3. Better HibernateDataSource (more generic). 4.Changing column order and visibility and saving this in a db. +1 And if the philosophy of Tapestry is to fix things that g

GSOC 2011 ideas for custom components

2011-03-24 Thread dragan.sahpas...@gmail.com
Dear users, I'm applying for GSOC 2011 to work on tapestry and I really hope you can give ideas on what you like too see as a part of tapestry. Maybe focus on some new custom components that you think will popularize the framework more and be useful for the majority of users. Please fill fr

Re: Assembling a page from custom components

2010-11-06 Thread Thiago H. de Paula Figueiredo
On Sat, 06 Nov 2010 08:23:53 -0200, Josh Kamau wrote: Thanks. Is t:container a special tapestry component? No. Tapestry treats some tags specially (, , etc), but anything else is treated as a component name. Tapestry treats every component the same way, making no distiction between the

Re: Assembling a page from custom components

2010-11-06 Thread Josh Kamau
Thanks. Is t:container a special tapestry component? On Sat, Nov 6, 2010 at 6:01 AM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Sat, 06 Nov 2010 07:27:20 -0200, Josh Kamau > wrote: > > Hi guys; >> > > Hi! > > > I am trying to assemble a page using components. I am confuse

Re: Assembling a page from custom components

2010-11-06 Thread Thiago H. de Paula Figueiredo
On Sat, 06 Nov 2010 07:27:20 -0200, Josh Kamau wrote: Hi guys; Hi! I am trying to assemble a page using components. I am confused by the options provided in various tutorials/book on the internet. I would specifically like some information on how and where to use the following. http://t

Assembling a page from custom components

2010-11-06 Thread Josh Kamau
Hi guys; I am trying to assemble a page using components. I am confused by the options provided in various tutorials/book on the internet. I would specifically like some information on how and where to use the following. 1. t:border and t:body 2. t:container 3. can i nest borders together? Gat

Re: [T5] Method name "render" not allowed for custom components?

2009-03-05 Thread Howard Lewis Ship
Please add a bug to JIRA. I believe this represents a conflict between a method Tapestry adds to your class; Tapestry should at least explain this to you and tell you how to fix it (rename the method). On Thu, Mar 5, 2009 at 3:24 AM, Felix Gonschorek wrote: > Hello, > > > today i've had a except

[T5] Method name "render" not allowed for custom components?

2009-03-05 Thread Felix Gonschorek
Hello, today i've had a exception that took me a while to figure out where it came from: StackMapTable format error: bad class index It was, because i named a method "render" in my custom component: @BeginRender boolean render(MarkupWriter writer) { //blubb return false; } Renaming the

Re: Custom Components with input

2008-07-08 Thread Michał U
apestry and have no idea what can be the cause. I would be very grateful > for any hints. > > Kind Regards, > Michał U > -- View this message in context: http://www.nabble.com/Custom-Components-with-input-tp18340911p18340915.html Sent from the Tapestry - User mailing list arch

Custom Components with input

2008-07-08 Thread Michał U
the value from the user has been erased. I am quite new to tapestry and have no idea what can be the cause. I would be very grateful for any hints. Kind Regards, Michał U -- View this message in context: http://www.nabble.com/Custom-Components-with-input-tp18340911p18340911.html Sent from the

Re: T5 Creating a Library of Custom Components

2008-05-30 Thread Jesper Zedlitz
Marcus wrote: > I'm trying to create a T5 library using Eclipse, but... :( > I had a similar problem. Do you use Maven2 for dependency handling? The Maven Eclipse plugin will use the Eclipse project (containing the component) instead of the jar file. If you close the Eclipse project containing

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Marcus
Hi Thiago, - MANIFEST.MF was extracted from JAR and checked, file is ok - Try putting JAR in project build path. same error :( Marcus

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Thiago HP
On 5/28/08, Marcus <[EMAIL PROTECTED]> wrote: > Hi Thiago, > > You are right, LibraryModule was not loaded. Hi! Check your JAR's MANIFEST.MF. If it is OK, try putting your JAR in the classpath through Eclipse project settings instead of just dropping your JAR in WEB-INF/lib. -- Thiago ---

Re: T5 Creating a Library of Custom Components

2008-05-28 Thread Marcus
Hi Thiago, You are right, LibraryModule was not loaded. generated JAR: META-INF META-INF/MANIFEST.MF pub pub/t5lib pub/t5lib/LibraryModule.class pub/t5lib/components pub/t5lib/components/MyComponent.class any idea? Thanks, Marcus

Re: T5 Creating a Library of Custom Components

2008-05-28 Thread Thiago HP
It looks like your LibraryModule was not loaded. To ensure it is, put a System.out.println("Module loaded!") in your contributeComponentClassResolver() method. Also check the generated JAR to ensure everything is in the proper place. -- Thiago

T5 Creating a Library of Custom Components

2008-05-28 Thread Marcus
Hi, I'm trying to create a T5 library using Eclipse, but... :( Here are my steps and codes. - New Java Project: t5lib - Compiler compliance level is set to 5 src src/pub/t5lib src/pub/t5lib/LibraryModule.java src/pub/t5lib/components src/pub/t5lib/components/MyComponent.java (don't have a

Re: T5: Custom components are not statefull

2008-02-06 Thread Alexander Lamb
vironmental private PageRenderSupport renderSupport; /** The client-side id. */ private String clientId; /* Render phase. */ @SetupRender void setupRender() { clientId = renderSupport.allocateClientId(resources.getId()); } And then making s

Re: T5: Custom components are not statefull

2008-02-05 Thread Josh Canfield
y in several different components, one of which you > >>> can see here: > >>> > >>> > http://code.google.com/p/gc-tapestry-components/source/browse/trunk/gc-tapestry5-components/src/main/java/net/godcode/t5c/components/SlideShow.java > >>> &

Re: T5: Custom components are not statefull

2008-02-05 Thread Alexander Lamb
lientId(resources.getId()); } And then making sure you insert clientId into your component tag's id attribute. This could probably be isolated into a mixin, or you could probably just extend AbstractField. That would make sense as long as your component's behavior merits th

Re: T5: Custom components are not statefull

2008-02-04 Thread Chris Lewis
probably just extend AbstractField. That would make sense as long as your component's behavior merits the semantics of a field (which it doesn't seem to). Hope that helps. chris Alexander Lamb wrote: Hello list, It looks like custom components are not statefull. Indeed, I hav

Re: T5: Custom components are not statefull

2008-02-04 Thread Josh Canfield
vate String clientId; > > /* Render phase. */ > > @SetupRender > > void setupRender() { > > clientId = > > renderSupport.allocateClientId(resources.getId()); > > } > > > > And then making sure you i

Re: T5: Custom components are not statefull

2008-02-04 Thread Davor Hrg
private String clientId; > > /* Render phase. */ > > @SetupRender > > void setupRender() { > > clientId = > > renderSupport.allocateClientId(resources.getId()); > > } > > > > And then making sure

Re: T5: Custom components are not statefull

2008-02-04 Thread Alexander Lamb
into a mixin, or you could probably just extend AbstractField. That would make sense as long as your component's behavior merits the semantics of a field (which it doesn't seem to). Hope that helps. chris Alexander Lamb wrote: Hello list, It looks like custom components are no

Re: T5: Custom components are not statefull

2008-02-04 Thread Chris Lewis
of a field (which it doesn't seem to). Hope that helps. chris Alexander Lamb wrote: Hello list, It looks like custom components are not statefull. Indeed, I have a loop which contains a graph I generate and a TextField (for testing purposes), and the generated co

Re: T5: Custom components are not statefull

2008-02-04 Thread Alexander Lamb
s your enrollmentbenchmarkchart compenent extends AbstractTextField ? Alexander Lamb a écrit : Hello list, It looks like custom components are not statefull. Indeed, I have a loop which contains a graph I generate and a TextField (for testing purposes), and the generated code looks like this: 460/280">

Re: T5: Custom components are not statefull

2008-02-04 Thread Davor Hrg
t; Does your enrollmentbenchmarkchart compenent extends > >> AbstractTextField ? > >> > >> Alexander Lamb a écrit : > >>> Hello list, > >>> > >>> It looks like custom components are not statefull. > >>> > >>> Inde

Re: T5: Custom components are not statefull

2008-02-04 Thread Alexander Lamb
, Michael Courcy a écrit : Sorry I meant AbstractField Michael Courcy a écrit : Does your enrollmentbenchmarkchart compenent extends AbstractTextField ? Alexander Lamb a écrit : Hello list, It looks like custom components are not statefull. Indeed, I have a loop which contains a graph I

Re: T5: Custom components are not statefull

2008-02-04 Thread Michael Courcy
Sorry I meant AbstractField Michael Courcy a écrit : Does your enrollmentbenchmarkchart compenent extends AbstractTextField ? Alexander Lamb a écrit : Hello list, It looks like custom components are not statefull. Indeed, I have a loop which contains a graph I generate and a TextField

Re: T5: Custom components are not statefull

2008-02-04 Thread Michael Courcy
Does your enrollmentbenchmarkchart compenent extends AbstractTextField ? Alexander Lamb a écrit : Hello list, It looks like custom components are not statefull. Indeed, I have a loop which contains a graph I generate and a TextField (for testing purposes), and the generated code looks like

T5: Custom components are not statefull

2008-02-04 Thread Alexander Lamb
Hello list, It looks like custom components are not statefull. Indeed, I have a loop which contains a graph I generate and a TextField (for testing purposes), and the generated code looks like this: name="textfield_8" type="text" value="ITALY">cl

Re: T5: Get user input of custom components which themselves are forms

2008-01-15 Thread ronaldlee
OJO >> StackContainer issue, until I find a better solution... >> >> So how can I get the user input from those Question components in my >> page's "onSuccess" function? >> >> thanks! >> Ronald >> > > -- View this mess

Re: T5: Get user input of custom components which themselves are forms

2008-01-15 Thread ronaldlee
I need it for a work-round of a DOJO > StackContainer issue, until I find a better solution... > > So how can I get the user input from those Question components in my > page's "onSuccess" function? > > thanks! > Ronald > -- View this message in contex

T5: Get user input of custom components which themselves are forms

2008-01-15 Thread ronaldlee
JO StackContainer issue, until I find a better solution... So how can I get the user input from those Question components in my page's "onSuccess" function? thanks! Ronald -- View this message in context: http://www.nabble.com/T5%3A-Get-user-input-of-custom-components-which-thems

Re: T4 Custom components with iterated child components

2007-10-23 Thread Norman Franke
Cool, thanks! I see it creates @Block components at the page level. I've done the same thing with my component and that works great. -Norman Franke On Oct 23, 2007, at 11:08 AM, Miguel Angel Hernández wrote: BeanForm component does something similar... you can look at the code to give yo

Re: T4 Custom components with iterated child components

2007-10-23 Thread Miguel Angel Hernández
BeanForm component does something similar... you can look at the code to give you some idea. On 10/23/07, Norman Franke <[EMAIL PROTECTED]> wrote: > > I've been working on my custom inline table editor component, and I > figured it would be easier to allow the user of the component to > specify t

T4 Custom components with iterated child components

2007-10-23 Thread Norman Franke
I've been working on my custom inline table editor component, and I figured it would be easier to allow the user of the component to specify the component used for display and editing of each column. I was thinking doing something like this: This every time the componen

Packaging custom components

2007-09-16 Thread Otry Itrch
I am trying to repeat what Ted has done in his FCKEditor and DatePicker to package my own custom components: 1. I created a couple of components, they work fine in the project where they are created. 2. I packaged everything used by these components into a JAR with structure like

Re: Problems with css tag in custom components

2006-10-10 Thread jake123
Thank you for your quick answer. It works perfectly fine now. Cheers, Jacob -- View this message in context: http://www.nabble.com/Problems-with-css-tag-in-custom-components-tf2417055.html#a6745243 Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Problems with css tag in custom components

2006-10-10 Thread Andreas Andreou
nents/Style.html jake123 wrote: Hi, I have some problems with my custom components. Each of the components have their own CSS so I need to insert a tag like this for the component: this tag will not end up in the tag but actually in the body of the html. The results come out like this (disr

Problems with css tag in custom components

2006-10-10 Thread jake123
Hi, I have some problems with my custom components. Each of the components have their own CSS so I need to insert a tag like this for the component: this tag will not end up in the tag but actually in the body of the html. The results come out like this (disregard the white spaces in the

Re: Problem with one of my Custom Components

2006-10-09 Thread jake123
Thank you Shing for your answer. This was an error from my side becouse I had this as a normal page first before I converted it to a component. Now it is working just fine. Cheers, Jacob -- View this message in context: http://www.nabble.com/Problem-with-one-of-my-Custom-Components-tf2411939

Re: Problem with one of my Custom Components

2006-10-09 Thread Shing Hing Man
For components, .jwc should start with (note that component-specification) : http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> Shing --- jake123 <[EMAIL PROTECTED]> wrote: > > Hi, I have a problem when I try to call my index > page that contain 7 custom &g

Problem with one of my Custom Components

2006-10-09 Thread jake123
Hi, I have a problem when I try to call my index page that contain 7 custom components. One of them is a login component. this component generates a org.apache.tapestry.util.xml.DocumentParseException that says: Unable to read context:/WEB-INF/components/Login.jwc: Document root element

Re: Custom Components

2006-09-20 Thread Karthik N
ayer. Which in other words would mean pass parameters. On 9/21/06, jake123 <[EMAIL PROTECTED]> wrote: Hi, I have a question about best practice on how to design custom component. I will write custom components for our application that will be used only in our application. Is it a good id

Custom Components

2006-09-20 Thread jake123
Hi, I have a question about best practice on how to design custom component. I will write custom components for our application that will be used only in our application. Is it a good idear to let the custom component access my session object and from that call my service layer to ask for some

Re: Issues with Custom Components

2006-09-01 Thread jake123
Thank you for the quick answer //Jacob -- View this message in context: http://www.nabble.com/Issues-with-Custom-Components-tf2204142.html#a6104994 Sent from the Tapestry - User forum at Nabble.com. - To unsubscribe, e-mail

Re: Issues with Custom Components

2006-09-01 Thread Martin Strand
Read the error message. Your index.page has this line: but it should be: just a small typo :) Martin On Fri, 01 Sep 2006 21:17:29 +0200, jake123 <[EMAIL PROTECTED]> wrote: Hi, I am a beginner with tapestry and I am trying to create my first custom component. I am using Kent Tongs book a

Issues with Custom Components

2006-09-01 Thread jake123
WEB-INF/classes/com/mycompany/ui/web/components/Copyright.jwc My .application have this location: WEB-INF/mycompany.application As far as my knowlegde is I think this is correct... but it does not work...can somebody point out the error/errors in my code? thanks Jacob -- View this message in context: ht