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
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
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
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
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
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
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
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
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
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
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
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
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
Hi Thiago,
- MANIFEST.MF was extracted from JAR and checked, file is ok
- Try putting JAR in project build path.
same error :(
Marcus
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
---
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
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
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
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
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
> >>>
&
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
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
vate String clientId;
> > /* Render phase. */
> > @SetupRender
> > void setupRender() {
> > clientId =
> > renderSupport.allocateClientId(resources.getId());
> > }
> >
> > And then making sure you i
private String clientId;
> > /* Render phase. */
> > @SetupRender
> > void setupRender() {
> > clientId =
> > renderSupport.allocateClientId(resources.getId());
> > }
> >
> > And then making sure
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
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
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">
t; Does your enrollmentbenchmarkchart compenent extends
> >> AbstractTextField ?
> >>
> >> Alexander Lamb a écrit :
> >>> Hello list,
> >>>
> >>> It looks like custom components are not statefull.
> >>>
> >>> Inde
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
50 matches
Mail list logo