Re: Best strategy?

2007-02-14 Thread Pedro Viegas

Damn!
Just reading about that T5 Table gives let's me wishing I could fast forward
time to let Howard finish and release it!
Just seams a waste of time to develop a grid for T4 that is will no even get
close to what Howard describes for a few months life-time...

Oh well...

On 2/14/07, Julian Wood <[EMAIL PROTECTED]> wrote:


Yes that is a nice table, but I think you could do all that (minus
the AJAX) with some CSS around the current contrib:table.

Tap 5 has a new grid component you might be interested in:

http://tapestryjava.blogspot.com/2007/02/more-tapestry-5-grid-
component-case.html#links

I haven't tried the dojo SortableTable, but it seems to me that would
be a good option, because it should be an AJAX-enabled, model-based
table.

It seems to me that the dhtml goodies sortable tables would not be so
good, because they just sort the view, and don't have access to the
model (I haven't seen one that uses AJAX), so if you're paging, this
would be confusing for users.

HTH,

J

On 13-Feb-07, at 6:12 PM, Pedro Viegas wrote:

> I there Julian,
>
> I'm also about to begin coding a table component of my own.
> Tell me, have you compared the table from dhtmlgoodies with the
> SortableTable included in the Tapestry 4.1 provided Dojo?
> Is there a good reason to this preference? Are there more features
> in the
> dhtmlgoodies table?
>
> I was very inclined to the dojo table but would like your views on
> this.
> What I really would like to have is this...
> http://www.turboajax.com/turbowidgets/
>
> Isn't that grid something? Beatifull... and it's dojo based!
>
> Regards,
>
>
> ---
> Pedro Viegas

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca






--


---
Pedro Viegas


Re: Best strategy?

2007-02-13 Thread Pedro Viegas
; >> University of Calgary
> >>
> >> http://tlc.ucalgary.ca
> >>
> >>
> >>
> >
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> >
> > -----
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> --
> Julian Wood <[EMAIL PROTECTED]>
>
> Software Engineer
> Teaching & Learning Centre
> University of Calgary
>
> http://tlc.ucalgary.ca
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--


---
Pedro Viegas


Re: Best strategy?

2007-02-13 Thread Pedro Viegas

I there Julian,

I'm also about to begin coding a table component of my own.
Tell me, have you compared the table from dhtmlgoodies with the
SortableTable included in the Tapestry 4.1 provided Dojo?
Is there a good reason to this preference? Are there more features in the
dhtmlgoodies table?

I was very inclined to the dojo table but would like your views on this.
What I really would like to have is this...
http://www.turboajax.com/turbowidgets/

Isn't that grid something? Beatifull... and it's dojo based!

Regards,


On 2/11/07, Julian Wood <[EMAIL PROTECTED]> wrote:


Ok thanks Jesse. Even hearing that it _is_ a large undertaking gives
me some direction. I think I will explore the EventListener
annotation a little more to see if I can see a way to hook it up to
the events created by this planner, and if that looks promising I
will go down that road. I also hadn't realized you could listen for
invocations of javascript functions, which should give me another route.

Thanks,

J

On 11-Feb-07, at 2:09 PM, Jesse Kuhnert wrote:

> I can't make any suggestions for such a large undertaking, but the
> @EventListener annotation can listen to any native (browser generated)
> javascript event or object function.
>
> On 2/9/07, Julian Wood <[EMAIL PROTECTED]> wrote:
>> I'm working on taking this dhtml component here:
>>
>> http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-week-planner/
>> dhtmlgoodies-week-planner.html
>>
>> and moving it into tapestry. It is heavy on javascript, AJAX and
>> somewhat less so on PHP. The javascript has many event hooks which
>> fire off AJAX requests to it's PHP backend.
>>
>> My question is, what is the best strategy for moving to Tapestry?
>>
>> I think the quickest and dirtiest solution is to create an engine
>> service for each of the AJAX calls, which replicate what the PHP does
>> in it's current incarnation. This does feel like the wrong way to do
>> it though, especially since in each service, I will need to add
>> state, while leaving the page's .java virtually empty. I'll also need
>> to put in raw URL's to the AJAX services, directly inside the
>> javascript.
>>
>> So, knowing there must be a better way, I've been trying to figure
>> out how I can leverage the new stuff in 4.1 to do the job. The
>> javascript events in the planner are not straightforward - they are
>> calculated, and if necessary, an AJAX call is made. I'm not sure if
>> an EventListener can be made to monitor a complex event like that, or
>> if you can make a custom event to which an EventListener can listen.
>>
>> So if I can dip into specifics, I know I can get the planner to load
>> all the "appointments" for a week pretty easily. But how to deal with
>> an appointment move? A resize (change in duration)? A delete? A
>> double click for an edit? Each of these has the additional problem
>> that they can be made on the fly, and there can be many of them. How
>> much of this can be moved in to a @Script? I'm of course aiming to
>> have each of the listener impl methods in my Planner class, backing
>> Planner.page and Planner.html, which will have the planner from
>> dhtmlgoodies inside.
>>
>> So does anyone have any suggestions on which road to go down? I know
>> my quick and dirty will work, but I'm not sure if this second
>> approach will work, nor how much time it will take, but it seems like
>> it is closer to "the right way to do it". What is the right way?
>>
>> Thanks,
>>
>> J
>>
>> --
>> Julian Wood <[EMAIL PROTECTED]>
>>
>> Software Engineer
>> Teaching & Learning Centre
>> University of Calgary
>>
>> http://tlc.ucalgary.ca
>>
>>
>>
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca






--


---
Pedro Viegas


Re: Roadmap for Tacos integration in Tap 4.1 ?

2007-02-13 Thread Pedro Viegas

What about a Table component, any plans on this?

Regards,

On 2/13/07, andyhot <[EMAIL PROTECTED]> wrote:


Here's what exists now:
http://tacos.sourceforge.net/tacos4.1/tacos-core/
and take a look at the new dojo sub-library.

Apart from that (but not yet in the repo) :
- Shing Hing Man was kind enough to port AjaxForm and AjaxDirectLink to
ease migration. If your old
app used those components, you dont need any changes, just drop the new
tacos jar.
- I recently did the Tree component, and almost finished Editor (i.e.
dojo's HtmlArea).
- We'll probably do the rest if we need them - or if someone requests
them - or if someone contributes them!


Webmaster Bébé Nounou wrote:
> Hi,
>
> Is there a roadmap for Tacos components integration in Tap4.1 ?
>
> Thanks in advance
>
> Stephane
>


--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--


---
Pedro Viegas


Re: Tap4.1.1: Autocompleter inside another component does not work

2007-02-09 Thread Pedro Viegas

Hi there,

I have found what is causing the erroneous behaviour.
I have been using FieldLabel components with my input components. This is
what is causing the component duplicated rendering.
I will investigate some more to see it it's my problem or some hidden Tap
bug.

Thanks,

On 2/10/07, Pedro Viegas <[EMAIL PROTECTED]> wrote:


Hi Andy,

Thanks for your help.
I was just in the middle of that. Did not work either!
I honnestly am at a lost.
Have tried just about everything I could think of...
Have cleaned the cache browser for eventual JS cached files, used both
latest T411 and T412 snapshoots.
I have dogo debug on and the only error I receive is...

FATAL exception raised: createWidget() Node not found with specified id of
'autoCompleter'.

...when the poor guy tries to link the widget to the element using the
name of the duplicate component (I mean the original one).

I have looked at this more clossely and of all my components with similar
behaviour, that enclose other components, this happens in Autocompleter and
PropertySelection.
All I have left is start looking at the source code!

Can anybody give me a pointer?

Thanks,


On 2/9/07, andyhot <[EMAIL PROTECTED]> wrote:
>
> i'm using an autocompleter inside another component
> inside a for loop which may initially be hidden.
>
> Why not try with 4.1.2-SNAPSHOT ?
>
>
> Pedro Viegas wrote:
> > Hi all,
> >
> > Has anyboby been able do use a Tap 4.1.1 Autocompleter inside another
> > component?
> > I have been trying to do so and I get the strangest bahaviour. Somehow
>
> > the
> > Autocompleter is rendered twice, with two diferent Id (i.e.:
> > autocompleter
> > and autocompleter_0) but even this is not completly true.
> >
> > It creates only one Input element for the second autocompleter it
> > creates.
> > It created two declarations of the autocompleter dojo widget.
> >
> > Since the first input is not created the first dojo widget declaration
> > reports an error and the JS execution stops.
> > The end result is a not rendered autocompleter component.
> >
> > I've previously posted this in the list but no response.
> > Before using Tap4.1.1 I used 4.0 with Tacos and used Tacos's
> > autocompleter
> > exactly the same way... and it worked like a charm!
> > Has nobody had this problem before?
> >
> > Thanks,
> >
>
>
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
> Tapestry / Tacos developer
> Open Source / J2EE Consulting
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--


---
Pedro Viegas





--


---
Pedro Viegas


Re: Tap4.1.1: Autocompleter inside another component does not work

2007-02-09 Thread Pedro Viegas

Hi Andy,

Thanks for your help.
I was just in the middle of that. Did not work either!
I honnestly am at a lost.
Have tried just about everything I could think of...
Have cleaned the cache browser for eventual JS cached files, used both
latest T411 and T412 snapshoots.
I have dogo debug on and the only error I receive is...

FATAL exception raised: createWidget() Node not found with specified id of
'autoCompleter'.

...when the poor guy tries to link the widget to the element using the name
of the duplicate component (I mean the original one).

I have looked at this more clossely and of all my components with similar
behaviour, that enclose other components, this happens in Autocompleter and
PropertySelection.
All I have left is start looking at the source code!

Can anybody give me a pointer?

Thanks,


On 2/9/07, andyhot <[EMAIL PROTECTED]> wrote:


i'm using an autocompleter inside another component
inside a for loop which may initially be hidden.

Why not try with 4.1.2-SNAPSHOT ?


Pedro Viegas wrote:
> Hi all,
>
> Has anyboby been able do use a Tap 4.1.1 Autocompleter inside another
> component?
> I have been trying to do so and I get the strangest bahaviour. Somehow
> the
> Autocompleter is rendered twice, with two diferent Id (i.e.:
> autocompleter
> and autocompleter_0) but even this is not completly true.
>
> It creates only one Input element for the second autocompleter it
> creates.
> It created two declarations of the autocompleter dojo widget.
>
> Since the first input is not created the first dojo widget declaration
> reports an error and the JS execution stops.
> The end result is a not rendered autocompleter component.
>
> I've previously posted this in the list but no response.
> Before using Tap4.1.1 I used 4.0 with Tacos and used Tacos's
> autocompleter
> exactly the same way... and it worked like a charm!
> Has nobody had this problem before?
>
> Thanks,
>


--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--


---
Pedro Viegas


Tap4.1.1: Autocompleter inside another component does not work

2007-02-09 Thread Pedro Viegas

Hi all,

Has anyboby been able do use a Tap 4.1.1 Autocompleter inside another
component?
I have been trying to do so and I get the strangest bahaviour. Somehow the
Autocompleter is rendered twice, with two diferent Id (i.e.: autocompleter
and autocompleter_0) but even this is not completly true.

It creates only one Input element for the second autocompleter it creates.
It created two declarations of the autocompleter dojo widget.

Since the first input is not created the first dojo widget declaration
reports an error and the JS execution stops.
The end result is a not rendered autocompleter component.

I've previously posted this in the list but no response.
Before using Tap4.1.1 I used 4.0 with Tacos and used Tacos's autocompleter
exactly the same way... and it worked like a charm!
Has nobody had this problem before?

Thanks,

--


---
Pedro Viegas


Re: How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

2007-02-07 Thread Pedro Viegas

Thanks!
Works like a charm!

Regards,

On 2/7/07, Shing Hing Man <[EMAIL PROTECTED]> wrote:



Add the following after 



apache.snapshots

http://people.apache.org/repo/m2-snapshot-repository



Shing


--- Pedro Viegas <[EMAIL PROTECTED]> wrote:

> I there.
> I'm not a Maven guy, so I don't really now how to
> set up a pom.xml do get
> the Tap 4.1.2 snapshoot.
> I have seen the instructions page...
>
> http://tapestry.apache.org/tapestry4.1/download.html
>
> But some more is needed to get the files right?
>
> I set up the pom.xml like this...
>
> 
>4.0.0
>my.group
>my-project
>war
>0.1.1-SNAPSHOT
>My description
>My project name
>
>
>
>org.apache.tapestry
>
> tapestry-framework
>4.1.2-SNAPSHOT
>
>
>org.apache.tapestry
>
> tapestry-annotations
>4.1.2-SNAPSHOT
>
>
>org.apache.tapestry
>tapestry-contrib
>4.1.2-SNAPSHOT
>
>
> 
>
> And I get...
>
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
>


> [INFO] Building My project name
> [INFO]task-segment: [install]
> [INFO]
>


> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> 1K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
> 3K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
> 6K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> 3K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
> 13K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.pom
> 1K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.jar
> 14K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
> 1K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.jar
> 14K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.pom
> 981b downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
> 6K downloaded
> Downloading:
>

http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar
> 8K downloaded
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered
> resources.
> [INFO]
>

> [ERROR] BUILD ERROR
> [INFO]
>

> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1)
>
org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT
>
>   Try downloading the file manually from the project
> website.
>
>   Then, install it using the command:
>   mvn install:install-file
>
-DgroupId=org.apache.tapestry-DartifactId=tapestry-annotations
> \
>   -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Path to dependency:
> 1) my.group:my-project:war:0.1.1-SNAPSHOT
> 2)
>
org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT
>
> 2)
>
org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT
>
>   Try downloading the file manually from the project
> website.
>
>   Then, install it using the command:
>   mvn install:install-file
>
-DgroupId=org.apache.tapestry-DartifactId=tapestry-framework
> \
>   -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>   Path to dependency:
> 1) my.group:my-project:war:0.1.1-SNAPSHOT
> 2)
>
org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT
>
> 3)
>
org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT
>
>   Try downloading the file manually from the project
> website.
>
>   Then, install it using the command:
>   mv

T4.1.1: Autocomplete is generating tow components instead of one!

2007-02-06 Thread Pedro Viegas

I there.
I have a strange behaviour with the T4.1.1 Autocompleter.
I have build a wrapper component that encapsulates the Autocompleter with a
few added funcionalities for my apps use.
Basically the new component just wraps a autocompleter inside and set a few
things like the ListModel from a few new parameters it receives.
Something like this...

InputAutocomplete.html







InputAutocomple.jwc (the relevant parts...)




   Input field for LOV value selection based on
Autocompleter
(...)
   
   BaseService instance to get data list
from
   

   
   Name of the data field to list in the drop down
autocompleter list
   

   
   Name of the key field of the model
   

   
   
   The IAutocompleteModel that should be used to filter the drop
down list and render the drop down list
   
   
(...)


InputAutocomplete.java

public abstract class InputAutocomplete extends BaseComponentImplementation
   implements IFormComponent {

   public abstract BaseService getService();
   public abstract String getFieldName();
   public abstract String getKeyName();

   // TODO: public abstract LinkedFormComponents getFilterComponent();
   // TODO: public abstract String getFilterFieldAttribute();

   public abstract BasePojo getValue();

   @Component(id = "autoCompleter", type = "Autocompleter", bindings = {
   "displayName=displayName", "value=value", "model=listModel",
   "filterOnChange=true", "validators=validators" })
   public abstract Autocompleter getAutoCompleter();

   public IAutocompleteModel getDefaultModel() {
   getLogger().debug("Component: " + this.toString());

   return new DefaultAutocompleteModel(getService().getAll(),
   getKeyName(), getFieldName());
   }
}

The BaseComponentImplementation is not relevant since it only provides
common resources for all my componentes like loging and stuff.
This component when used generates a curious result...

In the surrounding FORM component... 2 autoCompleter's




The generated INPUTs is only one... but the second, notice the "_0" suffix!




And in the configuring JS in the bottom...

   var 
autoCompleterprop={"dataUrl":"/delegateit/app?component=departmentSearch.autoCompleter&json=true&page=Home&service=direct&updateParts=autoCompleter&filter=%{searchString}","mode":"remote","widgetId":"autoCompleter","name":"autoCompleter","searchDelay":100,"fadeTime":200};
   tapestry.widget.synchronizeWidgetState("autoCompleter",
"Select", autoCompleterprop);
   if (autoCompleterprop["label"] && autoCompleterprop["value"]){
   var selw=dojo.widget.byId("autoCompleter");
   selw.setValue(autoCompleterprop["value"]);
   selw.setLabel(autoCompleterprop["label"]);
   }


   var 
autoCompleter_0prop={"dataUrl":"/delegateit/app?component=departmentSearch.autoCompleter&json=true&page=Home&service=direct&updateParts=autoCompleter&filter=%{searchString}","mode":"remote","widgetId":"autoCompleter_0","name":"autoCompleter_0","searchDelay":100,"fadeTime":200};
   tapestry.widget.synchronizeWidgetState("autoCompleter_0",
"Select", autoCompleter_0prop);
   if (autoCompleter_0prop["label"] && autoCompleter_0prop["value"]){
   var selw=dojo.widget.byId("autoCompleter_0");
   selw.setValue(autoCompleter_0prop["value"]);
   selw.setLabel(autoCompleter_0prop["label"]);
       }

Just to sum it up... the logger debug line IS called twice, so it really is
instanciated twice, even thought the INPUT tag is only generated for the
second one! Strange!
02:49:24,197 DEBUG [InputAutocomplete] Component:
[EMAIL PROTECTED]/departmentSearch]
02:49:24,402 DEBUG [InputAutocomplete] Component:
[EMAIL PROTECTED]/departmentSearch]


Can someone help me please?
This sound like a BUG of the component right? Or I'm making an unsuported
usage of it of some kind.



---
Pedro Viegas


How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

2007-02-06 Thread Pedro Viegas

I there.
I'm not a Maven guy, so I don't really now how to set up a pom.xml do get
the Tap 4.1.2 snapshoot.
I have seen the instructions page...

http://tapestry.apache.org/tapestry4.1/download.html

But some more is needed to get the files right?

I set up the pom.xml like this...


  4.0.0
  my.group
  my-project
  war
  0.1.1-SNAPSHOT
  My description
  My project name

  
  
  org.apache.tapestry
  tapestry-framework
  4.1.2-SNAPSHOT
  
  
  org.apache.tapestry
  tapestry-annotations
  4.1.2-SNAPSHOT
  
  
  org.apache.tapestry
  tapestry-contrib
  4.1.2-SNAPSHOT
  
  


And I get...

$ mvn install
[INFO] Scanning for projects...
[INFO]

