hi,
my web app supports access for several users from
different partners. for every user request i've to get
some data from my appserver over a corba (yes still
in use:)) connection. configuring my objects for a single
corba connection is quite simple (schema für config data,
pooled corba objects
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!
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"
block="ogn
Jesse Kuhnert wrote:
> I've added a new "submitType" parameter to all of the form submission
> components. (http://tapestry.apache.org/tapestry4.1/components/Submit.html)
I see it is a required parameter. Please do update the enclosed example
accordingly, as now it does not use this param.
Regard
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
screen
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
screen
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 j
i largely agree, although for some cases tapestry chooses to override your
assigned id, with an id that tapestry chooses.
On 8/10/06, Nick Westgate <[EMAIL PROTECTED]> wrote:
In addition, id (and maybe name) are useful attributes for javascript
programming, so tapestry leaves them alone when it
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. (
http://tapestry.apache.org/ta
Just finished testing and it all works now.
Thanks for the quick turn around.
Dom
Hi everyone,
I am a beginning learner of tacos. I had little experience with Tapestry.
When I use tapestry table component with ordinary form, whenever I sort
the table or go to another page, the whole page re-renders. To keep
persist information in the form, I have to add tag @Persist("client")
Note that "getInvoker" is a 4.x idiom. If you're using tapestry 3.x, you
want the "getInserter()" method (deprecated in favor of getInvoker in
4.0). You can also do interesting things like:
and then your block can do something like:
blockComponent.getInvoker() (or getInserter() for
3.x).getBindin
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 s
Hi,
My solution to this is to inject the session on the .page file:
Then in the java file of the page, get the session. From that you can
get the session ID:
* Declare in the class:
public abstract WebRequest getWebRequest();
* Then where you need it:
WebSession sess = getWebRequest().
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 AbstractFo
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:
Hello!
My class:
public void listen(IRequestCycle cycle) {
setToggle(!getT
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 that exists on the filesystem, like /admin/Home.html,
then tomcat will server up the template and tapestry never gets to
intepret it. but when i
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:
app
*.html
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 that exists on the filesystem, like /admin/Home.ht
Hey
I am trying to use the tapestry trees for displaying the local file
system. i copied the same example from workbench, and able to display
the file system. But when i click on any of the sub folders of the
root, all the sub folders disappears and only the root is getting
displayed. Th
I didn't try but maybe parameter async=true should be specified on the
DirectLink. It is false by default.
Regards,
Norbi
Denis Souza wrote:
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
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 the
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 sh
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
cycle
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 account
Hello Norbi,
I used this ognl expression: components.MyBlock.invoker.page.someProperty
and it worked like a charm. Thank you!
-Original Message-
From: Norbert Sándor [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:46 AM
To: Tapestry users
Subject: Re: @Block, accessing th
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 pag
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:
Baz
Robert
> Hello there
On Thursday 10 August 2006 20:02, Vinicius Carvalho wrote:
> But delegate.isInError() is returning false.
I think that's the wrong method - try delegate.hasErrors() or something
similar.
Tim.
-
To unsubscribe, e-mail: [EMAIL P
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 yo
You should use
delegate.getHasErrors()
Simon
Tim Sawyer wrote:
On Thursday 10 August 2006 20:02, Vinicius Carvalho wrote:
But delegate.isInError() is returning false.
I think that's the wrong method - try delegate.hasErrors() or something
similar.
Tim.
-
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 columns defined. By default each column
will be
populated with data from tha
guys,
how can i add more locales to a multi-lingual implementation.
Netherlands is not present in the default list of locales. it contains
english, french, germany, italy and so on. how can i add more locales.
i already have corresponding properties files for netherlands (NL), i
just need to some
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
I didn't realise you could code the @Block outside the table...
My mistake.
Cheers
mc
On 10 Aug 2006 at 16:14, [EMAIL PROTECTED] wrote:
> 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
> > eac
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.
-
Hey all, I'm fairly new to Tapestry, having used WebObjects and JSF
for some time. I remember seeing a component in some other framework
that would allow you to have a form that could be toggled to a read-
only state. This is not just making the input boxes disabled, but
rather converting
There is this ,
http://opencomponentry.com:8080/tacos/app?page=ajax%2FInlineEditBoxExample&service=page
or
http://opencomponentry.com:8080/tacos/app?page=ajax%2FEditorExample&service=page
Probably others too but I'm too lazy to look up where they are. (try tassle?
)
On 8/10/06, Will Norris <[EM
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 thin
I tried accessing the JavaForge svn repo today with anonymous/anon and it
denied me. Is that what you mean? That's where tapernate is supposed to be
living.
-Original Message-
From: Danny Mandel [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 2:33 PM
To: Tapestry users
Subject
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.
th
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 -
when you enter a new search parameter, try resetting the table
Table table = (Table) this.getComponent("myTable");
table.reset();
Jun Tsai wrote:
hi all,
I have a search form and a talbe in a page.When I enter some search
text
in form and click search button,results was sho
46 matches
Mail list logo