struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ernesto Reinaldo Barreiro <reier...@gmail.com>
Subject Re: Problem with jquery plugin
Date Wed, 16 Dec 2009 06:04:26 GMT
I'm using jqGrid this way

http://code.google.com/p/antilia-struts/wiki/SearchPage

<http://code.google.com/p/antilia-struts/wiki/SearchPage>Regards,

Ernesto

On Tue, Dec 15, 2009 at 8:57 PM, Oscar <oscar.kalderon@gmail.com> wrote:

> Hi to all, i was exploring the jquery plugin of struts 2 because i read
> that you can do something like a grid with the tags that provides that
> plugin, something like displaytag or extremecomponents.
>
> I follow an example that i found where they simply create a list in action
> and show the data in the jsp with the grid tags, but i have a problem, when
> i call the action, the method execute is called normally but finally it
> "downloads" the action, appears a dialog box in my browser asking if i want
> to save or open the file someAction.action. I'm using a json result, this is
> my struts.xml:
>
> <package name="default" extends="struts-default,json-default" >
>       <action class="com.datasoft.struts.actions.JsonTable"
> name="jsontable">
>           <result name="success" type="json">/tablaYeison.jsp</result>
>       </action>
>   </package>
>
> And this is the link with i'm trying to call the action:
>
> <a href="jsontable.action">Show me the data</a>
>
> I think that is something about the result.
>
> Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message