unctionality that allows you to
> switch between a component class and your template (similar to loom-t5).
>
> Regards,
>
> Juan M Salamanca
>
> On Mon, Mar 23, 2009 at 5:12 PM, Marcelo Lotif
> wrote:
>
> > That's really nice!
> > The plugin is already done,
t; Also, I am implementing wizards to provide support for common tasks,
> such
> >> as:
> >>
> >>- Switch between a T5 class and a template
> >>- New TML template wizard
> >>- New Page/Component wizard
> >>
> >> Please contact me if you are interested in helping. I hope that you find
> >> it
> >> useful.
> >>
> >> Kind regards,
> >>
> >> Juan M Salamanca
> >>
> >>
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
>
--
Marcelo Lotif
Sent from: Fortaleza CE Brazil.
ndent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3421-5910
as you can advise a service (or set
> of services), rather than decorate.
>
> On Mon, Feb 2, 2009 at 9:48 AM, Marcelo Lotif
> wrote:
> > Thanks Howard! It works beautifully!
> >
> > Just a note: I couldn't add this functionality directly to the
> dispat
ion:
>
> http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html
>
> for how to decorate your service to enable @CommitAfter.
>
> On Mon, Feb 2, 2009 at 8:06 AM, Massimo Lusetti
> wrote:
> > On Mon, Feb 2, 2009 at 4:03 PM, Marcelo Lotif
> wrote:
> >
&g
ction(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
anyone has any clue on how I can do this in a better way?
Thanks in advance!
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
On 23/01/2009, at 11:20 PM, Marcelo Lotif wrote:
>
> I'm using the last approach, and we don't have any problems.
>> I don't know if this will work if a user calls the page from 2 different
>> pages in 2 different tabs. Maybe on the returning, one of them will be
>>
not
> > be set correctly under any circumstances etc... or if there is a better
> way
> > to call back a previous page/URL.
> >
> > Thanks,
> > Peter
> >
> > -----
> > To unsubscribe, e-mail: users-unsubscr...@tapestry
> > > private List categories = new ArrayList();
> > > >
> > > > @Persist
> > > > private Category selectedCategory;
> > > >
> > > > public void setSelectedCategory(Category selectedCategory) {
> > > >
> > > >
gt;>> ==
> >>> uomsSelect = null;
> >>> materialTypesSelect = null;
> >>> uomsSelect = new
> >>> GenericSelectModel
> >>> <
> >>> UnitMeasurement
> >>> >(uoms,UnitMeasurement.class
ctedCategory);
> >
> > this.selectedCategory = selectedCategory;
> >
> > }
> >
> > public Category getSelectedRootCategory() {
> > return selectedRootCategory;
> > }
> >
> >
> >
> > ___
great!
2008/12/18 Marcus Veloso
> http://code.google.com/p/myt5t/
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3421-5910
ttp://fanf42.blogspot.com
> > > InterLDAP - http://interldap.org
> > > FederID - http://www.federid.org/
> > > Open Source identities management and federation
> > >
> > >
> > > ---------
&
ry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
--
Atenciosamente,
Marc
conversation), I thought to at least to ask if it could be considered at
> some point if at all feasible. I would also love to hear other peoples
> thoughts/opinions on this.
>
> cheers,
> Peter
>
>
>
>
> -------
imite the whole string.
> So,
> your example:
>
> /^[0-9]{1,4}$/.test("999a")
>
> is false !!
>
> I hope it helps.
>
> Lucas
>
>
>
> On Wed, Nov 26, 2008 at 10:55 PM, Marcelo Lotif <[EMAIL PROTECTED]>
> wrote:
> > Hi all,I was tryin
("999a");
boolean b = m.matches();
System.out.println(b);
}
}
at the end, it returns false, which means that the expression is correctly
mounted.
Any thoughts?
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3421-5910
PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------
> To unsubscribe, e-mai
; To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
m.
> >
> >
> >
> > -----
> > 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]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
g. The workaround
> > doesn't work and making the workaround work introduces other pitfalls.
> >
> > And I just can't believe that I'm the only one who wants his users to be
> > able to input numbers, currencies etc. in their respective locale.
> >
>
t; >
> > Thanks!
> >
> > Toby
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> http://thegodcode.net
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
new objects to it, so the values are lost.
Just try to print the list on your submit method before you clear it, and
you will get my point. :)
>
>
> Marcelo Lotif wrote:
> >
> > wesley,
> > Considering that your onSubmitFromMy and onActionFromCheckPage methods
> >
> return subs;
> >> }
> >> public void setSubs(boolean subs) {
> >> this.subs = subs;
> >> }
> >> public String getId() {
> >> return id;
> >> }
> >> public voi
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
at ?
>
> Thanks in advance
>
> Hugues
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
st1,SomeBean.class,"name","id",_access);
>
>_beans.addOptionGroup("Teine grupp", false, list2);
>_beans.addOptionGroup("Kolmas grupp", false, list3);
>
>
>
> After this this example works fine!
>
>
> Can anyone fix this wiki page?
>
of i dont understand tapeestry
> select component with optgroup options.
> I tried but i cant understand tapeestry select and selectmodel component.
> Also i cant find any example.
>
>
>
> Argo
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
g something?
>
> Martijn
>
>
> On Thu, 2008-08-21 at 17:05 -0300, Marcelo Lotif wrote:
>> No one is having this kind of problem? I tested in other situations
>> and this is still happening... I'll try to change my eclipse's default
>> configuration, maybe
No one is having this kind of problem? I tested in other situations
and this is still happening... I'll try to change my eclipse's default
configuration, maybe will help for now...
On Wed, Aug 20, 2008 at 9:42 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
d with T 5.0.15-SNAPSHOT, same problem.
This could be related with TAPESTRY-2525?
Most of my team is using Eclipse 3.3.2, Jetty 5.1.12 and Windows XP.
Is this the expected behavior? Is there something I'm doing wrong?
Should I fire a JIRA issue?
Thanks a lot for your help.
--
Atenciosam
complicated.
>
> How can i provide some additional code for any row visible in a grid
> component (a solution with additional columns is in place, but that's not
> what i want).
>
> With regards,
> Ralf E. Stranzenbach
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tape
e some logic to make sure the correct one gets displayed. So my the
>>>>> page's content property is annotated as @Persist("flash"), and at the
>>>>> end of the form submission I set the content member to a message. It's
>>>>> persisted, so that works. To get the initial content (the form) to
>>>>> render, I check if the content property is null in onActivate, and if so
>>>>> assign the form block.
>>>>>
>>>>> It works nicely, and I was wondering how others were handling this
>>>>> common use case and if something stinks about my method.
>>>>>
>>>>> Thanks!
>>>>>
>>>>> chris
>>>>>
>>>>> --
>>>>> http://thegodcode.net
>>>>>
>>>>>
>>>>> -
>>>>> 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]
>>
>>
>>
>
> --
> http://thegodcode.net
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I agree with using UTF-8 as default... We're using the UTF-8 Filter
for a while with some different db's (PostgreSql and SqlServer,
encoded with ISO-8859-1) and we never had any problem with it.
+1
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Ind
gt; onSubmitButton is never called. All I see is the output "form submitted".
>
> what's going on? From reading the component Events section on the T5 website
> it looks like I have got this right.
>
> thanks,
> p.
>
>
>
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
--
Parameter("myparam") ;
> ByteArrayInputStream bis = new
> ByteArrayInputStream(s.getBytes()) ;
> return bis ;
> }
>
> public void prepareResponse(Response response) {
> }
> } ;
> }
> }
>
>
> --------
age in context:
> http://www.nabble.com/Using-methods-other-thang-getters-and-listeners-tp18569645p18571557.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -----
> To unsubscribe, e-mail: [EMAIL P
tp18569645p18569645.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sorry about the action link. The correct form is:
:)
On Mon, Jul 21, 2008 at 9:07 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I don't clearly understand the use of the "t:" prefix (anyone can
> correct me if I am wrong), but I think that's a
;
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do
t;>
>>>>
>>>> ---------
>>>> 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]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
---
stry.apache.org/schema/tapestry_5_0_0.xsd";>
>
>My Nifty Web Application
>
>
>
> Welcome to the Nifty Web Application!
>
>
> Would you like to Log In?
>
>
>
>
> _
thank you for the attention! =)
2008/6/19 Howard Lewis Ship <[EMAIL PROTECTED]>:
> Inject the Form object and invoke the recordError() method.
>
> On Thu, Jun 19, 2008 at 7:47 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
>> Ok, but how can i return the error to the page w
tried to make a _form.recordError, but after it still
enters into the onSuccess method...
2008/6/19 Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]>:
> Em Thu, 19 Jun 2008 10:43:49 -0300, Marcelo Lotif <[EMAIL PROTECTED]>
> escreveu:
>
>> I was using a tricky field by fie
x27;t have to change anything in the field, i just have to do
it because without that, the validation do not work.
My BeanEditForm jump from a single line declaration to a long
multi-line unnecessary thing. This can be considered as a flaw?
Thanks in advance.
--
Atenciosamente,
Marcelo
e getting
> added to my url like (callsummary.form) which is't my page.
>
> How can i forward control to another page using button.Though I am able to
> forward control to another page using .
> I want to do it with buttons.
>
--
Atenciosamente,
Marcelo Lotif
Programador J
to previous errors
>
> 2008-6-19 14:09:55 org.apache.catalina.core.StandardHost getDeployer
>
>
>
> I don't know where the problem is,how to get the further information.I have
> change the package name into org.apache.tapestry5.***
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Jav
---
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
Programador Java e Tapestry
FIEC - Federação das Indústrias do Estado do Ceará
(85) 3477-5910
--
t; earlier this morning) , and they all look the same.
>>
>> Thanks,
>> -Dave
>>
>>
>>
>>
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands,
omponentResources that
> way. You can then invoke the discardPersistentFieldChanges() method
> directly.
>
> If you know the name of a page, the ComponentSource service has a
> method, getPage(), that returns Component.
>
> On Mon, Jun 16, 2008 at 1:06 PM, Marcelo Lotif <[EMAI
ComponentResources. What do you tapestry committers think about it?
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ttons?
>
>
> __
> Sent from Yahoo! Mail.
> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ntext:
> http://www.nabble.com/Tomcat-5.5.26-%2B-JDK-6_05---java.lang.OutOfMemoryError%3A-PermGen-Space-tp17804956p17816332.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
h the grid component when enter
> some words and get the sub recordset.Who can give me some idea about this
> question. Thanks a lot.
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
gt;>
>>>
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
${node.name}
>>
>>
>>
>>
>> And then in the java code:
>>
>> boolean Testj(int nodeid){if(nodeid==nodeSelected) return true; return
>> false; }
>>
>>
>> Is there any way to do the trick?
>>
>>
>>
>
> --
e RequestCycle.getPage(pageName).
>>>>>>
>>>>>> Thanks in advance for any asistance!
>>>>>>
>>>>>> Shing
>>>>>>
>>>>>> Home page : http://www.lombok.demon.co.uk/
>>>>>>
>>>
---
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
t;
> Thanks in advance,
> Hari.
>
>
>
>
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ree and no
>> responsibility is accepted by American International Group, Inc. or its
>> subsidiaries or affiliates either jointly or severally, for any loss or
>> damage arising in any way from its use.
>
>
>
>
> --
> with regards
> Sven Homburg
> http://t
gt;
>>
>> -
>> 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]
>
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
wanna ask how can i get the event
> handler working for this submit button
>
> Thanks a lot :-D
> --
> View this message in context:
> http://www.nabble.com/question-about-submit-component-tp17184672p17184672.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
;> No, you can't, :) it's only for output.
>>> Don't forget to vote on JIRA!
>>>
>>> Marcus
>>>
>>>
>>>
>>
>>
>> -
>> To unsubscribe
y 5. There are a lot of components for tapestry 4, the most important
> ones being ajax components, especially being able to use dojo etc.
>
> Is it possible to use dojo with tapestry 5 ? Also is it possible to use
> tapestry 4 components with 5 ?
>
> Thank yo
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
--
Atenciosamente,
Marcelo Lotif
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
n-components-tp16836395p16880136.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
d make it very simple. Perhaps you would
> like to vote for this issue:
>
>"Add Zone parameter to Select component"
>https://issues.apache.org/jira/browse/TAPESTRY-2361
>
> Cheers,
>
> Geoff
> http://files.doublenegative.com.au/jumpstart/
&g
one but with more features (localisation,
> data formatting, etc.)?
>
> Regards
> --
> Tomasz Dziurko
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
y("from CustomerInfo
> where customerName like :p_customerName");
>query.setParameter("p_customerName",
> "%"+searchKey+"%");
>return query.list();
>
>
>
>}
>catch(DataAccessException e){
>return null;
>}
>}
>
>
>
> }
>
>
>
>
> When I press the search button,the search have no any error information,and
> the return page only have the follow information:
>
> An unexpected application exception has occurred.
> Index: 4, Size: 4
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
gt; > all you can respond all that tapestry allowes here
> > http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
> > its up to you
> >
> > 2008/4/24, Marcelo Lotif <[EMAIL PROTECTED]>:
> >>
> >> I had the same issue as Leon some
ge, based on the value that
> is
> > selected.
> >
> > How can I do that?
> >
> > Leon
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
>
--
Atenciosamente,
Marcelo Lotif
> >>> I have a problem with tapestry calendar component, on page I have:
> > >>>
> > >>>
> > >>>
> > >>> In firefox when i click calendar icon calendar is displayed but IE
> it
> > >>> doesn't
> >
l;
> }
>
>
>
>
> could be a bit annoying. May anyone tell a nice way to do it? Any kind of
> help would be very appreciated ;D
>
> Thanks in advance to all.
>
--
Atenciosamente,
Marcelo Lotif
> >
> > What am I doing wrong here?
> >
> > Thanks
> > Peter
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> http://thegodcode.net
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
> select
> > > > > > > > > box with
> > > > > > > >
> > > > > > > > > constant values (Enum). Seems like even Male/Female drop
> downs
> > > > > > > > > need
> > > > > > >
> > > > > > > > > to be data-driven now-a-days. :->
> > > > > > > > >
> > > > > > > > > I've started to stub out a very simple "real world
> example" of a
> > > > >
> > > > > > > > > select component in T5, but it doesn't appear to be as
> simple as
> > > > >
> > > > > > > > > I
> > > > > >
> > > > > > > > > thought it would be.
> > > > > > > > >
> > > > > > > > > A shiny nickel to anyone that can spot the flaw, because
> I sure
> > > > > > > > can't...
> > > > > > > > > I'm new to Tapestry in general so I could be missing
> something
> > > > > > > > > really mundane here, but seems like it should work in my
> mind.
> > > > > > > > >
> > > > > > > > > Here are the players:
> > > > > > > > >
> > > > > > > > > << THE ERROR >>
> > > > > > > > >
> > > > > > > > > [ERROR] DefaultRequestExceptionHandler Processing of
> request
> > > > > > > > > failed with uncaught exception: com.foo.data.Brand cannot
> be
> > > > > > > > > cast to java.lang.String
> > > > > > > > > java.lang.ClassCastException: com.foo.data.Brand cannot
> be cast
> > > > > > > > > to
> > > > > >
> > > > > > > > > java.lang.String
> > > > > > > > > at
> > > > > > > > >
> > > > > > > > org.apache.tapestry.corelib.components.Select$1.toClient(
> Select.ja
> > > > > > > > va
> > > > > > > > :6
> > > > > > > > 2)
> > > > > > > > > at
> > > > > > > > >
> > > > > org.apache.tapestry.corelib.components.Select.writeOptions
> (Select.
> > > > > > > > > ja
> > > > > > > > > va
> > > > > > > > > :1
> > > > > > > > > 94)
> > > > > > > > > at
> > > > > > > > >
> > > > > > > org.apache.tapestry.corelib.components.Select.options(
> Select.java:16
> > > > > > > 9)
> > > > > > > > > at
> > > > > > > > >
> org.apache.tapestry.corelib.components.Select.beforeRenderTempla
> > > > > > > > > te
> > > > > > > > > (S
> > > > > > > > > el
> > > > > > > > > ec
> > > > > > > > > t.java)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > << Main.html (abridged) >>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > value="brand"
> > > > > > > > > model="brandSelectModel"/>
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > << Main.java (abridged) >>
> > > > > > > > >
> > > > > > > > > package com.foo.pages;
> > > > > > > > >
> > > > > > > > > import com.foo.data.Brand;
> > > > > > > > >
> > > > > > > > > public class Main {
> > > > > > > > >
> > > > > > > > > private Brand brand;
> > > > > > > > >
> > > > > > > > > public Brand getBrand() {
> > > > > > > > > return brand;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public void setBrand(Brand brand) {
> > > > > > > > > this.brand = brand;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public BrandSelectModel getBrandSelectModel() {
> > > > > > > > > return new BrandSelectModel(getBrands());
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public List getBrands() {
> > > > > > > > > List brands = new
> ArrayList();
> > > > > > > > > brands.add(new Brand("1", "Brand 1"));
> > > > > > > > > brands.add(new Brand("2", "Brand 2"));
> > > > > > > > > brands.add(new Brand("3", "Brand 3"));
> > > > > > > > > return brands;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > << Brand.java (abridged) >>
> > > > > > > > >
> > > > > > > > > package com.foo.data;
> > > > > > > > >
> > > > > > > > > public class Brand {
> > > > > > > > >
> > > > > > > > > private String id;
> > > > > > > > > private String description;
> > > > > > > > >
> > > > > > > > > public Brand() {}
> > > > > > > > >
> > > > > > > > > public Brand(String id, String description) {
> > > > > > > > > this.id = id;
> > > > > > > > > this.description = description;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public String getId() {
> > > > > > > > > return id;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public String getDescription() {
> > > > > > > > > return description;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > << BrandSelectModel.java >>
> > > > > > > > >
> > > > > > > > > package com.foo.uisupport;
> > > > > > > > >
> > > > > > > > > import com.foo.data.Brand;
> > > > > > > > >
> > > > > > > > > public class BrandSelectModel implements SelectModel {
> > > > > > > > >
> > > > > > > > > private List brands;
> > > > > > > > >
> > > > > > > > > public BrandSelectModel(List brands) {
> > > > > > > > > this.brands = brands;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public List getOptionGroups() {
> > > > > > > > > return null;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > public List getOptions() {
> > > > > > > > > List optionModelList = new
> > > > > > > > > ArrayList();
> > > > > > > > > for(Brand brand: brands) {
> > > > > > > > > optionModelList.add(new
> > > > > > > > > OptionModelImpl(brand.getDescription(), false, brand, new
> > > > > > > String[0]));
> > > > > > > > > }
> > > > > > > > > return optionModelList;
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
>
> > > > > > > > > --
> > > > > > > > > --
> > > > > > > > > - To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > > > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Howard M. Lewis Ship
> > > > > > > > TWD Consulting, Inc.
> > > > > > > > Independent J2EE / Open-Source Java Consultant Creator and
> PMC
> > > > > > > > Chair, Apache Tapestry Creator, Apache HiveMind
> > > > > > > >
> > > > > > > > Professional Tapestry training, mentoring, support and
> project
> > > > > work.
> > > > > > > > http://howardlewisship.com
> > > > > > > >
> > > > > > > >
> --
> > > > > > > > --
> > > > > > > > - To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Howard M. Lewis Ship
> > > > > > > TWD Consulting, Inc.
> > > > > > > Independent J2EE / Open-Source Java Consultant Creator and
> PMC
> > > > > > > Chair, Apache Tapestry Creator, Apache HiveMind
> > > > > > >
> > > > > > > Professional Tapestry training, mentoring, support and
> project work.
> > > > > > > http://howardlewisship.com
> > > > > > >
> > > > > > >
>
> > > > > > > - To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Howard M. Lewis Ship
> > > > > > TWD Consulting, Inc.
> > > > > > Independent J2EE / Open-Source Java Consultant Creator and PMC
> Chair,
> > > > > > Apache Tapestry Creator, Apache HiveMind
> > > > > >
> > > > > > Professional Tapestry training, mentoring, support and project
> work.
> > > > > > http://howardlewisship.com
> > > > > >
> > > > > >
> -
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Howard M. Lewis Ship
> > > > > TWD Consulting, Inc.
> > > > > Independent J2EE / Open-Source Java Consultant Creator and PMC
> Chair,
> > > > > Apache Tapestry Creator, Apache HiveMind
> > > > >
> > > > > Professional Tapestry training, mentoring, support and project
> work.
> > > > > http://howardlewisship.com
> > > > >
> > > > >
> -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > "The future is here. It's just not evenly distributed yet."
> > > >
> > > > -- Traditional
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Howard M. Lewis Ship
> > > TWD Consulting, Inc.
> > > Independent J2EE / Open-Source Java Consultant
> > > Creator and PMC Chair, Apache Tapestry
> > > Creator, Apache HiveMind
> > >
> > > Professional Tapestry training, mentoring, support
> > > and project work. http://howardlewisship.com
> > >
> >
> >
> > --
> >
> >
> > "The future is here. It's just not evenly distributed yet."
> >
> > -- Traditional
> >
> > -
> > 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]
>
>
--
Atenciosamente,
Marcelo Lotif
; Stephane
> >
>
>
> ---------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
hen you have
> to add the maven default path manually or it will not be included.
>
> Kind regards,
> Joachim
>
>
> Marcelo Lotif wrote:
> > Hi all,
> > I was trying to add some files to META-INF folder putting this code into
> my
> > pom.xml:
> >
>
s into the META-INF folder, but i also
noticed that this way the .tml files are not added to the jar file!
This is a bug? Should i fire a JIRA?
Regards,
Marcelo Lotif
Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
.
What do you think about it?
--
Atenciosamente,
Marcelo Lotif
ot;failure") and "submit" events*.
> Thus
> the best thing to do is to store in a temporary field what should be done
> inside the "success" event handler.)
>
> The use of multiples submit buttons appears to be the best option, instead
> of actionlinks.
>
>
> Marcus
>
--
Atenciosamente,
Marcelo Lotif
, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>>
> >>>
> >> --
> >>
> >> Joachim Van der Auwera
> >> PROGS bvba, progs.be
> >>
> >>
> >> -
> >> 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]
> >
> >
> >
>
>
>
> --
>
> Joachim Van der Auwera
> PROGS bvba, progs.be
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
> >
> > Thanks
> >
> > Marcus
> >
>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
ot;, new
> InjectSelectionModelWorker(propertyAccess), "after:Inject*");
> }
>
>
> public InjectSelectionModelWorker(PropertyAccess propertyAccess)
> _propertyAccess = propertyAccess;
> }
>
>
> transformation.injectField(accessActualName, _pr
wse/TAPESTRY-2053
> ...
> or just skip resolving idFieldAdapter because you don't actualy need
> it when list is empty
>
>
>
> Davor Hrg
>
>
> On Feb 19, 2008 8:16 PM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > I posted on the wi
Hi all,
I posted on the wiki another example on how to make a select with objects,
now i used an annotation to do this is a simpler way.
http://wiki.apache.org/tapestry/Tapestry5AnotherSelectWithObjects
Cheers,
Marcelo Lotif
>
> HTH
>
> Mahen
>
> -Original Message-
> From: Marcelo Lotif [mailto:[EMAIL PROTECTED]
> Sent: 30 January 2008 16:32
> To: Tapestry users
> Subject: [T5] Why can't i directly access attributes from my superclass?
>
> Hi all,
> I have an attribute used
instead of
calling the attribute directly, everything works fine.
Anyone knows why this happens?
--
Atenciosamente,
Marcelo Lotif
---
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> with regards
> Sven Homburg
>
--
Atenciosamente,
Marcelo Lotif
Issue added:
https://issues.apache.org/jira/browse/TAPESTRY-2088
2008/1/24, Howard Lewis Ship <[EMAIL PROTECTED]>:
>
> Please add an issue with all relevant code and stack traces.
>
> On Jan 24, 2008 10:34 AM, Marcelo Lotif <[EMAIL PROTECTED]> wrote:
> > I found t
n.java:986)
org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2008/1/24, Marcelo Lotif <[EMAIL PROTECTED]>:
>
ation
classpath:br/com/javasoftware/erp/pages/consultas/CstFluxoCaixa.tml, line
15, column 22
10 Fluxo de Caixa
11
12
13
16
17
18 Atenciosamente,
> Marcelo Lotif
--
Atenciosamente,
Marcelo Lotif
this is how the popupSize attribute is defined on the java class:
public int[] getpopupSize(){
return new int[]{800,600};
}
This is weird, this error does not occur on 5.0.7...
If you want the stack trace too, tell me, then I'll post it.
--
Atenciosamente,
Marcelo Lotif
gt; best regards
> > Sven
> >
>
>
> --
> Michael Courcy
> http://courcy.blogspot.com
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Atenciosamente,
Marcelo Lotif
PM, Joel Wiegman < [EMAIL PROTECTED]>
> > > wrote:
> > > > > There appears to be a bug with 5.0.7 in that any custom validation
> > > > > method ( onValidate(), etc. ) gets called before the HTTP values
> get
> > > > > bound to the Tapestry
Apache 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]
>
>
--
Atenciosamente,
Marcelo Lotif
s are there... If i
switch back to 5.0.6, everything works fine again.
Am i missing something or this is really an error?
--
Atenciosamente,
Marcelo Lotif
1 - 100 of 157 matches
Mail list logo