The Border component and assets are concepts you might want to be
familiar with too...
The Workbench example uses the Border component:
http://jakarta.apache.org/tapestry/examples/index.html
/Martin
On Wed, 2006-04-26 at 11:41 +0200, Andreas Bulling wrote:
> Hi Gregor,
>
> actually "component"
Hi!
> Uh... maybe I'm missing something here
Nope, you're not missing anything!
I didn't have the reflex to look into that direction. I did use the
"arrowUpAsset" and "arrowDownAsset", referring to my own GIF's and it
worked just fine.
Thank you very much, that's exactly the type of simple solu
Hi folks,
Is there a nice way to replace the 2 (green arrows) GIF images defined
in the SimpleTableColumnComponent specification (used to display the
sort order, next to the column header), other than hacking the contrib
jar, that is, replacing those 2 GIF files?
I'd like to use the contrib jar "
Hi folks,
Is there a nice way to replace the 2 (green arrows) GIF images defined
in the SimpleTableColumnComponent specification (used to display the
sort order, next to the column header), other than hacking the contrib
jar, that is, replacing those 2 GIF files?
I'd like to use the contrib jar "
Hi!
I need some kind of reset for the contrib:Table component.
Scenario:
- From my Search page, I enter some params and click submit to get to my
Results page.
- In the Results page are displayed my results in a contrib:Table
component.
- I click on the link to display the page 3 of my resu
Hi!
For many days I've been trying to get my validation messages in English
(from computers (both client and server) with Swedish regional
settings). Today I got a certain success fulfilling my needs, but I need
you guys to shed the light on some details... I believe I read all the
pertinent
Hi Kirby,
>
I just want to mention that I needed to add 'literal' in order for this
to work (otherwise I have a parsing exception as 'ognl' is the default
prefix for page spec):
Thanks for this, I can now get rid of my custom MinDate validator class!
> To answer your localisation ques
="service:IntToDateConverter"/>
And then I can do:
or for example to specify two days ahead:
Works fine for me :)
/Martin
Martin Carel wrote:
Hi!
Thanks both for your feedback. I successfully solved my tweak 1 (will
post another message for explaining how today).
> You should
Hi James,
No idea if this is useful for you (especially since I doubt this is Tap4
code), but I've come across this today:
http://www.clever.co.nz/resources.html
/M
James Sherwood wrote:
Hello,
I have to build a calendar with all the bells and whistles of a normal
agenda style calendar.
s messages,
IFormComponent field) {
String maxDateFormattedString = // format the maxDate the way we
want
I can't use the shorthand declaration though... can't put code in the
initializer:
value="validators:required,maxDate=today()"/>
So stick with the bean technique
Hi!
There are 2 tweaks I'd like to do with date validations.
Tweak #1
Would there be a way to set the minDate to the beginning of the day (and
thus make the exact time at which it was instanciated irrelevant)?
At this moment, in my page spec, I have:
Now with my DatePicker component, w
ccordingly.
Shing
--- Martin Carel <[EMAIL PROTECTED]> wrote:
Hi folks!
I have a problem involving validation and submit
listeners.
Here is the (simplified) HTML template:
listener="ognl:listeners.onChangeEventPropertySelectionListener"
delegate="bean
ert wrote:
Is it under here?
http://svn.apache.org/viewcvs.cgi/jakarta/tapestry/branches/4.0-polluted/examples/Workbench/src/java/org/apache/tapestry/workbench/fields/
On 2/20/06, Martin Carel <[EMAIL PROTECTED]> wrote:
This will sound as a trivial question.
I am investigating about va
This will sound as a trivial question.
I am investigating about validation using Tap4, and as such I wanted to
have a look at the Dates page in the Workbench example, because I need
to do something really similar to that.
I saw the sources for Dates.html and Dates.page, but I couldn't find th
> made sure tapestry *really* uses your engine's class?
Yes it does. The proof is that I override the activateExceptionPage() in
this same custom Engine and it works fine.
/Martin
Ron Piterman wrote:
made sure tapestry *really* uses your engine's class?
ron
Martin Carel wrote:
Speaking of which, I have this in my application file:
And I do have a custom Engine in which I have:
public void setLocale(Locale locale) {
if (getLocale() == null) {
super.setLocale(Locale.ENGLISH);
} else {
super.setLocale(locale);
}
}
And still, for the fields ha
Hi!
I'm trying to subclass the contrib:table component with Tap4. And I
bumped into this error message:
org.apache.hivemind.ApplicationRuntimeException: Could not find template
for component Results/resultsTable.tableView in locale en.
[classpath:/com/components/table/MyTable.jwc, line 224,
Hi folks!
I have a problem involving validation and submit listeners.
Here is the (simplified) HTML template:
listener="ognl:listeners.onChangeEventPropertySelectionListener"
delegate="bean:delegate">
value="ognl:country" model="ognl:countriesModel"
onChange="this.form.submit()"/>
jw
Hi folks!
This is no more an issue for me.
The problematic behaviour from the filter preventing the possibility to
have several query string parameters with the same name has been fixed.
In consequences, I removed my ugly patch!
/Martin
Martin Carel wrote:
Hi!
I have had problems lately
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
trib:Table component does port to Tap4
without problems.
Thank you for the help, again!
Best regards,
Martin Carel
Martin Carel wrote:
Hi!
Thanks again for the consideration and for the information about the
paging and sorting listeners being called before pageBeginRender().
I did try what
r paging, I got this java.lang.ArrayIndexOutOfBoundsException :(
If someone can have this example functional in Tapestry 4.0, I'd be
*very* curious to see the code for it, as it does not work for me.
/M
Martin Carel wrote:
Hi!
Thanks again for the consideration and for the information about the
pag
ist();
if(data == null){
data = //get my data;
setDOsList(data);
}
return data;
}
Then change your table component to use source="ognl:storedDOsList".
Does this work?
Martin Carel wrote:
Hi Mind Bridge,
Thanks for the feedback. Here is my HTML template:
I tried to chang
mation it is a bit hard to see what is
going on.
In addition you might want to check my answer to the recent message
"Table Model Question" from Nicholas Skriloff.
Best regards,
-mb
Martin Carel wrote:
Yes I did check those examples out. And indeed they were useful. And
I still ha
wrote:
Have you tried looking at these examples yet?
https://tapestrywebcomponentexamples.dev.java.net/
(https://tapestrywebcomponentexamples.dev.java.net/files/documents/2449/8568/TapestryTables.war)
There are a lot of help...
- Original Message - From: "Martin Carel"
Hi folks!
I'm using the contrib:Table for the first time. I'm using the source and
columns parameters (and therefore not the tableModel parameter).
My source is a List of DOs, where each DO contains some fields (Date,
double, int, etc.) with getters.
--
Q1: My table does show up as expecte
nyone else...
/Martin
Schabek Ćukasz wrote:
It is an IE bug only, reported and solved here:
http://issues.apache.org/jira/browse/TAPESTRY-788
Just replace writeInitializationScript method.
-Original Message-----
From: Martin Carel [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 5
Hi !
I have issues with the DatePicker component using Tap4. Works fine in
Firefox, but I got the "operation aborted" popup in IE, which prevents
from showing the page. Thus, this is critical for our application.
When I have only the DatePicker component in my page, it works fine. But
when I
on't have to use at all
best regards
Raul Raja.
Martin Carel wrote:
Hi!
I have this in hivemodule.xml:
And I have this in my page's spec:
Then, in my page (if I do not define any accessors), if I call
getMyProp(), I get a compiler error complaining about the unkno
Hi!
I have this in hivemodule.xml:
And I have this in my page's spec:
Then, in my page (if I do not define any accessors), if I call
getMyProp(), I get a compiler error complaining about the unknown method
(no surprise there). But when I do add the accessors methods, at runtim
Hope this helps
Cheers
Hugo
On 24/01/06, Martin Carel <[EMAIL PROTECTED]> wrote:
Hi all!
I have this in my page A's spec:
I want to retrieve this property (myProp is a String object) in page B.
I assumed that all was needed was to specify this in my page B's spec:
a
Hi all!
I have this in my page A's spec:
I want to retrieve this property (myProp is a String object) in page B.
I assumed that all was needed was to specify this in my page B's spec:
and then retrieve the property's value as usual from my page B's HTML
template:
But it does not
Hi!
I think the DatePicker component in Tapestry 4.0 is neat. However, I
would like to have a different presentation view of it. I'd like to show
3 drop-downs (one for days, one for months, and one for years) instead
of the default TextField component.
I understand I develop a custom compone
33 matches
Mail list logo