Re: Defining mask globally

2007-03-16 Thread Sanjay Choudhary
Value(context); ---> > > > this returns null. > > > } else { > > > return expression; > > > } > > > } > > > > > > Thing I don't understand is why will it return null in scenerio 2 > > whereas it > > > is su

Re: JSF and Servlet

2007-04-01 Thread Craig McClanahan
On 4/1/07, paksegu <[EMAIL PROTECTED]> wrote: Hi, Can you call a servlet/methods from a JSF app just as you can with manage beans? Thanks The short answer is yes, but it might help to understand a little bit more about what you are trying to do. A JSF application *is* a servlet based app

Re: JSF and Servlet

2007-04-01 Thread paksegu
First I was trying to convert a servlet code to pojo so i can call them from JSF as manage beans but i ran into the problem of ServletContext and getServletConfig methods and thats where I am stuck at. Craig McClanahan <[EMAIL PROTECTED]> wrote: On 4/1/07, paksegu wrote: > Hi, > Can you call a

Re: JSF and Servlet

2007-04-01 Thread Craig McClanahan
On 4/1/07, paksegu <[EMAIL PROTECTED]> wrote: First I was trying to convert a servlet code to pojo so i can call them from JSF as manage beans but i ran into the problem of ServletContext and getServletConfig methods and thats where I am stuck at. When you are in a JSF request, you can get to

Re: JSF and Servlet

2007-04-01 Thread paksegu
Okay Thanks Craig McClanahan <[EMAIL PROTECTED]> wrote: On 4/1/07, paksegu wrote: > First I was trying to convert a servlet code to pojo so i can call them from > JSF as manage beans but i ran into the problem of ServletContext and > getServletConfig methods and thats where I am stuck at. Whe

Re: Clay nested templates

2007-04-10 Thread Gary VanMatre
>Hi, > >I'm experimenting with Clay and I like it. A few things are not quite clear >to me though. I can make my page /user_calendar.jsf work with the following >clay config: > > > > > > > > > > > > > > > > > >But I wish to insert another template inside a template, and thought the >following migh

RE: Clay nested templates

2007-04-11 Thread JS Portal Support
makes phasing JSP out possible in stead of having to do a complete changeover at once. And extending views... gotta love it! Cheers, Joost -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 11, 2007 5:28 AM To: user@shale.apache.org Subject: Re: Clay n

Re: Dialog transition outcome

2007-04-11 Thread Rahul Akolkar
On 4/7/07, samju <[EMAIL PROTECTED]> wrote: hi, i am new to Shale and need some help! i got this error "Cannot find transition 'org.apache.shale.dialog.basic.START_OUTCOME' for state 'activateLog' of dialog 'logon' " what ii have: the appropriate and the tag publi

RE: Clay nested templates

2007-04-11 Thread hermod.opstvedt
user@shale.apache.org Subject: RE: Clay nested templates Hermod, Gary, Thanks a lot for your help. So it was actually easier than I thought. I'm really falling in love with Clay. Using jsp, jsf and html together in an extendable matter like this really makes my life easier. I can use a lot o

Re: Basic Dialog Manager

2007-04-11 Thread Rahul Akolkar
On 4/11/07, Matthias Wuttke <[EMAIL PROTECTED]> wrote: Hi! I am trying to use the Basic Dialog Manager. I noticed the following: - If you only include shale-dialog (and not shale-dialog-basic) as a dependency, you will get a NullPointerException in DialogNavigationHandler:121. A more meaningful

Re: Basic Dialog Manager

2007-04-11 Thread Rahul Akolkar
I think the email below is mostly a duplicate, if I missed a new question let me know. -Rahul On 4/11/07, Matthias Wuttke <[EMAIL PROTECTED]> wrote: Hi! I am trying to use the Basic Dialog Manager. I noticed if you only include shale-dialog (and not shale-dialog-basic) as a dependency, you wi

Re: Basic Dialog Manager