[INFO] Building My project name
[INFO]task-segment: [install]
[INFO]

Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
13K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.jar
14K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.jar
14K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.pom
981b downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
6K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar
8K downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file
-DgroupId=org.apache.tapestry-DartifactId=tapestry-annotations \
 -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
   1) my.group:my-project:war:0.1.1-SNAPSHOT
   2) org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT

2) org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file
-DgroupId=org.apache.tapestry-DartifactId=tapestry-framework \
 -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
   1) my.group:my-project:war:0.1.1-SNAPSHOT
   2) org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT

3) org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
 mvn install:install-file
-DgroupId=org.apache.tapestry-DartifactId=tapestry-contrib \
 -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
   1) my.group:my-project:war:0.1.1-SNAPSHOT
   2) org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT

--
3 required artifacts are missing.

for artifact:
 my.group:my-project:war:0.1.1-SNAPSHOT

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)


[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 34 seconds
[INFO] Finished at: Wed Feb 07 02:25:40 WET 2007
[INFO] Final Memory: 3M/6M
[INFO]


Help!

Regards,


---
Pedro Viegas


Re: ANN: Tapestry Support for Netbeans 5.5

2006-11-01 Thread Pedro Viegas

Well then, this is good news!
One more Tapestry plugin. Thanks Andy!
Been curious about trying current NetBeans that SUN so boasts about latelly
so this just might be the push I needed.
Tell me Andy, couldn't there be a joint effort between IDE Tap plugins
projects so that all shared a common status and funcionallity grator then
the one each one can provide in solo effort? Have you talked to Hugo
(TapIDEA) for instance?

Sorry if I'm getting out of my place instanted the just giving the deserved
thanks, but just trying to make things easier to all of us.

Best regards and once again thanks for your effort.

On 10/30/06, andyhot <[EMAIL PROTECTED]> wrote:


Just released the first version of nbtapestrysupport
<https://nbtapestrysupport.dev.java.net/> (
https://nbtapestrysupport.dev.java.net/ ).

It provides:

* Hyperlink support in Tapestry configuration files for class names,
  files and libraries... CTRL+click everywhere!!!
* Autocomplete in Tapestry configuration files for class names,
  files and others
* Templates for new Tapestry files

Download the 2 nbms
<https://nbtapestrysupport.dev.java.net/servlets/ProjectDocumentList> (
from https://nbtapestrysupport.dev.java.net/servlets/ProjectDocumentList),
then install the generic module first and then the tapestry module.

--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: How to use tacos components?

2006-08-31 Thread Pedro Viegas

You may have a dojo incompatibility issue.
Take a look at what version of dojo you have installed and what version the
TACOS release you have requires.
I had a similar issue a while back and this was the reason.

Hope it helps,

On 8/31/06, Jasper Huzen <[EMAIL PROTECTED]> wrote:


I'm trying to use tacos components but I doesn't work as espected



I've configured my tapestry project for usage of tacos. I can use (and
see) DOJO objects when I add in example







(I think the configuration is ok?)



I tried to add to my html



 and I
see the picker icon. My problem is that I can't click (can click but
does nothing:P) on the DatePicker.



How do I use the tacos:DatePicker in example?












--
Pedro Viegas


Re: TapIDEA future, post "Time to move on"

2006-08-31 Thread Pedro Viegas
th Spindle internals during the
> development
> > of
> > > >> > TapIDEA. But, there's the free time factor. I just wouldn't be
> able
> > > to
> > > >> > find the time to do it.
> > > >> > Still, if this scenario were to be become true, TapIDEA would
> live
> > > on.
> > > >> >
> > > >> > Spindle for T4 dies, a new project is born:
> > > >> > Ok, so no Spindle and no TapIDEA for T4. What about T5 ? As
Geoff
> > as
> > > >> > pointed out, T5 support is going to require an almost complete
> > > rewrite
> > > >> of
> > > >> > Spindle. So, in this scenario someone would implement
Spindle(or
> > > create
> > > >> a
> > > >> > whole new project) for IDE support for T5, and TapIDEA would
> > follow.
> > > I
> > > >> > find that this is the scenario with the most chances of
becoming
> > > >> reality.
> > > >> >
> > > >> > Spindle and TapIDEA die for good:
> > > >> > Well, there's always the possibility that no one will volunteer
> to
> > > >> > continue our efforts of bringing IDE support to Tapestry. In
this
> > > >> scenario
> > > >> > both Spindle and TapIDEA end their lives now.
> > > >> >
> > > >> >
> > > >> > The TapIDEA project will be "hibernating" until one of these(or
> any
> > > >> other)
> > > >> > scenarios become reality.
> > > >> > I guess now it's up to the community to present their ideas
about
> > > this.
> > > >> I
> > > >> > hope that, together, we can give our contribution to making
> > Tapestry
> > > >> IDE
> > > >> > support a reality.
> > > >> >
> > > >> > Cheers,
> > > >> >
> > > >> > Hugo
> > > >> >
> > > >> >
> > > >> >
> > -
> > >
> > > >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >> > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> -
> > > >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >> For additional commands, e-mail: [EMAIL PROTECTED]
> > > >>
> > > >>
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> >
>

http://www.nabble.com/TapIDEA-future%2C-post-%22Time-to-move-on%22-tf2179878
.html#a6071765
> > >
> > > Sent from the Tapestry - User forum at Nabble.com.
> > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: TapIDEA future, post "Time to move on"

2006-08-30 Thread Pedro Viegas
ng those
layers for this problem.
I am only trying help us all to slice the elephant in slim slices before
trying to eat it up in one wide chunk! Maybe like this, by decomposing the
problem, by reducing it in smaller problems that may possibly be divided by
teams, some already in existence and other waiting to be formed we can make
this happen.

The layers... well, they're an idea, maybe completely of target, but the
general idea of it, I think might be a possibility of an approach to the
problem.

Regards,

On 8/30/06, Francis Amanfo <[EMAIL PROTECTED]> wrote:


Henrik,

Stop dreaming. If what you're saying is valid then we should have got
Spindle for Tap 4 now.
The fact of the matter is Howard just didn't listen to Geoff. With
Howard's
current opinion on tools, I don't think he would make a tool drive his
fanatic and radical design decisions.

My .02 cent.
F

On 8/30/06, hv @ Fashion Content <[EMAIL PROTECTED]> wrote:
>
> I think the best thing is building on WST and Tap5, while Tap5 is
> developed.
> The amount of special tooling needed for Tap5 should be limited.
>
> Judging form Geoff's posts the main problem with Spindle for Tap4 is the
> large number of possible ways to configure an application. One of the
> goals
> for Tap5 is to simplify. So if we can start over on a new Spindle while
> Tap5
> is
> still in its infancy, we can perhaps ensure that the simplicity is
> achieved
> from
> the perspective of tooling.
>
> Henrik
>
> "Hugo Palma" <[EMAIL PROTECTED]> skrev i en meddelelse
> news:[EMAIL PROTECTED]
> > Since Geoff decided to leave the Spindle project i've been thinking
> about
> > the future of TapIDEA. As many of you know, TapIDEA is built on top of
> > Spindle, which means "No Spindle" -> "No TapIDEA".
> >
> > There are several scenarios that can be put into account in the
current
> > situation, and after a long consideration here are my conclusions.
> >
> > Someone else picks up Spindle where Geoff left off:
> > I honestly don't think this is going to happen. AFAIK Spindle was a
one
> > man project so no one else has the know how to quickly get into gear
> with
> > the project. Some might think that that person could be me, and indeed
> > i've become familiar with Spindle internals during the development of
> > TapIDEA. But, there's the free time factor. I just wouldn't be able to
> > find the time to do it.
> > Still, if this scenario were to be become true, TapIDEA would live on.
> >
> > Spindle for T4 dies, a new project is born:
> > Ok, so no Spindle and no TapIDEA for T4. What about T5 ? As Geoff as
> > pointed out, T5 support is going to require an almost complete rewrite
> of
> > Spindle. So, in this scenario someone would implement Spindle(or
create
> a
> > whole new project) for IDE support for T5, and TapIDEA would follow. I
> > find that this is the scenario with the most chances of becoming
> reality.
> >
> > Spindle and TapIDEA die for good:
> > Well, there's always the possibility that no one will volunteer to
> > continue our efforts of bringing IDE support to Tapestry. In this
> scenario
> > both Spindle and TapIDEA end their lives now.
> >
> >
> > The TapIDEA project will be "hibernating" until one of these(or any
> other)
> > scenarios become reality.
> > I guess now it's up to the community to present their ideas about
this.
> I
> > hope that, together, we can give our contribution to making Tapestry
IDE
> > support a reality.
> >
> > Cheers,
> >
> > Hugo
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





--
Pedro Viegas


Re: @EventListener question

2006-08-30 Thread Pedro Viegas

Point taken!
No less appreciation though! :-D

Thanks all the same Jesse!
And keep the spirits up on the Tap 4.1 road ahead... we're all salivating
with the released new features! ;-)
Keep 'em coming, and the stability of this Alpha makes very Betas I know
more than a little embarrassed!

Regards,

On 8/29/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


I should make a note of it one last time so that guilt doesn't drive me
mad...

The @EventListener annotation was originally Howard's idea, I just
implemented it. I'm sure this will be a common occurrence as more and more
of T5 evolves. (as much as makes sense/is possible at least)

On 8/28/06, Andy Pahne <[EMAIL PROTECTED]> wrote:
>
>
> works like a charm with SNAPSHOT...
>
> Pedro Viegas schrieb:
> > Yep, all I said only works if you submit the form in async mode.
> > Be aware that until somewhere last week that had problems. You must
use
> the
> > current SNAPSHOT for this to work.
> > If you submit the form asyncronously the validation of the other
fileds
> > wont
> > be a problem and all should work.
> >
> > Regards,
> >
> > On 8/28/06, Andy Pahne <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> I can't submit it because the user has to fill in some more fields.
> >>
> >> Maybe I am wrong. There is nothing about submitting the form (async).
I
> >> will try that. The user then might fill in the rest...
> >>
> >> Thanks,
> >> Andy
> >>
> >> Pedro Viegas schrieb:
> >> > Hi there Andy,
> >> >
> >> > Why can't you submit the form like you say?
> >> > If you read the bottom comments on:
> >> > http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html
> >> >
> >> > You'll see that...
> >> > "When your
> >> > listener<
> >>
http://tapestry.apache.org/tapestry4.1/UsersGuide/listenermethods.html
> >is
> >> >
> >> > invoked you can be confident that your
> >> > projectSelect
> >> > Autocomplete<
> >>
>
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/dojo/form/Autocompleter.html
> >>
> >> >component
> >> >
> >> > has also been updated to reflect the currently selected value.
> >> >
> >> > As an added bonus, form validation is turned off by default with
the
> >> > EventListener<
> >>
>
http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html#EventListener
> >>
> >> >annotation
> >> >
> >> > as the majority use case is likely to be one off individual
> >> > events where invoking client side validation would be a cumbersome
> >> > experience for users."
> >> > So, according to this there is no problem with the other fields
being
> >> > submitted since the client validation will not be activated. So I
> think
> >> > you've got the answer all along. :-D
> >> >
> >> > Regards,
> >> >
> >> >
> >> > On 8/28/06, Andy Pahne <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >> Currently I am playing with the new @EventListener feature and I
> like
> >> it
> >> >>   very much. That's how Ajax should be.
> >> >>
> >> >> I have a question: in the form there are two @PropertySelection
> >> >> components. The second one is supposed the change it's selected
> value
> >> >> dependant on the first one. Both PropertySelections are connected
to
> a
> >> >> page property.
> >> >>
> >> >> This is my listener:
> >> >>
> >> >> @EventListener(events = "onchange", elements = "countrySelection")
> >> >> public void countryChanged(IRequestCycle cycle) {
> >> >>  cycle.getResponseBuilder
().updateComponent("regionSelection");
> >> >> }
> >> >>
> >> >>
> >> >> Submitting the form (asyn or not) like I saw in the TimeTracker
demo
> >> >> application is not an option because there are more form fields
the
> >> user
> >> >> is supposed to fill out. So this one will not work for me:
> >> >>
> >> >>
> >> >> @EventListener(events = "onchange",
> >> >>  elements = "countrySelection"  sub

Re: @EventListener question

2006-08-28 Thread Pedro Viegas

Yep, all I said only works if you submit the form in async mode.
Be aware that until somewhere last week that had problems. You must use the
current SNAPSHOT for this to work.
If you submit the form asyncronously the validation of the other fileds wont
be a problem and all should work.

Regards,

On 8/28/06, Andy Pahne <[EMAIL PROTECTED]> wrote:



I can't submit it because the user has to fill in some more fields.

Maybe I am wrong. There is nothing about submitting the form (async). I
will try that. The user then might fill in the rest...

Thanks,
Andy

Pedro Viegas schrieb:
> Hi there Andy,
>
> Why can't you submit the form like you say?
> If you read the bottom comments on:
> http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html
>
> You'll see that...
> "When your
> listener<
http://tapestry.apache.org/tapestry4.1/UsersGuide/listenermethods.html>is
>
> invoked you can be confident that your
> projectSelect
> Autocomplete<
http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/dojo/form/Autocompleter.html
>component
>
> has also been updated to reflect the currently selected value.
>
> As an added bonus, form validation is turned off by default with the
> EventListener<
http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html#EventListener
>annotation
>
> as the majority use case is likely to be one off individual
> events where invoking client side validation would be a cumbersome
> experience for users."
> So, according to this there is no problem with the other fields being
> submitted since the client validation will not be activated. So I think
> you've got the answer all along. :-D
>
> Regards,
>
>
> On 8/28/06, Andy Pahne <[EMAIL PROTECTED]> wrote:
>>
>>
>> Currently I am playing with the new @EventListener feature and I like
it
>>   very much. That's how Ajax should be.
>>
>> I have a question: in the form there are two @PropertySelection
>> components. The second one is supposed the change it's selected value
>> dependant on the first one. Both PropertySelections are connected to a
>> page property.
>>
>> This is my listener:
>>
>> @EventListener(events = "onchange", elements = "countrySelection")
>> public void countryChanged(IRequestCycle cycle) {
>>  cycle.getResponseBuilder().updateComponent("regionSelection");
>> }
>>
>>
>> Submitting the form (asyn or not) like I saw in the TimeTracker demo
>> application is not an option because there are more form fields the
user
>> is supposed to fill out. So this one will not work for me:
>>
>>
>> @EventListener(events = "onchange",
>>  elements = "countrySelection"  submitForm = "myForm")
>> public void countryChanged(IRequestCycle cycle) {
>>  cycle.getResponseBuilder().updateComponent("regionSelection");
>> }
>>
>>
>> So: how can I access the value of the
>> [EMAIL PROTECTED]'s value that triggerd the listener
>> method? I think that the page property is not yet updated by my async
>> request because the form was not submitted.
>>
>> Thanks,
>> Andy
>>
>>
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

--
Andy Pahne

Email [EMAIL PROTECTED]
Telefon   +49 (721) 722 84 67
Mobil +49 (174) 171 68 70

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: @EventListener question

2006-08-28 Thread Pedro Viegas

Hi there Andy,

Why can't you submit the form like you say?
If you read the bottom comments on:
http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html

You'll see that...
"When your 
listener<http://tapestry.apache.org/tapestry4.1/UsersGuide/listenermethods.html>is
invoked you can be confident that your
projectSelect 
Autocomplete<http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/dojo/form/Autocompleter.html>component
has also been updated to reflect the currently selected value.

As an added bonus, form validation is turned off by default with the
EventListener<http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html#EventListener>annotation
as the majority use case is likely to be one off individual
events where invoking client side validation would be a cumbersome
experience for users."
So, according to this there is no problem with the other fields being
submitted since the client validation will not be activated. So I think
you've got the answer all along. :-D

Regards,


On 8/28/06, Andy Pahne <[EMAIL PROTECTED]> wrote:



Currently I am playing with the new @EventListener feature and I like it
  very much. That's how Ajax should be.

I have a question: in the form there are two @PropertySelection
components. The second one is supposed the change it's selected value
dependant on the first one. Both PropertySelections are connected to a
page property.

This is my listener:

@EventListener(events = "onchange", elements = "countrySelection")
public void countryChanged(IRequestCycle cycle) {
 cycle.getResponseBuilder().updateComponent("regionSelection");
}


Submitting the form (asyn or not) like I saw in the TimeTracker demo
application is not an option because there are more form fields the user
is supposed to fill out. So this one will not work for me:


@EventListener(events = "onchange",
 elements = "countrySelection"  submitForm = "myForm")
public void countryChanged(IRequestCycle cycle) {
 cycle.getResponseBuilder().updateComponent("regionSelection");
}


So: how can I access the value of the
[EMAIL PROTECTED]'s value that triggerd the listener
method? I think that the page property is not yet updated by my async
request because the form was not submitted.

Thanks,
Andy





-----
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: JWC anoyance: Creating component based on existing ones

2006-08-28 Thread Pedro Viegas

Just one more thing on this subject.
Is is really a good ideia to set the default of the inherit-specification to
true?
Like you said Jesse...

"...but I worry about what kind of unexpected behaviour would come about as
a result of
doing this. (for people relying on it ~not~ happening)"

I'm thinking out loud here. I myself think it's obviously the desired
bahaviour, since it's only logical to inherit the whole
information/resources when we subclass a component, but like you said, for
those who are not expecting this and since the old Tap 4.0 dis not behave
this way... is it not dangerous? I can just imagine the mail list spam with
this question over and over again... :-) On the other hand it's only natural
that such a feature would be inteligent enough to know that since an
inhetitance took place the correct behaviour would be to inherit the spec
also... humm...

I don't know, just thinking... maybe if nobody else makes any remark on this
it means everybody agrees on the course described and it is in fact the best
one! ;-)

Regards,


On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


I've already created it, it's called "inherit-specification"...

Description:

If yes (the default), all elements contained in any superclass components
will be
  directly inherited in this specification.(this includes
parameters/properties/assets/etc..)

No one should get their hopes up too much yet...(in case I'm setting
myself
up for some unknown blocking reason for this not to be possible...)

