Tapestry's stronghold is the server side. What I really like to see is a
well defined structure and JavaScript API so that we can use it to enhance
the client dynamics by handcrafted javascript or by integrating other Ajax
tools. For example, I can not find any document on how to customize the
clie
Have you tried specifying an interface in ?
In your case, you need to specify an interface for
service StitchFolderHolder.
When the interface attribute is not given, HiveMind
will default the interface attribute to (module's
package path) + service id.
Please see the
Looks there's two exceptions here: some underlying exception getting
obscured by some other error generating the exception report. Have you
customized exception reporting?
On 2/9/06, Raul Raja Martinez <[EMAIL PROTECTED]> wrote:
> Hi I'm getting a Null pointer exception when I try to activate one
That seems reasonable enough, but I'm not sure I understand your meaning in
relation to adding more scripting support.
Have you seen the @Script component (which the DatePicker uses) ? I don't
think I've seen a web framework that provides more scripting support than
tapestry.
Regardless, I would
Or it might be placed behind Apache server and mod_proxy, mod_rewrite and
mod_rewrite_html could be used to do the trick.
I just did this for Struts application but id does not matter:
Please note that on sandbox LoadFile might look like this:
LoadFile /usr/lib/libxml2.so
BaseTagWriter, I guess.
Or, I think that I saw somebody posted on this list: configure tomcat for
reverse proxy. That may work for you.
On 2/10/06, Stijn Christiaens <[EMAIL PROTECTED]> wrote:
>
> Hello list,
>
> I have a question that can be answerred by setting some Hivemind
> property somewher
Create your own service that will return your graphic right away.
On 2/10/06, Rob Dennett <[EMAIL PROTECTED]> wrote:
>
> I am generating some jpegs that I send to the client in a JSP app. The
> graphic isn't stored on the server at all, just written to the output
> stream. I was trying to figure
We had a problem of disabling DatePicker field in javascript. Although the
input can be disabled, the calendar link can not. That gives some weird
feeling. We finally make it disabled with JavaScript, but it may not be
future-proof. It may not work if Tapestry changes how the DatePicker
renders.
I
Something immediate comes to mind. When you have the NVL() function call,
why not simply use 'column is null'. Using NVL(), the non-null value will
still be evaluated and then checked for equality where as a simple 'is null'
test will satisfy the condition.
So remove all the "NVL(someColumn, 'N')
I am generating some jpegs that I send to the client in a JSP app. The graphic
isn’t stored on the server at all, just written to the output stream. I was
trying to figure out the T4 equivalent of this and I came up with dynamically
generating an asset, but it seems like that would require wri
Yes. It's not complete, but what exists is up to date for Tap 4.
-= Mat
On 2/10/06, Wayland Chan <[EMAIL PROTECTED]> wrote:
> Have the user guide and quick start documents on the website been updated
> completely for Tapestry 4?
>
> http://jakarta.apache.org/tapestry/UsersGuide/index.html
--
Whoa, that is one crazy query!!!
On 2/10/06, Patrick Casey <[EMAIL PROTECTED]> wrote:
>
> Good god man, you've got like 5 levels of nested subqueries in
> there! No *wonder* this things slow. Without seeing your data model I can't
> make any specific suggestions, but I'd really recommend y
Good god man, you've got like 5 levels of nested subqueries in
there! No *wonder* this things slow. Without seeing your data model I can't
make any specific suggestions, but I'd really recommend you sit down with
your Oracle DBA and look at other, more efficient retrieval strategies.
This is the query:
SELECT PTI.PARTY_ID AS "CUSTID",
PTI.CMA_CUSTOMER_NUMBER AS "CUSTNUM",
PTI.SOURCE_ID AS "CUSTSOURCE",
PTI.PARTY_CLASS_CD AS "CLASS",
(SELECT CMAPSV.STATUS_VALUE
FROM type3 CMAPS,
type4 CMAPSV
WHERE PT
I have a singleton pojo that I am trying to manage with hivemind and want
to inject this pojo into engine services, components, pages, etc...
The POJO is not an interface, but I can create one if necessary. I added
the service point/set object (found below) to my libraries hivemodule.xml
and it
Thank you,
this worked, but I have another small problem:
inside my jar I have a component that refers to this page, I should not
know which name the library should have, so which should be the page
attribute of the pagelink component ?
Thanks,
kiuma
(p.s.: I'm developing a menu tha is config
Hi,
I am using custom exception page in my application and i am trying to
call the restart
service whenever any exception occurs and redirect to a specific page
after restart.
I am getting an error saying that session is already invalidated. Here
is the code i
am using to call the restart servi
I have a contrib table that is wrapped in a form. The form has a
column that contains three checkboxes. I can't seem to figure out how
to get the correct value of the checkbox when the form is submitted.
I am only getting the last value in the list.
Here is my page code:
/** Form submit
I agree, it is indeed harder when you can't use annotations. Well, the
getVisit() method still works so you can still use it in your application.
Maybe when it's time to migrate to the next Tapestry major release you can
also migrate to Java 5 and then use annotations.
Cheers
Hugo
On 10/02/06, G
In my page specification, I have:
1. a property xType
2. a PropertySelection component which use the Simple String model
3. binding the value parameter of PropertySelection to the property xType
Also, I have this method in my page class:
public abstract String getXType();
Then I got this exception
Unfortunately, there is a serious limitation as to what you can do with Ajax in
portlet mode: you can't generate any portlet url with the AjaxDirect service.
The reason being that AjaxDirect does not and cannot use the PortletLinkFactory
(since it operates in servlet mode). This is a limitation
Hello all,
I have a custom Border component that is used to generate a navigation menu.
A snippet from Border.html is as follows :
Home
Quotations
When the user clicks on
Have the user guide and quick start documents on the website been updated
completely for Tapestry 4?
http://jakarta.apache.org/tapestry/UsersGuide/index.html
I'm glad you brought this up, because I'm indeed not using Java 5, I'm hosted
on Websphere 5 which is a 1.4.x java environment.
Greg
-Original Message-
From: Gentry, Michael (Contractor) [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 10:27 AM
To: Tapestry users
Subject: RE:
Actually, it's not so simple if you are using Java 1.4.2 ...
You can use the XML injection in your MyAppBasePage.page, but it will
not inherit (only the annotation version will inherit). And for an
application that has a lot of pages and is session-based, it gets far
uglier that getVisit(). I ag
How cool! I love hivemind sometimes :)
On 2/10/06, Raphaël Jean <[EMAIL PROTECTED]> wrote:
>
> I was able to use the Autocompleter component in portlet mode. The trick
> is to set the tacos.AjaxDirect service to not use the infrastructure
> LinkFactory but to use the servlet LinkFactory (the one u
Hello Greg,
at first I thought the same thing. Because getVisit was always available
and the injection of an ASO is not.
But in reality it was nice and easy. Just add an entry to the xml
configuration for a new ASO and create a MyAppBasePage which holds the
injected ASO, let all my pages extend th
getVisit was a nice simple way to get an object associated with that session,
which could contain other objects.
Now, it would appear I need to get into configuring hivemind, adding a property
specification to every page and adding abstract get/set methods to every page?
For my uses it seems a
I think they are great. What don't you like about it ?
On 10/02/06, Greg Cormier <[EMAIL PROTECTED]> wrote:
>
> Hmm I see. These ASO's look ugly :( getVisit was nice and simple for me.
>
> -Original Message-
> From: Hugo Palma [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 10, 2006 9:3
Hmm I see. These ASO's look ugly :( getVisit was nice and simple for me.
-Original Message-
From: Hugo Palma [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 9:38 AM
To: Tapestry users
Subject: Re: getVisit is deprecated?
That method being deprecated is a way of saying "don't us
That method being deprecated is a way of saying "don't use the old ways,
join the evolution" :o), which in turn means that now you should define ASO
as you like and give them the name you like. See more here
http://jakarta.apache.org/tapestry/UsersGuide/state.html#state.aso
Cheers
Hugo
On 10/02
Hi:
AFAIK you can put your session objects in your .page or into your java
archive as an annotation
@Persist("session")
//Here your public abstract property (or whatever)
This is on the Tap 4 docs and into the Kent's book if you want futher
information (http://www.agileskills2.org/EWDT/)
B
I checked the Javadocs and there's no nice "use abc instead" :)
What's the new way to retrieve your visit object?
Thanks,
Greg
--
public java.lang.Object getVisit()
Deprecated.
Returns the visit object obtained from the engine via
IEngine.getVisit(IRequestCycle).
Specified by:
Raul,
>> How are you saving the order in the session,
Well in my CreateOrderPage class I have a method :
public abstract Order getOrder();
and in my CreateOrder.page I inject the property using :
>> are you using T4 or T3?
Using T4
>> Are you using a ASO definded in hivemodule.xml to declare
Write your own validator.
More information here:
http://wiki.apache.org/jakarta-tapestry/CreatingCustomValidators?highlight=%28validator%29
Fabiano Choueiri wrote:
Hi all,
I am using a javascript to format currency.
In my country the currency format uses ',' to
Hi all,
I am using a javascript to format currency.
In my country the currency format uses ',' to separete decimal values.
Ex: 125,56
The problem is that I am using a validfield bound to a numbervalidator
of type='java.lang.Double'
and it is not
Hi!
I'm tring to render component body, inside another component.
There is a part of HTML code that replies in few components on my web so
I've put it in
separate component "BaseComponentRender".
The problem is that I don't see HTML code generated by BaseComponentRender
component...
BoxPasspo
Hello list,
I have a question that can be answerred by setting some Hivemind
property somewhere in the hivemodule descriptor. Now only to find where.
I would like to use url forwarding with Tapestry. The forwarding is up
and running and points to the root, eg. www.myapp.com ->
mypcsomewhere.somed
I was able to use the Autocompleter component in portlet mode. The trick is to
set the tacos.AjaxDirect service to not use the infrastructure LinkFactory but
to use the servlet LinkFactory (the one used to generate resource links like
assets):
instead of:
This works in both normal (
This is for T4 right?
To use a bean you need to use $name for a bean.
http://jakarta.apache.org/tapestry/UsersGuide/validation.html
so:
validators:$myCustomValidator,required should work.
- Original Message -
From: "Aleksej" <[EMAIL PROTECTED]>
To: "tapestry-user"
Sent: Friday, Feb
Arnold,
This has been reported as issue TAPESTRY-855
(http://issues.apache.org/jira/browse/TAPESTRY-855)
One way to fix this is to modify the PortletRendererImpl service so that it
handles PageRedirectException. The code for handlePageRedirectException() is
stolen from AbstractEngine.
Hope th
Hi!
I have my own validator which checks database and I want to mix it with
default
"required" validator ( or any other including my own ).
Syntax like that is not working:
I tried various combinations but with the same result.
Is it possible at all?
alright, again. version 2
I reviewd the documentation on annotations and simplified the .jwc
I still want to know how to add a component to a library without a jwc file?
Fernando Padilla wrote:
Alright, I had reason to stay up anyhow.
Attached is a version of a NameLink component that takes a
Alright, I had reason to stay up anyhow.
Attached is a version of a NameLink component that takes a name
parameter. Tapestry 4. I've tested this component only on
linux/firefox at home, but the same technique has been working on our
site for the last few months; I'll test this component out
44 matches
Mail list logo