Hi,
I have a loop inside a form that renders a textfield and some other
controls. When I am doing cross field validations in the ValidateForm event
while iterating over a collection (the source of the loop), I would like to
record error messages against the form with the field in error to get the
What was actually the reason for not exposing Spring beans as Tapestry
services as of 5.1? I don't recall it anymore.
On Tue, Feb 1, 2011 at 11:20 PM, Alex Kotchnev wrote:
> The question of how to inject a Spring bean by ID is a regular on the
> mailing list . The documentation provides a reason
You can implement a custom GridDataSource that executes a count(*) query on the
# of items and returns that for "getAvailableRows".
Then select just the correct subset of items via the "prepare" method:
prepare(int startIndex, int endIndex, List sortConstraints)
From that method, you know the s
Hi,
I have a Grid that is bonded to a huge list - with hundreds of elements. The
thing is, I want to get only 25 elements from the database for each page of the
grid. But, if I do it, I lose the pagination links on the Grid because the page
count is equal to the size of the list. What's the co
The question of how to inject a Spring bean by ID is a regular on the
mailing list . The documentation provides a reasonable explanation of how to
inject spring beans or the context (
http://tapestry.apache.org/integrating-with-spring-framework.html), e.g:
@Inject
private UserDAO userDAO;
This sh
DK,
see http://tapestry.apache.org/integrating-with-spring-framework.html for
details on how to set up the spring application context in T5.
On how to inject the service into your page : injecting by ID from the
spring context doesn't work (hence the message that there is no service
named disp
Apologies... Web module is not an OSGi module. Other two App and JPA are OSGi
modules. Web is a traditional Java Web module having webapp folder and all
the configuratiion files.
I tried adding below settings to my web.xml but it gave me deployment error.
contextClass
org.eclipse.vir
These are three OSGi modules. Last Web module uses Tapestry.
JPA has a bean as:
and a service which is exposed to be consumed as:
Web module consumes this service as:
and uses it to create a bean in servlet:
I use this service to call the respective method in Index.java
@Inject
@Service(
The exception message in your screenshot tells your porbably the reason for
your problem. A service with id "dispatcher" is missing.
On Tue, Feb 1, 2011 at 3:25 PM, Duruk_Kab wrote:
>
> Hi,
>
> This appliation has three modules:
> 1) App
> 2) JPA
> 3) Web
>
> I have created a Service in JPA modu
Duruk,
when you say you have three modules, do you mean that you have three OSGI
modules or three Tapestry modules ? If these are OSGI modules, is the
service that you're trying to use in the web module made public for the
module (or whatever terminology OSGI uses for that). ?
It would proba
Hi,
This appliation has three modules:
1) App
2) JPA
3) Web
I have created a Service in JPA module and using that as a reference in Web
module. The files having these settings are as below:
JPA - T5OSGi-ref\org.example.T5OSGi.jpa\src\main\resources\META-INF\spring
Web - T5OSGi-ref\org.exam
Duruk,
you would have much more luck getting answers if you try to describe what
the issue is , what errors you're getting, etc. I'm not sure too many people
have the time to download/install Virgo (is this an app server ??), deploy
and debug your app.
Regards,
Alex K
On Tue, Feb 1, 2011 at 8:
Hi,
I am migrating my application which was based on OSGi framework from DM
Server 1.0.2 to Virgo.
Before it was using Spring 2.5.6.Instrumented library now it is using Spring
3.5 library.
I used to do below setting in my web.xml for Spring DM Server:
tapestry.use-external-spring-context
Am 01.02.2011 13:04, schrieb Ulrich Stärk:
src="${context:path/to/javascript">
This works great, thank you very much for the hint and read :)
Best,
Erik
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
You'd have to recursively build PropertyAdapters for all child propertys of the bean, something Grid
is not designed to do.
To achieve what you want isn't that hard though:
${car.engine.name}
Pay attention to the different semantics of add and include.
Uli
On 31.01.2011 23:02, M
You have to do it manually in your templates then:
read http://tapestry.apache.org/assets.html
Uli
On 01.02.2011 11:41, Erik Fäßler wrote:
Hey there,
I am trying to use the wz_tooltip.js with T5.2.4. With 5.0.18 there weren't any
problems, but with
T5.2.4 I get a JavaScript message when re
Hey there,
I am trying to use the wz_tooltip.js with T5.2.4. With 5.0.18 there
weren't any problems, but with T5.2.4 I get a JavaScript message when
rendering the page saying
"Tooltip Script Error Message:
wz_tooltip.js must be included INSIDE the body section, immediately
after the openin
17 matches
Mail list logo