On 8/27/06, andyhot <[EMAIL PROTECTED]> wrote:
>
> Are you thinking about a new 'inherits' or 'extends' attribute in the
>  element ?
>
>
> Jesse Kuhnert wrote:
> > Ok...I'm giving the whole "inheritance" thing a go..We'll see how that
> > works
> > out ;)
> >
> > On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >>
> >> Humm, so the inheritance is actually easyer that the inclusion of an
> >> external .xml... ok, the inheritance is the best solution by far so
> good
> >> news!
> >> Has for the .xml and so on... thanks for the tip. :-D
> >>
> >> On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >> >
> >> > I don't think it needs to be as complicated as you think.
> >> >
> >> > There is a whole set of classes people don't normally see that
> >> encapsulate
> >> > all of the information parsed from templates. It wouldn't be very
> hard
> >> to
> >> > walk up the class heirarchy and create a "union" view of a
template.
> >> >
> >> > As for filename extensions, it only takes a second or two to go
into
> >> > eclipse
> >> > -> window -> preferences -> editor -> content types -> to
> >> associated all
> >> > *.jwc/*.page/*.application/etc.. with wtp xml..
> >> >
> >> > I've been using autocompleting xsd/dtd stuff with wtp for a pretty
> >> long
> >> > time
> >> > now and have found it mostly sufficient for my needs, especially
when
> >> > tapestry is able to dynamically see my changes made to them.
> >> >
> >> > On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >> > >
> >> > > By the way... since we're diging into this...
> >> > > Again from the wiki...
> >> > >
> >> > > *"Rename the template page from *.page to *.xml or *.page.xml*
This
> >> > > feature
> >> > > would allow the IDE to provide some completion and validate the
> >> > template"
> >> > >
> >> > > If we didn't break compatibility with the use of the previous
> >> excception
> >> > > simply allowing the use of normal .xml exception this would by
just
> >> > > trivial... and the IDE validation and autocompletion would be
VERY
> >> > > welcome!
> >> > > Sorry, this was me trying to compensate Geoff's decision somehow!
> >> :-(
> >> > >
> >> > > What do you say?
> >> > >
> >> > > On 8/28/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >> > > >
> >> > > > Don't you sleep Jesse? :-D
> >> > > > Another lightning fast response, thanks!
> >> > > >
> >> > > > Gathering the bullet item from the wiki...
> >> > > > *
> >> > > > *
> >> > > >
> >> > > > * "

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas

Humm, so the inheritance is actually easyer that the inclusion of an
external .xml... ok, the inheritance is the best solution by far so good
news!
Has for the .xml and so on... thanks for the tip. :-D

On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


I don't think it needs to be as complicated as you think.

There is a whole set of classes people don't normally see that encapsulate
all of the information parsed from templates. It wouldn't be very hard to
walk up the class heirarchy and create a "union" view of a template.

As for filename extensions, it only takes a second or two to go into
eclipse
-> window -> preferences -> editor -> content types -> to associated all
*.jwc/*.page/*.application/etc.. with wtp xml..

I've been using autocompleting xsd/dtd stuff with wtp for a pretty long
time
now and have found it mostly sufficient for my needs, especially when
tapestry is able to dynamically see my changes made to them.

On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> By the way... since we're diging into this...
> Again from the wiki...
>
> *"Rename the template page from *.page to *.xml or *.page.xml* This
> feature
> would allow the IDE to provide some completion and validate the
template"
>
> If we didn't break compatibility with the use of the previous excception
> simply allowing the use of normal .xml exception this would by just
> trivial... and the IDE validation and autocompletion would be VERY
> welcome!
> Sorry, this was me trying to compensate Geoff's decision somehow! :-(
>
> What do you say?
>
> On 8/28/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> > Don't you sleep Jesse? :-D
> > Another lightning fast response, thanks!
> >
> > Gathering the bullet item from the wiki...
> > *
> > *
> >
> > * "Default Page/JWC Files and/or Page/JWC Inheritance* Often there is
a
> > need to use the exact same services/beans/etc one multiple pages. The
> > current solution is to add them to all the page/jwc files. There
should
> be a
> > way to inherit another page/jwc file and/or simply import another
> page/jwc
> > file's settings. (Note that this is already possible with
annotations.)"
> >
> >
> > Of course the simple class inheritance would be just perfect. But that
> may
> > be vry hard to implement at this point right? So many component to
> > refactor.
> > One thing pops up in my mind like a very handy and not so hard to
> > implement feature from the item above... "or simply import another
> page/jwc
> > file's settings". A new Tag to import another jwc/page (or another
> extension
> > since it would be a section of the specification and not a complete
> one...
> > say like .spec or something like that) would be relay simple right?
And
> that
> > would be veeery handy!
> > The "There should be a way to inherit another page/jwc file" would
also
> > not be a problem to other users if it were not the default behaviour
> right?
> > Something like...
> >
> >  > class="Some class..."
> > inherits="/org/apache/tapestry/form/Form.jwc">
> > (...)
> >
> > ...would be heaven right now, even if it would still let all the not
> > wanted page and jwc files endure a while longer! :-D
> >
> > So, if implementing these two little wishes...
> >
> >1. Import a .spec or something else file into a page/jwc (for
> >recurring resources)
> >2. Inherit from another jwc/page
> >
> > ...are quick to do... please Jesse, feel absolutely free to do so! I
for
> > one think it would benefit much the complexity of defining
> components/pages,
> > along with the move to annotations we are already able to do since
Tap4!
> >
> > Of course one should also think, if it is worth to keep building on
top
> > the the page/jwc reality or simply eradicate it for good and build a
> > different approach full annotations all way long? So much has allready
> been
> > done in this direction! OK, I could not resist... shame on me, I will
> > quietly punish myself for that previous remark! :-D
> >
> > Regards,
> >
> > On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > > I think inherited jwc configurations are part of the 4.1 wishlist.
> > >
> > > http://wiki.apache.org/tapestry/Tapestry41WishList
> > >
> > > Besides that, annotations are definitely the way to go to get
> > > inheritance
> > > today. I would love nothing more than to be able to use them
> exclu

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas

By the way... since we're diging into this...
Again from the wiki...

*"Rename the template page from *.page to *.xml or *.page.xml* This feature
would allow the IDE to provide some completion and validate the template"

If we didn't break compatibility with the use of the previous excception
simply allowing the use of normal .xml exception this would by just
trivial... and the IDE validation and autocompletion would be VERY welcome!
Sorry, this was me trying to compensate Geoff's decision somehow! :-(

What do you say?

On 8/28/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


Don't you sleep Jesse? :-D
Another lightning fast response, thanks!

Gathering the bullet item from the wiki...
*
*

* "Default Page/JWC Files and/or Page/JWC Inheritance* Often there is a
need to use the exact same services/beans/etc one multiple pages. The
current solution is to add them to all the page/jwc files. There should be a
way to inherit another page/jwc file and/or simply import another page/jwc
file's settings. (Note that this is already possible with annotations.)"


Of course the simple class inheritance would be just perfect. But that may
be vry hard to implement at this point right? So many component to
refactor.
One thing pops up in my mind like a very handy and not so hard to
implement feature from the item above... "or simply import another page/jwc
file's settings". A new Tag to import another jwc/page (or another extension
since it would be a section of the specification and not a complete one...
say like .spec or something like that) would be relay simple right? And that
would be veeery handy!
The "There should be a way to inherit another page/jwc file" would also
not be a problem to other users if it were not the default behaviour right?
Something like...


(...)

...would be heaven right now, even if it would still let all the not
wanted page and jwc files endure a while longer! :-D

So, if implementing these two little wishes...

   1. Import a .spec or something else file into a page/jwc (for
   recurring resources)
   2. Inherit from another jwc/page

...are quick to do... please Jesse, feel absolutely free to do so! I for
one think it would benefit much the complexity of defining components/pages,
along with the move to annotations we are already able to do since Tap4!

Of course one should also think, if it is worth to keep building on top
the the page/jwc reality or simply eradicate it for good and build a
different approach full annotations all way long? So much has allready been
done in this direction! OK, I could not resist... shame on me, I will
quietly punish myself for that previous remark! :-D

Regards,

On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:

> I think inherited jwc configurations are part of the 4.1 wishlist.
>
> http://wiki.apache.org/tapestry/Tapestry41WishList
>
> Besides that, annotations are definitely the way to go to get
> inheritance
> today. I would love nothing more than to be able to use them exclusively
> -
> but I don't think I'd be able to get away with it yet...
>
> I don't think jwc inheritance should be very hard to implement, but I
> worry
> about what kind of unexpected behaviour would come about as a result of
> doing this. (for people relying on it ~not~ happening)
>
> Maybe I should pause on my other things and tackle this really quick?
> (besides bugs of course)
>
> On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> > Hi all,
> >
> > Been creating a component lybrary that is composed of several tapestry
> > components with some add-ons or default customizations and a bunch of
> new
> > ones.
> > Been having a very repeating anoyance in doing this and would like to
> get
> > opinions on how to do this the best way, or if this is really
> something we
> > sould think about for the Tapestry wish list.
> >
> > If we get say for instance the Form component and want to basically
> add a
> > few funcionallity to it. Say a new parameter or two with some work in
> the
> > backstages (java class! :-D).
> > The normal approuch would be to subclass the
> > org.apache.tapestry.form.Formand build the .jwc companion file.
> > This is the problem, it's very anoying to have to copy several
> parameters
> > and injection and other Form Component needed recourses that are
> defined
> > in
> > the jwc to our own jwc.
> > If for instance in Tap4.2 the component suffers an enhancement, or
> even in
> > the current Tap version a BUG is detected and corrected in the jwc
> file
> > one
> > has to correct it in our code as well. Basically we're subclassing
> part of
> > the code and copy-pasting another part of the code... the o

Re: JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas

Don't you sleep Jesse? :-D
Another lightning fast response, thanks!

Gathering the bullet item from the wiki...
*
*

*"Default Page/JWC Files and/or Page/JWC Inheritance* Often there is a need
to use the exact same services/beans/etc one multiple pages. The current
solution is to add them to all the page/jwc files. There should be a way to
inherit another page/jwc file and/or simply import another page/jwc file's
settings. (Note that this is already possible with annotations.)"


Of course the simple class inheritance would be just perfect. But that may
be vry hard to implement at this point right? So many component to
refactor.
One thing pops up in my mind like a very handy and not so hard to implement
feature from the item above... "or simply import another page/jwc file's
settings". A new Tag to import another jwc/page (or another extension since
it would be a section of the specification and not a complete one... say
like .spec or something like that) would be relay simple right? And that
would be veeery handy!
The "There should be a way to inherit another page/jwc file" would also not
be a problem to other users if it were not the default behaviour right?
Something like...


(...)

...would be heaven right now, even if it would still let all the not wanted
page and jwc files endure a while longer! :-D

So, if implementing these two little wishes...

  1. Import a .spec or something else file into a page/jwc (for
  recurring resources)
  2. Inherit from another jwc/page

...are quick to do... please Jesse, feel absolutely free to do so! I for one
think it would benefit much the complexity of defining components/pages,
along with the move to annotations we are already able to do since Tap4!

Of course one should also think, if it is worth to keep building on top the
the page/jwc reality or simply eradicate it for good and build a different
approach full annotations all way long? So much has allready been done in
this direction! OK, I could not resist... shame on me, I will quietly punish
myself for that previous remark! :-D

Regards,

On 8/28/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


I think inherited jwc configurations are part of the 4.1 wishlist.

http://wiki.apache.org/tapestry/Tapestry41WishList

Besides that, annotations are definitely the way to go to get inheritance
today. I would love nothing more than to be able to use them exclusively -
but I don't think I'd be able to get away with it yet...

I don't think jwc inheritance should be very hard to implement, but I
worry
about what kind of unexpected behaviour would come about as a result of
doing this. (for people relying on it ~not~ happening)

Maybe I should pause on my other things and tackle this really quick?
(besides bugs of course)

On 8/27/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Been creating a component lybrary that is composed of several tapestry
> components with some add-ons or default customizations and a bunch of
new
> ones.
> Been having a very repeating anoyance in doing this and would like to
get
> opinions on how to do this the best way, or if this is really something
we
> sould think about for the Tapestry wish list.
>
> If we get say for instance the Form component and want to basically add
a
> few funcionallity to it. Say a new parameter or two with some work in
the
> backstages (java class! :-D).
> The normal approuch would be to subclass the
> org.apache.tapestry.form.Formand build the .jwc companion file.
> This is the problem, it's very anoying to have to copy several
parameters
> and injection and other Form Component needed recourses that are defined
> in
> the jwc to our own jwc.
> If for instance in Tap4.2 the component suffers an enhancement, or even
in
> the current Tap version a BUG is detected and corrected in the jwc file
> one
> has to correct it in our code as well. Basically we're subclassing part
of
> the code and copy-pasting another part of the code... the one witch is
> done
> declarativly and not in the Java class.
>
> Is there a nother way of doing this better?
> Of couse I could build a component witch wraped the tapestry component
> inside it. That's what I have done at the moment, but it looks like an
> unnecessary "layer" for tapestry to run through when rendering the page.
> One
> more layer of code to deel with in every AJAX refresh of a form, and so
on
> and so on.
>
> Seems like the more I use the JWC files the more I want to take every
bit
> of
> information from them. Anoying little things aren't they?
> Long live the annotation in the Javaclass. (Witch I think are not the
> answer
> here, are they?)
>
> Another painfull example is, for instance, if one needed to build a
> component for example to accept number input. Simply a spin

Re: Time to move on..

2006-08-27 Thread Pedro Viegas

Not very good news to the Tapestry project this one!
Here and there the IDE and Tools support for tapestry issue arise and all
kinds of opinions are issued.
A fact is that every platform needs to have IDE support in order for a very
good chunk of the programmer community to accept a framework. Is this aspect
Tapestry has just become poorer, and that is a bad, sad thing!

1st of all, I believe Geoff deserves all of our recognition for the enormous
effort he has enforced over the last years for the Tapestry community. I
have been using Tapestry 4 since it's beta release and I for one can cry out
loud for the so needed Sindle IDE plugin support of Tap 4!
But we cant all continue to rely on the back off one person to carry the
needs of us all! So thanks for all Geoff, you did more than one could ask of
you, and I wish all the best!

Now, here I go again and raise the IDE question once more. When will this
aspect of Tapestry be taken in consideration like a must have feature of the
platform for every version of it?

I use Tapestry every day. It is obvious that my productivity suffers from
the run-time syntax checking reality. The mistyped parameter, the not
respected DTD for the .jwc or .page files, etc etc. One loves this
framework, it's obvious otherwise we would not use it... but the IDE IS THAT
MUCH a difference!
I think the exception reports are simply fantastic. No other framework has
that much details or clarity, but lets face it, we want that in our IDE, we
want the autocompletion the for template files ou the specificatios files,
we should not need to know a components parameters by heart in order to use
them. It does not make sence. Tapestry is so much ahead of other frameworks
in so many aspects and is this needy in this area for so long and it seems
will become even more lost in this aspect!

Well, I guess now Hugo (TapIDEA) has been left out there alone in the
Tapestry plugin no-man's land! It sounds really lonely doesn't it? How long
till he is also overwhelmed by the lonely task? Let's wait and see...

Best of luck to you Geoff, and courage and lots of coffee to you Hugo! :-(

Sorry for those who do not agree to spam the list's purpose with these
remarks, but I simply could not help it after taking in the new Spindle
project reality!

Best regards,

On 8/27/06, Josh Long <[EMAIL PROTECTED]> wrote:


Well, I for one am sorry to see any ready and willing go, no matter
what the circumstances... but I hope things get to where they need to
be for you. :-)  FWIW, I never used the Spindle plugin but have seen a
few colleagues adopt tapestry at my behest because there was (even
relatively immature, at that point) tooling support available through
Spindle..

Best of luck,
Josh

On 8/26/06, Geoff Longman <[EMAIL PROTECTED]> wrote:
> It's been a blast...
>
> http://jroller.com/page/glongman?entry=time_to_move_on
>
> Geoff
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


JWC anoyance: Creating component based on existing ones

2006-08-27 Thread Pedro Viegas

Hi all,

Been creating a component lybrary that is composed of several tapestry
components with some add-ons or default customizations and a bunch of new
ones.
Been having a very repeating anoyance in doing this and would like to get
opinions on how to do this the best way, or if this is really something we
sould think about for the Tapestry wish list.

If we get say for instance the Form component and want to basically add a
few funcionallity to it. Say a new parameter or two with some work in the
backstages (java class! :-D).
The normal approuch would be to subclass the
org.apache.tapestry.form.Formand build the .jwc companion file.
This is the problem, it's very anoying to have to copy several parameters
and injection and other Form Component needed recourses that are defined in
the jwc to our own jwc.
If for instance in Tap4.2 the component suffers an enhancement, or even in
the current Tap version a BUG is detected and corrected in the jwc file one
has to correct it in our code as well. Basically we're subclassing part of
the code and copy-pasting another part of the code... the one witch is done
declarativly and not in the Java class.

Is there a nother way of doing this better?
Of couse I could build a component witch wraped the tapestry component
inside it. That's what I have done at the moment, but it looks like an
unnecessary "layer" for tapestry to run through when rendering the page. One
more layer of code to deel with in every AJAX refresh of a form, and so on
and so on.

Seems like the more I use the JWC files the more I want to take every bit of
information from them. Anoying little things aren't they?
Long live the annotation in the Javaclass. (Witch I think are not the answer
here, are they?)

Another painfull example is, for instance, if one needed to build a
component for example to accept number input. Simply a spin-off of the
TextField with the default translator to number. Sonds very simple, a class
that subclasses the org.apache.tapestry.form.TextField and a... jwc
component that is a full copy-paste of the original TextField one with the
changed translator. Very ugly is it not?
When we're talking of simples parameter definition, no problem, it's even
nice to reduce to what we want the unneeded parameter list, but when we're
talking of injections, beans, JS scripts, and so on, well in these cases
we're going deep in the heart of the component implementation and are asking
for refactors (new copy-paste) when new releases of tapestry are released.

Any thoughts on this will be welcomed.

--
Pedro Viegas


Tap4.1: DropdownDatePicker and DropdownTimePicker visualy damaged

2006-08-23 Thread Pedro Viegas

Hi all,

I've been playing around with these tow components.
I can't get them to show the proper layout in the corresponding dropdown
interfaces.
If I use the DropdownDatePicker alone it works fine, but if I mixe it with
some other components and some CSS definitions of my own, it gets all mixed
up. Maybe the default links and other TAGs are damaging it.
The DropdownTimePicker is more serious. Even alone in a page it does not get
the CSS classes aparently and so is interface is very ugly.
I've even tryed to see the dojo demos os the components these Tap components
are based on, and even there the Date one is OK but the Time one has similar
problems.
Even the TimeTracker demo is not able to show the Time component like the
image preview of dojo anounces it should look.

So the question is how are the CSS definitions for this component managed.
How can we know the classes we have to define. And I think the Tap component
wraps it in a class. Something like .DropdownDatePicker? I say this because
aparently is what the Autocompleter does and using this I managed to
personalize it's look.

Basically all I want is to be able to use theses components like this
original dojo image says it sould look like.

http://dojotoolkit.org/dojo/demos/screenshots/test_CiviCrmDateTimePickerThumb.gif

Regards,


--
Pedro Viegas


Re: Tap4.1 Autocompleter breaks when submited with no value

2006-08-22 Thread Pedro Viegas

Done!

https://issues.apache.org/jira/browse/TAPESTRY-1074

On 8/23/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


JIRA please..

On 8/22/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> If we use a form with an Autocompleter component and submit it without
> selecting a value from it's list, it issues the following error.
>
> String index out of range: 0  Stack Trace:
>
>- java.lang.String.charAt(String.java:558)
>- org.apache.tapestry.util.io.DataSqueezerImpl.unsqueeze(
>DataSqueezerImpl.java:164)
>- $DataSqueezer_10d37ed6ef2.unsqueeze($DataSqueezer_10d37ed6ef2.java)
>- org.apache.tapestry.data.NullDataSqueezerFilter.unsqueeze(
>NullDataSqueezerFilter.java:40)
>- $DataSqueezer_10d37ed6ef4.unsqueeze($DataSqueezer_10d37ed6ef4.java)
>- $DataSqueezer_10d37ed6d99.unsqueeze($DataSqueezer_10d37ed6d99.java)
>- org.apache.tapestry.dojo.form.Autocompleter.rewindFormWidget(
>Autocompleter.java:151)
>-
org.apache.tapestry.dojo.form.AbstractFormWidget.rewindFormComponent
>(AbstractFormWidget.java:51)
>- org.apache.tapestry.form.AbstractFormComponent.renderComponent(
>AbstractFormComponent.java:118)
>- org.apache.tapestry.AbstractComponent.render(AbstractComponent.java
> :676)
>
>- org.apache.tapestry.services.impl.DefaultResponseBuilder.render(
>DefaultResponseBuilder.java:131)
>- org.apache.tapestry.BaseComponent.renderComponent(
BaseComponent.java
> :92)
>
>- org.apache.tapestry.AbstractComponent.render(AbstractComponent.java
> :676)
>
>- org.apache.tapestry.services.impl.DefaultResponseBuilder.render(
>DefaultResponseBuilder.java:131)
>- org.apache.tapestry.AbstractComponent.renderBody(
>AbstractComponent.java:491)
>- org.apache.tapestry.components.RenderBody.renderComponent(
>RenderBody.java:41)
>- org.apache.tapestry.AbstractComponent.render(AbstractComponent.java
> :676)
>
>- org.apache.tapestry.services.impl.DefaultResponseBuilder.render(
>DefaultResponseBuilder.java:131)
>- org.apache.tapestry.AbstractComponent.renderBody(
>AbstractComponent.java:491)
>- org.apache.tapestry.form.FormSupportImpl.rewind(
FormSupportImpl.java
> :593)
>
>- org.apache.tapestry.form.Form.renderComponent(Form.java:196)
>- org.apache.tapestry.AbstractComponent.render(AbstractComponent.java
> :676)
>
>- org.apache.tapestry.services.impl.DefaultResponseBuilder.render(
>DefaultResponseBuilder.java:131)
>- org.apache.tapestry.form.Form.rewind(Form.java:284)
>- org.apache.tapestry.engine.RequestCycle.rewindForm(
RequestCycle.java
> :458)
>
>- org.apache.tapestry.form.Form.trigger(Form.java:295)
>- org.apache.tapestry.engine.DirectService.triggerComponent(
>DirectService.java:170)
>- org.apache.tapestry.engine.DirectService.service(DirectService.java
> :146)
>
>-
$IEngineService_10d37ed6e23.service($IEngineService_10d37ed6e23.java)
>
>- org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(
>EngineServiceOuterProxy.java:72)
>- org.apache.tapestry.engine.AbstractEngine.service(
>AbstractEngine.java:241)
>- org.apache.tapestry.services.impl.InvokeEngineTerminator.service(
>InvokeEngineTerminator.java:60)
>-
>
$WebRequestServicer_10d37ed6e01.service($WebRequestServicer_10d37ed6e01.java)
>
>-
>
$WebRequestServicer_10d37ed6dfd.service($WebRequestServicer_10d37ed6dfd.java)
>
>-
>
>
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service
>(WebRequestServicerPipelineBridge.java:56)
>-
>
$ServletRequestServicer_10d37ed6de3.service($ServletRequestServicer_10d37ed6de3.java)
>
>- org.apache.tapestry.request.DecodedRequestInjector.service(
>DecodedRequestInjector.java:55)
>-
>
$ServletRequestServicerFilter_10d37ed6ddf.service($ServletRequestServicerFilter_10d37ed6ddf.java)
>
>-
>
$ServletRequestServicer_10d37ed6de5.service($ServletRequestServicer_10d37ed6de5.java)
>
>- org.apache.tapestry.multipart.MultipartDecoderFilter.service(
>MultipartDecoderFilter.java:52)
>-
>
$ServletRequestServicerFilter_10d37ed6ddd.service($ServletRequestServicerFilter_10d37ed6ddd.java)
>
>-
>
$ServletRequestServicer_10d37ed6de5.service($ServletRequestServicer_10d37ed6de5.java)
>
>- org.apache.tapestry.services.impl.SetupRequestEncoding.service(
>SetupRequestEncoding.java:53)
>-
>
$ServletRequestServicerFilter_10d37ed6de1.service($ServletRequestServicerFilter_10d37ed6de1.java)
>
>-
>
$ServletRequestServicer_10d37ed6de5.service($ServletRequestServicer_10d37ed6de5.java)
>
>-
>
$ServletRequestServicer_10d37ed6dd7.service($ServletRe

Tap4.1 Autocompleter breaks when submited with no value

2006-08-22 Thread Pedro Viegas
ilter(
  ApplicationFilterChain.java:173)
  - org.apache.catalina.core.StandardWrapperValve.invoke(
  StandardWrapperValve.java:213)
  - org.apache.catalina.core.StandardContextValve.invoke(
  StandardContextValve.java:178)
  - org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(
  CustomPrincipalValve.java:39)
  - org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(
  SecurityAssociationValve.java:159)
  - org.jboss.web.tomcat.security.JaccContextValve.invoke(
  JaccContextValve.java:59)
  - org.apache.catalina.core.StandardHostValve.invoke(
  StandardHostValve.java:126)
  - org.apache.catalina.valves.ErrorReportValve.invoke(
  ErrorReportValve.java:105)
  - org.apache.catalina.core.StandardEngineValve.invoke(
  StandardEngineValve.java:107)
  - org.apache.catalina.connector.CoyoteAdapter.service(
  CoyoteAdapter.java:148)
  - org.apache.coyote.http11.Http11Processor.process(
  Http11Processor.java:856)
  -
  
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
  (Http11Protocol.java:744)
  - org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
  PoolTcpEndpoint.java:527)
  - org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(
  MasterSlaveWorkerThread.java:112)
  - java.lang.Thread.run(Thread.java:595)



--
Pedro Viegas


Re: Async form in Tap4.1 does not work...

2006-08-22 Thread Pedro Viegas

I don't envy you but we all sure admire and apreciate your efforts
Jesse! ;-)
Do go on... :-D

On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


Besides Josh, who I've apparently crippled with my radical body script
change. (I think Norbert is affected as well.) Oops...Sorry guys...Will be
done in a matter of hours.. :/

On 8/22/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> That solved it Jesse!
> It really was the cache.
> Guess those handy old SNAPSHOT JS scripts were in the way... obvious now
> that you pointed out! :-D
>
> By the way... on the undesired windows extra box subject, have you
thought
> about VMWare?
> I use windows at home (argh... have to have it, don't ask why) but
Ubunto
> Linux at work and solve the same necessity with VMWare... a VMWare
windows
> instalation suspended takes 5 seconds to resume from file. Very nice
> solution. And you can have several test cases... only Mac OSX can't
still
> be
> a VMWare machine! :-D maybe the day will still come...
>
> Thanks anyway... this is now officially 100% working! ;-)
>
> On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > What happens when you clear your browser cache?
> >
> > On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > >
> > > I tested on both IE6 and Firefox 1.5 with the same results on both:
> > > Workbench demo works, but my own code does not. :(
> > >
> > > -Original Message-
> > > From: Pedro Viegas [mailto:[EMAIL PROTECTED]
> > > Sent: terça-feira, 22 de agosto de 2006 19:19
> > > To: Tapestry users
> > > Subject: Re: Async form in Tap4.1 does not work...
> > >
> > > Got the bastard! It's a snicky little one!
> > >
> > > I also updated the last SNAPSHOT and the result are exactly the
same.
> > > As Danis said, althought the Submit does not have the async
parameters
> > the
> > > form does and so this should work.
> > > I tried the workbench demo link Jesse provided but it behaves
> preciselly
> > > like we are describing. It issues a full page refresh, not a parcial
> > ajax
> > > request/refresh as we're trying to create. Can the problem be with
the
> > > browsers we're using for the testing?
> > > I'm using a FF 1.5.0.6 on Windows.
> > >
> > > Out of curiosity I tried the same test case on IE 6.0.2900... and
> guess
> > > what... it works.
> > > From previous posts I know Jesse's OS is Linux and his browser FF.
> Maybe
> > > this issue only happens in FF on windows?
> > > Can you test this Jesse?
> > >
> > > So I vouch that the code works but in my tests only on IE.
> > > Denis, what's your browser?
> > >
> > > On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > > >
> > > > They should be working on forms just fine.
> > > >
> > > > In fact, this form uses them here:
> > > >
> > > >
> > >
> > >
> >
>
http://opencomponentry.com:8080/workbench/Home,$Border.pageLink.sdirect?sp=S
> > > Dates
> > > > .
> > > >
> > > >
> > > >
> > > > On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > The parameters are not implemented for Submit, but they already
do
> > > exist
> > > > > in
> > > > > the Form component. Since Jesse replied that's fixed I thought
it
> > > meant
> > > > > ajax
> > > > > should be working when using these parameters on a form.
> > > > >
> > > > > -Original Message-
> > > > > From: Norbert Sándor [mailto:[EMAIL PROTECTED]
> > > > > Sent: terça-feira, 22 de agosto de 2006 14:03
> > > > > To: Tapestry users
> > > > > Subject: Re: Async form in Tap4.1 does not work...
> > > > >
> > > > > As I know it is not yet implemented, I guess there are no such
> > > > > parameters (async, updateComponents) for Submit, LinkSubmit,
etc.
> > yet.
> > > > >
> > > > > Regards,
> > > > > Norbi
> > > > >
> > > > > Denis Souza wrote:
> > > > > > I'm still having the same problem as Pedro. Submitting a form
> with
> > > > ajax
> > > > > only
> > > > > > works when I use @EventListener. Using async=true and
> > > updateComponents
> > > > 

Re: Async form in Tap4.1 does not work...

2006-08-22 Thread Pedro Viegas

That solved it Jesse!
It really was the cache.
Guess those handy old SNAPSHOT JS scripts were in the way... obvious now
that you pointed out! :-D

By the way... on the undesired windows extra box subject, have you thought
about VMWare?
I use windows at home (argh... have to have it, don't ask why) but Ubunto
Linux at work and solve the same necessity with VMWare... a VMWare windows
instalation suspended takes 5 seconds to resume from file. Very nice
solution. And you can have several test cases... only Mac OSX can't still be
a VMWare machine! :-D maybe the day will still come...

Thanks anyway... this is now officially 100% working! ;-)

On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


What happens when you clear your browser cache?

On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> I tested on both IE6 and Firefox 1.5 with the same results on both:
> Workbench demo works, but my own code does not. :(
>
> -----Original Message-
> From: Pedro Viegas [mailto:[EMAIL PROTECTED]
> Sent: terça-feira, 22 de agosto de 2006 19:19
> To: Tapestry users
> Subject: Re: Async form in Tap4.1 does not work...
>
> Got the bastard! It's a snicky little one!
>
> I also updated the last SNAPSHOT and the result are exactly the same.
> As Danis said, althought the Submit does not have the async parameters
the
> form does and so this should work.
> I tried the workbench demo link Jesse provided but it behaves preciselly
> like we are describing. It issues a full page refresh, not a parcial
ajax
> request/refresh as we're trying to create. Can the problem be with the
> browsers we're using for the testing?
> I'm using a FF 1.5.0.6 on Windows.
>
> Out of curiosity I tried the same test case on IE 6.0.2900... and guess
> what... it works.
> From previous posts I know Jesse's OS is Linux and his browser FF. Maybe
> this issue only happens in FF on windows?
> Can you test this Jesse?
>
> So I vouch that the code works but in my tests only on IE.
> Denis, what's your browser?
>
> On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > They should be working on forms just fine.
> >
> > In fact, this form uses them here:
> >
> >
>
>
http://opencomponentry.com:8080/workbench/Home,$Border.pageLink.sdirect?sp=S
> Dates
> > .
> >
> >
> >
> > On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> > >
> > > The parameters are not implemented for Submit, but they already do
> exist
> > > in
> > > the Form component. Since Jesse replied that's fixed I thought it
> meant
> > > ajax
> > > should be working when using these parameters on a form.
> > >
> > > -Original Message-
> > > From: Norbert Sándor [mailto:[EMAIL PROTECTED]
> > > Sent: terça-feira, 22 de agosto de 2006 14:03
> > > To: Tapestry users
> > > Subject: Re: Async form in Tap4.1 does not work...
> > >
> > > As I know it is not yet implemented, I guess there are no such
> > > parameters (async, updateComponents) for Submit, LinkSubmit, etc.
yet.
> > >
> > > Regards,
> > > Norbi
> > >
> > > Denis Souza wrote:
> > > > I'm still having the same problem as Pedro. Submitting a form with
> > ajax
> > > only
> > > > works when I use @EventListener. Using async=true and
> updateComponents
> > > on
> > > > the form component seem to have no effect. The form is always
> > submitted
> > > > normally (without ajax). Tried it with the latest snapshot
> > > > (4.1.1-20060822.021102-19) and still no go.
> > > >
> > > > -Original Message-
> > > > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> > > > Sent: segunda-feira, 21 de agosto de 2006 23:14
> > > > To: Tapestry users
> > > > Subject: Re: Async form in Tap4.1 does not work...
> > > >
> > > > Fixed.
> > > >
> > > > On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> > > >
> > > >> btw: tried it with the fresh SNAPSHOT of 20060819 and the result
is
> > > still
> > > >> the same!
> > > >>
> > > >> On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> > > >>
> > > >>> I've been browsing the TimeTracker source to see if I can sort
> > things
> > > >>>
> > > >> out.
> > > >>
> > > >>> I've found the parameter I mentioned... the shell's
> > > ajaxEnabled="true&q

Re: Async form in Tap4.1 does not work...

2006-08-22 Thread Pedro Viegas

Don't know how much is relevant but for what it helps here are the things I
spotted diferent of my own test case witch as I had stated works on IE but
not on FF.

In the shell component I add the undocumented parameter: ajaxEnabled="true"
In the updateComponent target I add the ID just in case also... 

I also have some things I think are completly irrelevant like dojo debug
enabled and in the form clientValidationEnabled="ognl:true" witch I think
has no impact on the submit process, only the field validation proccess.

Hope it helps.

On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:


It really is working. I don't get it though. I looked at the source code
and
changed my own code to look as much like it as possible so I could spot
the
problem. But still no ajax.
This is the test I wrote:
















Where "val" is a String in the component's class.

Is there something I'm doing wrong?

Thanks,
Denis

-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: terça-feira, 22 de agosto de 2006 18:17
To: Tapestry users
Subject: Re: Async form in Tap4.1 does not work...

They should be working on forms just fine.

In fact, this form uses them here:

http://opencomponentry.com:8080/workbench/Home,$Border.pageLink.sdirect?sp=S
Dates
.



On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> The parameters are not implemented for Submit, but they already do exist
> in
> the Form component. Since Jesse replied that's fixed I thought it meant
> ajax
> should be working when using these parameters on a form.
>
> -Original Message-
> From: Norbert Sándor [mailto:[EMAIL PROTECTED]
> Sent: terça-feira, 22 de agosto de 2006 14:03
> To: Tapestry users
> Subject: Re: Async form in Tap4.1 does not work...
>
> As I know it is not yet implemented, I guess there are no such
> parameters (async, updateComponents) for Submit, LinkSubmit, etc. yet.
>
> Regards,
> Norbi
>
> Denis Souza wrote:
> > I'm still having the same problem as Pedro. Submitting a form with
ajax
> only
> > works when I use @EventListener. Using async=true and updateComponents
> on
> > the form component seem to have no effect. The form is always
submitted
> > normally (without ajax). Tried it with the latest snapshot
> > (4.1.1-20060822.021102-19) and still no go.
> >
> > -Original Message-
> > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> > Sent: segunda-feira, 21 de agosto de 2006 23:14
> > To: Tapestry users
> > Subject: Re: Async form in Tap4.1 does not work...
> >
> > Fixed.
> >
> > On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> >> btw: tried it with the fresh SNAPSHOT of 20060819 and the result is
> still
> >> the same!
> >>
> >> On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >>
> >>> I've been browsing the TimeTracker source to see if I can sort
things
> >>>
> >> out.
> >>
> >>> I've found the parameter I mentioned... the shell's
> ajaxEnabled="true".
> >>>
> >> I
> >>
> >>> set it up in my test code and no change. Huess it's allready true by
> >>> default.
> >>> Since
http://tapestry.apache.org/tapestry4.1/components/Shell.htmldoes
> >>> not mention it I'm only guessing.
> >>> By what I gather from the TimeTracker code no ajax like form
> submission
> >>>
> >> is
> >>
> >>> implemented. All ajax calls are made by @EventListener's setups. Is
> the
> >>>
> >> form
> >>
> >>> ajax submit working? Has anybody got it working?
> >>>
> >>> Thanks,
> >>>
> >>>
> >>> On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> Yep, sorry, I was messing things up a bit.
> >>>> I corrected several errors I had on the code.
> >>>> The form submits fine, all works but not asyncronously. It does a
> >>>>
> >> normal
> >>
> >>>> submit and not an ajax one.
> >>>> The client side form validation is also not working. Only server
> side.
> >>>> So async mode is apparently not activating.
> >>>> Any clues why? I seem to remember something on the mailing list a
> >>>>
> >> while
> >>
> >>>> back of activating ajax globally... maybe on the shell component?
> >>>>
> >> Something
> >>
> >>>> like that?
> 

Re: new solution for concurrent requests

2006-08-22 Thread Pedro Viegas

+1
I'm with Patrick.
How 'bout it guys, maybe this could be Tap4.1 enhancement material?
Do share Henri! :-)

On 8/22/06, Patrick Moore <[EMAIL PROTECTED]> wrote:


sounds like something that should be rolled into the tapestry code itself.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: Async form in Tap4.1 does not work...

2006-08-22 Thread Pedro Viegas

Got the bastard! It's a snicky little one!

I also updated the last SNAPSHOT and the result are exactly the same.
As Danis said, althought the Submit does not have the async parameters the
form does and so this should work.
I tried the workbench demo link Jesse provided but it behaves preciselly
like we are describing. It issues a full page refresh, not a parcial ajax
request/refresh as we're trying to create. Can the problem be with the
browsers we're using for the testing?
I'm using a FF 1.5.0.6 on Windows.

Out of curiosity I tried the same test case on IE 6.0.2900... and guess
what... it works.

From previous posts I know Jesse's OS is Linux and his browser FF. Maybe

this issue only happens in FF on windows?
Can you test this Jesse?

So I vouch that the code works but in my tests only on IE.
Denis, what's your browser?

On 8/22/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


They should be working on forms just fine.

In fact, this form uses them here:

http://opencomponentry.com:8080/workbench/Home,$Border.pageLink.sdirect?sp=SDates
.



On 8/22/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> The parameters are not implemented for Submit, but they already do exist
> in
> the Form component. Since Jesse replied that's fixed I thought it meant
> ajax
> should be working when using these parameters on a form.
>
> -Original Message-
> From: Norbert Sándor [mailto:[EMAIL PROTECTED]
> Sent: terça-feira, 22 de agosto de 2006 14:03
> To: Tapestry users
> Subject: Re: Async form in Tap4.1 does not work...
>
> As I know it is not yet implemented, I guess there are no such
> parameters (async, updateComponents) for Submit, LinkSubmit, etc. yet.
>
> Regards,
> Norbi
>
> Denis Souza wrote:
> > I'm still having the same problem as Pedro. Submitting a form with
ajax
> only
> > works when I use @EventListener. Using async=true and updateComponents
> on
> > the form component seem to have no effect. The form is always
submitted
> > normally (without ajax). Tried it with the latest snapshot
> > (4.1.1-20060822.021102-19) and still no go.
> >
> > -Original Message-
> > From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> > Sent: segunda-feira, 21 de agosto de 2006 23:14
> > To: Tapestry users
> > Subject: Re: Async form in Tap4.1 does not work...
> >
> > Fixed.
> >
> > On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> >> btw: tried it with the fresh SNAPSHOT of 20060819 and the result is
> still
> >> the same!
> >>
> >> On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >>
> >>> I've been browsing the TimeTracker source to see if I can sort
things
> >>>
> >> out.
> >>
> >>> I've found the parameter I mentioned... the shell's
> ajaxEnabled="true".
> >>>
> >> I
> >>
> >>> set it up in my test code and no change. Huess it's allready true by
> >>> default.
> >>> Since
http://tapestry.apache.org/tapestry4.1/components/Shell.htmldoes
> >>> not mention it I'm only guessing.
> >>> By what I gather from the TimeTracker code no ajax like form
> submission
> >>>
> >> is
> >>
> >>> implemented. All ajax calls are made by @EventListener's setups. Is
> the
> >>>
> >> form
> >>
> >>> ajax submit working? Has anybody got it working?
> >>>
> >>> Thanks,
> >>>
> >>>
> >>> On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> Yep, sorry, I was messing things up a bit.
> >>>> I corrected several errors I had on the code.
> >>>> The form submits fine, all works but not asyncronously. It does a
> >>>>
> >> normal
> >>
> >>>> submit and not an ajax one.
> >>>> The client side form validation is also not working. Only server
> side.
> >>>> So async mode is apparently not activating.
> >>>> Any clues why? I seem to remember something on the mailing list a
> >>>>
> >> while
> >>
> >>>> back of activating ajax globally... maybe on the shell component?
> >>>>
> >> Something
> >>
> >>>> like that?
> >>>>
> >>>> My testcode is as follows...
> >>>>
> >>>>
> >>>> .html
> >>>>
> >>>>  >>>>   browserLogLevel="DEBUG" debugEnabled="true&qu

Re: Submit doesnt tag or select when the form is submitted via ajax

2006-08-21 Thread Pedro Viegas

I have saw that the JIRA has been stamped solved. ("Resolved. (both handling
of selected/tag correctly and LinkSubmit working with ajax forms)")
It was done so on the 19th, same date as the last SNAPSHOT available on
maven rep.
The question is... has this fix been before or after the SNAPSHOT build of
the 19th?
It still happens! :-S

Help!

On 8/16/06, Josh Long <[EMAIL PROTECTED]> wrote:


Yay JIRA and Jesse!

Um... the bug URL is https://issues.apache.org/jira/browse/TAPESTRY-1069

Thanks again,

Josh

On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> HmmSounds like a JIRA worthy bug. (The fix is very easy though..I
think?
> ...will know later)
>
> On 8/16/06, Josh Long <[EMAIL PROTECTED]> wrote:
> >
> > Im noticing that the  @Submit doesnt tag or select anything when the
> > form is submitted via ajax (ie, async = true, updateComponents =
> > "foo", etc)..
> >
> > Anyone else have this problem?
> >
> > Any workarounds?
> >
> > Peace,
> > Josh
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: Async form in Tap4.1 does not work...

2006-08-21 Thread Pedro Viegas

btw: tried it with the fresh SNAPSHOT of 20060819 and the result is still
the same!

On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


I've been browsing the TimeTracker source to see if I can sort things out.
I've found the parameter I mentioned... the shell's ajaxEnabled="true". I
set it up in my test code and no change. Huess it's allready true by
default.
Since http://tapestry.apache.org/tapestry4.1/components/Shell.html does
not mention it I'm only guessing.
By what I gather from the TimeTracker code no ajax like form submission is
implemented. All ajax calls are made by @EventListener's setups. Is the form
ajax submit working? Has anybody got it working?

Thanks,


On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> Yep, sorry, I was messing things up a bit.
> I corrected several errors I had on the code.
> The form submits fine, all works but not asyncronously. It does a normal
> submit and not an ajax one.
> The client side form validation is also not working. Only server side.
> So async mode is apparently not activating.
> Any clues why? I seem to remember something on the mailing list a while
> back of activating ajax globally... maybe on the shell component? Something
> like that?
>
> My testcode is as follows...
>
>
> .html
>
>browserLogLevel="DEBUG" debugEnabled="true"
> debugContainerId="dojoDebug"
>   doctype="literal:PUBLIC html "-//W3C//DTD XHTML 
1.0Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
> transitional.dtd"">
>
> 
> 
>async="ognl:true" updateComponents="ognl:{'results'}"
> listener="listener:formSubmit">
>
>Project name:  value="ognl:name"
> validators="validators:required"/>
> 
>Project description: value="ognl:description" />
> 
>
> 
> 
> Name:  
> Description: 
> 
> 
>Debug goes here!
> 
> 
> 
>
>  .java
>
> public abstract class Test extends BasePageImplementation {
>
> @InitialValue("literal:delegateIt")
> public abstract String getName();
> @InitialValue("literal:A project management suite!")
> public abstract String getDescription();
>
> public void formSubmit(IRequestCycle cycle) {
> getLogger().debug("Entered formSubmit");
> getLogger().debug("Name: "+getName());
> getLogger().debug("Description: "+getDescription());
> }
> }
>
> Thanks,
>
>
>
> On 8/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > I don't believe @Submit or similar components accept that parameter.
> > (double
> > check the docs, but I think that only applies to the @Form
> > currently..or
> > various links)
> >
> > On 8/20/06, Pedro Viegas < [EMAIL PROTECTED]> wrote:
> > >
> > > Hi there.
> > > Been trying to get a Tap4.1 form component to behave like a
> > Tacos:AjaxForm
> > > with no success.
> > > If I understand correctly what I have to do is declare my form with
> > > async="true" and have a submit with the updateComponents="some id",
> > right?
> > > I have the following example witch always does a normal full page
> > submit.
> > >
> > > test.html
> > >
> > >  > >   browserLogLevel="DEBUG" debugEnabled="true"
> > > debugContainerId="dojoDebug"
> > >   doctype="literal:PUBLIC html "-//W3C//DTD XHTML
> > > 1.0Transitional//EN"
> > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
> > > transitional.dtd"">
> > >
> > > 
> > >  > > listener="formSubmit"/>
> > >  > async="true">
> > >Project name:  > > value="ognl:name"
> > > validators="validators:required"/> 
> > >Project description:  > > value="ognl:description" />
> > > 
> > > 
> > > 
> > > Name:  
> > > Description:  > />
> > > 
> > > 
> > >Debug goes here!
> > > 
> > > 
> > > 
> > >
> > > test.page
> > >
> > > 
> > >  > >   "-//Apache Softw

Re: Submit doesnt tag or select when the form is submitted via ajax

2006-08-21 Thread Pedro Viegas

btw: tried it with the fresh SNAPSHOT of 20060819 and the result is still
the same!

On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


Hi all,

I'm having the same issue with ajax submited forms.
Jesse, you said that you have added the ajax logic to the form but not the
submit. The parameters (async, updateComponents) are on the form so, it
sould work right? Or since the Submit is the one that triggers the result it
is the responsible for not implementing the ajax way yet? I'm confused.
Does this work for forms or not just yet?


On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> Oh...I added the updateComponents/async/etc to the Form component the
> other
> day. Documentation has been updated as well..
>
> (Still haven't done it to the submit type components yet)
>
> On 8/16/06, Denis Souza <[EMAIL PROTECTED]> wrote:
> >
> > While, on the topic, I don't know if this might be related but I'm
> still
> > having trouble with ajax forms. Take the following example:
> >
> >  > updateComponents="ognl:{'testajax'}">
> >
> >
> >
> > 
> >
> > 
> >
> > 
> >
> > The page is still fully reloaded but the listener gets called as it
> > should.
> > Same thing with the listener/action parameter on the submit button.
> > It only happens with forms. DirecLink works great.
> >
> > Am I forgetting something? Any ideas?
> >
> > Thanks,
> > Denis
> >
> > -Original Message-
> > From: Josh Long [mailto:[EMAIL PROTECTED]
> > Sent: quarta-feira, 16 de agosto de 2006 16:54
> > To: Tapestry users
> > Subject: Re: Submit doesnt tag or select when the form is submitted
> via
> > ajax
> >
> > Yay JIRA and Jesse!
> >
> > Um... the bug URL is
> https://issues.apache.org/jira/browse/TAPESTRY-1069
> >
> > Thanks again,
> >
> > Josh
> >
> > On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > > HmmSounds like a JIRA worthy bug. (The fix is very easy
> though..I
> > think?
> > > ...will know later)
> > >
> > > On 8/16/06, Josh Long < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Im noticing that the  @Submit doesnt tag or select anything when
> the
> > > > form is submitted via ajax (ie, async = true, updateComponents =
> > > > "foo", etc)..
> > > >
> > > > Anyone else have this problem?
> > > >
> > > > Any workarounds?
> > > >
> > > > Peace,
> > > > Josh
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Jesse Kuhnert
> > > Tapestry/Dojo/(and a dash of TestNG), team member/developer
> > >
> > > Open source based consulting work centered around
> > > dojo/tapestry/tacos/hivemind.
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>


--
Pedro Viegas





--
Pedro Viegas


Re: Submit doesnt tag or select when the form is submitted via ajax

2006-08-21 Thread Pedro Viegas

Hi all,

I'm having the same issue with ajax submited forms.
Jesse, you said that you have added the ajax logic to the form but not the
submit. The parameters (async, updateComponents) are on the form so, it
sould work right? Or since the Submit is the one that triggers the result it
is the responsible for not implementing the ajax way yet? I'm confused.
Does this work for forms or not just yet?

On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


Oh...I added the updateComponents/async/etc to the Form component the
other
day. Documentation has been updated as well..

(Still haven't done it to the submit type components yet)

On 8/16/06, Denis Souza <[EMAIL PROTECTED]> wrote:
>
> While, on the topic, I don't know if this might be related but I'm still
> having trouble with ajax forms. Take the following example:
>
>  updateComponents="ognl:{'testajax'}">
>
>
>
> 
>
> 
>
> 
>
> The page is still fully reloaded but the listener gets called as it
> should.
> Same thing with the listener/action parameter on the submit button.
> It only happens with forms. DirecLink works great.
>
> Am I forgetting something? Any ideas?
>
> Thanks,
> Denis
>
> -Original Message-
> From: Josh Long [mailto:[EMAIL PROTECTED]
> Sent: quarta-feira, 16 de agosto de 2006 16:54
> To: Tapestry users
> Subject: Re: Submit doesnt tag or select when the form is submitted via
> ajax
>
> Yay JIRA and Jesse!
>
> Um... the bug URL is https://issues.apache.org/jira/browse/TAPESTRY-1069
>
> Thanks again,
>
> Josh
>
> On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > HmmSounds like a JIRA worthy bug. (The fix is very easy though..I
> think?
> > ...will know later)
> >
> > On 8/16/06, Josh Long <[EMAIL PROTECTED]> wrote:
> > >
> > > Im noticing that the  @Submit doesnt tag or select anything when the
> > > form is submitted via ajax (ie, async = true, updateComponents =
> > > "foo", etc)..
> > >
> > > Anyone else have this problem?
> > >
> > > Any workarounds?
> > >
> > > Peace,
> > > Josh
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tapestry/Dojo/(and a dash of TestNG), team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


Re: Async form in Tap4.1 does not work...

2006-08-21 Thread Pedro Viegas

I've been browsing the TimeTracker source to see if I can sort things out.
I've found the parameter I mentioned... the shell's ajaxEnabled="true". I
set it up in my test code and no change. Huess it's allready true by
default.
Since http://tapestry.apache.org/tapestry4.1/components/Shell.html does not
mention it I'm only guessing.
By what I gather from the TimeTracker code no ajax like form submission is
implemented. All ajax calls are made by @EventListener's setups. Is the form
ajax submit working? Has anybody got it working?

Thanks,

On 8/21/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


Yep, sorry, I was messing things up a bit.
I corrected several errors I had on the code.
The form submits fine, all works but not asyncronously. It does a normal
submit and not an ajax one.
The client side form validation is also not working. Only server side.
So async mode is apparently not activating.
Any clues why? I seem to remember something on the mailing list a while
back of activating ajax globally... maybe on the shell component? Something
like that?

My testcode is as follows...


.html

http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"">





   Project name: 

   Project description: 




Name:  
Description: 


   Debug goes here!




.java

public abstract class Test extends BasePageImplementation {

@InitialValue("literal:delegateIt")
public abstract String getName();
@InitialValue("literal:A project management suite!")
public abstract String getDescription();

public void formSubmit(IRequestCycle cycle) {
getLogger().debug("Entered formSubmit");
getLogger().debug("Name: "+getName());
getLogger().debug("Description: "+getDescription());
}
}

Thanks,



On 8/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> I don't believe @Submit or similar components accept that parameter.
> (double
> check the docs, but I think that only applies to the @Form currently..or
> various links)
>
> On 8/20/06, Pedro Viegas < [EMAIL PROTECTED]> wrote:
> >
> > Hi there.
> > Been trying to get a Tap4.1 form component to behave like a
> Tacos:AjaxForm
> > with no success.
> > If I understand correctly what I have to do is declare my form with
> > async="true" and have a submit with the updateComponents="some id",
> right?
> > I have the following example witch always does a normal full page
> submit.
> >
> > test.html
> >
> >  >   browserLogLevel="DEBUG" debugEnabled="true"
> > debugContainerId="dojoDebug"
> >   doctype="literal:PUBLIC html "-//W3C//DTD XHTML
> > 1.0Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
> > transitional.dtd"">
> >
> > 
> >  > listener="formSubmit"/>
> >  async="true">
> >Project name:  > value="ognl:name"
> > validators="validators:required"/> 
> >Project description:  > value="ognl:description" />
> > 
> > 
> > 
> > Name:  
> > Description: 
>
> > 
> > 
> >Debug goes here!
> > 
> > 
> > 
> >
> > test.page
> >
> > 
> >  >   "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
> >   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
> >
> > 
> > 
> >
> > test.java
> >
> > public abstract class Test extends BasePageImplementation {
> >
> > @InitialValue("literal:delegateIt")
> > public abstract String getName();
> > @InitialValue("literal:A project management suite!")
> > public abstract String getDescription();
> >
> > public void formSubmit(IRequestCycle cycle) {
> > cycle.getResponseBuilder ().updateComponent("results");
> > }
> > }
> >
> >
> > The listener code with the ResponseBuilder.updateComponent is only a
> test
> > since is was not functioning. I think it should not even be necessary.
>
> > I'm using the 4.1.1SNAPSHOOT 20060815.
> > Anybody knows what's wrong?
> >
> > Regards,
> >
> >
> > --
> > Pedro Viegas
> >
> >
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>


--
Pedro Viegas





--
Pedro Viegas


Re: Async form in Tap4.1 does not work...

2006-08-21 Thread Pedro Viegas

Yep, sorry, I was messing things up a bit.
I corrected several errors I had on the code.
The form submits fine, all works but not asyncronously. It does a normal
submit and not an ajax one.
The client side form validation is also not working. Only server side.
So async mode is apparently not activating.
Any clues why? I seem to remember something on the mailing list a while back
of activating ajax globally... maybe on the shell component? Something like
that?

My testcode is as follows...

.html

http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"">


   
   
  Project name:  
  Project description: 
   
   
   
   Name:  
   Description: 
   
   
  Debug goes here!
   



.java

public abstract class Test extends BasePageImplementation {

   @InitialValue("literal:delegateIt")
   public abstract String getName();
   @InitialValue("literal:A project management suite!")
   public abstract String getDescription();

   public void formSubmit(IRequestCycle cycle) {
   getLogger().debug("Entered formSubmit");
   getLogger().debug("Name: "+getName());
   getLogger().debug("Description: "+getDescription());
   }
}

Thanks,


On 8/20/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


I don't believe @Submit or similar components accept that parameter.
(double
check the docs, but I think that only applies to the @Form currently..or
various links)

On 8/20/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> Hi there.
> Been trying to get a Tap4.1 form component to behave like a
Tacos:AjaxForm
> with no success.
> If I understand correctly what I have to do is declare my form with
> async="true" and have a submit with the updateComponents="some id",
right?
> I have the following example witch always does a normal full page
submit.
>
> test.html
>
>browserLogLevel="DEBUG" debugEnabled="true"
> debugContainerId="dojoDebug"
>   doctype="literal:PUBLIC html "-//W3C//DTD XHTML
> 1.0Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
> transitional.dtd"">
>
> 
>  listener="formSubmit"/>
> 
>Project name:  value="ognl:name"
> validators="validators:required"/> 
>Project description:  value="ognl:description" />
> 
> 
> 
> Name:  
> Description: 
> 
> 
>Debug goes here!
> 
> 
> 
>
> test.page
>
> 
>"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
>   "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>
>
> 
> 
>
> test.java
>
> public abstract class Test extends BasePageImplementation {
>
> @InitialValue("literal:delegateIt")
> public abstract String getName();
> @InitialValue("literal:A project management suite!")
> public abstract String getDescription();
>
> public void formSubmit(IRequestCycle cycle) {
> cycle.getResponseBuilder().updateComponent("results");
> }
> }
>
>
> The listener code with the ResponseBuilder.updateComponent is only a
test
> since is was not functioning. I think it should not even be necessary.
> I'm using the 4.1.1SNAPSHOOT 20060815.
> Anybody knows what's wrong?
>
> Regards,
>
>
> --
> Pedro Viegas
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


Async form in Tap4.1 does not work...

2006-08-20 Thread Pedro Viegas

Hi there.
Been trying to get a Tap4.1 form component to behave like a Tacos:AjaxForm
with no success.
If I understand correctly what I have to do is declare my form with
async="true" and have a submit with the updateComponents="some id", right?
I have the following example witch always does a normal full page submit.

test.html

http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd"">


   
   
  Project name:  
  Project description: 
   
   
   
   Name:  
   Description: 
   
   
  Debug goes here!
   



test.page


http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";>




test.java

public abstract class Test extends BasePageImplementation {

   @InitialValue("literal:delegateIt")
   public abstract String getName();
   @InitialValue("literal:A project management suite!")
   public abstract String getDescription();

   public void formSubmit(IRequestCycle cycle) {
   cycle.getResponseBuilder().updateComponent("results");
   }
}


The listener code with the ResponseBuilder.updateComponent is only a test
since is was not functioning. I think it should not even be necessary.
I'm using the 4.1.1SNAPSHOOT 20060815.
Anybody knows what's wrong?

Regards,


--
Pedro Viegas


Re: new dojo table widget

2006-08-20 Thread Pedro Viegas

Saw the demo! Great stuff!!!
The feature list is very interesting indeed!
Can't wait to get this Tapestry integrated :-D

On 8/18/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:


Really cool! I was waiting for this kind of component :) Thanks!



On 8/17/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> http://blog.dojotoolkit.org/2006/08/17/new-widget-filteringtable
>
> This is probably the version I'll be adding into Tapestry eventually. I
> thought Drew would get a kick out of knowing that the bindings for
> columns/fields are now sporting a cool new "ognl" like syntax in for
> javascript json objects. (Don't worry, it's not what it sounds
like...It's
> all done in a very performant way because it's much more natural to the
> language than it is in java).
>
> This one is particularly exciting for me as the widget was developed on
a
> project we were both on so I'm fairly familiar with it. (I think I also
made
> the request for ognl-like syntax..but I didn't call it that at the time
;) )
>
>
> --
> Jesse Kuhnert
> Tapestry/Dojo/(and a dash of TestNG), team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>

---------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: dojoContainerId not being read by shell component

2006-08-17 Thread Pedro Viegas

Just tested it in the latest SNAPSHOT and it works fine!
Bug squashed I guess! ;-)

On 8/17/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


Giving a test drive at the Tap 4.1 I found that the shell component always
uses the default value for the dojoContainerId.
Even if we supply another as in...



The code that gets generated is:

djConfig = { isDebug: true, debugContainerId:'debug', 
baseRelativePath:"
<a  rel="nofollow" href="http://localhost/delegateIt/app?service=asset&path=%2Fdojo%2F"">http://localhost/delegateIt/app?service=asset&path=%2Fdojo%2F"</a>;, 
preventBackButtonFix: false, parseWidgets: false }; 
http://localhost/delegateIt/app?service=asset&path=%2Fdojo%2Fdojo.js"</a>;>http://localhost/delegateIt/app?service=asset&path=%2Ftapestry%2Fcore.js"</a>;>
dojo.require("dojo.logging.Logger");
dojo.log.setLevel
(dojo.log.getLevel("DEBUG"));

Am I missing something?


--
Pedro Viegas





--
Pedro Viegas


Re: How to setup 4.1 MAVEN2 snapshot

2006-08-17 Thread Pedro Viegas

Robert... Thanks!
Just downloaded the eBook. Very good stuff! A must have for a newbie like
you said!

Regards,

On 8/17/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Just thought I would mention, for all us maven newbies... I just found
this announcement (dated April 26 2006) about a free maven 2 book on TSS:
http://www.theserverside.com/news/thread.tss?thread_id=40126
The free maven 2 book mentioned there is still available.

Robert

> Hi there guys,
>
> Finnally I got there.
> Sorry for being a such a newbie at this!
> You were right, the pom.xml did not exist. It had the original name I
got
> from the repo. I forgot to change it| :-( Shame on me big time!
> Since I got a similar error with java dump and all previouslly when a
> correct pom.xml existed I got lazy and did not check properly. Sorry
once
> again.
>
> Using the pom that Andy had dumped all worked fine.
> It just and a little issue... the "issue" word in the middle of the
> dependency tags! :-D After removing it all works fine.
>
> So thanks again to all of you for lending me a hand on this and for yout
> pacience with my lack of knowledge mavenwise!
>
> regards,
>
> On 8/17/06, andyhot <[EMAIL PROTECTED]> wrote:
>>
>> Latest jars can be found in
>>
>>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.1-SNAPSHOT/
>>
>>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-contrib/4.1.1-SNAPSHOT/
>>
>>
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-annotations/4.1.1-SNAPSHOT/
>>
>> Pedro Viegas wrote:
>> > So am I! :-(
>> >
>> > Mark, what I am trying to do is simply get the latest SNAPSHOT of
>> > Tapestry
>> > 4.1.1.
>> > Honnestly I haven't fully understand what this exactly means!
>> > My app is build another way, nothing to do with this.
>> > All I want to do is get the latest JAR files os tapestry 4.1.1. I
>> still
>> > haven't figured it out it it means that Ia have to compile them, just
>> > deploy
>> > them, I don't know. All I understand right now is that there is a
>> maven2
>> > script with would do it for me... it I can get it to work!
>> >
>> > The pom is in the directory. The pom file I'm using latest is the one
>> > Andy
>> > provided in a previous post witch I will translate bellow.
>> > I also created the directory sctructure Andy instructed. But it still
>> > does
>> > not work!!! Help!!!
>> >
>> > Just for the record I'm not trying to integrate my app in the maven
>> build
>> > process, nor trying to get the Tap4.1.1 in any peculiar specific way.
>> Any
>> > approuch is good for me. All I want to do it get the latest JAR files
>> > daily
>> > or whenever Jesse launches them so I can test Tap 4.1.1 with the
daily
>> > error
>> > corrections and new features/enhancements. So, I know several people
>> > on this
>> > list are actually using this without problems... how did you do it?
>> > Can you
>> > post your pom files? Did you had to make any changes to maven
>> > configuration
>> > like libs or anything?
>> >
>> > Thanks,
>> >
>> > Thas pom file!
>> >
>> > 
>> >   4.0.0
>> >   my.group
>> >   my-project< /artifactId>
>> >   war
>> >   0.1.1-SNAPSHOT
>> >   My description
>> >   My project name
>> >
>> >   
>> >   
>> >   org.apache.tapestry
>> >   tapestry-framework
>> >   4.1.1-SNAPSHOT
>> >   issue
>> >   
>> >   org.apache.tapestry
>> >   tapestry-contrib
>> >   4.1.1-SNAPSHOT
>> >   
>> >   
>> >   org.apache.tapestry
>> >   tapestry-annotations
>> >   4.1.1-SNAPSHOT
>> >   
>> >   
>> >
>> >   
>> >   
>> >   apache.snapshots
>> >   http://people.apache.org/repo/m2-snapshot-repository
>> 
>> >   
>> >   
>> >   tapestry.javaforge
>> >   http://howardlewisship.com/repository
>> >   
>> >   
>> >
>> >   
>> >   
>> >   apache.snapshots
>> >   http://people.apache.org/repo/m2-snapshot-reposito

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-17 Thread Pedro Viegas

Hi there guys,

Finnally I got there.
Sorry for being a such a newbie at this!
You were right, the pom.xml did not exist. It had the original name I got
from the repo. I forgot to change it| :-( Shame on me big time!
Since I got a similar error with java dump and all previouslly when a
correct pom.xml existed I got lazy and did not check properly. Sorry once
again.

Using the pom that Andy had dumped all worked fine.
It just and a little issue... the "issue" word in the middle of the
dependency tags! :-D After removing it all works fine.

So thanks again to all of you for lending me a hand on this and for yout
pacience with my lack of knowledge mavenwise!

regards,

On 8/17/06, andyhot <[EMAIL PROTECTED]> wrote:


Latest jars can be found in

http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-framework/4.1.1-SNAPSHOT/

http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-contrib/4.1.1-SNAPSHOT/

http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/tapestry-annotations/4.1.1-SNAPSHOT/

Pedro Viegas wrote:
> So am I! :-(
>
> Mark, what I am trying to do is simply get the latest SNAPSHOT of
> Tapestry
> 4.1.1.
> Honnestly I haven't fully understand what this exactly means!
> My app is build another way, nothing to do with this.
> All I want to do is get the latest JAR files os tapestry 4.1.1. I still
> haven't figured it out it it means that Ia have to compile them, just
> deploy
> them, I don't know. All I understand right now is that there is a maven2
> script with would do it for me... it I can get it to work!
>
> The pom is in the directory. The pom file I'm using latest is the one
> Andy
> provided in a previous post witch I will translate bellow.
> I also created the directory sctructure Andy instructed. But it still
> does
> not work!!! Help!!!
>
> Just for the record I'm not trying to integrate my app in the maven
build
> process, nor trying to get the Tap4.1.1 in any peculiar specific way.
Any
> approuch is good for me. All I want to do it get the latest JAR files
> daily
> or whenever Jesse launches them so I can test Tap 4.1.1 with the daily
> error
> corrections and new features/enhancements. So, I know several people
> on this
> list are actually using this without problems... how did you do it?
> Can you
> post your pom files? Did you had to make any changes to maven
> configuration
> like libs or anything?
>
> Thanks,
>
> Thas pom file!
>
> 
>   4.0.0
>   my.group
>   my-project< /artifactId>
>   war
>   0.1.1-SNAPSHOT
>   My description
>   My project name
>
>   
>   
>   org.apache.tapestry
>   tapestry-framework
>   4.1.1-SNAPSHOT
>   issue
>   
>   org.apache.tapestry
>   tapestry-contrib
>   4.1.1-SNAPSHOT
>   
>   
>   org.apache.tapestry
>   tapestry-annotations
>   4.1.1-SNAPSHOT
>   
>   
>
>   
>   
>   apache.snapshots
>   http://people.apache.org/repo/m2-snapshot-repository

>   
>   
>   tapestry.javaforge
>   http://howardlewisship.com/repository
>   
>   
>
>   
>   
>   apache.snapshots
>   http://people.apache.org/repo/m2-snapshot-repository

>   
>   
>   tapestry.javaforge
>   http://howardlewisship.com/repository
>   
>   
>
> 
>
>
> On 8/17/06, andyhot <[EMAIL PROTECTED]> wrote:
>>
>> Looks like it can't find the pom.xml file in the current directory...
>> errr... i'm out of ideas...
>>
>> Pedro Viegas wrote:
>> > Thanks Andy for your response.
>> > But unfortunatly I still get the same error of this MOJO
>> dependency! :-(
>> >
>> > + Error stacktraces are turned on.
>> > [INFO] Scanning for projects...
>> > [INFO]
>> >
>>

>>
>> >
>> > [INFO] Building Maven Default Project
>> > [INFO]task-segment: [compile]
>> > [INFO]
>> >
>>

>>
>> >
>> > [INFO]
>> >
>>

>> > [ERROR] BUILD ERROR
>> > [INFO]
>> >
>>

>> > [INFO] Cannot execute mojo: resources. It requires a project with an
>> > existing pom.xml, but the build is not using one.
>&

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-17 Thread Pedro Viegas

So am I! :-(

Mark, what I am trying to do is simply get the latest SNAPSHOT of Tapestry
4.1.1.
Honnestly I haven't fully understand what this exactly means!
My app is build another way, nothing to do with this.
All I want to do is get the latest JAR files os tapestry 4.1.1. I still
haven't figured it out it it means that Ia have to compile them, just deploy
them, I don't know. All I understand right now is that there is a maven2
script with would do it for me... it I can get it to work!

The pom is in the directory. The pom file I'm using latest is the one Andy
provided in a previous post witch I will translate bellow.
I also created the directory sctructure Andy instructed. But it still does
not work!!! Help!!!

Just for the record I'm not trying to integrate my app in the maven build
process, nor trying to get the Tap4.1.1 in any peculiar specific way. Any
approuch is good for me. All I want to do it get the latest JAR files daily
or whenever Jesse launches them so I can test Tap 4.1.1 with the daily error
corrections and new features/enhancements. So, I know several people on this
list are actually using this without problems... how did you do it? Can you
post your pom files? Did you had to make any changes to maven configuration
like libs or anything?

Thanks,

Thas pom file!


  4.0.0
  my.group
  my-project< /artifactId>
  war
  0.1.1-SNAPSHOT
  My description
  My project name

  
  
  org.apache.tapestry
  tapestry-framework
  4.1.1-SNAPSHOT
  issue
  
  org.apache.tapestry
  tapestry-contrib
  4.1.1-SNAPSHOT
  
  
  org.apache.tapestry
  tapestry-annotations
  4.1.1-SNAPSHOT
  
  

  
  
  apache.snapshots
  http://people.apache.org/repo/m2-snapshot-repository
  
  
  tapestry.javaforge
  http://howardlewisship.com/repository
  
  

  
  
  apache.snapshots
  http://people.apache.org/repo/m2-snapshot-repository
  
  
  tapestry.javaforge
  http://howardlewisship.com/repository
  
  




On 8/17/06, andyhot <[EMAIL PROTECTED]> wrote:


Looks like it can't find the pom.xml file in the current directory...
errr... i'm out of ideas...

Pedro Viegas wrote:
> Thanks Andy for your response.
> But unfortunatly I still get the same error of this MOJO dependency! :-(
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
>

>
> [INFO] Building Maven Default Project
> [INFO]task-segment: [compile]
> [INFO]
>

>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute
> mojo:
> resources. It requires a project with an existing pom.xml, but the
> build is
> not using one.
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:559)
>at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
>
> (DefaultLifecycleExecutor.java:475)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
>at
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
>
> (DefaultLifecycleExecutor.java:306)
>at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
>at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:140)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:585)
>at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>at
> org.codehaus.classw

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas

Thanks Andy for your response.
But unfortunatly I still get the same error of this MOJO dependency! :-(

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [compile]
[INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo:
resources. It requires a project with an existing pom.xml, but the build is
not using one.
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute
mojo: resources. It requires a project with an existing pom.xml, but the
build is not using one.
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:339)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   ... 16 more
[INFO]

[INFO] Total time: < 1 second
[INFO] Finished at: Thu Aug 17 01:06:01 BST 2006
[INFO] Final Memory: 2M/3M
[INFO]



Do you know how to solve this?

Regards,


On 8/17/06, andyhot <[EMAIL PROTECTED]> wrote:


- create a folder for your app
- copy there (and make changes) the attached pom.xml
- create subfolders src/main/java, src/main/webapp (and if you want
src/test/java )
- mvn compile, it will download all deps
- mvn eclipse:eclipse will create eclipse files


4.0.0
my.group
my-project
war
0.1.1-SNAPSHOT
My description
My project name



org.apache.tapestry
tapestry-framework
4.1.1-SNAPSHOT
issue

org.apache.tapestry
tapestry-contrib
4.1.1-SNAPSHOT


org.apache.tapestry
tapestry-annotations
4.1.1-SNAPSHOT





apache.snapshots
http://people.apache.org/repo/m2-snapshot-repository



tapestry.javaforge
http://howardlewisship.com/repository





apache.snapshots
http://people.apache.org/repo/m2-snapshot-repository



tapestry.javaforge
http://howardlewisship.com/repository






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


dojoContainerId not being read by shell component

2006-08-16 Thread Pedro Viegas

Giving a test drive at the Tap 4.1 I found that the shell component always
uses the default value for the dojoContainerId.
Even if we supply another as in...



The code that gets generated is:

djConfig = { isDebug: true,
debugContainerId:'debug',
baseRelativePath:"<a  rel="nofollow" href="http://localhost/delegateIt/app?service=asset&path=%2Fdojo%2F"">http://localhost/delegateIt/app?service=asset&path=%2Fdojo%2F"</a>;,
preventBackButtonFix: false, parseWidgets: false }; 
http://localhost/delegateIt/app?service=asset&path=%2Fdojo%2Fdojo.js"</a>;>http://localhost/delegateIt/app?service=asset&path=%2Ftapestry%2Fcore.js"</a>;>
dojo.require("dojo.logging.Logger");
dojo.log.setLevel(dojo.log.getLevel("DEBUG"));

Am I missing something?


--
Pedro Viegas


Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas

Can anybody give the proper steps to get this running?

Thanks,

On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


http://mojo.codehaus.org/

OK, I think this is it, what do I have to do? There's a bunch of plugins
out there.
This looks like a trail of breadcrumbs... :-S


On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> OK, I think I get it, I use the most recent pom I find here right.
> OK, tried the:
>
> tapestry-project-4.1.1-20060815.022306-17.pom
>
> and issued a "mvn package -e"
>
> The error was...
>
> "+ Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [package]
> [INFO]
> 
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute
> mojo: resources. It requires a project with an existing pom.xml, but the
> build is not using one.
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:559)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
> DefaultLifecycleExecutor.java:475)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:454)
> at
> 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
> DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:273)
> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (
> DefaultLifecycleExecutor.java:140)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java
> :322)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke (
> DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.codehaus.classworlds.Launcher.launchEnhanced(
> Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(
> Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException : Cannot
> execute mojo: resources. It requires a project with an existing pom.xml,
> but the build is not using one.
> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:339)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:534)
> ... 16 more
> [INFO]
> 
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Aug 16 23:02:27 BST 2006
> [INFO] Final Memory: 2M/4M
> [INFO]
> "
>
> mojo:resources? A Missing lib?
>
>
>
> On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED] > wrote:
> >
> > No, you don't ~have~ to use maven. (And certainly don't need to
> > compile
> > tapestry even if you do).
> >
> > http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/
> >
> >
> > On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> > >
> > > Sorry Jesse, i'm really a newbie in Maven.
> > > I had checked out the maven site and get Maven installed and
> > working.
> > > I checked the getting started section and saw how to start creating
> > a
> > > project, but do a really have to maven enable my project just to get
> > the
> > > 4.1.1-SNAPSHOT and compile it to get the most recent JAR files?
> > >
> > > The pom file in the "
> > > h

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas

http://mojo.codehaus.org/

OK, I think this is it, what do I have to do? There's a bunch of plugins out
there.
This looks like a trail of breadcrumbs... :-S

On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:


OK, I think I get it, I use the most recent pom I find here right.
OK, tried the:

tapestry-project-4.1.1-20060815.022306-17.pom

and issued a "mvn package -e"

The error was...

"+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [package]
[INFO]


[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute
mojo: resources. It requires a project with an existing pom.xml, but the
build is not using one.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (
DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(
Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException : Cannot execute
mojo: resources. It requires a project with an existing pom.xml, but the
build is not using one.
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:339)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
... 16 more
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Aug 16 23:02:27 BST 2006
[INFO] Final Memory: 2M/4M
[INFO]
"

mojo:resources? A Missing lib?



On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>
> No, you don't ~have~ to use maven. (And certainly don't need to compile
> tapestry even if you do).
>
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/
>
>
> On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> > Sorry Jesse, i'm really a newbie in Maven.
> > I had checked out the maven site and get Maven installed and working.
> > I checked the getting started section and saw how to start creating a
> > project, but do a really have to maven enable my project just to get
> the
> > 4.1.1-SNAPSHOT and compile it to get the most recent JAR files?
> >
> > The pom file in the "
> > http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/";
> > doesn't work since maven doesn't know witch repository to search for.
> > Accordingly to http://tapestry.apache.org/tapestry4.1/download.htmlit's
> > the
> > " http://people.apache.org/repo/m2-snapshot-repository/";, and
> currently i'm
> > searching where to put this reference in.
> > Isn't there a ready to go configuration for this? Sorry if i'm just
> being
> > an
> > anoying maven newbie with silly first day questions! :-S
> >
> > I'll keep searching but if someone can give a jumpstart in th

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas

OK, I think I get it, I use the most recent pom I find here right.
OK, tried the:

tapestry-project-4.1.1-20060815.022306-17.pom

and issued a "mvn package -e"

The error was...

"+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [package]
[INFO]

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo:
resources. It requires a project with an existing pom.xml, but the build is
not using one.
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
   at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
   at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot execute
mojo: resources. It requires a project with an existing pom.xml, but the
build is not using one.
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:339)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   ... 16 more
[INFO]

[INFO] Total time: 1 second
[INFO] Finished at: Wed Aug 16 23:02:27 BST 2006
[INFO] Final Memory: 2M/4M
[INFO]
"

mojo:resources? A Missing lib?


On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


No, you don't ~have~ to use maven. (And certainly don't need to compile
tapestry even if you do).

http://people.apache.org/repo/m2-snapshot-repository/org/apache/tapestry/

On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> Sorry Jesse, i'm really a newbie in Maven.
> I had checked out the maven site and get Maven installed and working.
> I checked the getting started section and saw how to start creating a
> project, but do a really have to maven enable my project just to get the
> 4.1.1-SNAPSHOT and compile it to get the most recent JAR files?
>
> The pom file in the "
> http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/";
> doesn't work since maven doesn't know witch repository to search for.
> Accordingly to http://tapestry.apache.org/tapestry4.1/download.html it's
> the
> "http://people.apache.org/repo/m2-snapshot-repository/";, and currently
i'm
> searching where to put this reference in.
> Isn't there a ready to go configuration for this? Sorry if i'm just
being
> an
> anoying maven newbie with silly first day questions! :-S
>
> I'll keep searching but if someone can give a jumpstart in this it would
> help...
>
> Thanks,
>
> On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > This page provides some help,
> > http://tapestry.apache.org/tapestry4.1/download.html.
> >
> > For anything else you'll probably have to either go to
maven.apache.orgor
> > look at the pom.xml files setup in tapestry already.

Re: How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas

Sorry Jesse, i'm really a newbie in Maven.
I had checked out the maven site and get Maven installed and working.
I checked the getting started section and saw how to start creating a
project, but do a really have to maven enable my project just to get the
4.1.1-SNAPSHOT and compile it to get the most recent JAR files?

The pom file in the "http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/";
doesn't work since maven doesn't know witch repository to search for.
Accordingly to http://tapestry.apache.org/tapestry4.1/download.html it's the
"http://people.apache.org/repo/m2-snapshot-repository/";, and currently i'm
searching where to put this reference in.
Isn't there a ready to go configuration for this? Sorry if i'm just being an
anoying maven newbie with silly first day questions! :-S

I'll keep searching but if someone can give a jumpstart in this it would
help...

Thanks,

On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


This page provides some help,
http://tapestry.apache.org/tapestry4.1/download.html.

For anything else you'll probably have to either go to maven.apache.org or
look at the pom.xml files setup in tapestry already. (
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/)

On 8/16/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> Been hearing a lot about using MAVEN2 to get the 4.1-SNAPSHOT of
tapestry
> for the alpha test phase.
> Can anybody help me to get this working?
> Never used MAVEN before. Just ANT with CVS repositories.
> I installed the MAVEN and Subversion Eclipse plugin and and going to try
> and
> make sense of it all. A jump start or detailed instructions would be
very
> much appreciated!
>
> Regards,
>
> --
> Pedro Viegas
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


How to setup 4.1 MAVEN2 snapshot

2006-08-16 Thread Pedro Viegas

Hi there,

Been hearing a lot about using MAVEN2 to get the 4.1-SNAPSHOT of tapestry
for the alpha test phase.
Can anybody help me to get this working?
Never used MAVEN before. Just ANT with CVS repositories.
I installed the MAVEN and Subversion Eclipse plugin and and going to try and
make sense of it all. A jump start or detailed instructions would be very
much appreciated!

Regards,

--
Pedro Viegas


Re: Tapestry 4.1: dojo everywhere?

2006-08-13 Thread Pedro Viegas

Hi Jesse,

23Kb? The original 176Kb shrinked to 176Kb with the same features? I'm
stunned! :-)
That will sure speed thinhs up a bit!

Regards,

On 8/13/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


Just as an update on this thread, it looks like they've been working on
build size and I'm currently able to create a 23kb file for dojo..So, I
hope
that will speed things up a little bit.

On 8/5/06, Beat Hoermann <[EMAIL PROTECTED]> wrote:
>
> Jesse Kuhnert  gmail.com> writes:
>
> > You should find that no XmlHttpObject's will be created against your
> will
> > unless you specifically set a parameter or call a method that is
> designed to
> > do it. (whether directly or as a side effect).
>
> Good idea!
>
> > The framework does continue to include javascript in your pages, as it
> has
> > always done.
>
> Of course, I guess nobody wants to miss that! It is just a difference to
> load
> a few inline JS-snippets of 50 Bytes or a JS-file of 173 KByte.
>
> > The summary between that documented page, and another email written on
> this
> > list - is that your thoughts are valid/common, but until someone
> presents me
> > with a real "problem" that I can measure and test against I'm not
going
> to
> > invest the time/effort it would require to write the API around
unknown
> > object environments.
>
> Do you mean the portlet thread? Here again: The guy doesn't need the 173
> KByte "dojo.js". He just turns it off (or later it won't be
automatically
> loaded anymore).
>
> I don't quite understand what you mean with "a real problem" and
"unknown
> object environments". I do not have a concrete setting. Intuitively the
> new "EventListener" and the new "ResponseBuilder" fit. Eventually, I
would
> like to use them for simple XHR-communication (aka ajax) without being
> forced
> to load the dojo-infrastructure. I don't know if this can be
accomplished
> or
> how Tapestry generally supports me doing XHR without writing dynamic
> scripts
> and without using dojo. Sure, you guys have already done a lot of
> conceptional
> work on this and it is not a problem for me to wait for a refreshed user
> doc.
>
> My current point is: It is not clear to me why a thin web-app has to
load
> the
> dojo-infrastructure if it doesn't need dojo. (I showed an example in the
> response to Bernard.)
>
> > I would certainly be all for reducing the total compressed size of the
> > initial dojo bootstrap file though. No argument here for that :) Some
of
> it
> > would involve simply including less packages in the default build,
some
> of
> > it involving other things I've been mulling over in my head for a
while.
>
> Not of a concern to me: Dojo provides so many valuable things for a
> web-app,
> all rectifying the additional loading time. My concern: How can I
rectify
> a 10
> sec startup-time for a web-app that doesn't use dojo.
>
> Thank's for your answer! It is a pleasure for me to see how things
evolve
> around Tapestry and XHR!
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


Re: Tap 4.0 + Tacos --> Upgrade to Tap 4.1

2006-08-08 Thread Pedro Viegas

Hi Jesse, sorry to press on more on this, even more while you're so commited
to turning this Alpha to a Beta candidate! ;-)
I have just arrived after 2 months without internet access and my, things
have evolved! :-D

I'm simply marveled with the EventListener... it's a must have for my Ajax
(dojo) intense web application I'm building.
I have build a component lib that basicly encapsulates several Tacos
components and a few new of my own as the base fot the UI of this
application.
I'm eager to start using the T4.1 ASAP, mainly because of the EventListener
annotation, but my question is, will the old Tacos lib work in T4.1?
Can we have a working hybrid of T4.0 + Tacos / T4.1 app? I could refactor
and/or reimplement my component lib on-demand as the new features would
arrive and new functionallity was added if this is possible but with the
majoraty of the code unchanged and all my components working, yes?
Must confess I haven't read throught the full T4.1 docs yet, mainlly I have
read several posts here on the matter and a few links to the docs, but I was
looking to a GOD NO, it is not possible, or, it could work with a few
changes kind of push down the right direction.

Thanks and keep up the good work!

On 8/3/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


Oh what a familiar theme we weave

I wasn't very happy with the way we had to do certain things in tacos the
first time around, so I'm trying as much as possible to not let myself
"apply tacos" to Tapestry as much as possible.

That being said, I have added a few key services which tacos could very
easily use to replace the core functionality aspects of things.

Generally speaking I tried to make the tacos components act/look as much
like their Tapestry counterparts to help ease the learning curve when
going
from Tapestry - > Tacos, so I think the same will be true when going from
Tacos -> Tapestry.

AjaxEventSubmit is a very powerful/nice component, but I've always
considered it an "abomination" in terms of design. I'm much happier with
@EventListener.

I'm still not sure I like the idea of the standard parameter set
"updateComponents/effects/etc" but we'll see. Maybe there really isn't
going
to be a clear and victorious winner for these things.

Like I said in a previous posting though, I've only laid down the internal
support necessary to do these things so far. ..Now is more the time for
component developers/users of tacos to start thinking about how they've
been
doing things so far and what might make things feel/seem more intuitive.

I think EventListener is really the only "official" new thing that I'm
happy
with the design of. (leaving out effects/what to update/etc on purpose)

Either way the end result can't be too radical(for T4 at least ;) ). It
should hopefully be based on existing concepts/tasks that every day
Tapestry
users go through with simple extensions of those concepts where it makes
sense. (and with minimal effort/typing..I hate typing)

On 8/2/06, Karthik N <[EMAIL PROTECTED]> wrote:
>
> I'm also very keen to know the answer to this.
>
> Considering that Tap 4.1 is "round-the-corner", we're wondering whether
to
> go ahead and use Tacos in our projects, and be able to refactor then
with
> minimal effort when they become a part of Tapestry 4.1?  Also any Tacos
> components that might get deprecated?
>
> Essentially we want to make our applications 4.1 friendly ...
>
> Any pointers/answers would be of most help!  Thanks!!
>
> On 8/2/06, Murthy Parthasarathi <[EMAIL PROTECTED]> wrote:
> >
> > Hi All.
> >
> > If I have a Tapestry 4.0 application, that uses Tacos, what
will
> > be
> > the effort involved in moving this app to Tapestry 4.1? Are Tacos
> > components going to be available as-is, or will there be a lot of
> > changes needed to the existing components?
> >
> > i.e. Should we limit ourselves from not using Tacos in 4.1?
> >
> > Cheers
> > Murthy
> >
> >
> > -----
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Thanks, Karthik
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


Re: dynamic comboboxes

2006-08-08 Thread Pedro Viegas

One note about that handy doc page... a little error on it...

Where this is...


@Component(type = "Autocompleter", id = "projectSelect",
   bindings = { "model=projectModel", "value=selectedProject",
   "displayName=message:choose.project", "filterOnChange=true",
   "validators=validators:required"})
public abstract Autocompleter getProjectSelection();

@EventListener(targets = "projectChoose", events = "selectOption")
public void projectSelected()
{
   // do something
}



I think this should be instead...


@Component(type = "Autocompleter", id = "projectSelect",
   bindings = { "model=projectModel", "value=selectedProject",
   "displayName=message:choose.project", "filterOnChange=true",
   "validators=validators:required"})
public abstract Autocompleter getProjectSelection();

@EventListener(targets = "projectSelect", events = "selectOption")
public void projectSelected()
{
   // do something
}



And while I'm here... great job Jesse!
This EventListener annotation is just a little life saviour .

Regards,

On 8/8/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


Yep. No need for all of that complexity with Tapestry. I would reccomend
using the EventListener to do this. It should be a fairly simple task to
update your second combo box when the first has a value selected in it.

http://tapestry.apache.org/tapestry4.1/ajax/EventListener.html

On 8/8/06, Jani Lindqvist <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I need a combobox that populates based on the selection of other
combobox.
> It´s pretty simple to do in jsp, but i want to convert it to a tapestry
> component that just takes 2 collection as parameters. contents of the
> first
> combobox and then a map of lists, with the id of the object contained in
> the
> first combobox as a key.
>
> I havent used javascript in tapestry, otherwise than call some functions
> that are generated using Any component.
>
> my jsp function generates couple of arrays holding the mappings and
values
> and when the first combobox is changed the function is called. i think
> i´ve
> figured out from the documentation how to pass the name of the form and
> component to the script so it can read the value that was changed but
how
> do
> i generate the arrays?
>
>
> here is an example of one function generated in the jsp
>
> function change_combo()
> {
> var comboone_value = new Array();
> var comboone_title = new Array();
>
>
> comboone_value[0] = "51";
>
> comboone_title[0] = "username1";
>
> comboone_value[1] = "37";
> comboone_title[1] = "username2";
>
>
> var combotwo_title = new Array();
> var combotwo_value = new Array();
>
>
> combotwo_title[51] = new Array();
> combotwo_value[51] = new Array();
>
>
> combotwo_value[51][0] = "296";
> combotwo_title[51][0] = "Customer A";
>
> combotwo_value[51][1] = "294";
>
> combotwo_title[51][1] = "Customer B";
>
> combotwo_value[51][2] = "297";
> combotwo_title[51][2] = "Customer C";
>
>
>
>
> combotwo_title[37] = new Array();
> combotwo_value[37] = new Array();
>
>
>
> combotwo_value[37][0] = "277";
> combotwo_title[37][0] = "Customer 1";
>
> combotwo_value[37][1] = "283";
> combotwo_title[37][1] = "Customer 2";
>
> combotwo_value[37][2] = "300";
>
> combotwo_title[37][2] = "Customer 3";
>
>
>
>
> var combo1_selection;
> combo1_selection = document.customerCall.userId[
> document.customerCall.userId.selectedIndex].value;
>
>
>
>if (combo1_selection != 0) {
>
>
>  var combo2_values = combotwo_value[combo1_selection];
>  var combo2_titles = combotwo_title[combo1_selection];
> if(combo2_values == null)
> {
>
>document.customerCall.customerId.options[0].value = "-";
>
>document.customerCall.customerId.options[0].text = "-";
>document.customerCall.customerId.length = 1;
> } else
> {
>
>
> document.customerCall.customerId.length = combo2_values.length;
>
>
> for(i=0;i
>   document.customerCall.customerId.options[i].value=
> combo2_values[i];
>   document.customerCall.customerId.options
> [i].text=combo2_titles[i];
>}
>
>
>}
>}else{
>document.customerCall.customerId.options[0].value
> = "-";
>document.customerCall.customerId.options[0].text =
> "-";
>}
> }
>
>
> how do i do for loops in the script?
>
> we´re thinking of upgrading to 4.1, is there some component that i could
> use
> to populate the second one with ajax, so i would be spared of this
> javascript generation?
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


Re: Component Tab with AJAX

2006-05-29 Thread Pedro Viegas

I have adapted Sam's component for my own use also.
Woks perfectly.
For the AJAX enabling part of what Hugo said, since it is allready "DIV
based", you can simply add, like you said, a tacos:AjaxDirectLink with the
correct updateComponent to the desired DIV before the tab change.
I didn't look much further on this, but I'm sure you can add this to the tab
change's normal event method that dojo's TabContainer provides. (one more "
dojo.event.connect(...)").

Regards,

On 5/29/06, Sam Gendler <[EMAIL PROTECTED]> wrote:


I've got a component that wraps the dojo TabContainer widget.  I
haven't had a chance to tacos-ify it yet, and commit it to tacos, but
I could zip up some source and post a copy here which should be easy
enough to replace with the official tacos version sometime later.
Currently, you just define a div for each tab, and then specify an
ognl list of div names which should be added to your tabcontainer.
The labels are looked up in the properties of the page, where the
property name is the same as the div name.  It is pretty simple but it
works like a charm.

--sam


On 5/29/06, spamsucks <[EMAIL PROTECTED]> wrote:
> The tab component on steroids is ready.
>
> Supports client-side and serverside switching (in the same tabset),
> hiding tabs, enabling/disabling tabs.  There is a demo of the tab up and
> running.
> Let me know if there are any problems/enhancements
> http://stitches.authsum.org
>
> This tab was originally based on the tabset component(found on tassel).
> I ported it to T4 and added several bells and whistles.
>
>
>
> spamsucks wrote:
>
> > Yes, the demo site has been up and down (it's where i am
> > building/testing) the tab panel right now.  The new tab component will
> > be on the demo site.
> > I just got it working the way I want it to (css and javascript hell
> > for the client side).
> >
> > I will update the docs and create some binaries to download.  I am
> > going to create 2 sets of binaries, one for the set of components that
> > require no dependencies outside tapestry/hivemind, and another jar
> > that will contain the components that you need additional libs for...
> >
> > I will shoot out an email when you can download the jars (later today)
> > and check out the demo site.
> >
> >
> > Hugo Palma wrote:
> >
> >> That's great news..As soon as i find some free time i'll take a
> >> deeper
> >> look into it, in the mean time i can't access the demo site, is it
> >> down ? Do
> >> you have a demo of the tab panel component in the site ?
> >>
> >> On 5/29/06, spamsucks <[EMAIL PROTECTED] > wrote:
> >>
> >>>
> >>> I am literally working on a tab panel component right now (just
stopped
> >>> to check out the list).
> >>>
> >>> I was thinking about AJAX support.  Right now, it supports a
> >>> simultaneous mixture of client and serverside tabs in the same
tabset.
> >>> other features include disabling, hiding, etc... of individual tabs.
> >>> I will wrap development up today since I need this on a bunch of
> >>> projects.   It will be in stitches (a tapestry library).
> >>> You could use the client side tab for now, and help me implement the
> >>> ajax one;)
> >>> Let me know your thoughts.
> >>>
> >>> Hugo Palma wrote:
> >>>
> >>> > I've looked but couldn't find any component that provides a
> >>> TabPanel(like
> >>> > the example in Tapestry site) using AJAX so that the whole page
> >>> > doesn't get
> >>> > loaded when i change tabs.
> >>> > I think it could be donne using tacos:AjaxDirectLink instead of
> >>> > framework:DirectLink like the example, but if someone knows if
such a
> >>> > implementation already exists could you please direct me to it.
> >>> >
> >>> >
> >>> > Cheers
> >>> >
> >>> > Hugo
> >>> >
> >>>
> >>>
> >>>
> >>>
-
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: how to subscribe or unsubscribe

2006-05-23 Thread Pedro Viegas

You're right Wayland!
My eyes are crying for the hours of sleep I'm loosing trying to read
throught the 400 topics of unread list messenges in one night after some
time away.
Just got carried away by the exaustion!
Sorry Cypher.

Hope Wayland solved your problem.

Regards,

On 5/23/06, Wayland Chan <[EMAIL PROTECTED]> wrote:


Ok here is how to do it

send mail to

[EMAIL PROTECTED]



On 5/23/06, Wayland Chan <[EMAIL PROTECTED]> wrote:
>
> I'm going to have to side on the poor guy's side here. He spammed the
list
> at first, apologized, and gave the list admins sufficient time to get
back
> with an answer to which no one has done thus far. Writing a filter on
this
> end isn't the solution. Think of it this way, no one can subscribe to
this
> list either.
>
> The committers need to escalate this with the apache folks to fix the
> mailing list. The subscribe/unsubscribe message on the footer of each
> message is incorrect.
>
>
>
> On 5/23/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> >
> > Cypher! Please crerate a rule on your mail server. It's getting a
little
> > spammy on the list with these constant requests!
> >
> > On 5/18/06, Cypher ! <[EMAIL PROTECTED]> wrote:
> > >
> > > anyone know the correct email addresses?
> > > _
> > > Express yourself instantly with MSN Messenger! Download today it's
> > FREE!
> > > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> > >
-----------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Pedro Viegas
> >
> >
>





--
Pedro Viegas


Re: how to subscribe or unsubscribe

2006-05-23 Thread Pedro Viegas

Cypher! Please crerate a rule on your mail server. It's getting a little
spammy on the list with these constant requests!

On 5/18/06, Cypher ! <[EMAIL PROTECTED]> wrote:


anyone know the correct email addresses?
_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: Best pratice - CRUD Security - Tapestry 4.0

2006-05-23 Thread Pedro Viegas

How about it guys? Anybody getting somewhere on the ACEGI Hivemind
integration?
This would really be a must have for Tap *without* the need for more
external libs (especially somehow overlapping ones like Spring).

+1 on the go for it James or anyone else that can wrap this up! :-D

On 5/19/06, Hugo Palma <[EMAIL PROTECTED]> wrote:


It looks to me that hibernate filters would do the trick,as this is more
like data access security than page or service level security.
You can read more about it here
http://www.hibernate.org/hib_docs/v3/reference/en/html/filters.html

On 5/19/06, Stefano Girotti <[EMAIL PROTECTED]> wrote:
>
>
> "Brian K. Wallace" <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:[EMAIL PROTECTED]
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > This is where I stick with ACEGI being unobtrusive. Not discounting
any
> > other method of doing it at all, but I found that with ACEGI I add a
> > hook into "login/logout" pages and there's no other intrusion into my
> > Tapestry applications outside the configuration file (aka: no
> > "isUserInRole("...")" of any kind.
> >
> > Again - one size doesn't fit all - especially with security. Take the
> > "easiest way for you" as long as it foots the bill and you're usually
> > alright.
>
> i'm looking for a Searchable Security:
> for example:
> for the current user i have to find what special offers can buy
> and again the classic Access Control List have read - write - delete
> or
> admin properties  i'd like to extend it... for example a special
offer
> is avaible from date to date... or by special code...
>
> i had a look to ACEGI  and seems to me that is not what i'm looking for
:(
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





--
Pedro Viegas


Re: I do not like the new tapestry logo

2006-05-15 Thread Pedro Viegas

The logo contest is not a bad ideia, after setting the guidelines of what it
should convey.
The old tap logo is really in need of it's due rest.
The new, well I wasn't quick to get to what it meant. Although that's not
that uncomom.
A few examples we all know:
- mySQL (someone has allready mentioned before)
- PostGreSQL (an elephant?!?!?)
...and I'm sure many more if we think about it.

The catch is to make it mean something and that people get it.
Also I agree that the unicorn in it's current pose is not very good.
A unicorn also has a conotation of power, being mitical animals. Not just
the fary tales mentioned.
They appear in many ilustrations with very muscular bodys. A horse is a
powerfull animal, but this unicorn is a bit thin, a bit weak, a bit feminine
as someone has allready said, and pointing upwards is not that good idea.

So, a good explanation on the unicord conotation, a refinement on the design
to make it more powerfull, a new pose and well, we could think more about it
from there. IMHO of course!

On 5/15/06, Stephane Decleire <[EMAIL PROTECTED]> wrote:


Why not start with the beginning and list all the ideas the new logo
should convey 

Paul Russell wrote:

> On 15 May 2006, at 20:37, Wayland Chan wrote:
>
>> "Constructive criticism"
>> Simply saying you don't like it without providing a better alternative
>> iswell no need for me to finish that sentence.
>
>
> Well, ish. The issue with Logo's is that they're the first thing
> people use to judge your project. If people don't like it in general,
> that's important information to take on board, regardless of whether
> a viable alternative is on the table.
>
> I have to say, personally, I'm not totally against the original logo
> -- it does have simplicity on its side. That said, like everyone
> else, I appreciate the need to move on. Maybe we should be
> considering delaying changing the logo, and having some kind of logo
> contest (cliched, I know) to make sure we choose something that has
> general appeal?
>
> Just my $0.10.
>
> Paul
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Stéphane Decleire

05 56 57 99 20
06 63 78 69 06






--
Pedro Viegas


Re: no more spam!

2006-05-11 Thread Pedro Viegas

At last!
I guess we will all have to get our shopping advices elsewhere! :-D


On 5/11/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:


Yay! The tapestryforums.com owner has completely turned off all posting
access to our list for now (maybe he'll turn it back online someday if it
can be made spam free). hooray! :)

--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.





--
Pedro Viegas


Re: Validation on Tapestry 4

2006-05-10 Thread Pedro Viegas
 either misinform you due to my own inexperience or that I might
> fail to completely answer your question.  Much easier to send you to
> the source and get it right the first time.
>
> --sam
>
>
> >
> > On 5/10/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
> > >
> > > More telling, I think, is the fact that the folks who answer
questions
> > > around here often reference it, and many of the folks asking
questions
> > > haven't read it yet.  It certainly gave me a baseline of Tapestry
> > > knowledge very rapidly.  I still have a ton to learn, but it got me
> > > started.
> > >
> > > --sam
> > >
> > >
> > > On 5/10/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
> > > > If anybody has doubts of what Sam is saying about this book...
> > > > if anyone thinks it's just a book he, me, and a few others
liked...
> > > > Do make a search on this forum for quotes on this book... it's not
> that
> > > old
> > > > and you will see the results!
> > > > Garanteed! It's a must have. ;-)
> > > >
> > > > On 5/10/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Again, "Enjoy Web Development with Tapestry" (the pdf book about
> tap4)
> > > > > covers validation in detail.  I highly recommend it.  See the
Tap
> home
> > > > > page for details.
> > > > >
> > > > > --sam
> > > > >
> > > > >
> > > > > On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
> > > > > > You might not believe me, but I only saw the "validators"
> attribute
> > > now.
> > > > > And
> > > > > > I've been looking at that page for the past 2 hours.
> > > > > >
> > > > > > On 5/10/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > >
http://jakarta.apache.org/tapestry/UsersGuide/validation.html
> > > > > > >
> > > > > > > On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Anyone, someone... Could you provide me with an example of
> > > > > validation in
> > > > > > > > Tapestry 4? Is it possible to do it inline in the html,
> > > something
> > > > > like
> > > > > > > >  ?
> > > > > > > >
> > > > > > > > I have been searching on the net, but the examples that I
> see
> > > are
> > > > > only
> > > > > > > for
> > > > > > > > Tapestry 3 and the ones for Tapestry 4 don't touch
> validation at
> > > > > all.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Cumprimentos,
> > > > > > > > Rui Pacheco
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Jesse Kuhnert
> > > > > > > Tacos/Tapestry, team member/developer
> > > > > > >
> > > > > > > Open source based consulting work centered around
> > > > > > > dojo/tapestry/tacos/hivemind.
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Cumprimentos,
> > > > > > Rui Pacheco
> > > > > >
> > > > > >
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Pedro Viegas
> > > >
> > > >
> > >
> > >
-
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Cumprimentos,
> > Rui Pacheco
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Cumprimentos,
Rui Pacheco





--
Pedro Viegas


Re: Validation on Tapestry 4

2006-05-10 Thread Pedro Viegas

If anybody has doubts of what Sam is saying about this book...
if anyone thinks it's just a book he, me, and a few others liked...
Do make a search on this forum for quotes on this book... it's not that old
and you will see the results!
Garanteed! It's a must have. ;-)

On 5/10/06, Sam Gendler <[EMAIL PROTECTED]> wrote:


Again, "Enjoy Web Development with Tapestry" (the pdf book about tap4)
covers validation in detail.  I highly recommend it.  See the Tap home
page for details.

--sam


On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
> You might not believe me, but I only saw the "validators" attribute now.
And
> I've been looking at that page for the past 2 hours.
>
> On 5/10/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> >
> > http://jakarta.apache.org/tapestry/UsersGuide/validation.html
> >
> > On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
> > >
> > > Anyone, someone... Could you provide me with an example of
validation in
> > > Tapestry 4? Is it possible to do it inline in the html, something
like
> > >  ?
> > >
> > > I have been searching on the net, but the examples that I see are
only
> > for
> > > Tapestry 3 and the ones for Tapestry 4 don't touch validation at
all.
> > >
> > > --
> > > Cumprimentos,
> > > Rui Pacheco
> > >
> > >
> >
> >
> > --
> > Jesse Kuhnert
> > Tacos/Tapestry, team member/developer
> >
> > Open source based consulting work centered around
> > dojo/tapestry/tacos/hivemind.
> >
> >
>
>
> --
> Cumprimentos,
> Rui Pacheco
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: Validation

2006-05-10 Thread Pedro Viegas

Now that's something I have not thought of before!
Nice catch, that must be handy sometimes!
Nice tip Martin... thanks for sharing. :-D

On 5/10/06, Martin Strand <[EMAIL PROTECTED]> wrote:


Yep. I mostly use it to generate CSS classes dynamically:


On Wed, 10 May 2006 21:40:20 +0300, Sam Gendler
<[EMAIL PROTECTED]> wrote:

> On 5/10/06, Martin Strand <[EMAIL PROTECTED]> wrote:
>> I often put informal parameters in my .page file, it seems to work
fine.
>
> Hmph.  I guess I should have tried it.  You just create a 'binding'
> tag with a parameter that isn't declared for the component?
>
> --sam

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: Validation

2006-05-09 Thread Pedro Viegas

:-D

No pain no gain!

On 5/10/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:


I was just wondering if I was going to have to write .page files for every
.html page that required validation.
Now that my blindness has been healed, I am happily adding validators=""
to
all tags on all my .html pages :D

On 5/10/06, Pedro Viegas <[EMAIL PROTECTED]> wrote:
>
> If you do all the binding in the .html template, and the class to page
> binding in the .application you don't need the .page in Tap4.
> Be more specific if this was not the answer you were looking for.
>
> Regards,
>
> On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
> >
> > Hi all
> >
> > In Tapestry 4 when doing validation, must I always place the binding
tag
> > on
> > the page specification or can I do it on the .application file?
> >
> > I am asking because my application uses a fair amount of classes and I
> am
> > simply maping pages to classes through the .application file and I am
> > wondering if I'll have to create all the .page files now.
> >
> > --
> > Cumprimentos,
> > Rui Pacheco
> >
> >
>
>
> --
> Pedro Viegas
>
>


--
Cumprimentos,
Rui Pacheco





--
Pedro Viegas


Re: Validation

2006-05-09 Thread Pedro Viegas

If you do all the binding in the .html template, and the class to page
binding in the .application you don't need the .page in Tap4.
Be more specific if this was not the answer you were looking for.

Regards,

On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:


Hi all

In Tapestry 4 when doing validation, must I always place the binding tag
on
the page specification or can I do it on the .application file?

I am asking because my application uses a fair amount of classes and I am
simply maping pages to classes through the .application file and I am
wondering if I'll have to create all the .page files now.

--
Cumprimentos,
Rui Pacheco





--
Pedro Viegas


Re: Validation on Tapestry 4

2006-05-09 Thread Pedro Viegas

Hi Rui,

Yes it is possible to do it inline.
Something like:



You can see more examples in:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ValidField.html

Although this link if for Tap3's ValidField, the validator and translator
attributes are available in TextField in Tap4.

Regards,

On 5/10/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:


Anyone, someone... Could you provide me with an example of validation in
Tapestry 4? Is it possible to do it inline in the html, something like
 ?

I have been searching on the net, but the examples that I see are only for
Tapestry 3 and the ones for Tapestry 4 don't touch validation at all.

--
Cumprimentos,
Rui Pacheco





--
Pedro Viegas


Re: tapestryforums.com

2006-05-09 Thread Pedro Viegas

Been complaining about this myself, even replied in anger to one previously.
+1!

Whatever has to be done, Rui's idea may be of use. Let's all press this on.


On 5/9/06, Mark <[EMAIL PROTECTED]> wrote:


Jesse, you said you're not looking for a consensus, but in case you
change your mind here it goes:+1


Jesse Kuhnert wrote:
> Ok it looks like there's a general consensus.
>
> Any word from tapestryforums ? (I found the cc'ed email addy on the
site)
>
> On 5/9/06, James Carman <[EMAIL PROTECTED]> wrote:
>>
>> Are people really taking the time to manually post spam to the forum,
or
>> have they circumvented the "captcha" feature of tapestryforums.com?
>>
>> -Original Message-
>> From: Wayland Chan [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, May 09, 2006 10:12 AM
>> To: Tapestry users
>> Subject: Re: tapestryforums.com
>>
>> The forum administrator has installed forwarding software that will
send
>> an
>> email to our list for each post that gets posted to his forum.
>> Problem is
>> he
>> has little spam protection, so people spamming his forums get their
>> posts
>> automatically forwarded to us lucky folk on this list.
>>
>>
>> On 5/9/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:
>> >
>> > I dont understand: how can the forum spam the mailing list? I'm
>> missing
>> > something on the chain of events.
>> > Anyway, that forum is pretty low traffic, there aren't that many
>> people
>> > answering questions there.
>> >
>> > On 5/9/06, Robin Ericsson <[EMAIL PROTECTED]> wrote:
>> > >
>> > > On 5/9/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
>> > > > Please find a way to fix your user registration to disallow spam
>> bots
>> > or
>> > > > discontinue your service altogether. I speak only for myself in
>> this
>> > > matter
>> > > > but if not stopped by the other devs have no problem taking it up
>> with
>> > > the
>> > > > proper entities at the ASF to get it stopped.
>> > >
>> > > You definitely speak for me.
>> > >
>> > > --
>> > > regards,
>> > > Robin
>> > >
>> > >
>> -
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > >
>> > >
>> >
>> >
>> > --
>> > Cumprimentos,
>> > Rui Pacheco
>> >
>> >
>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: CRUD Example using tapestry ?

2006-05-08 Thread Pedro Viegas

Hi Dwi,

Try downloading this source code from an excelente book on Tapestry:
(the code is for free, the book is not!)

http://www.agileskills2.org/EWDT/source.zip

See the program PhoneBook. This is the program created in a chapter
preciselly on the contrib:table component that builds a CRUD with the
desired delete button.

If you are having problems with tapestry, that must be because you're not
having the right help in the learning process.
I would highly recoment buying this book. You can see the first 4 chapters
in PDF for free in this site to see the kind of material and how it's
presented.
It's a must have for Tapestry 4. It should give you the boost you require.
It did it for me!

Regards and good luck,


On 5/8/06, Dwi Ardi Irawan <[EMAIL PROTECTED]> wrote:


is there anyone have the CRUD example using tapestry 4 (contrib table,
with check box inside to delete row).
please attach to my email.
it's really hard to study tapestry
i have been learning for 3 month but still get stuck..

thnx





--
Pedro Viegas


Re: Dependent drop down list

2006-05-07 Thread Pedro Viegas

Hi Simeon,

That would be very helpfull thanks.
If you could do that please let me know how to get to it. Sorry but I
haven't heard of tassel.

Regards,


On 5/7/06, Simeon Koptelov <[EMAIL PROTECTED]> wrote:


Well, I've done this for my project, using tacos:AjaxDirectLink to update
dependent select. If you're interested, I can package it and deploy to
tassel.

--
Best, Simeon Koptelov


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Pedro Viegas


Re: value property for Tapestry components

2006-05-06 Thread Pedro Viegas

I'm a bit confused with your example.
But what you sould have is something like this:



And in your page java class:

public String search;
public String getSearch();
public void setSearch(String value);

Tap will then create all the code for the getter and setter when it inherits
you r abstract class.
The ognl will read search as property search witch sould have a getter and
setter for setting and reading the value.

There are other ways to do it, with anotation, in the .page, but I think
this was what you we're after by the exemple you posted.
If not post away... ;-)

Regards,


On 5/6/06, Rui Pacheco <[EMAIL PROTECTED]> wrote:


Hi all

I have a TextField and I am trying to set my value="" property.
I am currently using , so I can set the value of the
TextField in my component. But what happens is that when I load the page
for
the first time, I get a string in the TextField: "
[EMAIL PROTECTED]"

How do the value properties work? I have read the manual, but obviously
there's something I am not doing right.

--
Cumprimentos,
Rui Pacheco





--
Pedro Viegas