Hello,
Can a Block-component access the page/component that's calling RenderBlock?
Assume page C contains this call: jwcid=@RenderBlock
block=ognl:someBlock
Can someBlock access page C's properties?
Thanks for your time!
/Firas
Check out Block's getInvoker() method.
Try
blockComponent.getInvoker().getPage().getSomePageProperty()
Regards,
Norbi
Firas Adiler wrote:
Hello,
Can a Block-component access the page/component that's calling RenderBlock?
Assume page C contains this call: jwcid=@RenderBlock
I have a page which has mandatory validation on some of the fields. If I
leave mandatory values blank, and change the value in other fields, when
the form is submitted the changed values seem to be updated in the model
even when errors are shown for the mandatory values. If I then leave my
this is how tapestry works. field-level validations of one field are not
known to other fields.
we have a similar situation where we wanted to avoid DTOs and use Domain
Objects (the exposed domain pattern). we find that the underlying objects
can get dirtied in a number of ways. validation is
It is required with a default value, so no one actually ever needs to
specify it if they don't want to.
On 8/10/06, Bernard Lange [EMAIL PROTECTED] wrote:
Jesse Kuhnert wrote:
I've added a new submitType parameter to all of the form submission
components. (
Hello,
I need to retrieve the session ID (JSESSIONID) from IRequestCycle. Is there
way to do that ?
Would be nice if someone have the solution of this non-urgent problem.
Cheers,
Didier
Hi!
You can get the Session id like this:
cycle.getInfrastructure().getRequest().getSession(true).getId();
Cheers,
Mika
Tapestry User List wrote:
Hello,
I need to retrieve the session ID (JSESSIONID) from IRequestCycle. Is there
way to do that ?
Would be nice if someone have the
Hello there! First, I'm sorry about the previous e-mail, I really
thought that the name was being duplicated :(. Sorry for the spam
I got stuck into a problem here. I'm building my datetime component.
First I thought using a template for it, but later I figured that I
needed to extend
Hi,
Still playing around with Tapestry 4.1 it seems I just can't get Ajax to
work in any case. I created the following simple example which doesn't do
Ajax. It just makes a regular request:
My html:
a href=# jwcid=[EMAIL PROTECTED] listener=listener:listen
Check your web.xml to make sure you configured Tapestry to handle that
particular extension.
On 8/10/06, Dan Adams [EMAIL PROTECTED] wrote:
Ok, when I run the app in jetty this works fine and I don't remember
having this problem with other tomcat installs. When I request a path
that is a file
I have this:
servlet-mapping
servlet-nameapp/servlet-name
url-pattern*.html/url-pattern
/servlet-mapping
On 8/10/06, Dan Adams [EMAIL PROTECTED] wrote:
Ok, when I run the app in jetty this works fine and I don't remember
having this problem with other tomcat installs. When I
Not sure if this is a bug or how it was intended. I'm using Tap 4.0.2. I
have a component that has a Form and some Hidden components within it. I'm
using the id of the hidden components to update the field in javascript on
the client side. My problem is, on a page that has more than one of
Yes, that's it! Don't know how I could have missed that. Thank you!
Denis Souza
-Original Message-
From: Norbert Sándor [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 10 de agosto de 2006 13:26
To: Tapestry users
Subject: Re: Ajax in Tap 4.1
I didn't try but maybe parameter async=true
I'm having problems getting to Tapernate's SVN repository without a
username and password (the url from the webpage is:
http://svn.javaforge.com/svn/tapestry/tapernate/trunk). Is anyone else
having problems or have I done something silly?
Thanks,
Danny
Hello there! I'm having problems with validators...
First, my page is not validating required fields anymore (at least not
when I set a new ValidationDelegate):
public class CustomDelegate extends ValidationDelegate {
public void writeAttributes(IMarkupWriter writer, IRequestCycle
Could someone please let me know where I can download
the source code for Tapestry4.1 TimeTracker demo ?
Shing
Home page :
http://uk.geocities.com/matmsh/index.html
___
Copy addresses and emails from any email
Hello Norbi,
I used this ognl expression: components.MyBlock.invoker.page.someProperty
and it worked like a charm. Thank you!
/Firas
-Original Message-
From: Norbert Sándor [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:46 AM
To: Tapestry users
Subject: Re: @Block,
I could be wrong, but I don't think you'll have this problem in 4.1.
(Specifically it would be better to use the latest 4.1.1-SNAPSHOT build. )
On 8/10/06, Andrew Ofisher [EMAIL PROTECTED] wrote:
Not sure if this is a bug or how it was intended. I'm using Tap 4.0.2. I
have a component that
Hello there! *I've seen some discussions regarding this topic but
didn't find one that could help* I was having problems with the layout
of my table, but I was ignoring, thinking that might have been a tag
opened that I left open. Today I look it closer and found out that
seems to be a bug. My
Sorry taking so long, I was busy with my datetime component, almost
ready, hope post it here soon :)
That did not work, could you post a more clear explanation? maybe a
full example if its not asking much
On 8/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
table jwcid=[EMAIL PROTECTED]:Table
This sounds like an HTML issue.
Tapestry components are added into standard HTML, they do not generate any
different
HTML than you have already specified.
For example, you say the contribTable appears at the right of the page, perhaps
you are
specifying widths on your static tables - maybe
On Fri, Aug 11, 2006 at 08:26:51AM +1000, Murray Collingwood wrote:
When you are using the contrib:Table you specify the columns parameter for
each column to
appear in your table. I think you understand this but you haven't mentioned
much detail.
So, in Robert's example there are 3
guys,
is there a way for me to export all my properties file content into
another file. or if i need to backup my content is there a way for me
to somehow export this content into another file and then store it
somewhere. i hope i make sense :-)
thanks.
I'd be happy to use 4.1 when it becomes stable (I'm not sure it is
production quality yet? Am I wrong?). Meanwhile I just threw together my
own component to generate a hidden field with a unique id.
Andrew
On 8/10/06, Jesse Kuhnert [EMAIL PROTECTED] wrote:
I could be wrong, but I don't think
guys,
i am trying to create a sort of colour picker. what i want to do is, i
want to load an image and then when the user moves their mouse over
the image, i want to display the RGB values at the mouse tooltip (and
possibly also the X and Y co-ord). has anyone done something like this
before.
use persist=client
2006/8/8, Gurps [EMAIL PROTECTED]:
Hi, this is exactly my problem too. Have you found the solution? many
thanks
--
View this message in context:
http://www.nabble.com/How-to-store-the-query-parameters-in-a-Table-component--tf1685056.html#a5701412
Sent from the Tapestry -
26 matches
Mail list logo