Thanks Juan,
I have fixed the situation by adding the CSS using the link tags on the
layout markup as opposed to using @import() annotation on the layout class.
I needed to add several css files in a certain order. I also wanted to add
some IE specific styles using if lt IE 8 kind of tags.
Now
if you read the tapestry core, component reference documentation,
http://tapestry.apache.org/tapestry5.2-dev/tapestry-core/ref/org/apache/tapestry5/corelib/components/Grid.html
you will find your answer there ;)
Katia
2010/11/8 Josh Kamau joshnet2...@gmail.com
Thanks Juan,
I have fixed the
Hi !
2010/11/6 Josh Kamau joshnet2...@gmail.com
Thanks Sven,
This is exactly what i am talking about. How am i supposed to know that
something like t:content exists? what what else is out there? and what
else am i using the wrong way? you get my point.? I think the Hotel-booking
Hi
Am trying to add a virtual column to a grid (an action link for deleting a
record) but its not appearing on the grid. Whats wrong with this code:
html t:type=layout t:title=Show all contacts
xmlns:t=http://tapestry.apache.org/schema/tapestry_5_1_0.xsd;
xmlns:p=tapestry:parameter
On 08.11.2010 10:00, Josh Kamau wrote:
Am trying to add a virtual column to a grid (an action link for deleting a
record) but its not appearing on the grid. Whats wrong with this code:
[...]
t:grid t:source=contacts row=contact
You need to use the add parameter of the Grid:
Josh, i advise you: read the documents . and read carefully !!!
t:grid source=users row=user add=delete
with regards
Sven Homburg
Founder of the Chenille Kit Project
http://chenillekit.codehaus.org
2010/11/8 Josh Kamau joshnet2...@gmail.com
Hi
Am trying to add a virtual column to a
Got it.
It worked.
I had actualy read the documentation but i missed the add part.
thanks all.
On Mon, Nov 8, 2010 at 4:08 AM, Sven Homburg hombu...@googlemail.comwrote:
Josh, i advise you: read the documents . and read carefully !!!
t:grid source=users row=user add=delete
with
On Mon, 08 Nov 2010 03:44:20 -0200, Josh Kamau joshnet2...@gmail.com
wrote:
Hi
Hi!
I have been successful in creating reusable markup segments by creating
them as components. Is this the best way?
Yes.
are there other ways? i have seen a
class named Block and markup tag t:container
Thanks Thiago.
On Mon, Nov 8, 2010 at 5:22 AM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
On Mon, 08 Nov 2010 03:44:20 -0200, Josh Kamau joshnet2...@gmail.com
wrote:
Hi
Hi!
I have been successful in creating reusable markup segments by creating
them as components. Is
Hi,
I need to do POST in Tapestry for example :
form method=*POST* Action=**MyURL** name=*name*
input type=*HIDDEN* name=*FirstParam* id=*IdFirstParam*value=
**Value*FrstParam*/
input type=*HIDDEN* name=*SndParam* id=*IdSndParam* value=*
*Value*SndParam*/
/form
When I
On Mon, 08 Nov 2010 08:36:46 -0200, Khalid EL BOUKHARI
elboukh...@gmail.com wrote:
Hi,
Hi!
I need to do POST in Tapestry for example :
Tapestry handles request, doesn't makes them. Use HttpClient for that.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and
If I read this correctly you are using an external java program to
post to a tapestry page. Correct?
The error you are refering to is usually associated with the required
return type from an event method which you have not shown in your post.
Can you post the page code handeling the POST
I have a layout component to which I would like to pass an asset (a banner
image) as a parameter.
But I get this error ...
Could not find a coercion from type java.lang.String to type
org.apache.tapestry5.Asset.
Layout.java
...
@Parameter(required = false)
private Asset banner;
...
In
On Mon, 08 Nov 2010 09:12:23 -0200, Gunnar Eketrapp
gunnar.eketr...@gmail.com wrote:
I have a layout component to which I would like to pass an asset (a
banner image) as a parameter.
But I get this error ...
Could not find a coercion from type java.lang.String to type
I would like for a given page to force a redirect to a different page before
it's rendered if a given condition is met.
I could use a simple Response.sendRedirect but that would mean i would have
to provide the page name in string format. I would like to avoid having to
do this because it would
I believe you can do this by having onActivate() return a Page, or just
the string name of your page:
public String onActivate() {
... test for condition
if (condition) {
return MyPageName;
} else {
return null; // keeps you on this page
}
}
onActivate() is called
That did the trick.
Thanks.
On Mon, Nov 8, 2010 at 11:52, Richard Hill r...@su3analytics.com wrote:
I believe you can do this by having onActivate() return a Page, or just
the string name of your page:
public String onActivate() {
... test for condition
if (condition) {
return
Hi Hugo,
what u could do is to create the Link to the page u want to send
redirect and then use the response. It would be something like:
Link redirectTo =
pageRenderLinkSource.createPageRenderLinkWithContext(pageClass,
context);
response.sendRedirect(link);
I hope it helps! :)
On Mon, Nov 8,
Is it possible to create a component that uses some hibernate entities,
package it into a separated .jar and then import this component into my main
project being able to autocreate this new entities?
Something like creating my custom component package following this tutorial
This is an example of providing a default value for a component parameter.
One way is using the value attribute of @Parameter. Another one is to write
a method named defaultparameter name. In this particular case, it's a
default value for the beanBlockSource parameter.
Didn't understand how
On Mon, 08 Nov 2010 09:57:47 -0200, Juan E. Maya maya.j...@gmail.com
wrote:
Hi Hugo,
Hi, Juan!
what u could do is to create the Link to the page u want to send
redirect and then use the response. It would be something like:
Link redirectTo =
On Mon, 08 Nov 2010 10:06:20 -0200, Elin polit...@gmail.com wrote:
Is it possible to create a component that uses some hibernate entities,
package it into a separated .jar and then import this component into my
main project being able to autocreate this new entities?
Yes.
--
Thiago H. de
On Mon, 08 Nov 2010 10:19:09 -0200, Anton Mezerny
anton.meze...@gmail.com wrote:
Didn't understand how it works. Does Tapestry make assignment from
defaultBeanBlockSource to beanBlockSource field (which is annotated with
@Parameter) if it is empty?
Tapestry will invoke the
Thx a lot. I will keep investigating now until it works correctly now that i
know its possible.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-custom-component-hibernate-tp3254963p3254992.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I am trying to pass an object from one page (a page with a grid) to another
page (the page with BeanDisplay).
I know am making a silly mistake somewhere but i have spent 2 hours on it
and i still cant figure out the issue.
Here is the page with the grid
html t:type=layout t:title=Show all
Use onActivate() onPassivate() in ViewContact Page.
As pages are pooled in tapestry, they don't remember what was in them
You may also use @Persist on field contact in ShowAll page
regards
Taha
On Mon, Nov 8, 2010 at 6:22 PM, Josh Kamau joshnet2...@gmail.com wrote:
I am trying to pass an
Thank you Joost and Thiago,
May be may question wasn't clear. So what I need that a method return an
object that make a post with the previous params.
I hope that is more clear now.
Cheers,
Khalid.
My mailbox is
Josh
Josh
Josh
Josh
Josh
...
Josh
...
Josh
Just Joking :)
taha
On Mon, Nov 8, 2010 at 6:27 PM, Taha Hafeez tawus.tapes...@gmail.comwrote:
Use onActivate() onPassivate() in ViewContact Page.
As pages are pooled in tapestry, they don't remember what was in them
You may also
On Mon, 08 Nov 2010 10:57:33 -0200, Taha Hafeez tawus.tapes...@gmail.com
wrote:
Use onActivate() onPassivate() in ViewContact Page.
As pages are pooled in tapestry, they don't remember what was in them
+1 to Taha's suggestion, just the explanation isn't quite correct. Pages
in Tapestry
On Mon, 08 Nov 2010 11:01:31 -0200, Khalid EL BOUKHARI
elboukh...@gmail.com wrote:
Thank you Joost and Thiago,
:)
May be may question wasn't clear. So what I need that a method return an
object that make a post with the previous params.
My interpretation was correct. Tapestry (and any
Thank you
I'll try that.
Thanks for correcting, ... I had read it but forgotten !!!
regards
Taha
On Mon, Nov 8, 2010 at 6:44 PM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
On Mon, 08 Nov 2010 10:57:33 -0200, Taha Hafeez tawus.tapes...@gmail.com
wrote:
Use onActivate() onPassivate() in ViewContact
Hi list,
I'm trying to build a multi-module project with maven 2 (w/ m2eclipse) and
Tapestry (5.2.2) of course! One module contains the .war artifact and some of
the others contribute pages and components...
Now the problem is that I can't leverage live-class-reloading or resource
reloading
Yes :) I am aware of it :) I thought he wanted to do it outside a page
:) Thanks! :)
On Mon, Nov 8, 2010 at 1:32 PM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
On Mon, 08 Nov 2010 09:57:47 -0200, Juan E. Maya maya.j...@gmail.com
wrote:
Hi Hugo,
Hi, Juan!
what u could do is to
On 08.11.2010 13:52, Josh Kamau wrote:
I am trying to pass an object from one page (a page with a grid) to another
page (the page with BeanDisplay).
Perhaps you should take a closer look into JumpStart, since it covers
many basic Tapestry concepts:
On Mon, 08 Nov 2010 11:24:53 -0200, Christian Riedel
cr.ml...@googlemail.com wrote:
Hi list,
Hi!
I'm trying to build a multi-module project with maven 2 (w/ m2eclipse)
and Tapestry (5.2.2) of course! One module contains the .war artifact
and some of the others contribute pages and
HI Pablo;
Have you tried writting a method annotated with @SetupRender ? it works for
components. You can initialize you component state in that method.
regards.
On Mon, Nov 8, 2010 at 8:41 AM, Pablo dos Reis pablodosr...@gmail.comwrote:
Hi guys,
My doubt is the following
Are there a
it's work!
thanks Josh and Thiago
2010/11/8 Josh Kamau joshnet2...@gmail.com
HI Pablo;
Have you tried writting a method annotated with @SetupRender ? it works for
components. You can initialize you component state in that method.
regards.
On Mon, Nov 8, 2010 at 8:41 AM, Pablo dos Reis
Christian,
are you using the Resolve artifacts in workspace feature of the m2e
plugin?
I use it and although I 'm not using a multimodule, class reloading works
like a charm...
my scenario could be like this:
webapp (t5 web with pages, which reference or depend on the weblib pages)
|
Hi!
I just found a strange behaviour of the Grid component: One of my
columns is not sortable.
The weird thing is, it does not seem to be different from other columns.
They are all plain Java Strings, accessible with simple getters (no
annotations). All other columns may be sorted.
What am I
I would like to announce the availability of ChenilleKit 1.3.0, our
first release to support Tapestry 5.2 branch... namely version 5.2.2
This release is done after too much time spent away from the project
and is just there to help everyone running our trunk upgrading to a
not-moving-target as a
Hi
Is this an added column ?
2010/11/8 Stephan Windmüller stephan.windmuel...@tu-dortmund.de
Hi!
I just found a strange behaviour of the Grid component: One of my
columns is not sortable.
The weird thing is, it does not seem to be different from other columns.
They are all plain Java
Great, thanks!
2010/11/8 Massimo Lusetti mluse...@gmail.com
I would like to announce the availability of ChenilleKit 1.3.0, our
first release to support Tapestry 5.2 branch... namely version 5.2.2
This release is done after too much time spent away from the project
and is just there to help
Dear Tapestry users,
I'm using a mixins into a Zone, that updates the grid every a given time
period:
t:zone t:id=zone id=zone t:update=show
t:mixins=condorTapestryLib/PeriodicUpdate period=10 event=update
The problem is that when I change the page, and redirect another page that
On 08.11.2010 15:23, Christophe Cordenier wrote:
I just found a strange behaviour of the Grid component: One of my
columns is not sortable.
Is this an added column ?
No. I am adding some columns, but this one is already there.
Regards
Stephan
Hi,
I need to do POST in Tapestry for example :
form method=*POST* Action=**MyURL** name=*name*
input type=*HIDDEN* name=*FirstParam* id=*IdFirstParam*value=
**Value*FrstParam*/
input type=*HIDDEN* name=*SndParam* id=*IdSndParam* value=*
*Value*SndParam*/
/form
When I
Hi Nicolas Thiago!
I knew about the resolve artifacts flag but in the past it didn't always work
as expected, so I never used it. Having played with it now a bit I see that
class/resource-reloading works but there are some pitfalls:
- I use Maven to generate my Manifest.mf
How about just using form fragments, they let you selectively send parts of a
form (basically partial form submission like you're talking about). I'm
guessing they may work for you (or may not, since it hides the inactive
parts of the form) but I'm not sure what you are trying to do.
--
View
On Mon, 08 Nov 2010 14:36:33 -0200, Christian Riedel
cr.ml...@googlemail.com wrote:
Hi Nicolas Thiago!
Hi!
- I use Maven to generate my Manifest.mf (Tapestry-Module-Classes).
Auto-resolving artifacts means there is no maven-generated manifest.mf
available. You have to create one that
On Mon, 08 Nov 2010 14:36:37 -0200, LLTYK ll...@mailinator.com wrote:
How about just using form fragments, they let you selectively send parts
of a form (basically partial form submission like you're talking about).
I'm
guessing they may work for you (or may not, since it hides the inactive
Chirstian,
I 've faced that problem of yours with the manifest.mf... and the tapestry
module classes...,
I think it's not on tapestry documentation..., (please I think it will be
positive to add it here
http://tapestry.apache.org/tapestry5/tapestry-ioc/autoload.html!)
but I dove into tapestry
It sounds like something else is at work here, javascript timers should all
get reset when the page changes.
So either the page is not really changing or that mixin is somehow being
called again on the second page.
--
View this message in context:
Can you tell us more about the way you add columns / build grid datasource /
bean model / use annotations on the bean provided as input...
2010/11/8 Stephan Windmüller stephan.windmuel...@tu-dortmund.de
On 08.11.2010 15:23, Christophe Cordenier wrote:
I just found a strange behaviour of the
Very good news ... I hope the upgrade to 5.2.2 wasn't too painful. I
suspect you tripped over a couple of internals changes. Remember to get a
discussion going whenever you need to use internals so we can make them
public and stable in some way.
On Mon, Nov 8, 2010 at 6:57 AM, Borut Bolčina
mmh I don't want to commit .classpath / .project files to my repository and I
couldn't find the maven switch to properly generate those files.
So
classpathentry excluding=** kind=src output=target/classes
path=src/main/resources/
should read
classpathentry kind=src
the internal changes in tap522 was not very painful.
we remove the most internal apis we used and looking happy into the future ;-)
the most pain for me is to mess around with maven ... but thats another part
with regards
Sven Homburg
Founder of the Chenille Kit Project
Hi folks,
next week is Devoxx in Antwerp. Who is actually there?
I'll be there for 3 days from Wednesday to Friday. Hope to meet some
Tapestry folks.
--
Best regards,
Igor Drobiazko
http://tapestry5.de
I'm afraid I'm not going to be there this year.
On Mon, Nov 8, 2010 at 11:35 AM, Igor Drobiazko igor.drobia...@gmail.comwrote:
Hi folks,
next week is Devoxx in Antwerp. Who is actually there?
I'll be there for 3 days from Wednesday to Friday. Hope to meet some
Tapestry folks.
--
Best
Hi
I'll be there too from Wednesday to Friday, hope to meet you and others
there !
2010/11/8 Igor Drobiazko igor.drobia...@gmail.com
Hi folks,
next week is Devoxx in Antwerp. Who is actually there?
I'll be there for 3 days from Wednesday to Friday. Hope to meet some
Tapestry folks.
--
in your sample you need a
@Persist(flash)
private Contact contact ;
in your view contact
But using activate passivate would be smarter.
To complete Stephan advice
I suggest to read also activate passivate sample
Thank's a lot for this contributions.
2010/11/8 Sven Homburg hombu...@googlemail.com
the internal changes in tap522 was not very painful.
we remove the most internal apis we used and looking happy into the future
;-)
the most pain for me is to mess around with maven ... but thats another
Having problems again. My packaged component is working fine except the
hibernate part.
I have my main app and a custom componet packaged into a jar. This component
has:
com.udc.mylib.entities
com.udc.mylib.pages
com.udc.mylib.services
...
When i load the packaged component, its displayed
So I figured out somewhat decent stateful ejb (3) integration into
Tapestry. Here is what we did, in the interest to complete this thread
and provide some level of documentation for future.
First, regarding the architecture, I think it's best to open this
discussion too deeply. This kind of stuff
Of course in the 2nd paragraph I meant to say:
I think it's best NOT to open this FOR discussion too deeply
:-)
On Mon, Nov 8, 2010 at 2:25 PM, Adam Zimowski zimowsk...@gmail.com wrote:
So I figured out somewhat decent stateful ejb (3) integration into
Tapestry. Here is what we did, in the
I will be there all week.
On 11/08/2010 08:35 PM, Igor Drobiazko wrote:
Hi folks,
next week is Devoxx in Antwerp. Who is actually there?
I'll be there for 3 days from Wednesday to Friday. Hope to meet some
Tapestry folks.
Problem solved. There was some kind of conflict with a previous version of my
entity... its working now ;)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-custom-component-hibernate-tp3254963p3255809.html
Sent from the Tapestry - User mailing list archive at
On Mon, Nov 8, 2010 at 6:22 AM, Massimo Lusetti mluse...@gmail.com wrote:
I would like to announce the availability of ChenilleKit 1.3.0, our
first release to support Tapestry 5.2 branch... namely version 5.2.2
Thank you! Does 1.3.0 also support Tapestry 5.1?
-Dave
This is not about what I am trying because if i am convinced that nested
form is violating the concept of Component based framework I will start
otherwise..
I tried FormFragment but it is not what i want..
What i want is to create a full CRUD component where in a bean can contain a
collection.
On Mon, 08 Nov 2010 23:19:15 -0200, Taha Hafeez tawus.tapes...@gmail.com
wrote:
What i want is to create a full CRUD component where in a bean can
contain a collection. For a simple collection, I can use
a Palette but if the number of fields of the collection object to be
displayed are more
parameters=ognl: new java.lang.Object[]{
rightIdString,agentName,startDateString, endDateString, statusSelectedByString,
selectedLimitString }
i use this way for multiple parameters. is it possible to pass other type
beside String ? what about List, Date ?
sorry , i suppose to click 'reply to thread' instead of creating new thread.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
71 matches
Mail list logo