0 Nov 2005 04:43:42 +0000 (UTC)
seloha . hotmail.com> writes:
> I am using Jboss and ejb's for my persistent layer and following the
> Tapestry Virtual Library example. In hivemodule.xml the following
> contribution is used:
>
>
>
> value="org.j
I am using Jboss and ejb's for my persistent layer and following the
Tapestry Virtual Library example. In hivemodule.xml the following
contribution is used:
value="org.jnp.interfaces.NamingContextFactory"/>
value="org.jboss.naming:org.jnp.interfaces"/>
In the past I would al
When upgrading from beta-12 to beta-13 I noticed that all XTile components
failed to return a response. Further investigation showed that no parameters
were being picked up with the following line:
Object[] params = cycle.getListenerParameters();
replacing this with:
String[] params = cycle.g
started see the quickstart guide:
http://jakarta.apache.org/tapestry/QuickStart/helloworld.html
and other examples
Paul
McBrayer, Roy <[EMAIL PROTECTED]> wrote:
I am using the tapestry-spring.jar instead of creating the individual files.
-Original Message-
From: seloha . [
Roy,
Have you created the hivemind.xml file, the
XSpringBeanFactoryHolderImpl.java and the XWebApplicationContextUtils.java
as described in the wiki. These files provide the bridge between the Spring
and Tapestry system.
Hope this helps
Paul
McBrayer, Roy <[EMAIL PROTECTED]> wrote:
I am
he
ASO property yet or not.
If you invoke a setter and change the ASO, there is a window where
some threads and pages will have a temporary reference to the old ASO
instance (until the end of their respective requests).
On 10/24/05, seloha . <[EMAIL PROTECTED]> wrote:
I have an Application Se
I have an Application Service Object configured in hivemind which has a
scope of application.
Rarely this object is modified and needs to be re-read. How do I invalidate
the ASO and re-read it to make the change available to all users.
Thanks inadvance,
Paul
--
s fine but only when the javascript is with the html. I tried to
put it in a .scipt file but then it is not working.
Could you please help !!!
Thanks & Regards
-
Ananya Goswami
Software Developer
-Original Message-----
From: seloha . [mailto:[EMAIL
on AJAX and also found some code related
to it. But I don't know how to use it through tapestry .... like where and
how to place the servlet code .
Please help
Thanks & Regards
-
Ananya Goswami
Software Developer
-Original Message-
From: seloha . [mailto:[EMAIL PR
I think you need:
public abstract void setMyObject(MyObject myObject);
to enable Tapestry to set the object should it fail and redisplay the page.
I am not sure what you mean by having a corrupt object in the system, since
the object is abstract Tapestry should reset it when the page is
re-di
20
ph: 080-57561000
extn:3720
-Original Message-----
From: seloha . [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 18:30
To: tapestry-user@jakarta.apache.org
Subject: RE: passing parameters in DirectLink
I think what you want is a @TextField component inside a @Form with a submit
button. So
Last function slightly wrong should be more like:
public Object translateValue(String value) {
Integer id = Integer.parseInt(value);
Truck returnTruck = null;
Iterator TruckListIt = TruckList.Iterator
while (TruckListIt.hasNext()) {
Truck truck = (Truck)TruckList
I think your problem is that you have confused option and value and they
should be:
public Object getOption(int index) {
return (Truck)TruckList.get(index);
}
and:
public Object translateValue(String value) {
Integer id = Integer.parseInt(value);
Iterator TruckLis
I think what you want is a @TextField component inside a @Form with a submit
button. So your .html file would look something like this:
your .java page would look something like:
public abstract String getUserName();
public void checkUniqueUser(IRequestCycle cycle,String username) {
I looked at this problem for quite some time but did not use a profiler. I
discovered that my development system did not seem to fail (I never got it
to fail) when I did not disable the cache as indicated in Howards post. The
development system was running jetty. The other systems ran tomcat and
Assuming tomcats structure has not changed from version 5.0 to 5.5 I place
my jdbc driver in $CATALINA_HOME/common/lib and all webapps find it.
regards,
Paul
Radim Burget <[EMAIL PROTECTED]> wrote:
Hi,
I have problem with creating resource for database connection. I have just
managed to con
Casey <[EMAIL PROTECTED]> wrote:
That looks like it'd work, yep. Dunno if the Hibernate session is
the root of your bug, but A) it might be and B) that looks like it'll clear
it out.
--- Pat
-Original Message-
From: seloha . [mailto:[EMAIL PROTECTED]
Sent:
;
List l = q.list();
For (int x=0; x< l.size(); x++)
s.evict(l.get(x));
-Original Message-
From: seloha . [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 12:45 PM
To: tapestry-user@jakarta.apache.org
Subject: RE: OutOfMemoryError Tapestry 4.0
Pat,
session and/or loading them in a temp
session which you are subsequently closing? Objects loaded in a Hibernate
session have the lifespan of the session, regardless of whether or not your
code holds a reference to them.
-Original Message-
From: seloha . [mailto:[EMAIL PROTECTED
Yes I do in the development system but in the different production test
systems caching is enabled.
regards
Paul
Mind Bridge <[EMAIL PROTECTED]> wrote:
Do you have caching disabled by any chance?
seloha . wrote:
Thanks ausias,
I have thought about reducing the num
nulling out
the list of 5000 items) on the page's post-render cleanup phase, right?
-Original Message-
From: seloha . [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 3:11 AM
To: tapestry-user@jakarta.apache.org
Subject: OutOfMemoryError Tapestry 4.0
I have a page which al
Thanks ausias,
I have thought about reducing the number of objects but a prvious version of
the app written with struts was able to display many more thn 5000 lines
with no problem. A rethink on presentation may be a good idea. Also
providing the container with more memory may help.
Thanks a
I have a page which allows a user to search the database based on various
criteria. I have restricted the number of returned items to 5000. I display
the items in the same search page using the @For component with
volatile="ognl:true" . Repeated searches which return 5000 items will result
in a
XTiles is now included in the contrib library, so the first thing to try is
to remove the XTile library you have obtained and use the contrib library
(jwcid="@contrib:XTile")
Hope this helps,
Paul
Gertjan Assies <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to get XTile to work but i'm running
t client side validation
working. All the relevant enhancements to the page to enable javascript
validation to work appear to be there but nothing happens. No javascript
errors are thrown when the form is submitted. Any ideas?
Paul
seloha . <[EMAIL PROTECTED]> write:
I am using tap 4 bet
be of some use to someone else.
Paul
seloha . <[EMAIL PROTECTED]> wote:
The solution you mentioned in the first place with 'keyExpression' did solve
my initial problem.
The problem with the table now is that I cannot sort it. This would appear
to be because I init
Leonardo have you taken a look at the wiki:
http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring
hope this helps,
Paul
Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> wrote:
What's the best way to inject a spring service to the Global object?
Such as:
public void setGenericService(Gener
I am using tap 4 beta 6 and have a form with client side javascript enabled:
delegate="ognl:beans.delegate" clientValidationEnabled="true">
also in the form is a field for validation:
value="ognl:someValue" displayName="Some Value"
validators="validators:required"/>
and to submit the form:
I am not sure of the solution to your problem but a quick observation is
that every "-" has a space after it e.g. "service- id" this does not seem
right.
Hope this helps
Paul
Adam Henderson <[EMAIL PROTECTED]> wrote:
Hi,
I'm attempting to add a new Engine Service to Tapestry 4, cannibalised
s For to
do exactly that matching anyway. There will be no need to use it in that
case soon, however.
-mb
seloha . wrote:
Is it okay if I butt in here and mention that I have had the same
problem, and it is, from what Mind Bridge says, because I initialize the
data in pageBeginRender().
Is it okay if I butt in here and mention that I have had the same problem,
and it is, from what Mind Bridge says, because I initialize the data in
pageBeginRender(). The problem I have then is when I update the data in the
table I can no longer use the getUsers() method to obtain the updated dat
After looking on google I have solved this problem. For those who come up
against this it is neccessary to remove the projects library path from the
Jetty launch configuration classpath which by default is loaded. Therefore
if included in the run time classpath is loaded twice resulting in simil
utiple browser windows, etc). So
this method is usually not appropriate.
Hope this is of use,
-mb
seloha . wrote:
I am using the new contrib:Table since I believe contrib:FormTable is to
de deprecated.
I think I have a very stupid mistake somewhere. I am trying to update some
fields, when
seloha . wrote:
I am using the new contrib:Table since I believe contrib:FormTable is to
de deprecated.
I think I have a very stupid mistake somewhere. I am trying to update some
fields, when I get the list of table data objects they still have the old
information prior to submission. If I put
I am using the new contrib:Table since I believe contrib:FormTable is to de
deprecated.
I think I have a very stupid mistake somewhere. I am trying to update some
fields, when I get the list of table data objects they still have the old
information prior to submission. If I put an invalid entr
I have built the cvs head with os x 10.4 using jdk1.4.2 and skipped the
annotations.
If you look in an earlier post on this forum today I have outlined which
files I changed to achieve this.
hope this is useful,
Paul
-
To
The short answer is yes.
Paul
Frank <[EMAIL PROTECTED]> wrote:
Hello,
I am thinking of getting a Mac Ibook or iMac.
Can I develop web apps using Tapestry on a Mac?
Thanks
Frank
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mark,
I have built the cvs with os x 10.4 and jdk 1.4 (not 1.5).
I also manually had to add :
group="servletapi"/>
to contrib build.xml file. I sent an email to the dev list about this but it
seems to have got lost (more than likely my ineptitude).
I also modified the build.xml file in
Ignore my last post my fault with not updating my own code.
After Tapestry update using cvs everything is okay
Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
instead of the normal data squeeze "X",
this "@If" statement is true when previously in Beta-3 it was false, as
expected.
How can I make this "@If" false, or make the data squeeze return an "X"
instead of nothing (i.e. "" - a null String)?
Than
I have a List which is displayed using jwcid="@For" I am using
volatile="true".
I also have the List 'displayed' as a jwcid="@Hidden".
When the form is submitted I reset the list to null. This causes the
jwcid="@Hidden" to throw a NullPointerException. This did not happen with
Tapestry 4.0 be
I have sent the update to [EMAIL PROTECTED] seeing he was the
originator and hopefully it will be made available reasonably quickly.
Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
XTiles comes from t-deli I am quite happy to provide them with the modified
code, infact you are right it would be better there.
It would appear that the only contact is [EMAIL PROTECTED] Can anyone
tell me whether this is the place to post the update.
Paul
I have tried several times to send an attached zip file of 16kB containing
the modified XTiles source code but delivery fails. Is there a restriction
for sending attachments to the user list?
Paul
-
To unsubscribe, e-mail: [
There is a solution that involves not changing Tapestry (since the Tapestry
modification has now been made by the Tapestry development team).
I have a modified version of XTiles which works with 4.0 and can post it if
you want
Paul
--
I have a list which it is possible to select a row. The row selection is
placed into a hidden tag using javascript. When I press a button I want to
popup a new window with a new tapestry page which uses the hidden tag data.
This is probably not difficult but I am being really thick.
I am using
this:
http://wiki.apache.org/jakarta-tapestry/Tapestry31Spring
should help.
Paul
Scott F. Walter <[EMAIL PROTECTED]> wrote:
I noticed that setupForRequest() is gone from Tapestry 4 BaseEngine class.
Is there an alternative to use?
I primarily used setupForRequest() to stuff a Spring Contex
I am aware that the "format" parameter has been removed and replaced with a
Date Translator. I am unable to get the DatePicker to display the date in
the form dd/MM/yyy. It always reverts to the default of MM/dd/.
In my html template I have:
In my .page I have:
The rend
alette, and
contrib:MultiplePropertySelection.
The process for recording validation errors using the IValidationDelegate
has not changed.
Paul
seloha . wrote:
I am receiving messages indicating that ValidField is deprecated and will
be replaced in future releases.
I am aware that the validation process has been
my acegi / spring
information but I can if you are still having problems.
Hope this helps
Paul
[EMAIL PROTECTED] wrote:
Hi Seloha,
Thanks for the response. In my attempts to use ACEGI security, I have
run into a problem where on the first request, ACEGI will perform
authentication but not c
I am receiving messages indicating that ValidField is deprecated and will be
replaced in future releases.
I am aware that the validation process has been re-written, is there any
documentation on the new validation process?
If not could someone point me in the right direction to use the new
I have had similar problems trying to logout whilst using acegi. The
mechanism I now use that seems to work fine was suggested on this list,
involves redirecting to a jsp page to let that invalidate the session.
In your html template:
Logout
In your .page:
In the root directory of y
I thought I should post this for people who like myself do not have java 1.5
and want to compile the cvs snap shot.
In the root directory of the cvs edit the build.xml file and replace this:
files="framework/build.xml portlet/build.xml contrib/build.xml
annotations/build.xml examples
Thanks again Erik
Paul
On Jun 25, 2005, at 4:27 AM, seloha . wrote:
I downloaded Java15Release1.dmg twice and received an invalid checksum
each time. I can mount it with hdid and skip the checksum error but am a
bit concerned about doing this.
Did you get an invalid checksum on the
Thanks Erik,
I downloaded Java15Release1.dmg twice and received an invalid checksum each
time. I can mount it with hdid and skip the checksum error but am a bit
concerned about doing this.
Did you get an invalid checksum on the download?
Paul
On Jun 24, 2005, at 4:16 AM, seloha . wrote
Is it possible to build tapestry cvs without jdk1.5 and turn off
annotations?
I am using Mac OSX and after modifying a couple of the tests to make them
pass I get javac: invalid target release: 1.5.
Is anyone using the Mac OSX Java 2 SE 5.0 Release 1? If so are there any
problems with it?
Thanks again John
Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Robert,
You are right informal attributes do get picked up, this may be a short term
solution to the XTile problem.
Thanks Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks John,
The problem I have with the org.apache.tapestry.html.Script patch is that it
makes symbols a required parameter for all Scripts. Is this correct?
I made a simple check on the Script component in a page and found that it
definitely is not passing the symbols Map to the script.
H
Thanks John for sharing your code.
I had to make a few changes. I am not using Java 1.5 (I am not sure this
makes any difference). I am also using alpha 2 since alpha 3 could not
pickup certain Spring beans.
So far though I have the same problem as you encountered which is that my
script fun
I think what you need is something like this:
in .page:
in .html:
in .java:
public abstract String getALink();
public abstract void setALink(String aLink);
This may not be spot on but I think the problem is that you need a value in
the foreach to set
u are
interested.
Best wishes
John
-Original Message-
From: seloha . [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 18, 2005 6:42 PM
To: tapestry-user@jakarta.apache.org
Subject: XTile Tapestry 4.0 update
Is there likely to be an update for XTile for Tapestry 4.0 in the near
future?
Thanks
Is there likely to be an update for XTile for Tapestry 4.0 in the near
future?
Thanks Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
both tag="'cancel'" and tag="literal:cancel" worked fine.
Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It appears that Tapestry is trying to parse "ognl:whichButton" as an ognl
expression, instead of just >"whichButton".
Confused? Me too. I was under the impression that "ognl:whichButton"
would still work...
Paul
seloha . wrote:
I am
I am getting an error message:
Unable to read OGNL expression '' of
[EMAIL PROTECTED]: $UserAddPage_67.cancel
which highlights this line in my template:
selected="ognl:whichButton" tag="cancel" onclick="form.onsubmit = null;"/>
after I have pressed this cancel button.
In my page specificat
For what it is worth I have found the same problem when trying to obtain
Spring beans which worked in the previous release.
Similar error: Unable to lookup $Proxy1: $Proxy1
This is looking up a Spring DAO which uses hibernate 3.
Although a simple Spring bean with a property set to a value works f
Thanks Paul,
I read the section and I am able to create an application state object and
inject it into a page.
The problem I have is referencing the object in the WorkbenchHomeService
class which extends HomeService.
In hivemind.xml I have tried using:
inside:
where tab-selected is:
I am trying to write a Tapestry 4.0 application with reference to the
workbench.
Workbench uses:
Visit visit = (Visit) cycle.getEngine().getVisit();
where cycle is an instance of IRequestCycle.
IEngine has been deprecated in 4.0 and will be removed in 4.1.
What I am wondering is how should the us
It did cross my mind that it was something to do with the license but I
thought I would mention it any way.
Thanks for clearing it up.
Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I've just downloaded 4.0 alpha 2 and tried to run the workbench.
The ognl library was not put into workbench.war. Obviously problem easily
solved by placing the latest ognl jar file in WEB-INF/lib.
I hope this is useful to someone.
apestry-user@jakarta.apache.org>>Subject: Re: Tapestry 3.1
build version problems>Date: Fri, 6 May 2005 15:24:50
-0400>>>On May 6, 2005, at 2:57 PM, seloha .
wrote:>>>Thanks Erik>>>>the build works
with ant -Dhivebuild.skip-tests=true>>>>but
label).>>I built
from CVS HEAD this morning on Mac OS X with no problems >using this
command-line: "ant
-Dhivebuild.skip-tests=true">>What problems are you
having specifically?>> Erik>>>On May
6, 2005, at 9:49 AM, seloha . wrote:>>>I am having pr
I am having problems building tapestry 3.1.
First attempt using latest binary sources i.e. hivemind 1.1-beta-1 and
tapestry 3.1-alpha-1. This did not work, I think the code in hivemind has
been refactored and at least one of the classes required by tapestry alpha-1
was missing.
Second attempt h
The contrib library comes with Tapestry and is in the lib directory and
named something like tapestry-contrib-3.0.3.jar. You will need to place this
in your webapp/WEB-INF/lib directory. You will also need the following:
in your tapestry .application file.
Paul
>From: "Frank" <[EMAIL PROTECTED
n>
>
>Where rowId is a component in our page referencing the accessor in said
page
>class?
>
> <component id="rowId" type="InsertText">
> <binding name="value" expression="rowId"/>
> </component>
>
>Thanks
stry users"
<tapestry-user@jakarta.apache.org>
>To: "Tapestry users" <tapestry-user@jakarta.apache.org>
>Subject: RE: Row number in contrib:table?
>Date: Wed, 13 Apr 2005 13:52:34 -0600
>
>I didn't see the link for the tutorial on hte page, could you provide a
b
I made a mistake the email was from MidBridge
>From: "seloha ." <[EMAIL PROTECTED]>
>Reply-To: "Tapestry users"
<tapestry-user@jakarta.apache.org>
>To: tapestry-user@jakarta.apache.org
>Subject: RE: Row number in contrib:table?
>Date: Wed, 13 Apr
I think the post you are referring to was sent to me from Erik Hatcher.
The response was a bit criptic but more explicitly it goes something like
this:
Add row binding to your table and add a property specification for the row
In your java page file you will need:
public abstract Object g
nd have the
>getRowId() identify the row. See the 'row' parameter of
>contrib:Table -- you can bind that to a setter of yours, get the
>currently rendered row from there and that would allow you to
>implement getRowId().
>
>Hope this helps,
>- mb
>
>
>seloha . w
I am using the contrib:Table in a way that could effectively be described as
a spreadsheet.
The problem I have is, as it stands to update information the user has to
press a button, to do a round trip to the server and update the full table.
I am looking at incorporating javascript on each row
Subject: Re: XTile minor bug
>Date: Sat, 9 Apr 2005 11:59:00 +0300
>
>Hi,
>
>Thank you for locating this. I have placed a newer version of XTile that
>addresses this problem :). Please see T-Deli (www.t-deli.com) .
>
>Best regards,
>-mb
>
>- Original Message -
I have used the XTile component and am impressed with it (most useful and
easy to use).
I think I have found a minor bug that can be worked around but is probably
best fixed in the original javscript component code.
If a parameter is "" (i.e. an empty String) and passed to the javascript
recei
83 matches
Mail list logo