I request the /index.updatemsg and get a json data, the
onActionFromUpdateMsg() method works fine!
but i request the /index:updatemsg, it response as /index!
Is this new in t5.06?
How can i get a url like /index.updatemsg??
Thanks!
2007/10/12, lasitha <[EMAIL PROTECTED]>:
>
> AFAIK, there's nothin
AFAIK, there's nothing wrong with using a colon within the path of a URI.
Do you know of any problems with this? Its been working so far...
Perhaps i'm missing the point?
On 10/12/07, Donyee <[EMAIL PROTECTED]> wrote:
> The colon (:) "/index:updatemsg" is not a uri,
> how could i get a "/index.u
The colon (:) "/index:updatemsg" is not a uri,
how could i get a "/index.updatemsg"?
2007/10/12, lasitha <[EMAIL PROTECTED]>:
>
> Umm, looks fine to me...
>
> According to the createActionLink javadoc[1], it creates "... a
> component action request link as a callback for this component." So
>
Umm, looks fine to me...
According to the createActionLink javadoc[1], it creates "... a
component action request link as a callback for this component." So
in this case, your component is the Index page, and your action is
'updateMsg'. Tapestry uses a colon (:) to indicate an action as
opposed
I use T5.06 snapshot !
2007/10/12, Donyee <[EMAIL PROTECTED]>:
>
>
> Here is my code:
> Index.java
> @Inject
> private ComponentResources resource;
> public String getUpdateLink() {
> Link link = resource.createActionLink("updateMsg", true);
> return link.toURI();
> }
>
> and in Index.tml:
> ${upd
Here is my code:
Index.java
@Inject
private ComponentResources resource;
public String getUpdateLink() {
Link link = resource.createActionLink("updateMsg", true);
return link.toURI();
}
and in Index.tml:
${updateLink}...
It displays "/index:updateMsg", it should be "/index.updateMsg"!
Is this a b
I'm just giving the standard response for this problem, though I don't
know if T4 has changed such that a different solution is possible.
http://thread.gmane.org/gmane.comp.java.tapestry.user/23236/focus=23293
For instance, maybe you need to use "ognl:tableSource" in your template
depending on th
Hello Michael, you may find this thread useful:
http://www.nabble.com/-T5--Restricting-Page-Access-tf4325658.html
tapestry5-acegi uses a combination of annotations and contributions to
the RequestHandler pipeline[1]. You may actually only need the
latter.
Cheers,
lasitha.
[1] http://tapestry.ap
I have find the docmentent about hibernate .
but I still think you are a impatient guy .
lasitha wrote:
>
> MavenMan,
>
> Please do your own homework - most folks here will gladly give of
> their time to help, but we do ask that you _at least_ go over the
> basic documentation first :). Mor
MavenMan,
Please do your own homework - most folks here will gladly give of
their time to help, but we do ask that you _at least_ go over the
basic documentation first :). Moreover, your question is really not
relevant to T5.
Hibernate/JPA Annotations documentation can be found here:
http://hibe
I just code:
binder.bind(CompanyDAO.class,CompanyDaoImpl.class);
@Inject
private CompanyDAO dao
then call dao.method ,but
org.apache.tapestry.internal.services.TransformationException: Error
obtaining injected value for field com.myspacce.pages.Start.dao: No service
implements the interface
but how to specify the relation of the pojo using relationships ?
can you give me examples of one to many and one to one ?
thank you !
Angelo Chen wrote:
>
> you can specify the relationships in the pojp's annotation
>
> MavenMan wrote:
>>
>> you know that there is no need to have a hiberna
>
> if I have an attribute, I should use a setter to assign it? like this:
>
Hmm... looking at javassist, it looks like there is the ability to modify
field level access within a method. Perhaps, if changing to the setter
worked then this should be filed as a defect, if it isn't already.
Josh
On
> How do you integrate tapestry source step/debugging into eclipse?
You tell eclipse where the source to the jar is by attaching it in the build
properties dialog under libraries. You shoudl then be able to pull up any of
the tapestry classes in eclipse and see the source.
When I set a breakpoin
Hi,
You are correct. this does bring up a question:
if I have an attribute, I should use a setter to assign it? like this:
private String id;
void onActivate() {
id = "myid"; // wrong
setId("myid"); // correct ?
if (id == "myid"); // wrong
if (getId() == "myid"); // correct?
Looking at it Acegi seems a little overkill for what I want to do I think. I
just want a hook into the request pipeline that allows me to check a user's
session validity. From what I can tell from Acegi, there are a lot of other
concerns and packages that it worries about. Our authentication sys
Josh,
I checked out 4.1.3 and built/deployed/installed it to my local repo.
Then I re-generated all the eclipse projects for this 4.1.3 tapestry and
imported them into my workspace.
How do you integrate tapestry source step/debugging into eclipse?
When I set a breakpoint on a source module,
Looks like they're doing the Atlassian thing...
http://www.zeroturnaround.com/blog/javarebel-for-open-source-
development/
Robert
On Oct 11, 2007, at 10/111:55 PM , andyhot wrote:
Oh, that... well, i guess I wouldn't need more than a single seat ;)
And who knows, perhaps there'll be an ope
Thanks James,
That seems like a viable concern (parameter names versus component id's). I
segregated them by postpending PARM to all my parameter names. No relief so
I am kinda stuck.
My headerSelect's component gets changed but clobbered by my
foote
Folks,
In T-4.1.3, is there support for components to auto update each other onChange?
text, select, radio ?
For instance, 2 select components modeled identically with @Block and rendered
with @RenderBlock (how can one update the other onChange?)
Best regards
Ken in nashua
___
Oh, that... well, i guess I wouldn't need more than a single seat ;)
And who knows, perhaps there'll be an open source alternative soon enough!
Mark Stang wrote:
I believe it is a per seat license.
Buy a License
All orders are processed manually within 2-3 business days. Licenses are made
a
I believe it is a per seat license.
Buy a License
All orders are processed manually within 2-3 business days. Licenses are made
available on successful receipt of payment. Invoice will be sent via email or
faxed if requested.
Payment process is handled by moneybookers.com. If for any reason yo
Mark Stang wrote:
For JavaRebel, take a look at the licensing...
meaning ???
Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity
-Original Message-
From: Andreas Andreou on behalf of andyhot
Sent: Thu 10/11/2007 8:16 AM
To: Tapestry users
Subject: Re: Fwd: Googl
For JavaRebel, take a look at the licensing...
Mark J. Stang
Software Engineer
office: +1 303.468.2900
Ping Identity
-Original Message-
From: Andreas Andreou on behalf of andyhot
Sent: Thu 10/11/2007 8:16 AM
To: Tapestry users
Subject: Re: Fwd: Google Alert - "Tapestry 5"
Man, this JU
Attempts to model the solution below using @Persist in the JAVA defaulting to
session never worked.
Best regards
Ken in nashua
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: RE: parameter binding broken in T-4.1.* - PROPERTYSELECTION
Date: Thu, 11 Oct 2007 12:40:18 -0400
Hi Ken,
Please hear this in a gentle guiding tone, but I have to agree with Nick
here. You posting every 10-20 minutes is going beyond annoying and starting
to feel like abuse. This list is not populated by a hoard of support staff
that are standing by waiting for your next communication. I assume
Attached is the markup. It indicates no collision on ID's.
The actual select ID for the header Block is taken from the JWC file.
Subsequent select ID modeled for subsequent RenderBlocks of the same Block are
auto-generated.
So it remains a mystery as to WHY one is updating the other when both
Check out the hibernate forums/documentation. This mailing list is for
Tapestry questions.
http://www.hibernate.org/
Josh
On 10/11/07, MavenMan <[EMAIL PROTECTED]> wrote:
>
>
> you know that there is no need to have a hibernate map file(.hbm.xml) in
> project.
>
> but how to represent the relati
>
> even i set uid to null, it is still not null next time when the page is
> activated, why? what's the correct way of setting a persisted variable
> null?
>
I would guess that the right way to do it would be to use the setter method
for the attribute. I haven't looked, but I would guess that Tap
>
>@Inject
>@Service("CompanyDAO")
>private CompanyDAO dao;
>
This should just be:
@Inject
private CompanyDAO dao;
Josh
On 10/11/07, MavenMan <[EMAIL PROTECTED]> wrote:
>
>
> now I want to know how to inject service to page class .
> after I add this in AppModule :
> bin
>
>
>${company.name}
>
>
>
> the error is :Failure writing parameter value of component Start:loop:
> Expression company for class com.myspacce.pages.Start is read-only.
>
Tapestry is telling you that it can't set the value of the company property
in your page. You
Well I finally got something to stick...
I eliminated all references from Home.html since these parameters are self
contained inside Gallery widget... why pollute the upper level container
component and violate separation of concerns anyway.
But this solution is flakey. I change the
>
>
> I have fetched a record set from database.but now I want to only one
> record .
> so I code :
>
This is a Hibernate API question. You aren't actually performing the query
until you call list(), scroll(), iterate() or uniqueResult()
http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Query
An exception has occurred.
You may continue by restarting the session.
[ +/- ] Exception:
A binding for parameter 'value' of component
Home/galleryWidget.tableSizeSelect in the template for
Home/galleryWidget conflicts with an existing binding in the
specification.
Hi,
I can't find my beans !!! I try to get them from another jar. I found
the config files, the Spring logs seems OK, but when I inject my DAO,
exception !
here's my pb :
* java.lang.ClassNotFoundException
caught an exception while obtaining a class file for
org.atlog.mjweb.pages.
Hi all,
The T5 docs say
(http://tapestry.apache.org/tapestry5/tapestry-core/guide/mixins.html)
that it is possible to bind mixin parameters in the template, but no
examples are given. I haven't been able to get this to work
(5.0.6-SNAPSHOT). I've tried:
t:TextMonitor.test="hello"/>
t:textmo
An exception has occurred.
You may continue by restarting the session.
[ +/- ] Exception:
Unable to update OGNL expression '' of
[EMAIL PROTECTED]/galleryWidget] to 2: Binding with value 1
(StaticBinding[1]) may not be updated.
org.apache.t
An exception has occurred.
You may continue by restarting the session.
[ +/- ] Exception:
Unable to parse OGNL expression '(index % tableSize) == 0': For
input string: "tableSize"
org.apache.tapestry.BindingExce
Man, this JUSTS works!
Exactly what i / we need for T4.1...
Bill Holloway wrote:
Hinting at a better way to reload.
Bill H. Austin
-- Forwarded message --
From: Google Alerts <[EMAIL PROTECTED]>
Date: Oct 9, 2007 5:23 PM
Subject: Google Alert - "Tapestry 5"
To: [EMAIL PROTECTE
Hi Nick,
Attached is my Home.html... Home.java
The other modules are original as posted yesterday the same. I basically
specified the parameter bindings in the template at the widget definition.
The select component keeps punching back to 1 when I attempt to change. I even
added getter/setter
Nick,
Prior attempts to specify
tableSize="tableSize">
inside Home.html caused NumberFormatException because the rendering cycle was
acting on the text above in my arithmetic condition.
I am giving it a try now...
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subj
Thanks Nick and for the observations I will take notice.
I am pioneering a gallery and could not find one anywhere surprisingly.
Thanks for your response... I tried that specifying parameters in the Home.html
template like you posted. Are you saying I need additional getter/setter with
@Persis
Hello,
i have an ActiveX-Component which function is to show special images. The
size of the images is between 100-200MB. The images should be somewhere on
the server, e.g. /images/imagea.ndi. With Tapestry i think i can easily
control the ActiveX, but i don´t know how to handle it with the image
A Sample Application In Tapestry 5.0.5 with Hibernate 3.2.2 ga Spring 2.0
This is a sample Apllication of Tapestry 5.0.5
Create Vehicle
VehicleId:___
Vehicle Name:___
Login
When ever we click on the login button data will be inserted on the Table
VECHILE_MASTER
P
Francois Armand wrote:
Wow ! I think this great mail should be put into the HowTo page :
http://wiki.apache.org/tapestry/Tapestry5HowTos.
Thank you for the contribution :)
OK, I should check before writting : it *is* on HowTos :
http://wiki.apache.org/tapestry/OnSubmit
Sorry for the noise;
-
Sadhana Reddy wrote:
This is a sample Apllication of Tapestry 5.0.5
[]
Wow ! I think this great mail should be put into the HowTo page :
http://wiki.apache.org/tapestry/Tapestry5HowTos.
Thank you for the contribution :)
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora -
This is a sample Apllication of Tapestry 5.0.5
Create Vehicle
VehicleId:___
Vehicle Name:___
Login
When ever we click on the login button data will be inserted on the Table
VECHILE_MASTER
Project Structure:
src
|
_ com.btp.vms
|
I have been thinking about how to go about implementing a 100%
database-driven solution for localized property selection items.
The only solution that comes to my mind is to use the locale files
and to select "constants" that are mapped to them.
Has anyone ever had the same idea to use a pure dat
you can specify the relationships in the pojp's annotation
MavenMan wrote:
>
> you know that there is no need to have a hibernate map file(.hbm.xml) in
> project.
>
> but how to represent the relation of the pojo ?
>
--
View this message in context:
http://www.nabble.com/T5%3A-the-relation
you know that there is no need to have a hibernate map file(.hbm.xml) in
project.
but how to represent the relation of the pojo ?
--
View this message in context:
http://www.nabble.com/T5%3A-the-relation-of-t5-pojo-tf4606036.html#a13152233
Sent from the Tapestry - User mailing list archive at
Hi Ted,
Yes, I did look at hibernate-search, in fact the very first full-text
search implementation in Trails was based on the first implementation
of hibernate-search. At that time it came bundled with
hibernate-annotations.
Then I moved to Compass because its integration with spring. Among
other
Hi,
I have this class:
public class Confirmation {
@Persist
private String uid;
public Class onActivate(String id) {
if (uid == null) {
uid = id;
}
return null;
}
public String onPassivate() { return uid;}
String onActionFromAutoLog
now I want to know how to inject service to page class .
after I add this in AppModule :
binder.bind(CompanyDAO.class,CompanyDaoImpl.class)
and add
@Inject
@Service("CompanyDAO")
private CompanyDAO dao;
in page class.
but it seem to be wrong !
can you help me ?
do you have the hibernate libraries in your classpath?
lasitha <[EMAIL PROTECTED]>
11.10.2007 09:14
Bitte antworten an
"Tapestry users"
An
"Tapestry users"
Kopie
Thema
Re: how to use ioc of t5 ?
In my setup i've got all my hibernated classes in the 'entities'
package - which is auto
thank you very much! I make it out !
but a new problem is
http://www.nabble.com/T5%3Ahow-to-fetch-only-one-record---tf4605478.html
lasitha wrote:
>
> In my setup i've got all my hibernated classes in the 'entities'
> package - which is automatically picked up tapestry-hibernate - so
> i've not
In my setup i've got all my hibernated classes in the 'entities'
package - which is automatically picked up tapestry-hibernate - so
i've not had to make a contribution like this. I'm afraid i don't
have time to play with it right now either..., sorry.
As an experiment, you might try moving (some
Oh I see! thanks !!
My BreadCrumbs class needs to be an ASO which is needed by the
navigation component, it also requires ComponentResources. I was
injecting them (using @Inject and @ApplicationState)
So instead I should use InjectService("ComponentResources") in the
BreadCrumbsImpl constru
I have fetched a record set from database.but now I want to only one record .
so I code :
//page class
import com.myspacce.domain.Company;
public Company getCom()
{
_session=_sessionmanager.getSession();
return (Company)_session.createQuery("from Company wh
58 matches
Mail list logo