Ok, I got where the problem is.
When you use the tools to create a new project, everything seems to be set
correctly, except the following two files:
BusinessIntegrationTestSuite.java and the BusinessUnitTestSuite.java. They
for some reason still use the default package:
com.acme.yourapp.business
I should add that
> SimpleRequestWrapper fakeRequest = new SimpleRequestWrapper(request,
> link.toAbsoluteURI());
comes from ComponentEventLinkEncoderMethodAdvice#rewriteIfNeeded
On Mon, Feb 1, 2010 at 9:20 PM, Josh Canfield wrote:
> Ok, I found the problem.
> The form action is created like so
Ok, I found the problem.
The form action is created like so:
void beginRender(MarkupWriter writer)
{
Link link =
resources.createFormEventLink(EventConstants.ACTION, context);
It then pulls the query parameters from the link and sticks them into
hidden fields. The problem is that when
On Mon, 01 Feb 2010 23:44:09 -0200, Jonhy Pear
wrote:
Hi again,
Hi!
Component page = componentSource.getComponent(pageName);
Try using getPage() instead of getComponent().
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and in
Hi again,
I'm trying to intercept the pages that are requested in order to add some
security has explained by Howard here:
http://markmail.org/search/?q=tapestry%20authorization#query:tapestry%20authorization+page:1+mid:pyjcj7coe253bkcd+state:results
However I'm getting an IllegalArgumentExcepti
Thank you Thiago and Howard for the quick responses.
@Thiago, I just though to customize things to have the name of the
application, but I don't really have a good reason to change the name.
Regards,
JP
On Tue, Feb 2, 2010 at 12:21 AM, Howard Lewis Ship wrote:
> The archetype generates a log4j
The archetype generates a log4j.properties configuration file as well.
I can't think of why renaming the filter would change things, though
it would prevent your AppModule from being loaded (you have to rename
it to match the filter) ... perhaps you are missing some of the
logging there, rather tha
On Mon, 01 Feb 2010 22:09:01 -0200, Jonhy Pear
wrote:
Hi,
Hi!
anythingApp
org.apache.tapestry5.TapestryFilter
anythingApp
/*
The default module name is based on the filter name. You should rename
AppModule to AnythingAppModule for it t
Hi,
I started a T5.1 app with maven archetype. I can use the Logger just as
expected :
private static final Logger LOG = LoggerFactory.getLogger(AppModule.class);
LOG.debug("Something")
...
The logs get into the console of jetty as expected.
But if I change the name of the filter in Web.xm
Did anyone try the "create fresh project" in the jumpstart?
I just did it and it was great to use!
I only have one problem -- I get the "Errors in workspace" window saying
"errors exists in project myapps, proceed with launch?" when "run
configuration". However, if I proceed, I can actually access
You can also override the element's editor by adding a name="yourElementName"> and then conditionalizing whether to have an
input field or a display field. I use this technique for editors that
allow only some people to edit some fields.
Norman Franke
Answering Service for Directors, Inc.
www
Just for the record:
This is related to IE6 in Wine not being installed with ActiveX by default. If
you use ies4linux to install IE6 in Wine on linux, all the AJAX stuff works
again.
Regards
Moritz
Am 01.02.2010 um 13:53 schrieb Moritz Gmelin:
> Hi,
>
> I just discovered that the standard I
On Mon, 01 Feb 2010 14:54:16 -0200, Jagadesh Paladugula
wrote:
But I couldn't find solution for Bean Edit Form customization for which I
posted the query. Help me with a good example which solves a complex
customization use case of Bean Edit Form.
Provide the BeanModel (model parameter) you
Thanks a lot. This link has good set of examples Good one to start with.
But I couldn't find solution for Bean Edit Form customization for which I
posted the query. Help me with a good example which solves a complex
customization use case of Bean Edit Form.
Thanks in advance.
Regards,
Jagade
On Mon, 01 Feb 2010 14:30:17 -0200, Matt78 wrote:
Hy,
Hi!
I'm writing a mixin which schould copy the text inside one component to
another component on a page unsing javascript.
My question: How can I use a component as a parameter, because i need
from both comopnents the id.
You can inj
Hy,
I'm writing a mixin which schould copy the text inside one component to
another component on a page unsing javascript.
My question: How can I use a component as a parameter, because i need from
both comopnents the id.
Both components exists in different zones.
thx
--
View this message in
Hi,
You have to find what is failing on the client side. If a submit action
refreshes the whole page, this means that the zone has not been initialized.
So i guess firebug or any other tool should help you.
Also, you may use class="t-zone-update" on the element that must be
refreshed by the zone,
Hi Jagadesh,
on this webpage
http://tapestry.apache.org/tapestry5/guide/beaneditform.html you can
find some simple examples for a beaneditform.
There is also one point about using a custom model or modifing the
exisiting, that's what you need.
Another great source for examples is this one:
Hi,
I just discovered that the standard InPlace Grid seems to be broken with IE 6
(T5.1.05)
http://tapestry-test.appspot.com/inplacegriddemo
Well at least with my IE6 that I run on Linux with Wine to test our application
compatibility.
Is this an issue with IE6 in Wine or is it a known proble
Want to add one more simple use case
Want to disable some fields in edit mode and enable in create mode
Regards,
Jagadesh
On Mon, Feb 1, 2010 at 6:11 PM, Jagadesh Paladugula <
jagadeshpaladug...@gmail.com> wrote:
> Hi Everyon
>
> I have started using Tapestry5 recently in our project. I ne
Hi Everyon
I have started using Tapestry5 recently in our project. I need help
regarding Bean Edit Form.
I have a use case where I want to show some fields in create mode and hide
the same fields in edit mode (this just for an example).
I have fulfilled the requirement with out use of Bean Edit
Yes, this is what I have:
public String getZoneId() {
return draftPick.getPackNumber() + "_" +
draftPick.getPickNumber() +
"Zone";
}
Giving all of my zones id's like this 1_7Zone
I've also tried removing the t: prefix from the zone parameter, this seems
to m
Normally that happens when zone and form aren't set up correctly on the client side, e.g. due to
inconsistent IDs.
Did you try as Christophe suggested? Replace t:zone="${zoneId}" with t:zone="prop:zoneId" (same for
the id parameter of zone). Does that help?
Uli
On 01.02.2010 12:15 schrieb le
Ah! this seems to have got to the root of the problem. Request.isXHR() is
returning false. I understand that this method is looking for the presence
of an Http Header called X-Requested-With with the value XMLHttpRequest.
Snooping the request I notice that this has not been set. How does this
h
On Mon, 01 Feb 2010 06:29:14 -0200, lebenski wrote:
I have a loop that contains a form and a zone. In each iteration of the
loop, submission of that form should update it's relevant zone:
...
...
I would create a simple component wrapping
On 29 January 2010 17:47, Thiago H. de Paula Figueiredo
wrote:
> Inject FieldValidatorSource and use its FieldValidator
> createValidators(Field field, String specification) method to generate a
> FieldValidator. Then create a FieldValidator getValidator() method using
> createValidators() and add
You should @InjectComponent private Zone otherCommentsZone and return otherCommentsZone.getBody()
from your onSuccess handler method after checking whether this is a XHR request (@Inject Request and
do request.isXHR()).
Uli
On 01.02.2010 09:29 schrieb lebenski:
I have a loop that contains a
Hi
I don't know if it's the cause of your problem, but you should avoid to use
${} for parameter values, use prop: binding instead.
Best Regards,
Christophe
Developer of wooki @wookicentral.com
2010/2/1 lebenski
>
> I have a loop that contains a form and a zone. In each iteration of the
> lo
I have a loop that contains a form and a zone. In each iteration of the
loop, submission of that form should update it's relevant zone:
...
...
Object onSuccessFromPickCommentForm(DraftPick draftPick) {
createPickComme
if you rewrite the URL you have to take care of the context
yourself.
you could use the PageRenderLinkSource service to
create a Link with the desired context and return the
generated url :
Link link = pageLinkSource.createPageRenderLinkWithContext(
DocumentExportPage.class, "my","cont
Thanks - got this working!
Thiago H. de Paula Figueiredo wrote:
>
> On Sun, 31 Jan 2010 16:09:11 -0200, lebenski wrote:
>
>> Hi,
>
> Hi!
>
>> This is my code:
>>
>>
>> ...
>>
>>
>>
>>
>> I'm obsering that submitting this form does not fire
>> onSuccessFromPickCommentFo
31 matches
Mail list logo