2007-04-11 Thread Craig McClanahan
On 4/11/07, Rahul Akolkar <[EMAIL PROTECTED]> wrote: I think the email below is mostly a duplicate, if I missed a new question let me know. AFAICT that is true ... I had to moderate both of them through. They were originally sent about 4 hours apart. -Rahul Craig On 4/11/07, Matthias

Re: Dialog transition outcome

2007-04-12 Thread samju
Hi Rahul, the message / literal for "Login.4" return the method "success" ! i implemented the "dataClassName" in my and the code work. but now i get a new problem. i do like so: my aim is to get the Field input data from jsp via shale Dialog "dataClassName" and store the input data (user, pass) u

Re: Basic Dialog Manager

2007-04-12 Thread Veit Guna
Hi. I had the same problem with the BasicLifecycleListener. I drilled it down to be a problem of the WTP Tomcat integration within Eclipse. Are you using WTP or plain tomcat? /Veit Original-Nachricht Datum: Wed, 11 Apr 2007 18:43:41 +0200 Von: Matthias Wuttke <[EMAIL PROTECT

Re: Dialog transition outcome

2007-04-12 Thread Rahul Akolkar
On 4/12/07, samju <[EMAIL PROTECTED]> wrote: Hi Rahul, the message / literal for "Login.4" return the method "success" ! i implemented the "dataClassName" in my and the code work. While using the "dialog scope" to store data is a very useful pattern, I do not think that the absence of dataCl

Re: Basic Dialog Manager

2007-04-12 Thread Craig McClanahan
On 4/11/07, Matthias Wuttke <[EMAIL PROTECTED]> wrote: Hi! I am trying to use the Basic Dialog Manager. I noticed the following: - If you only include shale-dialog (and not shale-dialog-basic) as a dependency, you will get a NullPointerException in DialogNavigationHandler:121. A more meaningful

RE: Basic Dialog Manager

2007-04-12 Thread JS Portal Support
>> >> - I'd like to pass GET parameters between the dialog pages. Is it >> possible to use EL expressions in the viewId attributes? Please compare >> to: >> http://typo.ars-subtilior.com/articles/2007/01/24/how-to-make-jsf->navigatio n-rules-more-dynamic >That's an interesting idea, and would be

Re: SV: using tld2claycfg

2007-04-17 Thread Torsten Krah
[mailto:[EMAIL PROTECTED] > Sendt: 17. april 2007 13:43 > Til: user@shale.apache.org > Emne: Re: using tld2claycfg > > I guess Hermod does, because he made it. > > My problem is, i cant build the tool with maven, maybe i am doing > something wrong - so Hermod, can you

RE: Basic Dialog Manager

2007-04-18 Thread JS Portal Support
> > - I'd like to pass GET parameters between the dialog pages. Is it > possible to use EL expressions in the viewId attributes? Please compare > to: > http://typo.ars-subtilior.com/articles/2007/01/24/how-to-make-jsf-navigation -rules-more-dynamic >That's an interesting idea, and would be useful

Re: SHALE-409 fix

2007-05-22 Thread Antonio Petrelli
2007/5/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Please fix the bug SHALE-409. If you want it fixed, why don't you write a patch? Antonio

RE: SHALE-409 fix

2007-05-22 Thread mario.buonopane
Antonio, can i? Looking to http://issues.apache.org/struts/browse/SHALE-409 seems to be present the solution. What can I do to write the patch? -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: 22 maggio 2007 15.48 To: user@shale.apache.org Subject: Re: SHALE-409

Re: SHALE-409 fix

2007-05-22 Thread Antonio Petrelli
2007/5/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Antonio, can i? Looking to http://issues.apache.org/struts/browse/SHALE-409 seems to be present the solution. What can I do to write the patch? With "write" I meant "modify your local version, export a diff file and post the newly created pat

RE: SHALE-409 fix

2007-05-22 Thread mario.buonopane
27;t understand the second loop commented so I can just comment it. What do you think? Mario -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: 22 maggio 2007 15.59 To: user@shale.apache.org Subject: Re: SHALE-409 fix 2007/5/22, [EMAIL PRO

Re: SHALE-409 fix

2007-05-22 Thread Wendy Smoak
On 5/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Antonio, I have tested the patch suggested by Matt Hughes at http://issues.apache.org/struts/browse/SHALE-409. Great! First, please come join us on the development list. We generally keep the user list for discussion about using releas

Re: problem using t:inputHtml

2007-05-22 Thread Lionel Port
I have this additional mapping ExtensionsFilter /faces/myFacesExtensionResource/* Otherwise you maybe experiencing this issue. http://issues.apache.org/struts/browse/SHALE-409 In desperation I had to build a custom version of shale with this f

Re: SHALE-409 fix

2007-05-23 Thread Torsten Krah
The question would be - as the second run is really useless - how to identify annotated tiger beans. If they can be identified (dont know if this is possible and how to do it yet), than the code in run two can be fixed to do what the comment does want to do, remove them, instead of removing the res

Re: SHALE-409 fix

2007-05-23 Thread Gary VanMatre
>From: Torsten Krah [EMAIL PROTECTED] > >The question would be - as the second run is really useless - how to >identify annotated tiger beans. >If they can be identified (dont know if this is possible and how to do >it yet), than the code in run two can be fixed to do what the comment >does want t

Re: SHALE-409 fix

2007-05-23 Thread Craig McClanahan
r - not sure. [1] http://svn.apache.org/viewvc/shale/framework/trunk/shale-view/src/main/java/org/apache/shale/view/faces/LifecycleListener.java?view=markup >Torsten Gary -- Forwarded message -- From: Torsten Krah <[EMAIL PROTECTED]> To: user@shale.apache.org Date: W

Re: SHALE-409 fix

2007-05-23 Thread Gary VanMatre
the > > PhaseListener - not sure. > > > > [1] > > > http://svn.apache.org/viewvc/shale/framework/trunk/shale-view/src/main/java/org/ > > apache/shale/view/faces/LifecycleListener.java?view=markup > > > > > > >Torsten > > > &g

Re: SHALE-409 fix

2007-05-23 Thread Craig McClanahan
> > > [1] > > > http://svn.apache.org/viewvc/shale/framework/trunk/shale-view/src/main/java/org/ > apache/shale/view/faces/LifecycleListener.java?view=markup > > > > > > >Torsten > > > > Gary > > > > > > > > -- Forwarded message --

Re: SHALE-409 fix

2007-05-23 Thread Gary VanMatre
ver, there might be a funky case that resulted in this logic in the > > > > PhaseListener - not sure. > > > > > > > > [1] > > > > > > > > http://svn.apache.org/viewvc/shale/framework/trunk/shale-view/src/main/java/org/ > > > >

Re: problem using t:inputHtml

2007-05-25 Thread AM101
Thanks, This mapping did the trick. Lionel Port-2 wrote: > > I have this additional mapping > > > > ExtensionsFilter > /faces/myFacesExtensionResource/* > > > > Otherwise you maybe experiencing this issue. > http://issues.apache.org/struts/browse/SHAL

Re: How configure DialogContextListener?

2007-05-25 Thread Craig McClanahan
On 5/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, how can i configure a DialogContextListener? Two different ways: (1) Get access to the DialogContext instance for the currently active dialog, then call addDialogContextListener() on it, passing the instance of your listener.

Re: SV: SHALE-444

2007-05-26 Thread Torsten Krah
Thx Hermod for your help. But i've still got a problem - there is no new editor entry or a new wizard dialog for clay. plugin is copied to the plugin folder. eclipse started with -clean. Error Log stays empty. Any help how to find out if plugin is correctly there: It shows up in window->preferenc

RE: How configure DialogContextListener?

2007-05-28 Thread mario.buonopane
] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: 25 maggio 2007 19.03 To: user@shale.apache.org Subject: Re: How configure DialogContextListener? On 5/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, how can i configure a DialogContextListener? > > Two diff

Re: How configure DialogContextListener?

2007-05-28 Thread Craig McClanahan
19.03 To: user@shale.apache.org Subject: Re: How configure DialogContextListener? On 5/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, how can i configure a DialogContextListener? > > Two different ways: (1) Get access to the DialogContext instance for the currentl

RE: How configure DialogContextListener?

2007-05-29 Thread mario.buonopane
user@shale.apache.org Subject: Re: How configure DialogContextListener? On 5/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks, but there is no way to configure a listener statically (for > example using a configuration file)? I need to configure the same > listener for

Re: How configure DialogContextListener?

2007-05-29 Thread Craig McClanahan
McClanahan Sent: 29 maggio 2007 03.19 To: user@shale.apache.org Subject: Re: How configure DialogContextListener? On 5/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks, but there is no way to configure a listener statically (for > example using a configuration file)? I nee

Re: No onException called

2007-05-30 Thread Rahul Akolkar
On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I have configure a my dialogContextListener but If I receive the onEntry method call back (for example) but I don't receive any onException in case I call a transition not setted in dialog config file. In the log I found: The Dialog

Re: No onException called

2007-05-30 Thread Craig McClanahan
On 5/30/07, Rahul Akolkar <[EMAIL PROTECTED]> wrote: On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, I have configure a my dialogContextListener but If I receive the > onEntry method call back (for example) but I don't receive any > onException in case I call a transition not sette

Re: No onException called

2007-05-30 Thread Rahul Akolkar
On 5/30/07, Craig McClanahan <[EMAIL PROTECTED]> wrote: On 5/30/07, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, I have configure a my dialogContextListener but If I receive the > > onEntry method call back (for example) but I don't r

RE: No onException called

2007-06-04 Thread mario.buonopane
@shale.apache.org Subject: Re: No onException called On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, I have configure a my dialogContextListener but If I receive the > onEntry method call back (for example) but I don't receive any > onException in case I call a tran

Re: Question about ShaleViewRoot

2007-06-04 Thread Gary VanMatre
>From: <[EMAIL PROTECTED]> > > In faces-config.xml distributed with shale-view.jar there is the > definition of ShaleViewRoot component: > > javax.faces.ViewRoot > > org.apache.shale.view.faces.ShaleViewRoot > > > But I have a question about the jsf mechanisms: > > > If in m

Re: No onException called

2007-06-04 Thread Rahul Akolkar
read overrides that one by virtue of being more recent. -Rahul Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 30 maggio 2007 18.20 To: user@shale.apache.org Subject: Re: No onException called On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wr

RE: No onException called

2007-06-05 Thread mario.buonopane
. Craig told me the same think, so if you agree I can open an RFC. However thanks for Shale and the time you spend for it! Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 4 giugno 2007 22.05 To: user@shale.apache.org Subject: Re: No onException called On

RE: SHALE-409 fix

2007-06-05 Thread mario.buonopane
Any news about the fix? -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: 23 maggio 2007 22.44 To: user@shale.apache.org Subject: Re: SHALE-409 fix >From: "Craig McClanahan" <[EMAIL PROTECTED]> > > On 5/23/07, Gary VanMatre wrote: >

RE: Problem with subdialogs

2007-06-05 Thread mario.buonopane
I have tried to set end state of dialog B without setting viewId. On shale internet site there is this sentence: "If no view identifier was configured (meaning that the parent dialog will be responsible for rendering the response to the current request), simply return the logical outcome that caus

RE: Problem with subdialogs

2007-06-05 Thread Gary VanMatre
?? > The shale dialog navigation uses JSF navigation rules defined in the faces-config.xml. Do you have navigation rules for the viewId with outcomes for the view in question? When the navigation handler can not find a match rule for the "outcome", it re-renders the current

RE: Problem with subdialogs

2007-06-05 Thread mario.buonopane
, return without call any view and DialogNavigationHandler does not call original.handleNavigation(context, fromAction, outcome)... Mario -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: 5 giugno 2007 17.49 To: user@shale.apache.org Subject: RE: Problem with subdialogs

Re: No onException called

2007-06-05 Thread Rahul Akolkar
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Rahul, every time I ask for something someone respond me ask me for a use case, Sorry if it seems that way, but in this particular thread I think "the larger picture" should drive any code changes, and I thought it'd be better understood

Re: Problem with subdialogs

2007-06-05 Thread Rahul Akolkar
Comments inline (quite a ways down) ... On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have some problem with subdialogs using shale1.1.0-snapshot (22/05). The first problem is: I have a dialog B with following this configuration:

Re: Problem with subdialogs

2007-06-05 Thread Rahul Akolkar
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Yes I have: avanti /home/home.jsp Of my faces-config.xml. Hold off on mix and matching faces-config navigation rules and dialog configurations. This shouldn't be necessary, atleast in the dialogs you've p

Re: Problem with subdialogs

2007-06-05 Thread Rahul Akolkar
On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have some problem with subdialogs using shale1.1.0-snapshot (22/05). Could you try the 20070605 build from here [1] (or try building yourself). I've made a change few minutes ago. -Rahul [1] http://people.apache.org/builds/shale/nigh

RE: Problem with subdialogs

2007-06-06 Thread mario.buonopane
2 To: user@shale.apache.org Subject: Re: Problem with subdialogs On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have some problem with subdialogs using shale1.1.0-snapshot (22/05). > Could you try the 20070605 build from here [1] (or try building yourself). I've made a chan

RE: Problem with subdialogs

2007-06-06 Thread Gary VanMatre
"end" state of the dialog config? > Mario > Gary > -Original Message- > From: Rahul Akolkar [mailto:[EMAIL PROTECTED] > Sent: 5 giugno 2007 22.02 > To: user@shale.apache.org > Subject: Re: Problem with subdialogs > > On 6/5/07, [EM

Re: Problem with subdialogs

2007-06-06 Thread Rahul Akolkar
iugno 2007 22.02 To: user@shale.apache.org Subject: Re: Problem with subdialogs On 6/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have some problem with subdialogs using shale1.1.0-snapshot (22/05). > Could you try the 20070605 build from here [1] (or try building yourself

RE: Problem with subdialogs

2007-06-06 Thread mario.buonopane
, show the next viewId configured in dialog C. Mario -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: 6 giugno 2007 16.48 To: user@shale.apache.org Subject: RE: Problem with subdialogs >From: <[EMAIL PROTECTED]> > > Rahul, I've tried shale-fr

Re: Problem with subdialogs

2007-06-06 Thread Rahul Akolkar
On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: If I add a viewId to the end of dialog B, when I start dialog B standalone(not as subdialog) does work how I expect (show the viewId). If I start the dialog B as a subdialog of dialog C, when dialog B ends does show the viewId and not contin

RE: Problem with subdialogs

2007-06-07 Thread mario.buonopane
Sent: 6 giugno 2007 19.07 To: user@shale.apache.org Subject: Re: Problem with subdialogs On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Rahul, I've tried shale-framework-20070606.zip because there isn't > shale-framework-20070605.zip but seems that the problem is

RE: Problem with subdialogs

2007-06-07 Thread mario.buonopane
Please remove this email. THE FIX DOES WORK CORRECTLY, is my brain does not! Thanks Mario -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 7 giugno 2007 10.49 To: user@shale.apache.org Subject: RE: Problem with subdialogs Rahul, I have tried your fix but

Re: ShaleViewRoot, and Subdialog

2007-06-08 Thread samju
the action which enter the Subdialog is ben called twice! Error Output: User validator success sam! 08.06.2007 17:16:24 org.apache.myfaces.renderkit.html.HtmlLabelRenderer encodeBegin WARNUNG: Attribute 'for' of label component with id back:userpanel:_idJsp7 is not defined 08.06.2007 17:16:24 org

RE: ShaleViewRoot, and Subdialog

2007-06-08 Thread mario.buonopane
Can you post your web.xml and the jar list of your WEB-INF/lib directory? -Original Message- From: samju [mailto:[EMAIL PROTECTED] Sent: 8 giugno 2007 17.27 To: user@shale.apache.org Subject: Re: ShaleViewRoot, and Subdialog the action which enter the Subdialog is ben called twice

RE: ShaleViewRoot, and Subdialog

2007-06-09 Thread samju
mju [mailto:[EMAIL PROTECTED] > Sent: 8 giugno 2007 17.27 > To: user@shale.apache.org > Subject: Re: ShaleViewRoot, and Subdialog > > > the action which enter the Subdialog is ben called twice! > > Error Output: > User

Re: ConcurrentModificationException under Jetty

2007-06-14 Thread Rahul Akolkar
On 6/14/07, Laurie Harper <[EMAIL PROTECTED]> wrote: I just upgraded various library dependencies in a project I'm working on, and am now getting the exception shown below on every request, but only when running under Jetty (via the Maven2 plugin). The same app runs fine under Tomcat. Is Shale do

Re: DialogContext and dataTable

2007-06-19 Thread Craig McClanahan
On 6/19/07, samju <[EMAIL PROTECTED]> wrote: public class Login extends AbstractViewController{ public String editDataTable(){ FacesContext context = FacesContext.getCurrentInstance(); DialogContext dcontext = DialogHelper.getDialogContext(context); Object currentuser = ((appBackingBean) dcontex

Re: DialogContext and dataTable

2007-06-20 Thread samju
craigmcc wrote: > > On 6/19/07, samju <[EMAIL PROTECTED]> wrote: >> >> public class Login extends AbstractViewController{ >> public String editDataTable(){ >> FacesContext context = FacesContext.getCurrentInstance(); >> DialogContext dcontext = DialogHelper.getDialogContext(context); >> Object

Re: DialogContext and dataTable

2007-06-20 Thread samju
ok i solve the Problem. i goes like this: 1.get dataClassName instance 2.make instance of "another Bean" using the getBean("another Bean"); 3. get the Row index from UIData something Like(dbserver.setId(getServerdata().getRowIndex());) 4. get the appropriate "another Bean" Object from a "List" s

Re: Shale dialog question

2007-06-28 Thread Craig McClanahan
On 6/28/07, Werner Punz <[EMAIL PROTECTED]> wrote: Hi everybody, I am just digging through the shale dialog codebase. Maybe I am missing something here, but I cannot see following usecase covered. A User is in a dialog and exits the dialog by altering the url... Now what happens then? I cannot se

Re: Shale dialog question

2007-06-29 Thread Werner Punz
Craig McClanahan schrieb: > On 6/28/07, Werner Punz <[EMAIL PROTECTED]> wrote: >> Hi everybody, I am just digging through the shale dialog codebase. >> Maybe I am missing something here, but I cannot see following usecase >> covered. >> A User is in a dialog and exits the dialog by altering the url

Re: DataModel + Scrolling Technices

2007-07-04 Thread Lionel Port
If the backing bean is request scoped it might just be a problem with not saving the state of the tables model. Try using the saveState component. On 7/5/07, Érico Teixeira <[EMAIL PROTECTED]> wrote: I have a method called listen() in a ManagedBean. In this method I run a JPA query and load th

Re: DataModel + Scrolling Technices

2007-07-04 Thread Lionel Port
I noticed you already have the "preserveDataModel" set on the data table. My only other thought is that it could be the "binding" use. Not sure what happens when binding a component with save state to a request scope bean. Try removing the binding altogether and see what happens. On 7/5/07, Lione

Re: DataModel + Scrolling Technices

2007-07-05 Thread Érico Teixeira
Érico - Original Message From: Lionel Port <[EMAIL PROTECTED]> To: user@shale.apache.org Sent: Wednesday, July 4, 2007 9:21:22 PM Subject: Re: DataModel + Scrolling Technices I noticed you already have the "preserveDataModel" set on the data table. My only other thought is

Re: s:token usability question

2007-07-05 Thread Lionel Port
Its a problem whenever your form submits don't result in a different view being display. I had a similar problem. It is a hack but its the only way I've foundl. All my backing beans inherit from an common abstract class so I just added a utility method that gets called whenever an action navigates

Re: s:token usability question

2007-07-06 Thread Costa Basil
Hi, Lionel: Thank you for your reply. I think I am going to create my own token tag and I will extend the shale Token class to remove the attribute if the token validation passes in order to force the token to generate a new value when it gets rendered. This way I don't have to remember to res

RE: Customizing Basic DialogContextManager

2007-07-09 Thread mario.buonopane
Another way I have tested is to extends directly AbstractDialogContextManager overriding all public methods using the wrapped org.apache.shale.dialog.basic.BasicDialogManager. Is this solution better then the first? Regards Mario P.S. could be easier if org.apache.shale.dialog.basic.BasicDial

RE: Customizing Basic DialogContextManager

2007-07-10 Thread mario.buonopane
I feel boycotted :) May be the problem is my email address? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 9 luglio 2007 11.25 To: user@shale.apache.org Subject: RE: Customizing Basic DialogContextManager Another way I have tested is to extends directly

Re: Customizing Basic DialogContextManager

2007-07-11 Thread Rahul Akolkar
TECTED] [mailto:[EMAIL PROTECTED] Sent: 9 luglio 2007 11.25 To: user@shale.apache.org Subject: RE: Customizing Basic DialogContextManager Another way I have tested is to extends directly AbstractDialogContextManager overriding all public methods using the w

RE: Customizing Basic DialogContextManager

2007-07-16 Thread mario.buonopane
No response? Every body to the beach? :) Ciao Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 11 luglio 2007 18.20 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrot

Re: tld2claycfg encoding problem

2007-07-18 Thread Gary VanMatre
>From: Tomasz Pasierb <[EMAIL PROTECTED]> > > Hi guys, > > I'm trying to use Tld2Claycfg tool to convert trinidad, tomahawk and > tomahawk tlds to clay config files. In order to do this I've checked out > 3 projects, built & installed tld2claycfg and mojo projects and > configured pom in test

Re: Customizing Basic DialogContextManager

2007-07-19 Thread Rahul Akolkar
ndering you from doing. -Rahul Ciao Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 11 luglio 2007 18.20 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I feel

RE: Customizing Basic DialogContextManager

2007-07-19 Thread mario.buonopane
uot;Hello Rahul"); } Thanks Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 19 luglio 2007 22.37 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > No resp

Re: Customizing Basic DialogContextManager

2007-07-23 Thread Rahul Akolkar
to:[EMAIL PROTECTED] Sent: 19 luglio 2007 22.37 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > No response? Every body to the beach? :) > For me to say anything else here, I'd need a bit more

RE: Customizing Basic DialogContextManager

2007-07-23 Thread mario.buonopane
IL PROTECTED] Sent: 23 luglio 2007 21.19 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Rahul, > What I need is to extend the "create" method of > org.apache.shale.dialog.basic.Bas

Re: Customizing Basic DialogContextManager

2007-07-24 Thread Rahul Akolkar
luglio 2007 21.19 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Rahul, > What I need is to extend the "create" method of > org.apache.shale.dialog.basic.BasicDialogManager > >

RE: Customizing Basic DialogContextManager

2007-07-25 Thread mario.buonopane
Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 24 luglio 2007 21.12 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The reason is that I have, in special cases, to change the

Re: Customizing Basic DialogContextManager

2007-07-27 Thread Rahul Akolkar
On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm sorry Rahul but I don't understand your response (sure is for my bad > English). Please feel free to ask me to repeat anything that isn't clear, I will try again. > Can you explain: > " If it must be so (for whatever reason that I a

RE: Customizing Basic DialogContextManager

2007-07-30 Thread mario.buonopane
problem using this solution. Thanks in advance Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 27 luglio 2007 22.33 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> w

Re: Customizing Basic DialogContextManager

2007-07-30 Thread Rahul Akolkar
shale.dialog.basic.BasicDialogManager > > session > > > > I know that you can think that the requirement is strange but I would > like to know if there is some possible problem using this solution. > > Thanks in advance > Mario > > > > ---

RE: Customizing Basic DialogContextManager

2007-07-30 Thread mario.buonopane
way to do). The curiosity is: "Why you don't recommend my approach?" Ciao Mario -Original Message- From: Rahul Akolkar [mailto:[EMAIL PROTECTED] Sent: 31 luglio 2007 00.09 To: user@shale.apache.org Subject: Re: Customizing Basic DialogContextManager On 7/30/07, [EMAIL PROTEC

Re: Customizing Basic DialogContextManager

2007-07-31 Thread Rahul Akolkar
On 7/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Rahul, thanks for your reply. > At the moment I have all action calling a managed bean: > > And the action return the dialog name. > Unfortunately the dialog name is not build using a "dialogchooser" and I > can't use your approach witho

Re: Anomalies with @Prerender

2007-08-11 Thread Gary VanMatre
>From: "Richard Eggert" <[EMAIL PROTECTED]> > > I've been seeing weird problems with the invocation of @Prerender/prerender() > methods and the handling of request-scoped backing beans. > > I have a HTML-templated page rendered with Clay, and a corresponding > request-scoped backing bean annot

RE: Anomalies with @Prerender

2007-08-12 Thread Richard Eggert
s.com -Original Message- From: Gary VanMatre [mailto:[EMAIL PROTECTED] Sent: Sat 8/11/2007 6:37 AM To: user@shale.apache.org Subject: Re: Anomalies with @Prerender >From: "Richard Eggert" <[EMAIL PROTECTED]> > > I've been seeing weird problems with the invocation o

Re: SV: Tiles integration

2007-09-12 Thread Gregg Leichtman
I was not successful in getting the webapp stack that you mention to work. I ended up modifying an old TilesViewHandler to work with JSF 1.2 RI v1.2_04-b16-p02, not MyFaces, a nightly snapshot of Shale 1.1.0 from July 17, 2007, the released version of Trinidad 1.2.1, Tomahawk 1.1.6, JSTL 1.1.2 and

Re: SV: Tiles integration

2007-09-13 Thread Antonio Petrelli
Gregg, why don't you post your work as a patch in JIRA? If you cannot find the right issue, open a new one. Anyway good candidates are: https://issues.apache.org/struts/browse/SHALE/component/21281 Antonio 2007/9/13, Gregg Leichtman <[EMAIL PROTECTED]>: > > I was not successful in getting the web

Re: SV: Tiles integration

2007-10-04 Thread Gregg Leichtman
signature.asc Description: OpenPGP digital signature

Re: SV: Tiles integration

2007-10-04 Thread Gregg Leichtman
Sorry I didn't reply to this earlier, but I didn't see it until now. I did not do this, because the code is RI specific. It uses a number of Sun com classes in the imports for example. When I posted this previously on 7/25 under topic: "Any sucess with shale nightly 20070717 and RI JSF 1.2?", Mr V

Re: SV: Tiles integration

2007-10-05 Thread Gregg Leichtman
Sorry I didn't reply to this earlier, but I didn't see it until now. I did not do this, because the code is RI specific. It uses a number of Sun com classes in the imports for example. When I posted this previously on 7/25 under topic: "Any sucess with shale nightly 20070717 and RI JSF 1.2?", Mr.

Re: SV: Tiles integration

2007-10-05 Thread Greg Reddin
On 10/4/07, Gregg Leichtman <[EMAIL PROTECTED]> wrote: > > If there is interest I would be happy to post it as a JIRA item. Please do :-) Greg

Re: SV: Tiles integration

2007-10-07 Thread Gregg Leichtman
I have attached the TilesViewHandler source to the existing bug report at: https://issues.apache.org/struts/browse/SHALE-302 I granted ASF Works inclusion, but Sun com package code is involved, so you may have to sort the licensing issues out depending on what you do with it. For those devel

Re: Setup managed bean

2007-10-26 Thread Chris Keefer
Disregard this message. I received a mailer daemon on my original message. Sorry for the double post. --Chris On Oct 25, 2007, at 2:19 PM, Chris Keefer wrote: Hello, I am trying to add a managed bean to the Mock Faces Context that will be used in my unit test. My test class extends Abst

<    1   2   3   4   5   6   7   8   9   10   >