I want to use junit to test my page class or html.How to do it?
Thanks.
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Thank your reply.
My class is asset,not page ,not component,not service.How to inject service?
Thanks.
Jun Tsai
在 06-2-6,Raul Raja Martinez<[EMAIL PROTECTED]> 写道:
> Hi Jun Tsai
>
> If the class where you want your service to be injected is not a page or
> a component you can't inject it using a
Hi Jun Tsai
If the class where you want your service to be injected is not a page or
a component you can't inject it using annotations.
If your class is another service you can get it injected declaring a
setter in your class that takes the interface of the service that you
want to inject as para
I generally create a mock for the IRequestCycle (using EasyMock), so havent run
into
this kind of problem.
>From what I can guess from the code, you try to initialize the Tapestry system
and have it along during the unit tests.
Are there any real benefits to this, instead of using mocks?
But an
Thank you.
I want to inject the service in an asset class.
Please look
tapestry\examples\Workbench\src\java\org\apache\tapestry\workbench\chart\ChartAsset.java
Thanks
Jun Tsai
2006/2/6, Shing Hing Man <[EMAIL PROTECTED]>:
> You can inject a service into your page :
>
> @InjectObject("engine-
You can inject a service into your page :
@InjectObject("engine-service:chart")
public abstract IEngineService getChartService();
where chart is a custom service defined in
hivemind.xml . Something like :
InjectObject i
hi all,
I find cycle.getEngine().getService(BlobService.SERVICE_NAME);
gerService method was deprected.I didn't find another method to get service?
How to ?
Thanks.
Jun Tsai
--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net
--
Hi everybody,
I have a problem with the validation messages in T4 and after
searching the archives without finding a solution to this problem
I hope someone on this list can help me:
The problem is that not all validation messages are localized
to German but I don't know how to override the defaul
Hi everybody,
I have a problem with the validation messages in T4 and after
searching the archives without finding a solution to this problem
I hope someone on this list can help me:
The problem is that not all validation messages are localized
to German but I don't know how to override the defau
Doh! I`m using border component and had not even though on that, sorry ;)
On 2/5/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> Most people use the Border component pattern for things like this. (the
> tacos demo has an example, so does the Workbench from tapestry)
>
> That's what I would do.
>
>
Most people use the Border component pattern for things like this. (the
tacos demo has an example, so does the Workbench from tapestry)
That's what I would do.
On 2/5/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:
>
> Hello there, is it possible to inherit some page components? for eg. All
> my
Hello there, is it possible to inherit some page components? for eg. All my
form pages has this fragment of code:
Thanks Kent for this in your book ;)
Well, I must copy and paste this in every page I have (at least is what I'm
doing now :P). Is it possible to use some kind of inheritance t
On 2/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Cant find a release of SWF having a functional Tapestry integration.
> Are you using their CVS version?
It appears they've removed all their tapestry files for the 1.0 release from
their HEAD branch. I guess this is confusing me. It seem
I currently do all authentication via apache2 (via mod_auth_pgsql2 module)
frontending tomcat applications.
Does anyone know if its possible within tapestry to pick up the user who has
logged in. I assume its via some environment variable, but I have scanned
what I think are relevent document
Mark, meta-refresh is something that I`m to avoid as it refreshes the entire
window, that`s the reason of AJAX buy being asynchronous
On 2/3/06, Mark Stang <[EMAIL PROTECTED]> wrote:
>
> Try using the meta-refresh...
>
>
> -Original Message-
> From: Vinicius Carvalho [mailto:[EMAIL PROTECT
I'm in the midst of upgrading Equinox (http://equinox.dev.java.net)
from Tapestry 3.3 to 4.0. With the 3.3 version, I had a
tapestry-mock.jar that I created from Tapestry's CVS, as well as an
AbstractInstantiator class that I found on Howard's site.
For the most part, the new Creator class is suf
Does the following wiki page still reflect the current/recommended way
of integrating Tapestry 4.0 with Spring?
http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring
I used something similar in my project. While it works - it doesn't
seem to be the "built-in support for Spring" that I'd suspec
Cant find a release of SWF having a functional Tapestry integration.
Are you using their CVS version?
>From Archie Cowan <[EMAIL PROTECTED]>:
> I've begun evaluating Tapestry for use in some applications that will make
> heavy use of multipage forms. I've gotten familar with the component
> conc
Check the page specificaiton and remove the class attribute. This is
overriding the meta key you specified. (The class attribute refers to
the *fully qualified* class name--not the class name.)
-= Mat
On 2/4/06, jeff emminger <[EMAIL PROTECTED]> wrote:
> great work!
>
> i must be doing something
I've started doing my multipage forms as single Tapestry pages with a
pageNum property to tell which page I'm on. For example,
Hi!
I have had problems lately with the fact that the DirectLink component
uses service parameters with all the same parameter names
(ServiceConstants.PARAMETER, that is, "sp"). This is in fact a problem
for me, as I have a servlet filter which wraps any request and puts all
the query string
I've begun evaluating Tapestry for use in some applications that will make
heavy use of multipage forms. I've gotten familar with the component
concepts, basic forms and validation with Enjoying Wed Development with
Tapestry (Excellent tutorial btw). I've found several conversations
regarding integ
Hi!
I figured out the reason for my ArrayIndexOutOfBoundsException when
clicking on the links (which are in fact DirectLink components) of the
contrib:Table component, in an attempt to either paginate or sort a column.
In my application I have a servlet filter which filters all incoming
requ
Inbaraj byteconsulting.co.in> writes:
> If i use the date picker and scroll down the image comes down
> throught the screen and can i not change the format as
> dd//mm//
Try:
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---
we use also property files for that, only they are out ot the tapestry
cycle, and are used by a layer between the business layer and tapestry -
this layer delivers (among others) models and names for localizeable
domain objects.
It seemed to us that this might be the better way to go also becaus
Dear all,
I have applied the FCKeditor to the Tapestry
TextArea component to enable the
content of the TextArea editable using FCKeditor.
It is not perfect. At the moment, for simplicity sake,
all the upload functions in FCKeditor are disabled.
Also the spell check is not working.
The sou
26 matches
Mail list logo