Ok Found the answer as to why this was not working.
This may be trivial to seasoned users, but a hard catch for a newbie.
For components, such as the Header we have been talking about, the .java file
AND the .tml file need to both reside in the components package. I had been
putting the .tml
problem solved, test should be:
test="isUS"
Angelo Chen wrote:
>
>
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-page-with-form-re-rendering-tf4656465.html#a13305697
Sent from the Tapestry - User mailing list archive at Nab
Hi,
I have a form like following, it sets a persisted variable(country) in the
page class, initially it includes "addressHK" component in the page, when
user choose 'US' and click submit, the page is supposed to be refreshed
withh addressUS component included, but it never happen, it seems page wa
Ok, still have a problem. No error, just no header rendered.
---
Here is my Header.java file:
package try.tapestry.components;
public class Header {
public Header()
{
}
}
Tapestry mandates a certain organization to your classes.
If you page class is org.example.pages.MyPage then your component class
(here, Header) must be org.example.components.Header. The .pages. and
.components. part is very specific to Tapestry, hard-wired into the
framework. Those are packag
I created the Header.java and I am getting the same error:
Unable to resolve 'Header' to a component class name
Here is my Header.java
public class Header {
public Header()
{
}
}
and my Header.tml
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
thanks for mentioning the difference. In my case a dropdown-change causes a
result-set to reload based on a new query which is shown as the main result
on the page. Since this almost means rendering the entire page again, there
isn't much difference between streaming the diference as Json or whate
your welcome;-)
i have a look it myself.
Josh Canfield-2 wrote:
>
> I haven't played with the client persistence strategy, but the
> documentation
> (
> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/persist.html)
> says "The field is persisted onto the client; you will see a
But i 1would point out that this is a good opportunity to clean up your
markup
Jesse Kuhnert wrote:
Sounds like it's just an OGNL bug. If you file it here I should be
able to fix it fairly quickly as it looks like something that'll be
easy to do:
http://jira.opensymphony.com/browse/OGNL
(th
Done
http://jira.opensymphony.com/browse/OGNL-130
Thanks,
Dom
Dom Couldwell
Global Markets Research
+1(212)250-7082
"Jesse Kuhnert"
<[EMA
Sounds like it's just an OGNL bug. If you file it here I should be
able to fix it fairly quickly as it looks like something that'll be
easy to do:
http://jira.opensymphony.com/browse/OGNL
(the fix will come in the form of a new 2.7.2-SNAPSHOT build off of
http://opencomponentry.com/repository/
Hi,
I'm migrating an existing project which uses 4.0.2 to use 4.1.2 and I'm having
and ognl / loop related issue.
Here's the snippet that works on 4.0.2
But under 4.1.2 it's giving me the error:
2007
hi josh, you can pass your own ValidationTracker with a persistence strategyof your choice to the form component using the tracker parameter. And the default tracker with session persistence will not be created.or you can create your own form component:http://www.nabble.com/T5%3A-refreshing-page-wh
For multiple select box you do a multiple and define size. Seems like there
is no way you can do a multiple select on a dropdown though.
Daniel Jue wrote:
>
> Look at the Palette or Enhanced Palette code.
>
> On 10/17/07, Daniel Jue <[EMAIL PROTECTED]> wrote:
>> I think you define a size variab
http://tapestry.apache.org/tapestry4.1/tapestry-archetype/index.html
I haven't tried it, though.
In case you need to find it again, it's on the T4.1 page, left-hand nav,
under "Modules".
--
Kevin
On 10/19/07 3:01 PM, in article
[EMAIL PROTECTED], "Daniel Ruiz"
<[EMAIL PROTECTED]> wrote:
> hel
Thanks Kalle,
I will take a look on Trails too, and sorry about the 'snapshot'. :D
[]´s
Daniel Andrade Ruiz
-Original Message-
From: Kalle Korhonen [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 3:46 PM
To: Tapestry users
Subject: Re: Tapestry 4.1.3 Archetype
Well, there's
Well, there's the Trails archetype that uses T4.1.3:
http://trailsframework.org/Quick+Start. And btw, 4.1.3 is released, not a
snapshot.
Kalle
On 10/19/07, Daniel Ruiz <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> is there anything like ' this ' for tapestry 4.1.3 snapshot?
>
> HYPERLINK
> "http://ta
hello,
is there anything like ' this ' for tapestry 4.1.3 snapshot?
HYPERLINK
"http://tapestry.apache.org/tapestry5/quickstart/"http://tapestry.apache.org
/tapestry5/quickstart/
Thanks,
[]´s
Daniel Ruiz
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version
I'd like to add a form component to my page, I haven't found a way to do it
without causing a session to be created when the page is first accessed. I'm
fine if a session is created when the user actually submits the form, to
handle validation etc. but some forms are rarely used and session overhea
I haven't played with the client persistence strategy, but the documentation
(
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/persist.html)
says "The field is persisted onto the client; you will see an additional
query parameter in each URL (or an extra hidden field in each form).
The whole point of AJAX is not having to return the whole page. You just
want to return the part of the page that needs updating. If selecting a
field in a drop down is supposed to add a dependant drop down (choose a
country changes possible address fields for instance), then you only return
enough
Egregious? That demands and answer and perhaps an apology.
Firstly, try porting and app from Weblogic Portal 8 to Weblogic Portal
9. It has conversion tools, but it's not compatible without up-
conversion. Upconversion doesn't count.
Then think of eclipse and the plugins geared for such.
I know from a "user" perspective I'd like to have things be able to
default all the way out to symbol / global properties file definitions
when developing libraries and such if possible
There may be some performance or other internal framework decisions /
reasoning behind it but I started to s
So right now I have a situation where I need my library to provided some
default values for some things it provides. The natural place for this
seems to be FactoryDefaults. The problem is that certain things are only
looked up in the component messages when determining defaults and it
doesn't appea
Hi,
So I'm wondering if this is possible, and if not, has this been
thought of? I'm wanting to add a variable list of parameters to a
component, because it can take an arbitrary number of them and loop
overthem. So I'm looking at something like this.
A.tml
blah content 1
Thanks A LOT!
Exactly what I was looking for - works great!
Malin
On 10/18/07, Ulrich Stärk <[EMAIL PROTECTED]> wrote:
>
> Malin Ljungh schrieb:
> > Hi all,
> >
> > I've got some annoying stack traces in my log from bots, primarily a bot
> > called LiteFinder but also Googlebot. (the LiteFinder s
We have a T3 and a T4 Appliaction in production
and hopefully will start a T5 development soon.
I do not see a real big problem in this versions not beeing
compatible.
I also think you compare different kind of beasts if you compare
Websphere with Tapestry.
It's more like EJB 2.x to EJB 3 - and
That is an incredible statement! There have been numerous discussions on
this mailing list on the way T4 was made completely incompatible since it
was going to incorporate the very best and then T5 was made even more
incompatible to incorporate the latest. This has been a vexing issue with
quit
Why dont you debug your
getService().search()
method and see what arguments it gets and what it returns ?
It should help you find where and what the problem is...
Joshua Jackson wrote:
> It stilll doesn't work. Does anyone have a complete sample code for this?
>
>
> thanks in advance,
>
> On
It stilll doesn't work. Does anyone have a complete sample code for this?
thanks in advance,
On 10/19/07, Andreas Andreou <[EMAIL PROTECTED]> wrote:
> remove
> public Collection list;
>
> inside search(), just do
> setList( getService().search(getClient()) );
--
What you want today, may not e
Hi there,
I'm trying to do an XHR request using the same method as "@DirectLink"
component.
Here is the code:
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
var content;
function SendAjaxRequest() {
tapestry.bind
("/PhoneBook/app?component=%24DirectLink&
remove
public Collection list;
inside search(), just do
setList( getService().search(getClient()) );
On 10/19/07, Joshua Jackson <[EMAIL PROTECTED]> wrote:
>
> Here is the html template of search form and search result underneath it:
>
>
>
>
>
>
Has anyone ever experienced something similar? or has anyone used hibernate
lazy-associations succesfully with expansions in T5?
I'm still not sure if it's a hibernate or a tapestry thing.
FYI; the error is happening in:
org.apache.tapestry.internal.services.PropertyConduitSourceImpl.readMeth
Well i guess the onPassivate-method isn't entirely out of the question since
it gives a central place to handle this on the page-level as well. The
tagging-variant seems nicer though. I thought i read somewhere in the
documentation that a 'client-side persistence strategy' was on the horizon,
whic
34 matches
Mail list logo