Re: F1

2010-05-04 Thread Mohammad Shamsi
Hi, Tapestry 5, required to run on jdk 5 or above. it has lots of dependencies on JDK 5 features like Annotations. I don't think you can use it with JDK 1.4, you need to update your JDK to 1.5 or above if possible. On Tue, May 4, 2010 at 4:29 PM, tarek jaifar wrote: > Salam Tapestry responsab

Re: The Form Submit can't Work!

2008-11-30 Thread Mohammad Shamsi
Hi Gerry, Try to change you method name to : onSuccessFormDownloadFile or use Annotation : @OnEvent(value = "submit", component = "Btn_Down") StreamResponse onSubmitFormDownloadFile() { On Mon, Dec 1, 2008 at 2:55 AM, Gerry Chen <[EMAIL PROTECTED]> wrote: > > Hi Everyone: > > I'm a

Apache Tapestry - News need to change title to Tapestry 5.0.17

2008-11-25 Thread Mohammad Shamsi
Hi, in Apache Tapestry - News the title for new Release Candidate news is still "Tapestry 5.0.16" it need to change to "Tapestry 5.0.17" -- sincerely yours M. H. Shamsi

Re: T5 - new clien side validator, again

2008-11-02 Thread Mohammad Shamsi
i am using 5.0.15. On Mon, Nov 3, 2008 at 10:49 AM, dhning <[EMAIL PROTECTED]> wrote: > Why places of tapestry.js are different between us? I am using > 5.0.16-snapshot, and all js related code is before . > > > Thanks > > DH > > > ----- Original Message ---

Re: T5 - new clien side validator, again

2008-11-02 Thread Mohammad Shamsi
; > - Original Message - > From: "Mohammad Shamsi" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Thursday, October 30, 2008 4:29 PM > Subject: Re: T5 - new clien side validator, again > > > > Thanks DH, > > > > but

Re: T5 - new clien side validator, again

2008-10-30 Thread Mohammad Shamsi
est tapestry.js. > > Thanks! > > DH > > > ----- Original Message - > From: "Mohammad Shamsi" <[EMAIL PROTECTED]> > To: "Tapestry users" > Sent: Saturday, October 25, 2008 2:23 AM > Subject: Re: T5 - new clien side validator, again > >

T5 is it possible to Inject PersistanceLocale in AppModule ?

2008-10-25 Thread Mohammad Shamsi
Hi, Is there any way to inject PersistanceLocale in AppModule ? -- sincerely yours M. H. Shamsi

Re: T5 - new clien side validator, again

2008-10-24 Thread Mohammad Shamsi
no idea ? i don't know how add my javascript validator in Tapestry validators list. any expeirence ? thanks all On Wed, Oct 22, 2008 at 11:27 PM, Mohammad Shamsi <[EMAIL PROTECTED]>wrote: > hi, > > im trying to add new validator to my project. but i have problem to

T5 - new clien side validator, again

2008-10-22 Thread Mohammad Shamsi
hi, im trying to add new validator to my project. but i have problem to add javascript for clienside validation. any idea ? -- sincerely yours M. H. Shamsi

Re: [T5] - implement new client side validator

2008-10-17 Thread Mohammad Shamsi
; > } > > Josh > > On Fri, Sep 5, 2008 at 10:22 AM, Mohammad Shamsi <[EMAIL PROTECTED] > >wrote: > > > any idea ? > > > > Hi friends, > > > > i am going to add new validator in my T5 project. > > the server side validatioin is ok and i h

A glimpse of Wicket 1.4 and Tapestry 5

2008-09-10 Thread Mohammad Shamsi
Hi, take a look at this article if you interested. http://joshuajava.wordpress.com/2008/09/11/a-glimpse-of-wicket-14-and-tapestry-5/ -- sincerely yours M. H. Shamsi

Fwd: [T5] - another question about validators

2008-09-05 Thread Mohammad Shamsi
any idea ? Hi, is there any way to write a new validator that accept more than one parameter ? exampe range (from, to) i know that i can do it with using 2 validator instead of one (min and max). but i want to write new validator with 2 or more parameter . :( :) -- sincerely yours M. H. Sha

Fwd: [T5] - implement new client side validator

