Re: Free Database Graphical Tool

2005-10-13 Thread
I just try it. SQuirrel SQL Client Version 2.0 final is very good. 2005/10/13, Zsolt [EMAIL PROTECTED]: At http://squirrelsql.org I cannot see anything about eclipse. Can you help me please where I can find the eclipse plug-in. Zsolt -Original Message- From: news [mailto:[EMAIL

Re: Free Database Graphical Tool

2005-10-12 Thread
How about SQLExplorer. It also has Eclipse plugin. 2005/10/12, Vic Cekvenich [EMAIL PROTECTED]: SQuriel client has a Eclipse plugin version (on eclipse plugins page is where you'd search for plugins). I use SQLyog (windoze only... but Mac and Linux have Windoze emulators). .V

Re: Free Database Graphical Tool

2005-10-12 Thread
fabFORCE is a free too. It supports ER diagram. 2005/10/12, Danny Lee [EMAIL PROTECTED]: I like my SQLyog-Tool, using it for couple of years now. It's really fast, unproblematic and simple to use. Cheers Danny - To

Re: set different attribute according to the change of parameter

2005-10-08 Thread
Should the parameter be passed into Action class by http://xxx/foo?a=b ? Can the Action class get the parameter value and the link is http://xxx/foo only? I do not want the parameter appear in the URL. Thanks 2005/10/8, Laurie Harper [EMAIL PROTECTED]: 梁炳場 wrote: Can I do the following

Re: set different attribute according to the change of parameter

2005-10-08 Thread
My action class like this public ActionForward userProfileMaint (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { HttpSession session = request.getSession();

set different attribute according to the change of parameter

2005-10-07 Thread
Can I do the following? Same action class sets different attribute according to the change of parameter? Thanks action path=/userProfileMaint type=com.erp.struts.SetRoleHref parameter=userProfileMaint action path=/quotationMaint type=com.erp.struts.SetRoleHref

Is session.setAttribute unique for all sessions?

2005-10-03 Thread
In an Action, an attribute is set by session.setAttribute(Privileges, userPrivileges); If another session logins and the same Action is called again, will the two sessions share the same attribute? Thanks - To unsubscribe,

Re: Is session.setAttribute unique for all sessions?

2005-10-03 Thread
well, I just make use of session.setAttribute(), How will it become global variable? 2005/10/3, Murugesan, Kathiresan (Cognizant) [EMAIL PROTECTED]: it won't share until you have userPrivileges as global variable in your action class. Regards Kathir.

[OT] where to put the displaytag.properties file for i18n?

2005-09-30 Thread
display:column titleKey=userRole.system.title the titleKey gives null. A single line is input into displaytag.properties userRole.system.title=System I have put displaytag.properties /WEB-INF/ and /WEB-INF/user The column title is still blank. Where is the correct path to put

Re: [OT] where to put the displaytag.properties file for i18n?

2005-09-30 Thread
work. Sunil 梁炳場 [EMAIL PROTECTED] 09/30/2005 01:20 AM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject [OT] where to put the displaytag.properties file for i18n? display:column titleKey

Re: Looking for a table library

2005-09-29 Thread
In addition datagrid and displaytag, is struts-layout a widely used tool? Any other open source tools to display a grid or something like this? Thnx 2005/9/27, David G. Friedman [EMAIL PROTECTED]: How about the Pager Taglib from JSPtags.com? Their examples show radio buttons to get the

How to customize a displaytag column?

2005-09-28 Thread
display:table name=UserRole display:column property=messageKey title=System / /display:table I'd like to change the messageKey column to html:link action=href bean:message key=messageKey /html:link where href is another property. How can it be done?

Can I replace the link jsp file with an action path in Tiles definition file?

2005-09-27 Thread
Can I replace the link jsp file with an action path? thnx definition name=erp.menu.left path=/common/layout/verticalMenu.jsp put name=title value=Us / putList name=items item value=About UsLINK=/foo.jsp / item value=Contact Us

What's wrong in ApplicationResources.properties?

2005-09-26 Thread
I change to bean key to main.welcome, the webpage can be displayed. If the bean key changes to main.home or main.contactUs the webpage cannot be displayed properly. what goes wrong? Thnx header.jsp: tr tdhtml:link action=home bean:message key=main.home/ /html:link/td tdhtml:link

Why the message in ApplicationResources cannot be retrieved?

2005-09-26 Thread
Output of the following is only English Chinese. The message (main.home) in ApplicationResources cannot be written out. No error message. Any advice? td valign=bottom div align=rightnbsp;/div div align=rightnbsp;/div div align=rightEnglish nbsp; Chinese html:link

Re: Why the message in ApplicationResources cannot be retrieved?

2005-09-26 Thread
/building_view.html HTH, Martin- - Original Message - From: Laurie Harper [EMAIL PROTECTED] To: user@struts.apache.org Sent: Monday, September 26, 2005 2:44 PM Subject: Re: Why the message in ApplicationResources cannot be retrieved? 梁炳場 wrote: Output of the following is only English Chinese

How to make img response to a click?

2005-09-26 Thread
html:img alt=Powered by Struts page=/images/struts-power.gif / How to make html:img or other html tag response to a click? Thnx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to make span style= float: right;/ work in Tiles?

2005-09-23 Thread
In the header.jsp, I try to add something like About Us, Contact Us. Make them align to the right. But it does not work. I spread across the header section. I do this in the header.jsp (and use classLayout.jsp). tr span style= float;right; / td logic:iterate .. /logic:iterate /td

Re: [Shale] clay templating

2005-09-19 Thread
Sorry for interruption. After reading your discussion, I try to read the more about Shale. From the webpage, http://struts.apache.org/shale/index.html, it is found that Shale does not depend on Struts. I wonder if Shale will be independent of Struts? 2005/9/20, Gary VanMatre [EMAIL PROTECTED]:

Re: Struts and DisplayTag CSS?

2005-09-16 Thread
Thank you Wendy. It is okay to retrieve contextpath. Thanks 2005/9/16, Wendy Smoak [EMAIL PROTECTED]: From: [EMAIL PROTECTED] The resulting href becomes the following by display the source page on IE. link rel=stylesheet href=/css/screen.css type=text/css media=screen, print / It

i18n on Tiles menu

2005-09-16 Thread
I have a Tiles layout of menu. It displays values as I put in item value. But can I make it i18n? ie. how to use ApplicationResources.properties? Thanks definition name=erp.menu.home path=/layout/menu.jsp put name=title value=Welcome / putList name=items item value=Home

new Struts tools for layout other than Tiles

2005-09-16 Thread
on the web page Tiles developer, http://www.lifl.fr/~dumoulin/tiles/ It stopped development after 2002. Any new tools of OpenSource which keeps on going? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: new Struts tools for layout other than Tiles

2005-09-16 Thread
Because from the webpage of http://www.lifl.fr/~dumoulin/tiles/ No new element is added after 2002. I wonder if it stops moving. If it is alive, I can devote my effort to it. Thank you all. 2005/9/16, Wendy Smoak [EMAIL PROTECTED]: From: [EMAIL PROTECTED] on the web page Tiles developer,

Struts and DisplayTag CSS?

2005-09-15 Thread
For this link, http://localhost:8080/erp/ displaytag is okay to display with css beautifully. For this link, http://localhost:8080/erp/addUserProfile.do all the css effect disappear. my web.xml welcome-file-list welcome-file/user/addUserProfile.jsp/welcome-file /welcome-file-list my jsp

Re: Struts and DisplayTag CSS?

2005-09-15 Thread
I have tried both suggestion. Still no luck and even worse. The resulting href becomes the following by display the source page on IE. link rel=stylesheet href=/css/screen.css type=text/css media=screen, print / It is so strange that both http://localhost:8080/erp/ and

Re: Struts 1.3 and Beyond Presentation

2005-09-09 Thread
Don I have read your presentation. I give me an impression. Shale is the future of Struts without doubt!!! 2005/9/8, Don Brown [EMAIL PROTECTED]: I just finished giving a presentation titled Struts 1.3 and Beyond to the Silicon Valley Web Developer JUG that I thought folks on this list

How to define in Action and ActionForms for DisplayTag?

2005-09-04 Thread
Should I read data from sql resultset and assign data to sessionScope.details? If yes, but I do not know how to define sessionScope.details in Action class and ActionForm class? Thanks display:table name=sessionScope.details decorator=org.displaytag.sample.Wrapper display:column

How to pass sql variable from jsp to Action?

2005-09-01 Thread
I retrieve a group id by JSP. sql:query ...SELECT group_id../ When user clicks a link html:link .../ Before another page is shown, in my struts-config.xml, I try to make a ActionForward function to capture the group_id and then update a session attribute . Then the resulting jsp is like this

Re: How to pass sql variable from jsp to Action?

2005-09-01 Thread
, it has hidden value of group id. How will you do this? Thank you very much for your help. 2005/9/1, 梁炳場 [EMAIL PROTECTED]: I retrieve a group id by JSP. sql:query ...SELECT group_id../ When user clicks a link html:link .../ Before another page is shown, in my struts-config.xml, I try

Error: Cannot forward after response has been committed?

2005-09-01 Thread
Within a Tiles layout, I try to forward to another jsp when a bean not exist? But it leads to the subject line error message? In the header layout jsp, I put this logic:notPresent scope=session name=loginForm jsp:forward page=/index.jsp/ /logic:notPresent If it is not allowed or it is not a

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread
be to define a Tiles Controller (see org.apache.struts.tiles.ControllerSupport) that would do the forwarding logic. I hope this helps. On 9/1/05, 梁炳場 [EMAIL PROTECTED] wrote: Within a Tiles layout, I try to forward to another jsp when a bean not exist? But it leads to the subject line

Re: Error: Cannot forward after response has been committed?

2005-09-01 Thread
); } } Also, make sure that your '/common/mainLayout.jsp' page doesn't have any html code before the tiles:insert attribute=header / invocation, or it will make a response being sent to the client. Regards. On 9/1/05, 梁炳場 [EMAIL PROTECTED] wrote: What if the Tiles layout composing