2008-09-05 Thread Mohammad Shamsi
any idea ? Hi friends, i am going to add new validator in my T5 project. the server side validatioin is ok and i have no problem with it. but in client side, i changed the Tapestry.js to add my validator funciton in it. is there any better way to avoid change Tapestry original javascripts ? --

[T5] - another question about validators

2008-09-03 Thread Mohammad Shamsi
Hi, is there any way to write a new validator that accept more than one parameter ? exampe range (from, to) i know that i can do it with using 2 validator instead of one (min and max). but i want to write new validator with 2 or more parameter . :( :) -- sincerely yours M. H. Shamsi

[T5] - new client side validator

2008-09-03 Thread Mohammad Shamsi
Hi friends, i am going to add new validator in my T5 project. the server side validatioin is ok and i have no problem with it. but in client side, i changed the Tapestry.js to add my validator funciton in it. is there any better way to avoid change Tapestry original javascripts ? -- sincerely y

Re: T5 Tapestry 5 Components, Examples and Tutorials

2008-08-31 Thread Mohammad Shamsi
Hi Alex, you can use new version off this application, phb 1.0.2 implement with tapestry 5.0.14. On Sun, Aug 31, 2008 at 1:06 PM, Alex Florentino <[EMAIL PROTECTED]>wrote: > Hi all, > > I am newbie with tapestry 5, I am using the project > http://shams.googlecode.com/files/spring-acegi-derby-p

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-30 Thread Mohammad Shamsi
Martijn, we do most of our projects in company with Spring, i like it. i prefer to using tapestry with spring too. i use spring security, service layer facilities and also dao layer abstraction. i use Tapestry just in Presentation layer. because its great in this layer. specially Tapestry 5. On

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Mohammad Shamsi
sorry, the spring version is 2.5, On Sat, Aug 30, 2008 at 1:32 AM, Mohammad Shamsi <[EMAIL PROTECTED]>wrote: > Martin, take a look at PHB here : http://code.google.com/p/shams > that is another sample of integrating Tapestry with Spring 2.0.5 > > > > > On Sat, Aug 3

Re: T5 : Spring 2.5 support w/ tapestry-spring ?

2008-08-29 Thread Mohammad Shamsi
Martin, take a look at PHB here : http://code.google.com/p/shams that is another sample of integrating Tapestry with Spring 2.0.5 On Sat, Aug 30, 2008 at 1:26 AM, Timothy Sweetser < [EMAIL PROTECTED]> wrote: > Thirded--my most recent app is pretty heavily integrated with Spring > 2.5, without

[T5][ANN] - Shams Phone Book, new version for tapestry 5.014 and some improvments

2008-08-23 Thread Mohammad Shamsi
Hi friends, finally i moved from Iran to another country (Malaysia) and i can upload my codes in google svn repository. :D by the way, the new version of PHB is uploaded. this version improved to use tapestry 5.0.14 and some other improvments for less configuration for DataBase, you can downloa

Re: Please update the title "Get Tapestry 5.0.13" to 5.0.14 in Tapestry Home Page

2008-08-12 Thread Mohammad Shamsi
hi, i did it, see attachment. On Wed, Aug 13, 2008 at 11:14 AM, Howard Lewis Ship <[EMAIL PROTECTED]>wrote: > Refresh your browser. > > On Tue, Aug 12, 2008 at 6:30 PM, Mohammad Shamsi <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > it seems that the

Please update the title "Get Tapestry 5.0.13" to 5.0.14 in Tapestry Home Page

2008-08-12 Thread Mohammad Shamsi
Hi, it seems that the title above is forgotten in tapestry home page. i don't knew how to inform this to site developers then i write it here. -- sincerely yours M. H. Shamsi

download firefox today

2008-06-18 Thread Mohammad Shamsi
Download Day is here! Set a Guinness World Record Enjoy a Better Web http://www.spreadfirefox.com/en-US/worldrecord/ -- sincerely yours M. H. Shamsi

Re: my Java EE tragic story.

2008-04-13 Thread Mohammad Shamsi
ific > settings for this particular application server > (jndi_xxx_app_server.properties). > Hopes this solution can address your problem with jndi. > > Thanks, > Yura. > > On Sat, Apr 12, 2008 at 11:36 PM, Mohammad Shamsi <[EMAIL PROTECTED]> > wrote: > > > No, i

Re: my Java EE tragic story.

2008-04-12 Thread Mohammad Shamsi
ong here is how much Tapestry falls within the boarders of > J2EE > conformance, or does it touch on it at all? I would have thought it > doesn't > and any implementation made with Tapestry will be conforment where > standards > dictate. > Adam > > On 12/04/2008, Moh

my Java EE tragic story.

2008-04-12 Thread Mohammad Shamsi
Hi Friends, please take a look at my blog about Java EE and my problems with it. http://mhshams.blogspot.com/ -- sincerely yours M. H. Shamsi

a question about App Server

2008-03-07 Thread Mohammad Shamsi
Hi Friends, this is not tapestry related question. i want to choose an application server for my Java EE 5 project between WebLogic, GalssFish and Geronimo any benchmark or compare available ? -- sincerely yours M. H. Shamsi

[T5] - [ANN] Phonebook new release for Tapestry 5.0.10

2008-03-07 Thread Mohammad Shamsi
Hi Friends, After a while i finished my work on Phone book improvements and i find some way to bypass Google code (for uploading my code from Iran). i have to big problems with Internet in Iran, first : some site are not legal to access because of Iran Gov. rules. second : some sites or produc

[T5] - [ANN] Phonebook new release for Tapestry 5.0.10

2008-03-07 Thread Mohammad Shamsi
Hi Friends, After a while i finished my work on Phone book improvements and i find some way to bypass Google code (for uploading my code from Iran). i have to big problems with Internet in Iran, first : some site are not legal to access because of Iran Gov. rules. second : some sites or produc

Re: how to access components pages ???

2008-02-16 Thread Mohammad Shamsi
Thanks Stephane, On Feb 16, 2008 6:02 AM, Steph <[EMAIL PROTECTED]> wrote: > You just have to inject : > >@Inject >private ComponentResources componentResources; > > Then, you access page properties like this : > >componentResources.getPage().get

how to access components pages ???

2008-02-16 Thread Mohammad Shamsi
Hi, i wanna access to a components page, from component code. i wanna to know the page name, access page class and its properties form a component this used in class. -- sincerely yours M. H. Shamsi

[T5] - phone book app with Tapestry 5.0.9 . replace LinkImpl with responce.sendRedirect.

2008-01-31 Thread Mohammad Shamsi
hi all, if you want to use http://code.google.com/p/shams/ projects with tapestry 5.0.9 you most use response.sendRedirect instead of Link object. here are classes that most change : Login.java @OnEvent(value = "submit") public void login() throws IOException { StringBuffer pa

Re: [T5] Spring and T5

2008-01-25 Thread Mohammad Shamsi
Hi, you can see some sample here for Spring+Tapestry http://code.google.com/p/shams/ On 1/24/08, Andreas Andreou <[EMAIL PROTECTED]> wrote: > We've been using spring since T3. That's already been ... a few years! > > On Jan 24, 2008 5:45 PM, Mahen Perera <[EMAIL PROTECTED]> wrote: > > I have al

Re: [T5][ANN] - Tapestry+Acegi+Spring+JDBC+Hibernate+JPA+HSQLDB all in one