Re: Navigating back to a previous page

2005-08-29 Thread
Can it be done if the back button of IE goes to the page (menu page) before the input form? I do not want a common back page. It seems that I have to extend the back button of IE or something else? Can it be defined in JSP or struts-config.xml? Thanks 2005/8/28, Martin Gainty [EMAIL

back button does not function?

2005-08-29 Thread
I add a button to a page, hope it will go back to the menu page, but it fails. 1) The button text cannot obtain the value from MessageResources.properties. 2) When mouse goes up, the page forward does not work. How can they be resolved? Thanks JSP: td html:button

ActionErrors inside validate of ValidatorForm?

2005-08-25 Thread
validate() is a function of ValidatorForm I have written some checking inside validate() However validate returns ActionErrors. However can I change it to ActionMessages so that my checking inside in validate() still valid when ActionErrors deprecates in the future? And Inside validate(), The

Re: Validator Questions?

2005-08-25 Thread
(1) Could I add extra message to html:errors property=username header=empty/ in addition to empty message? Does html:errors only capture ActionErrors, not ActionMessages? (2) I have fixed it by modifying validation.xml. Thank 2005/8/25, 梁炳場 [EMAIL PROTECTED]: Struts 1.2.7 (1

Validator Questions?

2005-08-24 Thread
Struts 1.2.7 (1) The following tag can test the emptiness of the field. html:errors property=username header=empty/ If I want to display a specific message when it is not empty and display error message when it is empty, what should be done in header=??? or something else (2) I have a message