2008-01-22 Thread Mohammad Shamsi
another way : encrypt your and password and then send it with url. you can do this in two way 1 - with java code in Login.java class : this is my sample that used in a project : public String digest(String password, String salt) { if ((password == null) || (salt == null)) {

Re: [T5][ANN] - Tapestry+Acegi+Spring+JDBC+Hibernate+JPA+HSQLDB all in one

2008-01-22 Thread Mohammad Shamsi
a simple idea is to change Login.tml to submit directly to acegi filter : On Jan 22, 2008 4:43 PM, Baptiste Meurant <[EMAIL PROTECTED]> wrote: > > Hi, > >Thank you for this great work. It will be really useful. > >I still have a question about security T5

[T5][ANN] - Tapestry+Acegi+Spring+JDBC+Hibernate+JPA+HSQLDB all in one

2008-01-22 Thread Mohammad Shamsi
Hi all, latest release of my phone book application is available now, In this release i used : - Tapestry 5.0.7 as a Web MVC framework. - Acegi 1.0.5 as a Security System. - Spring 2.5 as a Application framework. - Spring JDBC for Data Access Layer. - Hibernate 3.2.4 an alternativ

Re: [T5] [ANN] - Tapestry + Spring + Acegi and now + Apache Derby DataBase

2008-01-16 Thread Mohammad Shamsi
n it as a > service here (so that it stays up beyond tomcat restarts), I would. > BTW it works fine with Hibernate 3.3.2+ as far as I noticed. > > On Jan 16, 2008 8:56 AM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > New release of phone book a

Re: T5+IDEA: Suggestions for getting .tml files copied to the target/test-classes folder of a maven project

2008-01-16 Thread Mohammad Shamsi
Or Go to File --> Settings expand Project Settings, click Compiler, then where it says "Resource Patterns:" add your favorite extension here (for example ;?*.tml;?*.css) On 1/16/08, Michael Lake <[EMAIL PROTECTED]> wrote: > > > I've got my component library set up in the same fashion as the >

[T5] [ANN] - Tapestry + Spring + Acegi and now + Apache Derby DataBase

2008-01-16 Thread Mohammad Shamsi
Hi all, New release of phone book application with apache derby database support is available here : http://code.google.com/p/shams/ -- sincerely yours M. H. Shamsi

[T5] - (T5 Documents) IncludeJavaScriptLibraray or InjectJavaScriptLibrary

2008-01-13 Thread Mohammad Shamsi
Hi all, in the Ajax page in Tapestry Core Documents : http://tapestry.apache.org/tapestry5/tapestry-core/guide/ajax.html i saw an Annotaion @InjectJavaScriptLibrary @InjectJavaScriptLibrary("${tapestry.scriptaculous}/dragdrop.js") Does Tapestry have Annotation with this name ? i think its name

[T5] - slash (/) in ActionLink context value causes error.

2008-01-12 Thread Mohammad Shamsi
hi all, i have a actionlink my page like this : ${message: app.welcome} when i clik this link i just see this url in browser without any content http://localhost:8080/app/secure/home.layout.list/secure%2FHome thats bacause of "/" in context variable. when i remove this "/", application works

Re: [T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Mohammad Shamsi
On Jan 7, 2008 9:59 PM, Chris Lewis <[EMAIL PROTECTED]> wrote: > Wow - that's a bit of a reality check! Strange to me that you're allowed > to upload files but not use subversion. :)) i upload my files with a proxy man, i send it to a friend in another country (Canada) and someone upload it for

Re: [T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Mohammad Shamsi
> Mohammad, > > Thanks for that - I've been wanting such an example (for acegi). I > checked out the source via svn and see that your repository is empty, so > I assume the archives you've uploaded have the source. Can I convince > you to use the svn repo? > >

Re: [T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Mohammad Shamsi
ting such an example (for acegi). I > checked out the source via svn and see that your repository is empty, so > I assume the archives you've uploaded have the source. Can I convince > you to use the svn repo? > > thanks :-) > chris > > Mohammad Shamsi wrote: > &g

[T5][Announce] Tapestry + Spring + Acegi : New version of Phone Book is Available

2008-01-07 Thread Mohammad Shamsi
Hi All, Another Simple Application, to start Tapestry + Spring + Acegi Development. you can read more about this application and download source code from http://code.google.com/p/shams -- sincerely yours M. H. Shamsi

Re: simplere way to access context path ?

2008-01-07 Thread Mohammad Shamsi
if you want to elaborate a little more on your case > i'm sure there's a much simpler and cleaner way to do that forward > without javascript. > > Mohammad Shamsi wrote: > > how about creating url ? > > i got error when putting this code on my page : > > > >

Re: simplere way to access context path ?

2008-01-07 Thread Mohammad Shamsi
sset:context:images/x.gif} > > Mohammad Shamsi wrote: > > hi all, > > > > i want to use context path in my page template. > > now i do like this : > > > > @Inject > > Request request; > > > > public String getContext() { > > return r

simplere way to access context path ?

2008-01-07 Thread Mohammad Shamsi
hi all, i want to use context path in my page template. now i do like this : @Inject Request request; public String getContext() { return request.getContextPath(); } in .tml : any better way ? (for example a symbol or ...) -- sincerely yours M. H. Shamsi

Re: [T5] disable form validation

2008-01-06 Thread Mohammad Shamsi
Hi Harald, i had an issue like this, for cancel button in form. (there is no need to validation when cancel button clicked) i changed my button like this : you can use some way like this On Jan 6, 2008 5:25 PM, Harald Graf <[EMAIL PROTECTED]> wrote: > > hi all, > > is there a way to disabl

Re: Javascript error when moving from 5.0.6 to 5.0.7

2008-01-03 Thread Mohammad Shamsi
Hi, Try to deploy your application in ROOT context, i got some java script error in 5.0.7 when i deploy my application with a context other than ROOT (/). On Jan 3, 2008 1:51 PM, Mahen Perera <[EMAIL PROTECTED]> wrote: > Hi all, > > > > I switched from 5.0.6 to 5.0.7 ,, and now getting some ja

[T5] Phone Book - A Simple Web Based Application To Help you Start Developing by Tapestry 5

2008-01-02 Thread Mohammad Shamsi
Hi Friends, If you are looking for a simple example to start tapestry 5 please visit here http://code.google.com/p/shams/ download source code from http://shams.googlecode.com/files/phonebook-src.zip PhoneBookApplication Phone Book is a simple Tapestry Application. About Phone Book this app

Re: [T5] - using textfield compoents without validate attribute cause exception.

2008-01-02 Thread Mohammad Shamsi
anyone help us clear this problem ? > > On Jan 2, 2008 5:13 PM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > Hi DWI > > > > i did it, but i still have this problem. > > > > this is a server side exception, are you sure this is related to Java > >

Re: [T5] - is there any example for Grid usage ?

2008-01-02 Thread Mohammad Shamsi
org/tapestry/Tapestry5CheckOutTheSourceCode > > it was really help me > > On Jan 1, 2008 3:01 PM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > i want to use gird and paging components in my app. but i can't find any > > useful sample. > > >

Re: [T5] - using textfield compoents without validate attribute cause exception.

2008-01-02 Thread Mohammad Shamsi
howard said : > "Try clearing your browser cache, you may have the old tapestry.js > stuck in there." > > it works... > it fixed everything... > > On Jan 1, 2008 3:14 PM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > i have a si

[T5] - using textfield compoents without validate attribute cause exception.

2008-01-01 Thread Mohammad Shamsi
Hi All, i have a simple text field in my page like this : when i remove the t:validate="required" from this components i got exception. i use 5.0.7 version. in 5.0.6 i had no problem in this case , i guess so. exception log is : java.lang.NoClassDefFoundError org/apache/tapestry/beanedi

[T5] - is there any example for Grid usage ?

2008-01-01 Thread Mohammad Shamsi
Hi all, i want to use gird and paging components in my app. but i can't find any useful sample. any resource or sample ? -- sincerely yours M. H. Shamsi

Re: [T5] how to change validation messages for others locales and langs ?

2007-12-31 Thread Mohammad Shamsi
nMessagesSource(Configuration > configuration) { >configuration.add > ("com/thedailytube/ui/tapestry/validator/Messages.properties"); >} > Josh > > On Dec 31, 2007 3:46 AM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > Thanks

Re: [T5] how to change validation messages for others locales and langs ?

2007-12-31 Thread Mohammad Shamsi
Thanks Lauri, according to the wiki page, i create a ValidationMessage_fa.properties in org.apache.tapestry.internal package. in its work fine. but, is there any better location to place this file instead of org.apache.tapestry.internal ? On Dec 31, 2007 2:33 PM, Lauri Benno <[EMAIL PROTECTED]>

[t5] need for integer and float number validation ?

2007-12-31 Thread Mohammad Shamsi
Hi All, i now that with regexp validation i can validate integer and float numbers. but for simpler use, adding integer and float validators is a good idea. is there any plan to adding validations like this ? -- sincerely yours M. H. Shamsi

[T5] how to change validation messages for others locales and langs ?

2007-12-31 Thread Mohammad Shamsi
Hi friends, where can i found validations messages catalog ?. i want to add persian validation messages. -- sincerely yours M. H. Shamsi

Re: T5: How to use the Autocomplete component?

2007-12-28 Thread Mohammad Shamsi
Autocompleter mixin > > should complain if it is triggered from the client browser and no > > event handler for its "providecompletions" event is found. > > > > On Dec 28, 2007 7:48 AM, Mohammad Shamsi < [EMAIL PROTECTED]> wrote: > > > Hi Joshua, &

Re: T5: How to use the Autocomplete component?

2007-12-28 Thread Mohammad Shamsi
ain if it is triggered from the client browser and no > event handler for its "providecompletions" event is found. > > On Dec 28, 2007 7:48 AM, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > Hi Joshua, > > > > i think that your method names is wrong, your t

Re: T5: How to use the Autocomplete component?

2007-12-28 Thread Mohammad Shamsi
Hi Joshua, i think that your method names is wrong, your textfield on template has no t:id, try it with t:id="clientName" onProvideCompletionsFromClientName On Dec 28, 2007 2:25 PM, Joshua Jackson <[EMAIL PROTECTED]> wrote: > I know. Perhaps this is due to the incompatibility of scriptaculo

Re: why special position for pages, components and ...?

2007-12-26 Thread Mohammad Shamsi
e > generally unimportant question of where pages should live. > > Mohammad Shamsi wrote: > > i just know that Tapestry use this location for looking up pages. > > how about a simple Annotation for page classes instead of ? > > just with using a simple Annotation (for

Re: [T5] : tapestry + spring

2007-12-26 Thread Mohammad Shamsi
o I never got into > spring. I am not bashing it as I can't rightfully judge something I > haven't used, but I can say that starting w/ T5 was cake, and I see no > hole that needs filling by something like spring. > Again this is my perspective - use what works best for you. >

Re: why special position for pages, components and ...?

2007-12-26 Thread Mohammad Shamsi
AIL PROTECTED]> wrote: > Because it removes the necessity to think about something that generally > doesn't deserve thought. If you want them elsewhere, make a contribution > in your app module. > > chris > > Mohammad Shamsi wrote: > > Hi, > > > > i

why special position for pages, components and ...?

2007-12-26 Thread Mohammad Shamsi
Hi, i want to know that why i should place my pages and components in special folder ? any idea ? -- sincerely yours M. H. Shamsi

Re: [T5] : tapestry + spring

2007-12-26 Thread Mohammad Shamsi
files is much easier than coding it with Java Code On Dec 26, 2007 1:35 PM, Arve Klev <[EMAIL PROTECTED]> wrote: > T5 + Spring is in my opinion a very good choose. I let Spring integrate > ORM > (Hibernate, JDBC, TopLink, etc). > > sincerely, Arve Klev > > 2007/12/

Re: [T5] : tapestry + spring

2007-12-26 Thread Mohammad Shamsi
#x27;m using this combination on our company's projects now! > > > > 2007/12/24, Mohammad Shamsi <[EMAIL PROTECTED]>: > > > > Hi All, > > > > i want to start new Java EE projecct, Formerly we used Spring + Struts > in > > our projects. > &

[T5] : tapestry + spring

2007-12-24 Thread Mohammad Shamsi
Hi All, i want to start new Java EE projecct, Formerly we used Spring + Struts in our projects. after about 4 month testing and reading about Tapestry 5, i decide to use Tapestry 5 instead of Struts. i read some limitations of tapestry-spring module in its home page and i have no problem with t

Re: [T5] - list paging from database ?

2007-12-22 Thread Mohammad Shamsi
ml > > for more details. Pretty straightforward, and it provides exactly > what you're looking for: a way to say "this many total rows" and the > opportunity to fetch only the current page of information. > > Cheers, > > Robert > > > > On Dec 22,

Re: [T5] - list paging from database ?

2007-12-22 Thread Mohammad Shamsi
Hi Sven, No, Sorry about my pour English, in tapestry grid component (I am not sure), you most fetch all data to a collection, list or array and then show them with paging, suppose that data list have 1 million item, thats not good idea to fetch 1 million records and hold them in application spac

[T5] - list paging from database ?

2007-12-22 Thread Mohammad Shamsi
Hi all, Grid Component related, I have a large size of data in database, i want to retrieve each pages data separately, is it any way to set list size and list data separately in Grid component ? formerly, in struts and jsp i used dispalytag compoent in DisplayTag (a grid component with paging

does logical expression in prop expression allowed ?

2007-10-17 Thread Mohammad Shamsi
hi, can i write a logical expression in page ? >>> ${12 < item.id} -- sincerely yours M. H. Shamsi

Re: T5 - t:label component.

2007-10-17 Thread Mohammad Shamsi
page, they will see the text > "Nome" instead of "Name". See the page on internationalization for full > details: > > http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html > > chris > > Mohammad Shamsi wrote: > > hi, > >

T5 - t:label component.

2007-10-17 Thread Mohammad Shamsi
hi, Label component in T5, just have a parameter named "for". Tapestry use this value with some changes as a label text. this value also used for validation messages. but : 1 - for example my textfield component id is "item.firstName". then it's label is :item.first Name:( not good lab

Re: how to set two or more context ...?

2007-10-17 Thread Mohammad Shamsi
gt; Tapestry 5 is alpha. > What you want is easily achievable in T4 with OGNL. > > Your choice. > > Cheers, > Nick. > > > Mohammad Shamsi wrote: > > Hi Nick, > > > > you really think that this is quite simple ? > > > > i just want a simple url

Re: how to set two or more context ...?

2007-10-17 Thread Mohammad Shamsi
essions: > http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html > > Use context="${editLinkContext} and create the context in Java. > > List getEditLinkContext() ... > > Cheers, > Nick. > > > Mohammad Shamsi wrote: > > hi all, > >

button component ??

2007-10-17 Thread Mohammad Shamsi
hi all, i need a button in a form for cancel operation and back to prev, page. but i just have submit component in T5, and this component validate my page, i don't need validation. :( -- sincerely yours M. H. Shamsi

how to set two or more context ...?

2007-10-17 Thread Mohammad Shamsi
hi all, i have an event handler with 2 parameter, public onX(int param1, int param2) { // foo } but i don't now how to set parameters in page, :( Error1 : ... Error2 : ... Error3 : ... -- sincerely yours M. H. Shamsi

Re: can i change locale manually or not ???

2007-10-16 Thread Mohammad Shamsi
upported-locales", "en,de"); > > Cheers, > Nick. > > > Mohammad Shamsi wrote: > > Hi Nick, > > > > I have just a Start Page, and 2 Property Files (Start.properties, > > Start_de.properties) > > > > i have an actionlinke in page to

Re: can i change locale manually or not ???

2007-10-16 Thread Mohammad Shamsi
the wiki. > > "Don't effect" is not specific enough. Give us the info to help you. > What are you trying do? What are the names of your localized files? > How is this event being invoked from your .tml file? > > Cheers, > Nick. > > > Mohammad Shamsi wr

can i change locale manually or not ???

2007-10-15 Thread Mohammad Shamsi
i was read in tapestry localization guide that : Tapestry does not yet support changing the locale, but that will be available shortly. but in wiki T5 Howto, i read a guide to changing locale in tapestry, look at code : @Inject private PersistentLocale persistentLocale; public void onActionFrom

how to inject PersistentLocale for manage app locales ??

2007-10-14 Thread Mohammad Shamsi
i wrote this code to change locale, but i got NullPointerException, any idea please? public class Start { @Inject PersistentLocale locale; @PageAttached public void attached() { locale.set(Locale.GERMAN); } } -- sincerely yours M. H. Shamsi

t5 : is it possible : more than one value for tapestry.app-package ??

2007-10-14 Thread Mohammad Shamsi
dear friends, is it posible to define multiple value for tapestry.app-package context parameter ? -- sincerely yours M. H. Shamsi

Re: t5 : how to set page paramaters in pagelink ?

2007-10-14 Thread Mohammad Shamsi
please look this code : // first page. class A { } // second page class B { private String name; } in A page template i have this linke : B i want to set name parameters of page B in this link. is it possible ? On 10/14/07, SergeEby <[EMAIL PROTECTED]> wrote: > > > Hi, > > You can use

Re: T5 2 question about loop component parameters

2007-10-14 Thread Mohammad Shamsi
> cases. > > > > You can create your own components if you don't like the default ones. > > It would be interesting to see an alternative if you write one. > > > > Cheers, > > Nick. > > > > > > Mohammad Shamsi wrote: > > > dear

t5 : how to set page paramaters in pagelink ?

2007-10-14 Thread Mohammad Shamsi
dear friends, i want to set some value for may page properties, with pagelink compoent, is it posible ? -- sincerely yours M. H. Shamsi

Re: T5 2 question about loop component parameters

2007-10-14 Thread Mohammad Shamsi
t;[EMAIL PROTECTED]> wrote: > > The value and index have to go somewhere. Why not in your page class? > > Cheers, > Nick. > > > Mohammad Shamsi wrote: > > hi all, >

T5 2 question about loop component parameters

2007-10-14 Thread Mohammad Shamsi
hi all, please take a look at my page bellow, ??? ${item.firstName} ${item.lastName} ${item.phone} 1 - i just want to use item object here, for iteration, i don't want to define it at my

Re: Page Layout Error

2007-09-24 Thread Mohammad Shamsi
Hi all, finally it works. sorry for bothering you. and thanks all for your kindly helps. my mistake is here : my component HTML template was in WEB-INF direcotry. :( sorry again, thanks again. On 9/24/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi Dalahoo, > > I use the Intellij too,

Re: Page Layout Error

2007-09-23 Thread Mohammad Shamsi
ular component, and it resides in the > component package (both layout.class and layout.html). > > Erik > > On 9/23/07, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > > Hi Erik, > > > > i don't have maven and can't use it, > > > &g

Re: Page Layout Error

2007-09-23 Thread Mohammad Shamsi
> if you need to move stuff around. > > Good luck, > Erik > > On 9/23/07, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > > Hi Erik, > > > > i use Intellij IDEA for development, > > my project structure is : > > > > ---/resources/WEB-INF/St

Re: Page Layout Error

2007-09-23 Thread Mohammad Shamsi
tp://wiki.apache.org/tapestry/Tapestry5HowTos (top of the page) > > Cheers > Erik > > On 9/23/07, Mohammad Shamsi <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > > > i have created a simple page layout, as i read in this guide : > > > > http:/

Re: [T5] - Parameter passing between Components.

2007-09-23 Thread Mohammad Shamsi
ly a > Tapestry concern. To centralize the call to the entity/service search > method, you probably need to include the search form (possibly with > dynamic parameters?) in your component, and then have the event handler > for the "Search" button retrieve the entity/serv

Page Layout Error

2007-09-23 Thread Mohammad Shamsi
Hi All, i have created a simple page layout, as i read in this guide : http://tapestry.apache.org/tapestry5/tapestry-core/guide/templates.html but when i run my application, i got this exception : Sep 23, 2007 2:54:24 PM org.apache.tapestry.internal.services.PagePoolImplrelease SEVERE: Page P

Re: [T5] - Parameter passing between Components.

2007-09-23 Thread Mohammad Shamsi
I'm > not sure. > > Perhaps if you could explain a bit more, I could offer better help. > > good luck! > > Mohammad Shamsi wrote: > > Dear friends, > > > > i have a search box in my page layout, and a component for show list of > > items (like tab

[T5] - Layout and Templating in T5, how to ?

2007-09-23 Thread Mohammad Shamsi
Dear friends, I looked all pages and tutorials related to T5, but i can't find any thing about Layout, something like sitemesh or tiles, where can i find a simple example or guide about T5 Layout ? -- sincerely yours M. H. Shamsi

Fwd: [T5] - Parameter passing between Components.

2007-09-23 Thread Mohammad Shamsi
-- Forwarded message -- From: Mohammad Shamsi <[EMAIL PROTECTED]> Date: Sep 23, 2007 1:18 PM Subject: [T5] - Parameter passing between Components. To: Tapestry users <[EMAIL PROTECTED]> Dear friends, i have a search box in my page layout, and a component for show l

[T5] - looking for completed tapestry_5_0_0.xsd

2007-09-23 Thread Mohammad Shamsi
Dear friends, i have downloaded tapestry 5.0.5, but tapestry_5_0_0.xsd that bundled in jar file seem incomplete, then my pages is not valid as a XHTML document in IDE, can i find a complete version of this file ? -- sincerely yours M. H. Shamsi

  1   2   >